李志伟 3 anni fa
parent
commit
2809ce41aa
87 ha cambiato i file con 5626 aggiunte e 33156 eliminazioni
  1. 3
    2
      .eslintrc
  2. 1
    0
      .gitignore
  3. 0
    33127
      package-lock.json
  4. 10
    1
      src/app.config.js
  5. BIN
      src/assets/icons/GuideCheck/AAAAAAAA.png
  6. BIN
      src/assets/icons/GuideCheck/Attractions.png
  7. BIN
      src/assets/icons/GuideCheck/BlackSpot.png
  8. BIN
      src/assets/icons/GuideCheck/Cup.png
  9. BIN
      src/assets/icons/GuideCheck/GoHere.png
  10. BIN
      src/assets/icons/GuideCheck/Pay_logo.png
  11. BIN
      src/assets/icons/GuideCheck/Raiders.png
  12. BIN
      src/assets/icons/GuideCheck/RaidersImage.jpg
  13. BIN
      src/assets/icons/GuideCheck/SeeDetails.png
  14. BIN
      src/assets/icons/GuideCheck/WiFi.png
  15. BIN
      src/assets/icons/GuideCheck/alreadyPay_logo.png
  16. BIN
      src/assets/icons/GuideCheck/loveOff.png
  17. BIN
      src/assets/icons/GuideCheck/loveOn.png
  18. BIN
      src/assets/icons/GuideCheck/position_logo.png
  19. BIN
      src/assets/icons/GuideCheck/sleep_logo.png
  20. BIN
      src/assets/icons/GuideCheck/starOff.png
  21. BIN
      src/assets/icons/GuideCheck/starOn.png
  22. BIN
      src/assets/icons/GuideCheck/taxi.png
  23. BIN
      src/assets/icons/ProCard/8kb.jpg
  24. BIN
      src/assets/icons/ProCard/ProCard_hot.png
  25. BIN
      src/assets/icons/ProCard/food.png
  26. BIN
      src/assets/icons/UserCenter/AllOrder.png
  27. BIN
      src/assets/icons/UserCenter/ContactMe.png
  28. BIN
      src/assets/icons/UserCenter/Evaluation.png
  29. BIN
      src/assets/icons/UserCenter/HomeLogo.png
  30. BIN
      src/assets/icons/UserCenter/MyTravel.png
  31. BIN
      src/assets/icons/UserCenter/QRcode.png
  32. BIN
      src/assets/icons/UserCenter/Refund.png
  33. BIN
      src/assets/icons/UserCenter/Rules.png
  34. BIN
      src/assets/icons/UserCenter/ToShop.png
  35. BIN
      src/assets/icons/UserCenter/awaitPay.png
  36. BIN
      src/assets/icons/UserCenter/boy.png
  37. BIN
      src/assets/icons/UserCenter/collect.png
  38. BIN
      src/assets/icons/UserCenter/girl.png
  39. BIN
      src/assets/icons/UserCenter/null_logo.png
  40. 116
    0
      src/components/CompoentsOrder/AlreadyExpired/index.jsx
  41. 255
    0
      src/components/CompoentsOrder/AlreadyExpired/style.less
  42. 115
    0
      src/components/CompoentsOrder/AlreadyUsed/index.jsx
  43. 269
    0
      src/components/CompoentsOrder/AlreadyUsed/style.less
  44. 114
    0
      src/components/CompoentsOrder/TobePaid/index.jsx
  45. 268
    0
      src/components/CompoentsOrder/TobePaid/style.less
  46. 74
    0
      src/components/CompoentsOrder/TobeWritten/index.jsx
  47. 269
    0
      src/components/CompoentsOrder/TobeWritten/style.less
  48. 166
    0
      src/components/CompoentsOrder/complete/index.jsx
  49. 255
    0
      src/components/CompoentsOrder/complete/style.less
  50. 32
    0
      src/components/OrderMolded/index.jsx
  51. 124
    0
      src/components/OrderMolded/style.less
  52. 12
    0
      src/components/Popup/index.jsx
  53. 6
    0
      src/components/Popup/style.less
  54. 41
    0
      src/components/ProCard/index.jsx
  55. 166
    0
      src/components/ProCard/style.less
  56. 9
    0
      src/pages/MineUserAll/AllOrder/index.config.js
  57. 103
    0
      src/pages/MineUserAll/AllOrder/index.jsx
  58. 27
    0
      src/pages/MineUserAll/AllOrder/style.less
  59. 4
    0
      src/pages/MineUserAll/Collect/index.config.js
  60. 157
    0
      src/pages/MineUserAll/Collect/index.jsx
  61. 244
    0
      src/pages/MineUserAll/Collect/style.less
  62. 4
    0
      src/pages/MineUserAll/ContactMe/index.config.js
  63. 26
    0
      src/pages/MineUserAll/ContactMe/index.jsx
  64. 38
    0
      src/pages/MineUserAll/ContactMe/style.less
  65. 4
    0
      src/pages/MineUserAll/HomeLogo/index.config.js
  66. 11
    0
      src/pages/MineUserAll/HomeLogo/index.jsx
  67. 2
    0
      src/pages/MineUserAll/HomeLogo/style.less
  68. 4
    0
      src/pages/MineUserAll/RefundMoney/CheckRefund/index.config.js
  69. 146
    0
      src/pages/MineUserAll/RefundMoney/CheckRefund/index.jsx
  70. 426
    0
      src/pages/MineUserAll/RefundMoney/CheckRefund/style.less
  71. 8
    0
      src/pages/MineUserAll/RefundMoney/index.config.js
  72. 116
    0
      src/pages/MineUserAll/RefundMoney/index.jsx
  73. 251
    0
      src/pages/MineUserAll/RefundMoney/style.less
  74. 4
    0
      src/pages/MineUserAll/Rules/index.config.js
  75. 29
    0
      src/pages/MineUserAll/Rules/index.jsx
  76. 14
    0
      src/pages/MineUserAll/Rules/style.less
  77. 156
    0
      src/pages/Molded/style.less
  78. 13
    0
      src/pages/PayOrder/index.config.js
  79. 184
    0
      src/pages/PayOrder/index.jsx
  80. 273
    0
      src/pages/PayOrder/style.less
  81. 1
    0
      src/pages/index/index.config.js
  82. 26
    12
      src/pages/index/index.jsx
  83. 2
    2
      src/pages/index/index.less
  84. 273
    8
      src/pages/index/tabs/Guide.jsx
  85. 518
    0
      src/pages/index/tabs/GuideCss/style.less
  86. 126
    4
      src/pages/index/tabs/Mine.jsx
  87. 131
    0
      src/pages/index/tabs/MineCss/style.less

+ 3
- 2
.eslintrc Vedi File

@@ -2,6 +2,7 @@
2 2
   "extends": ["taro/react"],
3 3
   "rules": {
4 4
     "react/jsx-uses-react": "off",
5
-    "react/react-in-jsx-scope": "off"
6
-  }
5
+    "react/react-in-jsx-scope": "off",
6
+    "no-unused-vars": "warn"
7
+  },
7 8
 }

+ 1
- 0
.gitignore Vedi File

@@ -5,3 +5,4 @@ deploy_versions/
5 5
 node_modules/
6 6
 .DS_Store
7 7
 *.lock
8
+package-lock.json

+ 0
- 33127
package-lock.json
File diff suppressed because it is too large
Vedi File


+ 10
- 1
src/app.config.js Vedi File

@@ -10,7 +10,16 @@ export default {
10 10
     'pages/shopKeeper/shopKeeper',
11 11
     'pages/spread/spreadMoney',
12 12
     'pages/landlord/income/income',
13
-    'pages/landlord/houseManage/houseManage'
13
+    'pages/landlord/houseManage/houseManage',
14
+    'pages/PayOrder/index',
15
+    'pages/MineUserAll/ContactMe/index',
16
+    'pages/MineUserAll/HomeLogo/index',
17
+    'pages/MineUserAll/Collect/index',
18
+    'pages/MineUserAll/Rules/index',
19
+    'pages/MineUserAll/RefundMoney/index',
20
+    'pages/MineUserAll/RefundMoney/CheckRefund/index',
21
+    'pages/MineUserAll/AllOrder/index',//我的订单
22
+    // 'pages/Molded/index',
14 23
   ],
15 24
   window: {
16 25
     backgroundTextStyle: 'light',

BIN
src/assets/icons/GuideCheck/AAAAAAAA.png Vedi File


BIN
src/assets/icons/GuideCheck/Attractions.png Vedi File


BIN
src/assets/icons/GuideCheck/BlackSpot.png Vedi File


BIN
src/assets/icons/GuideCheck/Cup.png Vedi File


BIN
src/assets/icons/GuideCheck/GoHere.png Vedi File


BIN
src/assets/icons/GuideCheck/Pay_logo.png Vedi File


BIN
src/assets/icons/GuideCheck/Raiders.png Vedi File


BIN
src/assets/icons/GuideCheck/RaidersImage.jpg Vedi File


BIN
src/assets/icons/GuideCheck/SeeDetails.png Vedi File


BIN
src/assets/icons/GuideCheck/WiFi.png Vedi File


BIN
src/assets/icons/GuideCheck/alreadyPay_logo.png Vedi File


BIN
src/assets/icons/GuideCheck/loveOff.png Vedi File


BIN
src/assets/icons/GuideCheck/loveOn.png Vedi File


BIN
src/assets/icons/GuideCheck/position_logo.png Vedi File


BIN
src/assets/icons/GuideCheck/sleep_logo.png Vedi File


BIN
src/assets/icons/GuideCheck/starOff.png Vedi File


BIN
src/assets/icons/GuideCheck/starOn.png Vedi File


BIN
src/assets/icons/GuideCheck/taxi.png Vedi File


BIN
src/assets/icons/ProCard/8kb.jpg Vedi File


BIN
src/assets/icons/ProCard/ProCard_hot.png Vedi File


BIN
src/assets/icons/ProCard/food.png Vedi File


BIN
src/assets/icons/UserCenter/AllOrder.png Vedi File


BIN
src/assets/icons/UserCenter/ContactMe.png Vedi File


BIN
src/assets/icons/UserCenter/Evaluation.png Vedi File


BIN
src/assets/icons/UserCenter/HomeLogo.png Vedi File


BIN
src/assets/icons/UserCenter/MyTravel.png Vedi File


BIN
src/assets/icons/UserCenter/QRcode.png Vedi File


BIN
src/assets/icons/UserCenter/Refund.png Vedi File


BIN
src/assets/icons/UserCenter/Rules.png Vedi File


BIN
src/assets/icons/UserCenter/ToShop.png Vedi File


BIN
src/assets/icons/UserCenter/awaitPay.png Vedi File


BIN
src/assets/icons/UserCenter/boy.png Vedi File


BIN
src/assets/icons/UserCenter/collect.png Vedi File


BIN
src/assets/icons/UserCenter/girl.png Vedi File


BIN
src/assets/icons/UserCenter/null_logo.png Vedi File


+ 116
- 0
src/components/CompoentsOrder/AlreadyExpired/index.jsx Vedi File

@@ -0,0 +1,116 @@
1
+
2
+import { useState } from "react";
3
+
4
+import image from '@/assets/icons/ProCard/8kb.jpg'
5
+
6
+
7
+import food from '@/assets/icons/ProCard/food.png'
8
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
9
+
10
+import Null from '@/assets/icons/UserCenter/null_logo.png'
11
+
12
+
13
+import starOn from '@/assets/icons/GuideCheck/starOn.png'
14
+import starOff from '@/assets/icons/GuideCheck/starOff.png'
15
+import './style.less'
16
+
17
+
18
+
19
+const scoreList = new Array(5).fill(0)
20
+const score = '3.9'
21
+
22
+
23
+export default (props) => {
24
+
25
+  return (
26
+    <scroll-view scroll-y style='height: 90vh;'  >
27
+
28
+      <view className='AlreadyExpired-box' >
29
+
30
+        {/* 已过期 */}
31
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
32
+        <view class='wrapper'>
33
+          <view class='left-complete-one'>
34
+            <image className='left-image-1' src={ProCard_hot}></image>
35
+            <view className='left-viewText'>
36
+              返现¥16.00
37
+            </view>
38
+            {/* 评分 */}
39
+            <view className='card-box-star'>
40
+              {
41
+                scoreList.map((_, index) => {
42
+                  console.log(index)
43
+                  const src = (index + '0.1') < score ? starOn : starOff
44
+                  return (
45
+                    <image className='card-star-image' key={index} src={src} />
46
+                  )
47
+                })
48
+              }
49
+              <text className='card-star-text' >{score}</text>
50
+            </view>
51
+            <view className='title-image'>
52
+              <image className='image-1' mode='scaleToFill' src={image}></image>
53
+              <image className='image-2' src={food}></image>
54
+            </view>
55
+            <view className='title-content'>
56
+              <view className='Pro-title'>
57
+                <view className='title-text'>【SEOUL·创意韩国料理】 <text className='title-money-2' >数量:1张</text></view>
58
+              </view>
59
+              <text className='title-money' >¥6990元</text>
60
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
61
+            </view>
62
+          </view>
63
+          <view class='right-complete-two'>
64
+            <view className='right-content'>
65
+              <image className='right-image-2' src={Null} />
66
+            </view>
67
+          </view>
68
+        </view>
69
+        {/* 已过期 */}
70
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
71
+        <view class='wrapper'>
72
+          <view class='left-complete-one'>
73
+            <image className='left-image-1' src={ProCard_hot}></image>
74
+            <view className='left-viewText'>
75
+              返现¥16.00
76
+            </view>
77
+            {/* 评分 */}
78
+            <view className='card-box-star'>
79
+              {
80
+                scoreList.map((_, index) => {
81
+                  console.log(index)
82
+                  const src = (index + '0.1') < score ? starOn : starOff
83
+                  return (
84
+                    <image className='card-star-image' key={index} src={src} />
85
+                  )
86
+                })
87
+              }
88
+              <text className='card-star-text' >{score}</text>
89
+            </view>
90
+            <view className='title-image'>
91
+              <image className='image-1' mode='scaleToFill' src={image}></image>
92
+              <image className='image-2' src={food}></image>
93
+            </view>
94
+            <view className='title-content'>
95
+              <view className='Pro-title'>
96
+                <view className='title-text'>【SEOUL·创意韩国料理】 <text className='title-money-2' >数量:1张</text></view>
97
+              </view>
98
+              <text className='title-money' >¥6990元</text>
99
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
100
+            </view>
101
+          </view>
102
+          <view class='right-complete-two'>
103
+            <view className='right-content'>
104
+              <image className='right-image-2' src={Null} />
105
+            </view>
106
+          </view>
107
+        </view>
108
+
109
+        <view className='foot'>
110
+          已经到底了~
111
+        </view>
112
+      </view>
113
+    </scroll-view>
114
+
115
+  )
116
+}

+ 255
- 0
src/components/CompoentsOrder/AlreadyExpired/style.less Vedi File

@@ -0,0 +1,255 @@
1
+@whiteColor: #fff;
2
+
3
+.AlreadyExpired-box {
4
+  margin: 40px auto;
5
+  padding: 0 30px;
6
+  .OrderNumber {
7
+    // width: 234px;
8
+    height: 19px;
9
+    font-size: 20px;
10
+    font-weight: 400;
11
+    color: #666666;
12
+    line-height: 44px;
13
+  }
14
+  .wrapper {
15
+    margin-top: 40px;
16
+    display: flex;
17
+    position: relative;
18
+    // margin-top: 600px;
19
+    margin: 30px auto;
20
+    width: 700px;
21
+
22
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
23
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
24
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
25
+    .card-box-star {
26
+      position: absolute;
27
+      width: auto;
28
+      height: 44.3px;
29
+      position: absolute;
30
+      left: 200px;
31
+      top: 28px;
32
+      font-size: 20px;
33
+      color: @whiteColor;
34
+      .card-star-image {
35
+        padding-left: 6px;
36
+        width: 21px;
37
+        height: 21px;
38
+      }
39
+      .card-star-text {
40
+        padding-left: 10px;
41
+        font-size: 20px;
42
+        color: #333;
43
+        font-weight: 700;
44
+      }
45
+    }
46
+
47
+    .left-complete-one {
48
+      padding-top: 85px;
49
+      padding-bottom: 43px;
50
+      position: relative;
51
+      display: flex;
52
+      background: @whiteColor;
53
+      background: radial-gradient(
54
+            circle at top right,
55
+            transparent 15px,
56
+            @whiteColor 0
57
+          )
58
+          top right,
59
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
60
+          bottom right;
61
+      background-size: 100% 60%;
62
+      background-repeat: no-repeat;
63
+
64
+      width: 573px;
65
+      border-radius: 15px 0px 0px 15px;
66
+      // border-radius: 12px;
67
+
68
+      align-items: center;
69
+      .left-image-1 {
70
+        width: 145px;
71
+        height: 44px;
72
+        position: absolute;
73
+        top: 22px;
74
+      }
75
+      .left-viewText {
76
+        // background-image: url(@Image-ProCard_hot);
77
+        // width: 287px;
78
+        width: auto;
79
+        height: 44.3px;
80
+        position: absolute;
81
+        left: 1px;
82
+        top: 28px;
83
+        font-size: 20px;
84
+        color: @whiteColor;
85
+      }
86
+      //图片
87
+      .title-image {
88
+        width: 145px;
89
+        margin-left: 20px;
90
+        border-radius: 24px;
91
+        overflow: hidden;
92
+        position: relative;
93
+        .image-1 {
94
+          width: 100%;
95
+          height: 145px;
96
+        }
97
+        .image-2 {
98
+          width: 89px;
99
+          height: 34px;
100
+          position: absolute;
101
+          left: 0;
102
+          top: 0;
103
+        }
104
+      }
105
+      // 商品标题
106
+      .title-content {
107
+        // padding: 84px 0 56px 20px;
108
+        padding-left: 18px;
109
+
110
+        .Pro-title {
111
+          .title-text {
112
+            width: 375px;
113
+            overflow: hidden;
114
+            text-overflow: ellipsis;
115
+            // display: -webkit-box; //必须要
116
+            -webkit-line-clamp: 1;
117
+            -webkit-box-orient: vertical;
118
+            // word-break: break-all; /* 多出文本省略号代替 */
119
+            text-align: left;
120
+            font-size: 24px;
121
+            // padding-bottom: 10px;
122
+          }
123
+        }
124
+        .title-money {
125
+          // padding-top: 34px;
126
+          font-size: 24px;
127
+          // color: red;
128
+          font-weight: 800;
129
+        }
130
+        .title-money-2 {
131
+          height: 19px;
132
+          font-size: 20px;
133
+          font-weight: 400;
134
+          color: #333333;
135
+          padding-left: 40px;
136
+        }
137
+
138
+        .title-time {
139
+          font-size: 24px;
140
+          // padding-top: 20px;
141
+          color: #c0c8d3;
142
+        }
143
+        .title-position-on {
144
+          display: flex;
145
+          font-size: 20px;
146
+          .title-position {
147
+            width: 18px;
148
+            height: 24px;
149
+            padding-right: 10px;
150
+            padding-top: 5px;
151
+          }
152
+          .title-position-image {
153
+            align-items: center;
154
+            font-size: 20px;
155
+            color: #333;
156
+          }
157
+          .title-on {
158
+            // margin-bottom: 10px;
159
+            padding-top: 5px;
160
+            padding-left: 40px;
161
+            width: 21px;
162
+            height: 21px;
163
+            padding-right: 10px;
164
+          }
165
+          .title-on-text {
166
+            align-items: center;
167
+
168
+            font-size: 20px;
169
+            color: #333;
170
+          }
171
+        }
172
+      }
173
+    }
174
+    // .left-complete-one:nth-child(2) {
175
+    //   background: rgb(182, 0, 0);
176
+    //   padding-top: 10px;
177
+    // }
178
+  }
179
+
180
+  .right-complete-two {
181
+    background: @whiteColor;
182
+    background: radial-gradient(
183
+          circle at top left,
184
+          transparent 15px,
185
+          @whiteColor 0
186
+        )
187
+        top left,
188
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
189
+        bottom left;
190
+    background-size: 100% 60%;
191
+    background-repeat: no-repeat;
192
+    width: 129px;
193
+    border-radius: 0 15px 15px 0;
194
+    position: relative;
195
+    //右面部分
196
+    .right-content {
197
+      // width: 100px;
198
+      height: 120px;
199
+      position: absolute;
200
+      top: 50%;
201
+      left: 50%;
202
+      transform: translate(-50%, -50%);
203
+      // border: 1px solid red;
204
+      .right-image-2 {
205
+        width: 76px;
206
+        height: 66px;
207
+        margin-top: 1em;
208
+      }
209
+      .right-number {
210
+        // width: 32px;
211
+        // font-size: 20px;
212
+        // border-radius: 4px;
213
+        // border: 2px solid #999;
214
+        // margin: auto;
215
+        // text-align: center;
216
+      }
217
+      .right-image {
218
+        // float: convert();
219
+        width: 35px;
220
+        height: 34px;
221
+        margin: 0 auto;
222
+        align-items: center;
223
+        margin: auto;
224
+        padding-left: 8px;
225
+        // text-align: center;
226
+      }
227
+
228
+      .right-title {
229
+        font-weight: 700;
230
+        font-size: 24px;
231
+        padding-top: 15px;
232
+        text-align: center;
233
+      }
234
+    }
235
+  }
236
+  //线条
237
+  .right-complete-two::after {
238
+    content: "";
239
+    position: absolute;
240
+    top: 15px;
241
+    margin: 26px auto;
242
+    height: 70%;
243
+    border-left: 1px dashed #595959;
244
+  }
245
+  .foot {
246
+    width: 100%;
247
+    height: 26px;
248
+    font-size: 28px;
249
+    font-weight: 400;
250
+    color: #c0c8d3;
251
+    line-height: 34px;
252
+    margin-top: 40px;
253
+    text-align: center;
254
+  }
255
+}

+ 115
- 0
src/components/CompoentsOrder/AlreadyUsed/index.jsx Vedi File

@@ -0,0 +1,115 @@
1
+import { useState } from "react";
2
+
3
+import image from '@/assets/icons/ProCard/8kb.jpg'
4
+import food from '@/assets/icons/ProCard/food.png'
5
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
6
+
7
+import Evaluation from '@/assets/icons/UserCenter/Evaluation.png'
8
+
9
+
10
+import starOn from '@/assets/icons/GuideCheck/starOn.png'
11
+import starOff from '@/assets/icons/GuideCheck/starOff.png'
12
+import './style.less'
13
+
14
+
15
+const scoreList = new Array(5).fill(0)
16
+const score = '3.9'
17
+
18
+
19
+
20
+export default (props) => {
21
+
22
+  return (
23
+    <scroll-view scroll-y style='height: 90vh;'  >
24
+
25
+      <view className='AlreadyUsed-box' >
26
+        {/* 已使用 */}
27
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
28
+        <view class='wrapper'>
29
+          <view class='left-complete-one'>
30
+            <image className='left-image-1' src={ProCard_hot}></image>
31
+            <view className='left-viewText'>
32
+              返现¥16.00
33
+            </view>
34
+            {/* 评分 */}
35
+            <view className='card-box-star'>
36
+              {
37
+                scoreList.map((_, index) => {
38
+                  console.log(index)
39
+                  const src = (index + '0.1') < score ? starOn : starOff
40
+                  return (
41
+                    <image className='card-star-image' key={index} src={src} />
42
+                  )
43
+                })
44
+              }
45
+              <text className='card-star-text' >{score}</text>
46
+            </view>
47
+            <view className='title-image'>
48
+              <image className='image-1' mode='scaleToFill' src={image}></image>
49
+              <image className='image-2' src={food}></image>
50
+            </view>
51
+            <view className='title-content'>
52
+              <view className='Pro-title'>
53
+                <view className='title-text'>【米啊糯】新街口店 <text className='title-money-2' >数量:1张</text></view>
54
+              </view>
55
+              <text className='title-money' >¥6990元</text>
56
+              <view className='title-time' >核销时间:2021/06/21  12:00</view>
57
+            </view>
58
+          </view>
59
+          <view class='right-complete-two'>
60
+            <view className='right-content'>
61
+              <image className='right-image' src={Evaluation} />
62
+              <view className='right-title'>评价</view>
63
+
64
+            </view>
65
+          </view>
66
+        </view>
67
+
68
+        {/* 已使用 */}
69
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
70
+        <view class='wrapper'>
71
+          <view class='left-complete-one'>
72
+            <image className='left-image-1' src={ProCard_hot}></image>
73
+            <view className='left-viewText'>
74
+              返现¥16.00
75
+            </view>
76
+            {/* 评分 */}
77
+            <view className='card-box-star'>
78
+              {
79
+                scoreList.map((_, index) => {
80
+                  console.log(index)
81
+                  const src = (index + '0.1') < score ? starOn : starOff
82
+                  return (
83
+                    <image className='card-star-image' key={index} src={src} />
84
+                  )
85
+                })
86
+              }
87
+              <text className='card-star-text' >{score}</text>
88
+            </view>
89
+            <view className='title-image'>
90
+              <image className='image-1' mode='scaleToFill' src={image}></image>
91
+              <image className='image-2' src={food}></image>
92
+            </view>
93
+            <view className='title-content'>
94
+              <view className='Pro-title'>
95
+                <view className='title-text'>【米啊糯】新街口店 <text className='title-money-2' >数量:1张</text></view>
96
+              </view>
97
+              <text className='title-money' >¥6990元</text>
98
+              <view className='title-time' >核销时间:2021/06/21  12:00</view>
99
+            </view>
100
+          </view>
101
+          <view class='right-complete-two'>
102
+            <view className='right-content'>
103
+              <image className='right-image' src={Evaluation} />
104
+              <view className='right-title'>评价</view>
105
+            </view>
106
+          </view>
107
+        </view>
108
+        <view className='foot'>
109
+          已经到底了~
110
+        </view>
111
+      </view>
112
+    </scroll-view>
113
+
114
+  )
115
+}

+ 269
- 0
src/components/CompoentsOrder/AlreadyUsed/style.less Vedi File

@@ -0,0 +1,269 @@
1
+@whiteColor: #fff;
2
+
3
+.AlreadyUsed-box {
4
+  margin: 40px auto;
5
+  padding: 0 30px;
6
+  .OrderNumber {
7
+    // width: 234px;
8
+    height: 19px;
9
+    font-size: 20px;
10
+    font-weight: 400;
11
+    color: #666666;
12
+    line-height: 44px;
13
+  }
14
+  .wrapper {
15
+    margin-top: 40px;
16
+    display: flex;
17
+    position: relative;
18
+    // margin-top: 600px;
19
+    margin: 30px auto;
20
+    width: 700px;
21
+
22
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
23
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
24
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
25
+    .card-box-star {
26
+      position: absolute;
27
+      width: auto;
28
+      height: 44.3px;
29
+      position: absolute;
30
+      left: 200px;
31
+      top: 28px;
32
+      font-size: 20px;
33
+      color: @whiteColor;
34
+      .card-star-image {
35
+        padding-left: 6px;
36
+        width: 21px;
37
+        height: 21px;
38
+      }
39
+      .card-star-text {
40
+        padding-left: 10px;
41
+        font-size: 20px;
42
+        color: #333;
43
+        font-weight: 700;
44
+      }
45
+    }
46
+
47
+    .left-complete-one {
48
+      padding-top: 85px;
49
+      padding-bottom: 43px;
50
+      position: relative;
51
+      display: flex;
52
+      background: @whiteColor;
53
+      background: radial-gradient(
54
+            circle at top right,
55
+            transparent 15px,
56
+            @whiteColor 0
57
+          )
58
+          top right,
59
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
60
+          bottom right;
61
+      background-size: 100% 60%;
62
+      background-repeat: no-repeat;
63
+
64
+      width: 573px;
65
+      border-radius: 15px 0px 0px 15px;
66
+      // border-radius: 12px;
67
+
68
+      align-items: center;
69
+      .left-image-1 {
70
+        width: 145px;
71
+        height: 44px;
72
+        position: absolute;
73
+        top: 22px;
74
+      }
75
+      .left-viewText {
76
+        // background-image: url(@Image-ProCard_hot);
77
+        // width: 287px;
78
+        width: auto;
79
+        height: 44.3px;
80
+        position: absolute;
81
+        left: 1px;
82
+        top: 28px;
83
+        font-size: 20px;
84
+        color: @whiteColor;
85
+      }
86
+      //图片
87
+      .title-image {
88
+        width: 145px;
89
+        margin-left: 20px;
90
+        border-radius: 24px;
91
+        overflow: hidden;
92
+        position: relative;
93
+        .image-1 {
94
+          width: 100%;
95
+          height: 145px;
96
+        }
97
+        .image-2 {
98
+          width: 89px;
99
+          height: 34px;
100
+          position: absolute;
101
+          left: 0;
102
+          top: 0;
103
+        }
104
+      }
105
+      // 商品标题
106
+      .title-content {
107
+        // padding: 84px 0 56px 20px;
108
+        padding-left: 18px;
109
+
110
+        .Pro-title {
111
+          .title-text {
112
+            width: 375px;
113
+            overflow: hidden;
114
+            text-overflow: ellipsis;
115
+            // display: -webkit-box; //必须要
116
+            -webkit-line-clamp: 1;
117
+            -webkit-box-orient: vertical;
118
+            // word-break: break-all; /* 多出文本省略号代替 */
119
+            text-align: left;
120
+            font-size: 24px;
121
+            // padding-bottom: 10px;
122
+          }
123
+        }
124
+        .title-money {
125
+          // padding-top: 34px;
126
+          font-size: 24px;
127
+          // color: red;
128
+          font-weight: 800;
129
+        }
130
+        .title-money-2 {
131
+          height: 19px;
132
+          font-size: 20px;
133
+          font-weight: 400;
134
+          color: #333333;
135
+          padding-left: 40px;
136
+        }
137
+
138
+        .title-time {
139
+          font-size: 24px;
140
+          // padding-top: 20px;
141
+          color: #c0c8d3;
142
+        }
143
+        .title-position-on {
144
+          display: flex;
145
+          font-size: 20px;
146
+          .title-position {
147
+            width: 18px;
148
+            height: 24px;
149
+            padding-right: 10px;
150
+            padding-top: 5px;
151
+          }
152
+          .title-position-image {
153
+            align-items: center;
154
+            font-size: 20px;
155
+            color: #333;
156
+          }
157
+          .title-on {
158
+            // margin-bottom: 10px;
159
+            padding-top: 5px;
160
+            padding-left: 40px;
161
+            width: 21px;
162
+            height: 21px;
163
+            padding-right: 10px;
164
+          }
165
+          .title-on-text {
166
+            align-items: center;
167
+
168
+            font-size: 20px;
169
+            color: #333;
170
+          }
171
+        }
172
+      }
173
+    }
174
+    // .left-complete-one:nth-child(2) {
175
+    //   background: rgb(182, 0, 0);
176
+    //   padding-top: 10px;
177
+    // }
178
+  }
179
+
180
+  .right-complete-two {
181
+    background: @whiteColor;
182
+    background: radial-gradient(
183
+          circle at top left,
184
+          transparent 15px,
185
+          @whiteColor 0
186
+        )
187
+        top left,
188
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
189
+        bottom left;
190
+    background-size: 100% 60%;
191
+    background-repeat: no-repeat;
192
+    width: 129px;
193
+    border-radius: 0 15px 15px 0;
194
+    position: relative;
195
+    //右面部分
196
+    .right-content {
197
+      // width: 100px;
198
+      height: 120px;
199
+      position: absolute;
200
+      top: 50%;
201
+      left: 50%;
202
+      transform: translate(-50%, -50%);
203
+      // border: 1px solid red;
204
+      .right-image-2 {
205
+        width: 76px;
206
+        height: 66px;
207
+        margin-top: 1em;
208
+      }
209
+      .right-number {
210
+        // width: 32px;
211
+        // font-size: 20px;
212
+        // border-radius: 4px;
213
+        // border: 2px solid #999;
214
+        // margin: auto;
215
+        // text-align: center;
216
+      }
217
+      .right-image {
218
+        // float: convert();
219
+        width: 35px;
220
+        height: 34px;
221
+        margin: 0 auto;
222
+        align-items: center;
223
+        margin: auto;
224
+        padding-left: 8px;
225
+        // text-align: center;
226
+      }
227
+
228
+      .right-title {
229
+        font-weight: 700;
230
+        font-size: 24px;
231
+        padding-top: 15px;
232
+        text-align: center;
233
+      }
234
+    }
235
+  }
236
+  //线条
237
+  .right-complete-two::after {
238
+    content: "";
239
+    position: absolute;
240
+    top: 15px;
241
+    margin: 26px auto;
242
+    height: 70%;
243
+    border-left: 1px dashed #595959;
244
+  }
245
+  .foot {
246
+    width: 100%;
247
+    height: 26px;
248
+    font-size: 28px;
249
+    font-weight: 400;
250
+    color: #c0c8d3;
251
+    line-height: 34px;
252
+    margin-top: 40px;
253
+    text-align: center;
254
+  }
255
+
256
+  .button-info {
257
+    margin-bottom: 70px;
258
+
259
+    .button-box {
260
+      margin: 60px 0;
261
+      width: 690px;
262
+      height: 88px;
263
+      line-height: 88px;
264
+      background: #274291;
265
+      border-radius: 12px;
266
+      color: @whiteColor;
267
+    }
268
+  }
269
+}

+ 114
- 0
src/components/CompoentsOrder/TobePaid/index.jsx Vedi File

@@ -0,0 +1,114 @@
1
+
2
+import { useState } from "react";
3
+import { Button, } from '@tarojs/components'
4
+
5
+import image from '@/assets/icons/ProCard/8kb.jpg'
6
+
7
+import food from '@/assets/icons/ProCard/food.png'
8
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
9
+
10
+import Pay from '@/assets/icons/GuideCheck/Pay_logo.png'
11
+import './style.less'
12
+
13
+
14
+export default (props) => {
15
+
16
+  return (
17
+    <scroll-view scroll-y style='height: 90vh;'  >
18
+
19
+      <view className='TobePaid-box'>
20
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
21
+        {/* 待支付 */}
22
+        <view class='wrapper'>
23
+          <view class='left-complete-one'>
24
+            <image className='left-image-1' src={ProCard_hot}></image>
25
+            <view className='left-viewText'>
26
+              返现¥16.00
27
+            </view>
28
+            <view className='title-image'>
29
+              <image className='image-1' mode='scaleToFill' src={image}></image>
30
+              <image className='image-2' src={food}></image>
31
+            </view>
32
+            <view className='title-content'>
33
+              <view className='Pro-title'>
34
+                <view className='title-text'>【大巴山火锅】 <text className='title-money-2' >数量:1张</text></view>
35
+              </view>
36
+              <text className='title-money' >¥6990元</text>
37
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
38
+            </view>
39
+          </view>
40
+          <view class='right-complete-two'>
41
+            <view className='right-content'>
42
+              <image className='right-image' src={Pay} />
43
+              <view className='right-title'>支付</view>
44
+            </view>
45
+          </view>
46
+        </view>
47
+        {/* 待支付 */}
48
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
49
+
50
+        <view class='wrapper'>
51
+          <view class='left-complete-one'>
52
+            <image className='left-image-1' src={ProCard_hot}></image>
53
+            <view className='left-viewText'>
54
+              返现¥16.00
55
+            </view>
56
+            <view className='title-image'>
57
+              <image className='image-1' mode='scaleToFill' src={image}></image>
58
+              <image className='image-2' src={food}></image>
59
+            </view>
60
+            <view className='title-content'>
61
+              <view className='Pro-title'>
62
+                <view className='title-text'>【大巴山火锅】 <text className='title-money-2' >数量:1张</text></view>
63
+              </view>
64
+              <text className='title-money' >¥6990元</text>
65
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
66
+            </view>
67
+          </view>
68
+          <view class='right-complete-two'>
69
+            <view className='right-content'>
70
+              <image className='right-image' src={Pay} />
71
+              <view className='right-title'>支付</view>
72
+            </view>
73
+          </view>
74
+        </view>
75
+        {/* 待支付 */}
76
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
77
+
78
+        <view class='wrapper'>
79
+
80
+          <view class='left-complete-one'>
81
+            <image className='left-image-1' src={ProCard_hot}></image>
82
+            <view className='left-viewText'>
83
+              返现¥16.00
84
+            </view>
85
+            <view className='title-image'>
86
+              <image className='image-1' mode='scaleToFill' src={image}></image>
87
+              <image className='image-2' src={food}></image>
88
+            </view>
89
+            <view className='title-content'>
90
+              <view className='Pro-title'>
91
+                <view className='title-text'>【大巴山火锅】 <text className='title-money-2' >数量:1张</text></view>
92
+              </view>
93
+              <text className='title-money' >¥6990元</text>
94
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
95
+            </view>
96
+          </view>
97
+          <view class='right-complete-two'>
98
+            <view className='right-content'>
99
+              <image className='right-image' src={Pay} />
100
+              <view className='right-title'>支付</view>
101
+            </view>
102
+          </view>
103
+        </view>
104
+        <view className='foot'>
105
+          已经到底了~
106
+        </view>
107
+        <view className='button-info'>
108
+          <Button className='button-box'>全部支付</Button>
109
+        </view>
110
+      </view>
111
+    </scroll-view>
112
+
113
+  )
114
+}

+ 268
- 0
src/components/CompoentsOrder/TobePaid/style.less Vedi File

@@ -0,0 +1,268 @@
1
+@whiteColor: #fff;
2
+.TobePaid-box {
3
+  margin: 40px auto;
4
+  padding: 0 30px;
5
+  .OrderNumber {
6
+    // width: 234px;
7
+    height: 19px;
8
+    font-size: 20px;
9
+    font-weight: 400;
10
+    color: #666666;
11
+    line-height: 44px;
12
+  }
13
+  .wrapper {
14
+    margin-top: 40px;
15
+    display: flex;
16
+    position: relative;
17
+    // margin-top: 600px;
18
+    margin: 30px auto;
19
+    width: 700px;
20
+
21
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
22
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
23
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
24
+    .card-box-star {
25
+      position: absolute;
26
+      width: auto;
27
+      height: 44.3px;
28
+      position: absolute;
29
+      left: 200px;
30
+      top: 28px;
31
+      font-size: 20px;
32
+      color: @whiteColor;
33
+      .card-star-image {
34
+        padding-left: 6px;
35
+        width: 21px;
36
+        height: 21px;
37
+      }
38
+      .card-star-text {
39
+        padding-left: 10px;
40
+        font-size: 20px;
41
+        color: #333;
42
+        font-weight: 700;
43
+      }
44
+    }
45
+
46
+    .left-complete-one {
47
+      padding-top: 85px;
48
+      padding-bottom: 43px;
49
+      position: relative;
50
+      display: flex;
51
+      background: @whiteColor;
52
+      background: radial-gradient(
53
+            circle at top right,
54
+            transparent 15px,
55
+            @whiteColor 0
56
+          )
57
+          top right,
58
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
59
+          bottom right;
60
+      background-size: 100% 60%;
61
+      background-repeat: no-repeat;
62
+
63
+      width: 573px;
64
+      border-radius: 15px 0px 0px 15px;
65
+      // border-radius: 12px;
66
+
67
+      align-items: center;
68
+      .left-image-1 {
69
+        width: 145px;
70
+        height: 44px;
71
+        position: absolute;
72
+        top: 22px;
73
+      }
74
+      .left-viewText {
75
+        // background-image: url(@Image-ProCard_hot);
76
+        // width: 287px;
77
+        width: auto;
78
+        height: 44.3px;
79
+        position: absolute;
80
+        left: 1px;
81
+        top: 28px;
82
+        font-size: 20px;
83
+        color: @whiteColor;
84
+      }
85
+      //图片
86
+      .title-image {
87
+        width: 145px;
88
+        margin-left: 20px;
89
+        border-radius: 24px;
90
+        overflow: hidden;
91
+        position: relative;
92
+        .image-1 {
93
+          width: 100%;
94
+          height: 145px;
95
+        }
96
+        .image-2 {
97
+          width: 89px;
98
+          height: 34px;
99
+          position: absolute;
100
+          left: 0;
101
+          top: 0;
102
+        }
103
+      }
104
+      // 商品标题
105
+      .title-content {
106
+        // padding: 84px 0 56px 20px;
107
+        padding-left: 18px;
108
+
109
+        .Pro-title {
110
+          .title-text {
111
+            width: 375px;
112
+            overflow: hidden;
113
+            text-overflow: ellipsis;
114
+            // display: -webkit-box; //必须要
115
+            -webkit-line-clamp: 1;
116
+            -webkit-box-orient: vertical;
117
+            // word-break: break-all; /* 多出文本省略号代替 */
118
+            text-align: left;
119
+            font-size: 24px;
120
+            // padding-bottom: 10px;
121
+          }
122
+        }
123
+        .title-money {
124
+          // padding-top: 34px;
125
+          font-size: 24px;
126
+          // color: red;
127
+          font-weight: 800;
128
+        }
129
+        .title-money-2 {
130
+          height: 19px;
131
+          font-size: 20px;
132
+          font-weight: 400;
133
+          color: #333333;
134
+          padding-left: 40px;
135
+        }
136
+
137
+        .title-time {
138
+          font-size: 24px;
139
+          // padding-top: 20px;
140
+          color: #c0c8d3;
141
+        }
142
+        .title-position-on {
143
+          display: flex;
144
+          font-size: 20px;
145
+          .title-position {
146
+            width: 18px;
147
+            height: 24px;
148
+            padding-right: 10px;
149
+            padding-top: 5px;
150
+          }
151
+          .title-position-image {
152
+            align-items: center;
153
+            font-size: 20px;
154
+            color: #333;
155
+          }
156
+          .title-on {
157
+            // margin-bottom: 10px;
158
+            padding-top: 5px;
159
+            padding-left: 40px;
160
+            width: 21px;
161
+            height: 21px;
162
+            padding-right: 10px;
163
+          }
164
+          .title-on-text {
165
+            align-items: center;
166
+
167
+            font-size: 20px;
168
+            color: #333;
169
+          }
170
+        }
171
+      }
172
+    }
173
+    // .left-complete-one:nth-child(2) {
174
+    //   background: rgb(182, 0, 0);
175
+    //   padding-top: 10px;
176
+    // }
177
+  }
178
+
179
+  .right-complete-two {
180
+    background: @whiteColor;
181
+    background: radial-gradient(
182
+          circle at top left,
183
+          transparent 15px,
184
+          @whiteColor 0
185
+        )
186
+        top left,
187
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
188
+        bottom left;
189
+    background-size: 100% 60%;
190
+    background-repeat: no-repeat;
191
+    width: 129px;
192
+    border-radius: 0 15px 15px 0;
193
+    position: relative;
194
+    //右面部分
195
+    .right-content {
196
+      // width: 100px;
197
+      height: 120px;
198
+      position: absolute;
199
+      top: 50%;
200
+      left: 50%;
201
+      transform: translate(-50%, -50%);
202
+      // border: 1px solid red;
203
+      .right-image-2 {
204
+        width: 76px;
205
+        height: 66px;
206
+        margin-top: 1em;
207
+      }
208
+      .right-number {
209
+        // width: 32px;
210
+        // font-size: 20px;
211
+        // border-radius: 4px;
212
+        // border: 2px solid #999;
213
+        // margin: auto;
214
+        // text-align: center;
215
+      }
216
+      .right-image {
217
+        // float: convert();
218
+        width: 35px;
219
+        height: 34px;
220
+        margin: 0 auto;
221
+        align-items: center;
222
+        margin: auto;
223
+        padding-left: 8px;
224
+        // text-align: center;
225
+      }
226
+
227
+      .right-title {
228
+        font-weight: 700;
229
+        font-size: 24px;
230
+        padding-top: 15px;
231
+        text-align: center;
232
+      }
233
+    }
234
+  }
235
+  //线条
236
+  .right-complete-two::after {
237
+    content: "";
238
+    position: absolute;
239
+    top: 15px;
240
+    margin: 26px auto;
241
+    height: 70%;
242
+    border-left: 1px dashed #595959;
243
+  }
244
+  .foot {
245
+    width: 100%;
246
+    height: 26px;
247
+    font-size: 28px;
248
+    font-weight: 400;
249
+    color: #c0c8d3;
250
+    line-height: 34px;
251
+    margin-top: 40px;
252
+    text-align: center;
253
+  }
254
+
255
+  .button-info {
256
+    margin-bottom: 70px;
257
+
258
+    .button-box {
259
+      margin: 60px 0;
260
+      width: 690px;
261
+      height: 88px;
262
+      line-height: 88px;
263
+      background: #274291;
264
+      border-radius: 12px;
265
+      color: @whiteColor;
266
+    }
267
+  }
268
+}

+ 74
- 0
src/components/CompoentsOrder/TobeWritten/index.jsx Vedi File

@@ -0,0 +1,74 @@
1
+
2
+import image from '@/assets/icons/ProCard/8kb.jpg'
3
+import food from '@/assets/icons/ProCard/food.png'
4
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
5
+import QRcode from '@/assets/icons/UserCenter/QRcode.png'
6
+import './style.less'
7
+
8
+
9
+export default (props) => {
10
+
11
+  return (
12
+    <scroll-view scroll-y style='height: 90vh;'  >
13
+
14
+      <view className='TobeWritten-box'>
15
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
16
+        <view class='wrapper'>
17
+          <view class='left-complete-one'>
18
+            <image className='left-image-1' src={ProCard_hot}></image>
19
+            <view className='left-viewText'>
20
+              返现¥16.00
21
+            </view>
22
+            <view className='title-image'>
23
+              <image className='image-1' mode='scaleToFill' src={image}></image>
24
+              <image className='image-2' src={food}></image>
25
+            </view>
26
+            <view className='title-content'>
27
+              <view className='Pro-title'>
28
+                <view className='title-text'>【SEOUL·创意韩国料理】 <text className='title-money-2' >数量:1张</text></view>
29
+              </view>
30
+              <text className='title-money' >¥6990元</text>
31
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
32
+            </view>
33
+          </view>
34
+          <view class='right-complete-two'>
35
+            <view className='right-content'>
36
+              <image className='right-image' src={QRcode} />
37
+              <view className='right-title'>扫码核销</view>
38
+            </view>
39
+          </view>
40
+        </view>
41
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
42
+        <view class='wrapper'>
43
+          <view class='left-complete-one'>
44
+            <image className='left-image-1' src={ProCard_hot}></image>
45
+            <view className='left-viewText'>
46
+              返现¥16.00
47
+            </view>
48
+            <view className='title-image'>
49
+              <image className='image-1' mode='scaleToFill' src={image}></image>
50
+              <image className='image-2' src={food}></image>
51
+            </view>
52
+            <view className='title-content'>
53
+              <view className='Pro-title'>
54
+                <view className='title-text'>【大巴山火锅】 <text className='title-money-2' >数量:1张</text></view>
55
+              </view>
56
+              <text className='title-money' >¥6990元</text>
57
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
58
+            </view>
59
+          </view>
60
+          <view class='right-complete-two'>
61
+            <view className='right-content'>
62
+              <image className='right-image' src={QRcode} />
63
+              <view className='right-title'>扫码核销</view>
64
+            </view>
65
+          </view>
66
+        </view>
67
+
68
+        <view className='foot'>
69
+          已经到底了~
70
+        </view>
71
+      </view>
72
+    </scroll-view>
73
+  )
74
+}

+ 269
- 0
src/components/CompoentsOrder/TobeWritten/style.less Vedi File

@@ -0,0 +1,269 @@
1
+@whiteColor: #fff;
2
+
3
+.TobeWritten-box {
4
+  margin: 40px auto;
5
+  padding: 0 30px;
6
+  .OrderNumber {
7
+    // width: 234px;
8
+    height: 19px;
9
+    font-size: 20px;
10
+    font-weight: 400;
11
+    color: #666666;
12
+    line-height: 44px;
13
+  }
14
+  .wrapper {
15
+    margin-top: 40px;
16
+    display: flex;
17
+    position: relative;
18
+    // margin-top: 600px;
19
+    margin: 30px auto;
20
+    width: 700px;
21
+
22
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
23
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
24
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
25
+    .card-box-star {
26
+      position: absolute;
27
+      width: auto;
28
+      height: 44.3px;
29
+      position: absolute;
30
+      left: 200px;
31
+      top: 28px;
32
+      font-size: 20px;
33
+      color: @whiteColor;
34
+      .card-star-image {
35
+        padding-left: 6px;
36
+        width: 21px;
37
+        height: 21px;
38
+      }
39
+      .card-star-text {
40
+        padding-left: 10px;
41
+        font-size: 20px;
42
+        color: #333;
43
+        font-weight: 700;
44
+      }
45
+    }
46
+
47
+    .left-complete-one {
48
+      padding-top: 85px;
49
+      padding-bottom: 43px;
50
+      position: relative;
51
+      display: flex;
52
+      background: @whiteColor;
53
+      background: radial-gradient(
54
+            circle at top right,
55
+            transparent 15px,
56
+            @whiteColor 0
57
+          )
58
+          top right,
59
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
60
+          bottom right;
61
+      background-size: 100% 60%;
62
+      background-repeat: no-repeat;
63
+
64
+      width: 573px;
65
+      border-radius: 15px 0px 0px 15px;
66
+      // border-radius: 12px;
67
+
68
+      align-items: center;
69
+      .left-image-1 {
70
+        width: 145px;
71
+        height: 44px;
72
+        position: absolute;
73
+        top: 22px;
74
+      }
75
+      .left-viewText {
76
+        // background-image: url(@Image-ProCard_hot);
77
+        // width: 287px;
78
+        width: auto;
79
+        height: 44.3px;
80
+        position: absolute;
81
+        left: 1px;
82
+        top: 28px;
83
+        font-size: 20px;
84
+        color: @whiteColor;
85
+      }
86
+      //图片
87
+      .title-image {
88
+        width: 145px;
89
+        margin-left: 20px;
90
+        border-radius: 24px;
91
+        overflow: hidden;
92
+        position: relative;
93
+        .image-1 {
94
+          width: 100%;
95
+          height: 145px;
96
+        }
97
+        .image-2 {
98
+          width: 89px;
99
+          height: 34px;
100
+          position: absolute;
101
+          left: 0;
102
+          top: 0;
103
+        }
104
+      }
105
+      // 商品标题
106
+      .title-content {
107
+        // padding: 84px 0 56px 20px;
108
+        padding-left: 18px;
109
+
110
+        .Pro-title {
111
+          .title-text {
112
+            width: 375px;
113
+            overflow: hidden;
114
+            text-overflow: ellipsis;
115
+            // display: -webkit-box; //必须要
116
+            -webkit-line-clamp: 1;
117
+            -webkit-box-orient: vertical;
118
+            // word-break: break-all; /* 多出文本省略号代替 */
119
+            text-align: left;
120
+            font-size: 24px;
121
+            // padding-bottom: 10px;
122
+          }
123
+        }
124
+        .title-money {
125
+          // padding-top: 34px;
126
+          font-size: 24px;
127
+          // color: red;
128
+          font-weight: 800;
129
+        }
130
+        .title-money-2 {
131
+          height: 19px;
132
+          font-size: 20px;
133
+          font-weight: 400;
134
+          color: #333333;
135
+          padding-left: 40px;
136
+        }
137
+
138
+        .title-time {
139
+          font-size: 24px;
140
+          // padding-top: 20px;
141
+          color: #c0c8d3;
142
+        }
143
+        .title-position-on {
144
+          display: flex;
145
+          font-size: 20px;
146
+          .title-position {
147
+            width: 18px;
148
+            height: 24px;
149
+            padding-right: 10px;
150
+            padding-top: 5px;
151
+          }
152
+          .title-position-image {
153
+            align-items: center;
154
+            font-size: 20px;
155
+            color: #333;
156
+          }
157
+          .title-on {
158
+            // margin-bottom: 10px;
159
+            padding-top: 5px;
160
+            padding-left: 40px;
161
+            width: 21px;
162
+            height: 21px;
163
+            padding-right: 10px;
164
+          }
165
+          .title-on-text {
166
+            align-items: center;
167
+
168
+            font-size: 20px;
169
+            color: #333;
170
+          }
171
+        }
172
+      }
173
+    }
174
+    // .left-complete-one:nth-child(2) {
175
+    //   background: rgb(182, 0, 0);
176
+    //   padding-top: 10px;
177
+    // }
178
+  }
179
+
180
+  .right-complete-two {
181
+    background: @whiteColor;
182
+    background: radial-gradient(
183
+          circle at top left,
184
+          transparent 15px,
185
+          @whiteColor 0
186
+        )
187
+        top left,
188
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
189
+        bottom left;
190
+    background-size: 100% 60%;
191
+    background-repeat: no-repeat;
192
+    width: 129px;
193
+    border-radius: 0 15px 15px 0;
194
+    position: relative;
195
+    //右面部分
196
+    .right-content {
197
+      // width: 100px;
198
+      height: 120px;
199
+      position: absolute;
200
+      top: 50%;
201
+      left: 50%;
202
+      transform: translate(-50%, -50%);
203
+      // border: 1px solid red;
204
+      .right-image-2 {
205
+        width: 76px;
206
+        height: 66px;
207
+        margin-top: 1em;
208
+      }
209
+      .right-number {
210
+        // width: 32px;
211
+        // font-size: 20px;
212
+        // border-radius: 4px;
213
+        // border: 2px solid #999;
214
+        // margin: auto;
215
+        // text-align: center;
216
+      }
217
+      .right-image {
218
+        // float: convert();
219
+        width: 35px;
220
+        height: 34px;
221
+        margin: 0 auto;
222
+        align-items: center;
223
+        margin: auto;
224
+        padding-left: 15px;
225
+        // text-align: center;
226
+      }
227
+
228
+      .right-title {
229
+        font-weight: 700;
230
+        font-size: 24px;
231
+        padding-top: 15px;
232
+        text-align: center;
233
+      }
234
+    }
235
+  }
236
+  //线条
237
+  .right-complete-two::after {
238
+    content: "";
239
+    position: absolute;
240
+    top: 15px;
241
+    margin: 26px auto;
242
+    height: 70%;
243
+    border-left: 1px dashed #595959;
244
+  }
245
+  .foot {
246
+    width: 100%;
247
+    height: 26px;
248
+    font-size: 28px;
249
+    font-weight: 400;
250
+    color: #c0c8d3;
251
+    line-height: 34px;
252
+    margin-top: 40px;
253
+    text-align: center;
254
+  }
255
+
256
+  .button-info {
257
+    margin-bottom: 70px;
258
+
259
+    .button-box {
260
+      margin: 60px 0;
261
+      width: 690px;
262
+      height: 88px;
263
+      line-height: 88px;
264
+      background: #274291;
265
+      border-radius: 12px;
266
+      color: @whiteColor;
267
+    }
268
+  }
269
+}

+ 166
- 0
src/components/CompoentsOrder/complete/index.jsx Vedi File

@@ -0,0 +1,166 @@
1
+import { useState } from "react";
2
+
3
+import image from '@/assets/icons/ProCard/8kb.jpg'
4
+import food from '@/assets/icons/ProCard/food.png'
5
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
6
+
7
+import Evaluation from '@/assets/icons/UserCenter/Evaluation.png'
8
+import Null from '@/assets/icons/UserCenter/null_logo.png'
9
+import QRcode from '@/assets/icons/UserCenter/QRcode.png'
10
+
11
+import Pay from '@/assets/icons/GuideCheck/Pay_logo.png'
12
+import starOn from '@/assets/icons/GuideCheck/starOn.png'
13
+import starOff from '@/assets/icons/GuideCheck/starOff.png'
14
+import AlreadyUsed from "../AlreadyUsed";
15
+import './style.less'
16
+
17
+
18
+const scoreList = new Array(5).fill(0)
19
+const score = '3.9'
20
+
21
+export default (props) => {
22
+  return (
23
+    <scroll-view scroll-y style='height: 90vh;'  >
24
+      <view className='complete-boxs' >
25
+        {/* 已使用 */}
26
+        <view className='OrderNumber' >订单编号:ABC123456789</view>
27
+        <view class='wrapper'>
28
+          <view class='left-complete-one'>
29
+            <image className='left-image-1' src={ProCard_hot}></image>
30
+            <view className='left-viewText'>
31
+              返现¥16.00
32
+            </view>
33
+            {/* 评分 */}
34
+            <view className='card-box-star'>
35
+              {
36
+                scoreList.map((_, index) => {
37
+                  console.log(index)
38
+                  const src = (index + '0.1') < score ? starOn : starOff
39
+                  return (
40
+                    <image className='card-star-image' key={index} src={src} />
41
+                  )
42
+                })
43
+              }
44
+              <text className='card-star-text' >{score}</text>
45
+            </view>
46
+            <view className='title-image'>
47
+              <image className='image-1' mode='scaleToFill' src={image}></image>
48
+              <image className='image-2' src={food}></image>
49
+            </view>
50
+            <view className='title-content'>
51
+              <view className='Pro-title'>
52
+                <view className='title-text'>【米啊糯】新街口店 <text className='title-money-2' >数量:1张</text></view>
53
+              </view>
54
+              <text className='title-money' >¥6990元</text>
55
+              <view className='title-time' >核销时间:2021/06/21  12:00</view>
56
+            </view>
57
+          </view>
58
+          <view class='right-complete-two'>
59
+            <view className='right-content'>
60
+              <image className='right-image' src={Evaluation} />
61
+              <view className='right-title'>评价</view>
62
+            </view>
63
+          </view>
64
+        </view>
65
+        {/* 待核销 */}
66
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
67
+        <view class='wrapper'>
68
+          <view class='left-complete-one'>
69
+            <image className='left-image-1' src={ProCard_hot}></image>
70
+            <view className='left-viewText'>
71
+              返现¥16.00
72
+            </view>
73
+            <view className='title-image'>
74
+              <image className='image-1' mode='scaleToFill' src={image}></image>
75
+              <image className='image-2' src={food}></image>
76
+            </view>
77
+            <view className='title-content'>
78
+              <view className='Pro-title'>
79
+                <view className='title-text'>【SEOUL·创意韩国料理】 <text className='title-money-2' >数量:1张</text></view>
80
+              </view>
81
+              <text className='title-money' >¥6990元</text>
82
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
83
+            </view>
84
+          </view>
85
+          <view class='right-complete-two'>
86
+            <view className='right-content'>
87
+              <image className='right-image' src={QRcode} />
88
+              <view className='right-title'>扫码核销</view>
89
+            </view>
90
+          </view>
91
+        </view>
92
+        {/* 待支付 */}
93
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
94
+
95
+        <view class='wrapper'>
96
+          <view class='left-complete-one'>
97
+            <image className='left-image-1' src={ProCard_hot}></image>
98
+            <view className='left-viewText'>
99
+              返现¥16.00
100
+            </view>
101
+            <view className='title-image'>
102
+              <image className='image-1' mode='scaleToFill' src={image}></image>
103
+              <image className='image-2' src={food}></image>
104
+            </view>
105
+            <view className='title-content'>
106
+              <view className='Pro-title'>
107
+                <view className='title-text'>【SEOUL·创意韩国料理】 <text className='title-money-2' >数量:1张</text></view>
108
+              </view>
109
+              <text className='title-money' >¥6990元</text>
110
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
111
+            </view>
112
+          </view>
113
+          <view class='right-complete-two'>
114
+            <view className='right-content'>
115
+              <image className='right-image' src={Pay} />
116
+              <view className='right-title'>支付</view>
117
+            </view>
118
+          </view>
119
+        </view>
120
+        {/* 已过期 */}
121
+        <view className='OrderNumber'>订单编号:ABC123456789</view>
122
+        <view class='wrapper'>
123
+          <view class='left-complete-one'>
124
+            <image className='left-image-1' src={ProCard_hot}></image>
125
+            <view className='left-viewText'>
126
+              返现¥16.00
127
+            </view>
128
+            {/* 评分 */}
129
+            <view className='card-box-star'>
130
+              {
131
+                scoreList.map((_, index) => {
132
+                  console.log(index)
133
+                  const src = (index + '0.1') < score ? starOn : starOff
134
+                  return (
135
+                    <image className='card-star-image' key={index} src={src} />
136
+                  )
137
+                })
138
+              }
139
+              <text className='card-star-text' >{score}</text>
140
+            </view>
141
+            <view className='title-image'>
142
+              <image className='image-1' mode='scaleToFill' src={image}></image>
143
+              <image className='image-2' src={food}></image>
144
+            </view>
145
+            <view className='title-content'>
146
+              <view className='Pro-title'>
147
+                <view className='title-text'>【SEOUL·创意韩国料理】 <text className='title-money-2' >数量:1张</text></view>
148
+              </view>
149
+              <text className='title-money' >¥6990元</text>
150
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
151
+            </view>
152
+          </view>
153
+          <view class='right-complete-two'>
154
+            <view className='right-content'>
155
+              <image className='right-image-2' src={Null} />
156
+            </view>
157
+          </view>
158
+        </view>
159
+        <view className='foot'>
160
+          已经到底了~
161
+        </view>
162
+      </view>
163
+    </scroll-view >
164
+
165
+  )
166
+}

+ 255
- 0
src/components/CompoentsOrder/complete/style.less Vedi File

@@ -0,0 +1,255 @@
1
+@whiteColor: #fff;
2
+
3
+.complete-boxs {
4
+  margin: 40px auto;
5
+  padding: 0 30px;
6
+  .OrderNumber {
7
+    // width: 234px;
8
+    height: 19px;
9
+    font-size: 20px;
10
+    font-weight: 400;
11
+    color: #666666;
12
+    line-height: 44px;
13
+  }
14
+  .wrapper {
15
+    margin-top: 40px;
16
+    display: flex;
17
+    position: relative;
18
+    // margin-top: 600px;
19
+    margin: 30px auto;
20
+    width: 700px;
21
+
22
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
23
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
24
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
25
+    .card-box-star {
26
+      position: absolute;
27
+      width: auto;
28
+      height: 44.3px;
29
+      position: absolute;
30
+      left: 200px;
31
+      top: 28px;
32
+      font-size: 20px;
33
+      color: @whiteColor;
34
+      .card-star-image {
35
+        padding-left: 6px;
36
+        width: 21px;
37
+        height: 21px;
38
+      }
39
+      .card-star-text {
40
+        padding-left: 10px;
41
+        font-size: 20px;
42
+        color: #333;
43
+        font-weight: 700;
44
+      }
45
+    }
46
+
47
+    .left-complete-one {
48
+      padding-top: 85px;
49
+      padding-bottom: 43px;
50
+      position: relative;
51
+      display: flex;
52
+      background: @whiteColor;
53
+      background: radial-gradient(
54
+            circle at top right,
55
+            transparent 15px,
56
+            @whiteColor 0
57
+          )
58
+          top right,
59
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
60
+          bottom right;
61
+      background-size: 100% 60%;
62
+      background-repeat: no-repeat;
63
+
64
+      width: 573px;
65
+      border-radius: 15px 0px 0px 15px;
66
+      // border-radius: 12px;
67
+
68
+      align-items: center;
69
+      .left-image-1 {
70
+        width: 145px;
71
+        height: 44px;
72
+        position: absolute;
73
+        top: 22px;
74
+      }
75
+      .left-viewText {
76
+        // background-image: url(@Image-ProCard_hot);
77
+        // width: 287px;
78
+        width: auto;
79
+        height: 44.3px;
80
+        position: absolute;
81
+        left: 1px;
82
+        top: 28px;
83
+        font-size: 20px;
84
+        color: @whiteColor;
85
+      }
86
+      //图片
87
+      .title-image {
88
+        width: 145px;
89
+        margin-left: 20px;
90
+        border-radius: 24px;
91
+        overflow: hidden;
92
+        position: relative;
93
+        .image-1 {
94
+          width: 100%;
95
+          height: 145px;
96
+        }
97
+        .image-2 {
98
+          width: 89px;
99
+          height: 34px;
100
+          position: absolute;
101
+          left: 0;
102
+          top: 0;
103
+        }
104
+      }
105
+      // 商品标题
106
+      .title-content {
107
+        // padding: 84px 0 56px 20px;
108
+        padding-left: 18px;
109
+
110
+        .Pro-title {
111
+          .title-text {
112
+            width: 375px;
113
+            overflow: hidden;
114
+            text-overflow: ellipsis;
115
+            // display: -webkit-box; //必须要
116
+            -webkit-line-clamp: 1;
117
+            -webkit-box-orient: vertical;
118
+            // word-break: break-all; /* 多出文本省略号代替 */
119
+            text-align: left;
120
+            font-size: 24px;
121
+            // padding-bottom: 10px;
122
+          }
123
+        }
124
+        .title-money {
125
+          // padding-top: 34px;
126
+          font-size: 24px;
127
+          // color: red;
128
+          font-weight: 800;
129
+        }
130
+        .title-money-2 {
131
+          height: 19px;
132
+          font-size: 20px;
133
+          font-weight: 400;
134
+          color: #333333;
135
+          padding-left: 40px;
136
+        }
137
+
138
+        .title-time {
139
+          font-size: 24px;
140
+          // padding-top: 20px;
141
+          color: #c0c8d3;
142
+        }
143
+        .title-position-on {
144
+          display: flex;
145
+          font-size: 20px;
146
+          .title-position {
147
+            width: 18px;
148
+            height: 24px;
149
+            padding-right: 10px;
150
+            padding-top: 5px;
151
+          }
152
+          .title-position-image {
153
+            align-items: center;
154
+            font-size: 20px;
155
+            color: #333;
156
+          }
157
+          .title-on {
158
+            // margin-bottom: 10px;
159
+            padding-top: 5px;
160
+            padding-left: 40px;
161
+            width: 21px;
162
+            height: 21px;
163
+            padding-right: 10px;
164
+          }
165
+          .title-on-text {
166
+            align-items: center;
167
+
168
+            font-size: 20px;
169
+            color: #333;
170
+          }
171
+        }
172
+      }
173
+    }
174
+    // .left-complete-one:nth-child(2) {
175
+    //   background: rgb(182, 0, 0);
176
+    //   padding-top: 10px;
177
+    // }
178
+  }
179
+
180
+  .right-complete-two {
181
+    background: @whiteColor;
182
+    background: radial-gradient(
183
+          circle at top left,
184
+          transparent 15px,
185
+          @whiteColor 0
186
+        )
187
+        top left,
188
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
189
+        bottom left;
190
+    background-size: 100% 60%;
191
+    background-repeat: no-repeat;
192
+    width: 129px;
193
+    border-radius: 0 15px 15px 0;
194
+    position: relative;
195
+    //右面部分
196
+    .right-content {
197
+      // width: 100px;
198
+      height: 120px;
199
+      position: absolute;
200
+      top: 50%;
201
+      left: 50%;
202
+      transform: translate(-50%, -50%);
203
+      // border: 1px solid red;
204
+      .right-image-2 {
205
+        width: 76px;
206
+        height: 66px;
207
+        margin-top: 1em;
208
+      }
209
+      .right-number {
210
+        // width: 32px;
211
+        // font-size: 20px;
212
+        // border-radius: 4px;
213
+        // border: 2px solid #999;
214
+        // margin: auto;
215
+        // text-align: center;
216
+      }
217
+      .right-image {
218
+        // float: convert();
219
+        width: 35px;
220
+        height: 34px;
221
+        margin: 0 auto;
222
+        align-items: center;
223
+        margin: auto;
224
+        padding-left: 8px;
225
+        // text-align: center;
226
+      }
227
+
228
+      .right-title {
229
+        font-weight: 700;
230
+        font-size: 24px;
231
+        padding-top: 15px;
232
+        text-align: center;
233
+      }
234
+    }
235
+  }
236
+  //线条
237
+  .right-complete-two::after {
238
+    content: "";
239
+    position: absolute;
240
+    top: 15px;
241
+    margin: 26px auto;
242
+    height: 70%;
243
+    border-left: 1px dashed #595959;
244
+  }
245
+  .foot {
246
+    width: 100%;
247
+    height: 26px;
248
+    font-size: 28px;
249
+    font-weight: 400;
250
+    color: #c0c8d3;
251
+    line-height: 34px;
252
+    margin-top: 40px;
253
+    text-align: center;
254
+  }
255
+}

+ 32
- 0
src/components/OrderMolded/index.jsx Vedi File

@@ -0,0 +1,32 @@
1
+import { useState } from 'react'
2
+import image from '@/assets/icons/ProCard/8kb.jpg'
3
+import { Button, Radio } from '@tarojs/components'
4
+
5
+import food from '@/assets/icons/ProCard/food.png'
6
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
7
+import './style.less'
8
+
9
+export default (props) => {
10
+
11
+  return (
12
+    <view class='wrapper-box'>
13
+      <view class='left-complete-one'>
14
+        <image className='left-image-1' src={ProCard_hot}></image>
15
+        <view className='left-viewText'>
16
+          返现¥16.00
17
+        </view>
18
+        <view className='title-image'>
19
+          <image className='image-1' mode='scaleToFill' src={image}></image>
20
+          <image className='image-2' src={food}></image>
21
+        </view>
22
+        <view className='title-content'>
23
+          <view className='Pro-title'>
24
+            <view className='title-text'>【橘里橘气咖啡店】新鲜出炉啦!</view>
25
+          </view>
26
+          <text className='title-money' >¥6990元</text>
27
+          <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
28
+        </view>
29
+      </view>
30
+    </view>
31
+  )
32
+}

+ 124
- 0
src/components/OrderMolded/style.less Vedi File

@@ -0,0 +1,124 @@
1
+@whiteColor: #fff;
2
+
3
+.wrapper-box {
4
+  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
5
+
6
+  .left-complete-one {
7
+    padding-top: 87px;
8
+    padding-bottom: 21px;
9
+    position: relative;
10
+    display: flex;
11
+    background: @whiteColor;
12
+    background: radial-gradient(
13
+          circle at top right,
14
+          transparent 15px,
15
+          @whiteColor 0
16
+        )
17
+        top right,
18
+      radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
19
+        bottom right;
20
+    background-size: 100% 60%;
21
+    background-repeat: no-repeat;
22
+
23
+    width: 573px;
24
+    border-radius: 15px 0px 0px 15px;
25
+    // border-radius: 12px;
26
+
27
+    align-items: center;
28
+    .left-image-1 {
29
+      width: 145px;
30
+      height: 44px;
31
+      position: absolute;
32
+      top: 22px;
33
+    }
34
+    .left-viewText {
35
+      // background-image: url(@Image-ProCard_hot);
36
+      // width: 287px;
37
+      width: auto;
38
+      height: 44.3px;
39
+      position: absolute;
40
+      left: 1px;
41
+      top: 28px;
42
+      font-size: 24px;
43
+      color: @whiteColor;
44
+      font-weight: 600;
45
+    }
46
+    //图片
47
+    .title-image {
48
+      width: 145px;
49
+      margin-left: 20px;
50
+      border-radius: 24px;
51
+      overflow: hidden;
52
+      position: relative;
53
+      .image-1 {
54
+        width: 100%;
55
+        height: 145px;
56
+      }
57
+      .image-2 {
58
+        width: 89px;
59
+        height: 34px;
60
+        position: absolute;
61
+        left: 0;
62
+        top: 0;
63
+      }
64
+    }
65
+    // 商品标题
66
+    .title-content {
67
+      // padding: 84px 0 56px 20px;
68
+      padding-left: 18px;
69
+
70
+      .Pro-title {
71
+        .title-text {
72
+          width: 375px;
73
+          overflow: hidden;
74
+          text-overflow: ellipsis;
75
+          display: -webkit-box; //必须要
76
+          -webkit-line-clamp: 1;
77
+          -webkit-box-orient: vertical;
78
+          word-break: break-all; /* 多出文本省略号代替 */
79
+          text-align: left;
80
+          font-size: 24px;
81
+          padding-bottom: 10px;
82
+        }
83
+      }
84
+      .title-money {
85
+        padding-top: 34px;
86
+        font-size: 24px;
87
+        // color: red;
88
+        position: relative;
89
+        right: 136px;
90
+        font-weight: 800;
91
+      }
92
+      .title-money-2 {
93
+        font-size: 18px;
94
+        color: #666;
95
+        padding-left: 10px;
96
+        text-decoration: line-through;
97
+      }
98
+
99
+      .title-time {
100
+        font-size: 24px;
101
+        padding-top: 20px;
102
+        color: #c0c8d3;
103
+      }
104
+    }
105
+  }
106
+}
107
+
108
+.right-complete-two {
109
+  background: @whiteColor;
110
+  background: radial-gradient(
111
+        circle at top left,
112
+        transparent 15px,
113
+        @whiteColor 0
114
+      )
115
+      top left,
116
+    radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
117
+      bottom left;
118
+  background-size: 100% 60%;
119
+  background-repeat: no-repeat;
120
+  width: 129px;
121
+  border-radius: 0 15px 15px 0;
122
+  position: relative;
123
+}
124
+//线条

+ 12
- 0
src/components/Popup/index.jsx Vedi File

@@ -0,0 +1,12 @@
1
+
2
+import './style.less'
3
+
4
+export default (props) => {
5
+  const { show, mask = true, maskClosable, onClose } = props
6
+
7
+  return (
8
+    <mp-dialog extClass='x-popup' buttons={[]} show={show} mask={mask} maskClosable={maskClosable} onClose={onClose}>
9
+      {props.children}
10
+    </mp-dialog>
11
+  )
12
+}

+ 6
- 0
src/components/Popup/style.less Vedi File

@@ -0,0 +1,6 @@
1
+.x-popup {
2
+  .weui-dialog__hd,
3
+  .weui-dialog__ft {
4
+    display: none;
5
+  }
6
+}

+ 41
- 0
src/components/ProCard/index.jsx Vedi File

@@ -0,0 +1,41 @@
1
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
2
+
3
+import './style.less'
4
+
5
+export default (props) => {
6
+
7
+  return (
8
+    <view class='wrapper'>
9
+      <view class='left-complete-one'>
10
+        <image className='left-image-1' src={ProCard_hot} />
11
+        {props.children}
12
+        {/* <view className='left-viewText'>
13
+              返现¥16.00
14
+            </view> */}
15
+        <view className='title-image'>
16
+          {/* <image className='image-1' mode='scaleToFill' src={image}></image> */}
17
+          {/* <image className='image-2' src={food}></image> */}
18
+        </view>
19
+        <view className='title-content'>
20
+          {props.children}
21
+          {/* <view className='Pro-title'>
22
+                <view className='title-text'>【橘里橘气咖啡店】新鲜出炉啦!</view>
23
+              </view>
24
+              <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
25
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view> */}
26
+        </view>
27
+      </view>
28
+      <view class='right-complete-two'>
29
+        <view className='right-content'>
30
+          {props.children}
31
+          {/* <view className='right-number'>×1</view> */}
32
+          {/* <view className='right-title'>数量</view> */}
33
+        </view>
34
+      </view>
35
+    </view>
36
+
37
+
38
+  )
39
+
40
+
41
+}

+ 166
- 0
src/components/ProCard/style.less Vedi File

@@ -0,0 +1,166 @@
1
+@whiteColor: #fff;
2
+@Image-ProCard_hot: "../../assets/icons/ProCard/ProCard_hot.png";
3
+
4
+.wrapper {
5
+  display: flex;
6
+  position: relative;
7
+  // margin-top: 600px;
8
+  margin: 30px auto;
9
+  width: 700px;
10
+
11
+  // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
12
+  // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
13
+  filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
14
+
15
+  .left-complete-one {
16
+    padding-top: 87px;
17
+    padding-bottom: 43px;
18
+    position: relative;
19
+    display: flex;
20
+    background: @whiteColor;
21
+    background: radial-gradient(
22
+          circle at top right,
23
+          transparent 15px,
24
+          @whiteColor 0
25
+        )
26
+        top right,
27
+      radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
28
+        bottom right;
29
+    background-size: 100% 60%;
30
+    background-repeat: no-repeat;
31
+
32
+    width: 573px;
33
+    border-radius: 15px 0px 0px 15px;
34
+    // border-radius: 12px;
35
+
36
+    align-items: center;
37
+    .left-image-1 {
38
+      width: 145px;
39
+      height: 44px;
40
+      position: absolute;
41
+      top: 22px;
42
+    }
43
+    .left-viewText {
44
+      // background-image: url(@Image-ProCard_hot);
45
+      // width: 287px;
46
+      width: auto;
47
+      height: 44.3px;
48
+      position: absolute;
49
+      left: 1px;
50
+      top: 28px;
51
+      font-size: 24px;
52
+      color: @whiteColor;
53
+      font-weight: 600;
54
+    }
55
+    //图片
56
+    .title-image {
57
+      width: 145px;
58
+      margin-left: 20px;
59
+      border-radius: 24px;
60
+      overflow: hidden;
61
+      position: relative;
62
+
63
+      .image-1 {
64
+        width: 100%;
65
+        height: 145px;
66
+      }
67
+      .image-2 {
68
+        width: 89px;
69
+        height: 34px;
70
+        position: absolute;
71
+        left: 0;
72
+        top: 0;
73
+      }
74
+    }
75
+    // 商品标题
76
+    .title-content {
77
+      // padding: 84px 0 56px 20px;
78
+      padding-left: 18px;
79
+
80
+      .Pro-title {
81
+        .title-text {
82
+          width: 375px;
83
+          overflow: hidden;
84
+          text-overflow: ellipsis;
85
+          display: -webkit-box; //必须要
86
+          -webkit-line-clamp: 1;
87
+          -webkit-box-orient: vertical;
88
+          word-break: break-all; /* 多出文本省略号代替 */
89
+          text-align: left;
90
+          font-size: 24px;
91
+          padding-bottom: 10px;
92
+        }
93
+      }
94
+      .title-money {
95
+        padding-top: 34px;
96
+        font-size: 24px;
97
+        // color: red;
98
+        font-weight: 800;
99
+      }
100
+      .title-money-2 {
101
+        font-size: 18px;
102
+        color: #666;
103
+        padding-left: 10px;
104
+        text-decoration: line-through;
105
+      }
106
+
107
+      .title-time {
108
+        font-size: 24px;
109
+        padding-top: 20px;
110
+        color: #c0c8d3;
111
+      }
112
+    }
113
+  }
114
+}
115
+
116
+.right-complete-two {
117
+  background: @whiteColor;
118
+  background: radial-gradient(
119
+        circle at top left,
120
+        transparent 15px,
121
+        @whiteColor 0
122
+      )
123
+      top left,
124
+    radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
125
+      bottom left;
126
+  background-size: 100% 60%;
127
+  background-repeat: no-repeat;
128
+  width: 129px;
129
+  border-radius: 0 15px 15px 0;
130
+  position: relative;
131
+  //右面部分
132
+  .right-content {
133
+    // width: 100px;
134
+    // height: 80px;
135
+    position: absolute;
136
+    top: 50%;
137
+    left: 50%;
138
+    transform: translate(-50%, -50%);
139
+    // border: 1px solid red;
140
+
141
+    .right-number {
142
+      width: 32px;
143
+      font-size: 20px;
144
+      border-radius: 4px;
145
+      border: 2px solid #999;
146
+      margin: auto;
147
+      text-align: center;
148
+    }
149
+
150
+    .right-title {
151
+      font-weight: 700;
152
+      font-size: 24px;
153
+      padding-top: 20px;
154
+      text-align: center;
155
+    }
156
+  }
157
+}
158
+//线条
159
+.right-complete-two::after {
160
+  content: "";
161
+  position: absolute;
162
+  top: 15px;
163
+  margin: 26px auto;
164
+  height: 70%;
165
+  border-left: 1px dashed #595959;
166
+}

+ 9
- 0
src/pages/MineUserAll/AllOrder/index.config.js Vedi File

@@ -0,0 +1,9 @@
1
+export default {
2
+  navigationBarTitleText: '我的订单',
3
+  navigationStyle: 'custom',
4
+  "usingComponents": {
5
+    "mp-dialog": "weui-miniprogram/dialog/dialog",
6
+    "mp-tabs": "../../../components/tabs/index"
7
+  }
8
+
9
+}

+ 103
- 0
src/pages/MineUserAll/AllOrder/index.jsx Vedi File

@@ -0,0 +1,103 @@
1
+
2
+import { useState, useEffect, } from 'react'
3
+import { Taro, useRouter } from '@tarojs/taro'
4
+
5
+import CustomNav from '@/components/CustomNav'
6
+import AlreadyExpired from '@/components/CompoentsOrder/AlreadyExpired'
7
+import AlreadyUsed from '@/components/CompoentsOrder/AlreadyUsed'
8
+import Complete from '@/components/CompoentsOrder/complete'
9
+import TobePaid from '@/components/CompoentsOrder/TobePaid'
10
+import TobeWritten from '@/components/CompoentsOrder/TobeWritten'
11
+
12
+import './style.less'
13
+
14
+
15
+
16
+export default (props) => {
17
+  const [activeTab, setActiveTab] = useState(0)
18
+  const [swiperHeight, setSwiperHeight] = useState(0)
19
+
20
+
21
+  const { params } = useRouter()
22
+  const { tabJump } = params || {}
23
+
24
+
25
+  useEffect(() => {
26
+    if (tabJump) {
27
+      setActiveTab(tabJump - 0)
28
+    }
29
+    console.log('---------------------', tabJump);
30
+
31
+  }, [tabJump])
32
+
33
+
34
+
35
+  const tabs = [
36
+    {
37
+      title: '全部',
38
+    },
39
+    {
40
+      title: '待支付',
41
+
42
+    },
43
+    {
44
+      title: '待核销',
45
+
46
+    },
47
+    {
48
+      title: '已使用',
49
+
50
+    },
51
+    {
52
+      title: '已过期',
53
+
54
+    },
55
+  ]
56
+
57
+  const handleTabChange = (e) => {
58
+    const { index } = e.detail
59
+    setActiveTab(index)
60
+  }
61
+
62
+  const abccc = () => [
63
+    Taro.getSystemInfo({
64
+      success: function (res) {
65
+        let clientHeight = res.windowHeight;
66
+        let clientWidth = res.windowWidth;
67
+        let ratio = 750 / clientWidth;
68
+        let Height = ratio * clientHeight;
69
+        setSwiperHeight(`height:${Height}rpx;`)
70
+        console.log('------------->', swiperHeight);
71
+
72
+
73
+      }
74
+
75
+    })
76
+  ]
77
+
78
+
79
+  return (
80
+    <view className='box-content'>
81
+      <CustomNav title='我的订单' />
82
+      <view className='index-tabs'>
83
+        <mp-tabs
84
+          tabClass='tabs-Unselected'
85
+          swiperClass='tabs-swiper'
86
+          activeClass='tabs-Selected'
87
+          tabUnderlineColor='#000'
88
+          tabInactiveTextColor='#C0C8D3'
89
+          tabs={tabs}
90
+          current={activeTab}
91
+          onChange={handleTabChange}
92
+          activeTab={activeTab}
93
+        >
94
+        </mp-tabs>
95
+      </view>
96
+      {activeTab === 0 && <Complete />}
97
+      {activeTab === 1 && <TobePaid />}
98
+      {activeTab === 2 && <TobeWritten />}
99
+      {activeTab === 3 && <AlreadyUsed />}
100
+      {activeTab === 4 && <AlreadyExpired />}
101
+    </view>
102
+  )
103
+}

+ 27
- 0
src/pages/MineUserAll/AllOrder/style.less Vedi File

@@ -0,0 +1,27 @@
1
+.box-content {
2
+  width: 100%;
3
+  .index-tabs {
4
+    width: 100%;
5
+
6
+    .tabs-Unselected {
7
+      width: 20vw;
8
+      text-align: center;
9
+      height: 26px;
10
+      font-size: 28px;
11
+      font-weight: bold;
12
+      color: #c0c8d3;
13
+    }
14
+    .tabs-swiper {
15
+      max-height: 0px;
16
+    }
17
+    .tabs-Selected {
18
+      height: 30px;
19
+      font-size: 32px;
20
+      font-weight: bold;
21
+      color: #4c4c4c;
22
+      padding-top: 33px;
23
+      padding-bottom: 28px;
24
+      border-bottom: 5px solid black;
25
+    }
26
+  }
27
+}

+ 4
- 0
src/pages/MineUserAll/Collect/index.config.js Vedi File

@@ -0,0 +1,4 @@
1
+export default {
2
+  navigationBarTitleText: '我的收藏',
3
+  navigationStyle: 'custom',
4
+}

+ 157
- 0
src/pages/MineUserAll/Collect/index.jsx Vedi File

@@ -0,0 +1,157 @@
1
+
2
+import CustomNav from '@/components/CustomNav'
3
+import { useState } from "react";
4
+
5
+import Taro from '@tarojs/taro'
6
+import image from '@/assets/icons/ProCard/8kb.jpg'
7
+import Pay from '@/assets/icons/GuideCheck/Pay_logo.png'
8
+import SeeDetails from '@/assets/icons/GuideCheck/SeeDetails.png'
9
+
10
+import Attractions from '@/assets/icons/GuideCheck/Attractions.png'
11
+import food from '@/assets/icons/ProCard/food.png'
12
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
13
+import position from '@/assets/icons/GuideCheck/position_logo.png'
14
+
15
+import starOn from '@/assets/icons/GuideCheck/starOn.png'
16
+import starOff from '@/assets/icons/GuideCheck/starOff.png'
17
+
18
+import './style.less'
19
+
20
+const scoreList = new Array(5).fill(0)
21
+const score = '3.9'
22
+
23
+export default (props) => {
24
+
25
+  const [value, setVaule] = useState('已收藏')
26
+  const [imageSrc, setImageSrc] = useState(starOn)
27
+
28
+
29
+
30
+
31
+  const Ac = () => {
32
+    setImageSrc(starOff)
33
+    setVaule('加入收藏')
34
+    // console.log('------------', value);
35
+
36
+  }
37
+  return (
38
+    <view className='box-content'>
39
+      <CustomNav title='我的收藏' />
40
+      <view class='wrapper'>
41
+        <view class='left-complete-one'>
42
+          <image className='left-image-1' src={ProCard_hot}></image>
43
+          <view className='left-viewText'>
44
+            返现¥16.00
45
+          </view>
46
+          {/* 评分 */}
47
+          <view className='card-box-star'>
48
+            {
49
+              scoreList.map((_, index) => {
50
+                console.log(index)
51
+                const src = (index + '0.1') < score ? starOn : starOff
52
+                return (
53
+                  <image className='card-star-image' key={index} src={src} />
54
+                )
55
+              })
56
+            }
57
+            <text className='card-star-text' >{score}</text>
58
+          </view>
59
+          <view className='title-image'>
60
+            <image className='image-1' mode='scaleToFill' src={image}></image>
61
+            <image className='image-2' src={food}></image>
62
+          </view>
63
+          <view className='title-content'>
64
+            <view className='Pro-title'>
65
+              <view className='title-text'>【橘里橘啊换行啊啊啊气咖啡店】新鲜出炉啦!</view>
66
+            </view>
67
+            <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
68
+            <view className='title-position-on'>
69
+              <image className='title-position' src={position} />
70
+              <text className='title-position-image'>南京市/秦淮区</text>
71
+              <image className='title-on' src={imageSrc} />
72
+              <text onClick={() => Ac()} className='title-on-text'>{value}</text>
73
+            </view>
74
+          </view>
75
+        </view>
76
+        <view class='right-complete-two'>
77
+          <view className='right-content'>
78
+            <image className='right-image' src={SeeDetails} />
79
+            <view className='right-title'>查看详情</view>
80
+          </view>
81
+        </view>
82
+      </view>
83
+      <view class='wrapper'>
84
+        <view class='left-complete-one'>
85
+          <image className='left-image-1' src={ProCard_hot}></image>
86
+          <view className='left-viewText'>
87
+            返现¥16.00
88
+          </view>
89
+          {/* 评分 */}
90
+          <view className='card-box-star'>
91
+            {
92
+              scoreList.map((_, index) => {
93
+                console.log(index)
94
+                const src = (index + '0.1') < score ? starOn : starOff
95
+                return (
96
+                  <image className='card-star-image' key={index} src={src} />
97
+                )
98
+              })
99
+            }
100
+            <text className='card-star-text' >{score}</text>
101
+          </view>
102
+          <view className='title-image'>
103
+            <image className='image-1' mode='scaleToFill' src={image}></image>
104
+            <image className='image-2' src={food}></image>
105
+          </view>
106
+          <view className='title-content'>
107
+            <view className='Pro-title'>
108
+              <view className='title-text'>【橘里橘啊换行啊啊啊气咖啡店】新鲜出炉啦!</view>
109
+            </view>
110
+            <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
111
+            <view className='title-position-on'>
112
+              <image className='title-position' src={position} />
113
+              <text className='title-position-image'>南京市/秦淮区</text>
114
+              <image className='title-on' src={imageSrc} />
115
+              <text onClick={() => Ac()} className='title-on-text'>{value}</text>
116
+            </view>
117
+          </view>
118
+        </view>
119
+        <view class='right-complete-two'>
120
+          <view className='right-content'>
121
+            <image className='right-image' src={SeeDetails} />
122
+            <view className='right-title'>查看详情</view>
123
+          </view>
124
+        </view>
125
+      </view>
126
+      <view class='wrapper'>
127
+        <view class='left-complete-one' style='padding-top: 20px;'>
128
+          <view className='title-image'>
129
+            <image className='image-1' mode='scaleToFill' src={image}></image>
130
+            <image className='image-2' src={Attractions}></image>
131
+          </view>
132
+          <view className='title-content'>
133
+            <view className='Pro-title'>
134
+              <view className='title-text'>【橘里橘啊换行啊啊啊气咖啡店】新鲜出炉啦!</view>
135
+            </view>
136
+            <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
137
+            <view className='title-position-on'>
138
+              <image className='title-position' src={position} />
139
+              <text className='title-position-image'>南京市/秦淮区</text>
140
+              <image className='title-on' src={imageSrc} />
141
+              <text onClick={() => Ac()} className='title-on-text'>{value}</text>
142
+            </view>
143
+          </view>
144
+        </view>
145
+        <view class='right-complete-two'>
146
+          <view className='right-content'>
147
+            <image className='right-image' src={SeeDetails} />
148
+            <view className='right-title'>查看详情</view>
149
+          </view>
150
+        </view>
151
+      </view>
152
+      <view className='foot'>
153
+        已经到底了~
154
+      </view>
155
+    </view>
156
+  )
157
+}

+ 244
- 0
src/pages/MineUserAll/Collect/style.less Vedi File

@@ -0,0 +1,244 @@
1
+@whiteColor: #fff;
2
+
3
+.box-content {
4
+  padding: 0 25px;
5
+
6
+  //卡片---------------
7
+
8
+  .wrapper {
9
+    margin-top: 40px;
10
+    display: flex;
11
+    position: relative;
12
+    // margin-top: 600px;
13
+    // margin: 30px auto;
14
+    width: 700px;
15
+
16
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
17
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
18
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
19
+    .card-box-star {
20
+      position: absolute;
21
+      width: auto;
22
+      height: 44.3px;
23
+      position: absolute;
24
+      left: 200px;
25
+      top: 28px;
26
+      font-size: 20px;
27
+      color: @whiteColor;
28
+      .card-star-image {
29
+        padding-left: 6px;
30
+        width: 21px;
31
+        height: 21px;
32
+      }
33
+      .card-star-text {
34
+        padding-left: 10px;
35
+        font-size: 20px;
36
+        color: #333;
37
+        font-weight: 700;
38
+      }
39
+    }
40
+
41
+    .left-complete-one {
42
+      padding-top: 85px;
43
+      padding-bottom: 43px;
44
+      position: relative;
45
+      display: flex;
46
+      background: @whiteColor;
47
+      background: radial-gradient(
48
+            circle at top right,
49
+            transparent 15px,
50
+            @whiteColor 0
51
+          )
52
+          top right,
53
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
54
+          bottom right;
55
+      background-size: 100% 60%;
56
+      background-repeat: no-repeat;
57
+
58
+      width: 573px;
59
+      border-radius: 15px 0px 0px 15px;
60
+      // border-radius: 12px;
61
+
62
+      align-items: center;
63
+      .left-image-1 {
64
+        width: 145px;
65
+        height: 44px;
66
+        position: absolute;
67
+        top: 22px;
68
+      }
69
+      .left-viewText {
70
+        // background-image: url(@Image-ProCard_hot);
71
+        // width: 287px;
72
+        width: auto;
73
+        height: 44.3px;
74
+        position: absolute;
75
+        left: 1px;
76
+        top: 28px;
77
+        font-size: 20px;
78
+        color: @whiteColor;
79
+      }
80
+      //图片
81
+      .title-image {
82
+        width: 145px;
83
+        margin-left: 20px;
84
+        border-radius: 24px;
85
+        overflow: hidden;
86
+        position: relative;
87
+        .image-1 {
88
+          width: 100%;
89
+          height: 145px;
90
+        }
91
+        .image-2 {
92
+          width: 89px;
93
+          height: 34px;
94
+          position: absolute;
95
+          left: 0;
96
+          top: 0;
97
+        }
98
+      }
99
+      // 商品标题
100
+      .title-content {
101
+        // padding: 84px 0 56px 20px;
102
+        padding-left: 18px;
103
+
104
+        .Pro-title {
105
+          .title-text {
106
+            width: 375px;
107
+            overflow: hidden;
108
+            text-overflow: ellipsis;
109
+            // display: -webkit-box; //必须要
110
+            -webkit-line-clamp: 1;
111
+            -webkit-box-orient: vertical;
112
+            // word-break: break-all; /* 多出文本省略号代替 */
113
+            text-align: left;
114
+            font-size: 24px;
115
+            // padding-bottom: 10px;
116
+          }
117
+        }
118
+        .title-money {
119
+          // padding-top: 34px;
120
+          font-size: 24px;
121
+          // color: red;
122
+          font-weight: 800;
123
+        }
124
+        .title-money-2 {
125
+          font-size: 18px;
126
+          color: #666;
127
+          padding-left: 10px;
128
+          text-decoration: line-through;
129
+        }
130
+
131
+        .title-time {
132
+          font-size: 24px;
133
+          // padding-top: 20px;
134
+          color: #c0c8d3;
135
+        }
136
+        .title-position-on {
137
+          display: flex;
138
+          font-size: 20px;
139
+          .title-position {
140
+            width: 18px;
141
+            height: 24px;
142
+            padding-right: 10px;
143
+            padding-top: 5px;
144
+          }
145
+          .title-position-image {
146
+            align-items: center;
147
+            font-size: 20px;
148
+            color: #333;
149
+          }
150
+          .title-on {
151
+            // margin-bottom: 10px;
152
+            padding-top: 5px;
153
+            padding-left: 40px;
154
+            width: 21px;
155
+            height: 21px;
156
+            padding-right: 10px;
157
+          }
158
+          .title-on-text {
159
+            align-items: center;
160
+
161
+            font-size: 20px;
162
+            color: #333;
163
+          }
164
+        }
165
+      }
166
+    }
167
+    // .left-complete-one:nth-child(2) {
168
+    //   background: rgb(182, 0, 0);
169
+    //   padding-top: 10px;
170
+    // }
171
+  }
172
+
173
+  .right-complete-two {
174
+    background: @whiteColor;
175
+    background: radial-gradient(
176
+          circle at top left,
177
+          transparent 15px,
178
+          @whiteColor 0
179
+        )
180
+        top left,
181
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
182
+        bottom left;
183
+    background-size: 100% 60%;
184
+    background-repeat: no-repeat;
185
+    width: 129px;
186
+    border-radius: 0 15px 15px 0;
187
+    position: relative;
188
+    //右面部分
189
+    .right-content {
190
+      // width: 100px;
191
+      height: 120px;
192
+      position: absolute;
193
+      top: 50%;
194
+      left: 50%;
195
+      transform: translate(-50%, -50%);
196
+      // border: 1px solid red;
197
+
198
+      .right-number {
199
+        // width: 32px;
200
+        // font-size: 20px;
201
+        // border-radius: 4px;
202
+        // border: 2px solid #999;
203
+        // margin: auto;
204
+        // text-align: center;
205
+      }
206
+      .right-image {
207
+        // float: convert();
208
+        width: 35px;
209
+        height: 34px;
210
+        margin: 0 auto;
211
+        align-items: center;
212
+        margin: auto;
213
+        padding-left: 8px;
214
+        // text-align: center;
215
+      }
216
+
217
+      .right-title {
218
+        font-weight: 700;
219
+        font-size: 24px;
220
+        padding-top: 15px;
221
+        text-align: center;
222
+      }
223
+    }
224
+  }
225
+  //线条
226
+  .right-complete-two::after {
227
+    content: "";
228
+    position: absolute;
229
+    top: 15px;
230
+    margin: 26px auto;
231
+    height: 70%;
232
+    border-left: 1px dashed #595959;
233
+  }
234
+  .foot {
235
+    width: 100%;
236
+    height: 26px;
237
+    font-size: 28px;
238
+    font-weight: 400;
239
+    color: #c0c8d3;
240
+    line-height: 34px;
241
+    margin-top: 40px;
242
+    text-align: center;
243
+  }
244
+}

+ 4
- 0
src/pages/MineUserAll/ContactMe/index.config.js Vedi File

@@ -0,0 +1,4 @@
1
+export default {
2
+  navigationBarTitleText: '联系我们',
3
+  navigationStyle: 'custom',
4
+}

+ 26
- 0
src/pages/MineUserAll/ContactMe/index.jsx Vedi File

@@ -0,0 +1,26 @@
1
+
2
+import CustomNav from '@/components/CustomNav'
3
+// import { Button } from '@tarojs/components'
4
+import Taro from '@tarojs/taro'
5
+
6
+import { Button, Text, Textarea } from '@tarojs/components'
7
+import './style.less'
8
+
9
+export default (props) => {
10
+  const back = () => {
11
+    Taro.navigateBack()
12
+  }
13
+
14
+  return (
15
+    <view className='box-content'>
16
+      <CustomNav title='联系我们' />
17
+      <view class='section'>
18
+        <Textarea placeholder='请输入您的建议或意见!' confirm-type='done' />
19
+      </view>
20
+      <view className='button-info'>
21
+        <Button className='button-box'>提交</Button>
22
+        <Button className='button-box-Cancel' onClick={back} >取消</Button>
23
+      </view>
24
+    </view>
25
+  )
26
+}

+ 38
- 0
src/pages/MineUserAll/ContactMe/style.less Vedi File

@@ -0,0 +1,38 @@
1
+.box-content {
2
+  .section {
3
+    width: 690px;
4
+    height: 254px;
5
+    background: #ffffff;
6
+    border: 1px solid #b5b5b5;
7
+    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
8
+    padding: 0 20px 0 20px;
9
+    margin: auto;
10
+    textarea {
11
+      padding-top: 20px;
12
+      width: 100%;
13
+      font-size: 24px;
14
+      font-weight: 400;
15
+      color: #666666;
16
+    }
17
+  }
18
+  .button-info {
19
+    .button-box {
20
+      margin-top: 20%;
21
+      width: 690px;
22
+      height: 88px;
23
+      line-height: 88px;
24
+
25
+      background: #274291;
26
+      border-radius: 12px;
27
+    }
28
+    .button-box-Cancel {
29
+      width: 690px;
30
+      height: 88px;
31
+      line-height: 88px;
32
+      margin-top: 40px;
33
+      color: #274291;
34
+      border: 2px solid #274291;
35
+      border-radius: 12px;
36
+    }
37
+  }
38
+}

+ 4
- 0
src/pages/MineUserAll/HomeLogo/index.config.js Vedi File

@@ -0,0 +1,4 @@
1
+export default {
2
+  navigationBarTitleText: '入住指引',
3
+  navigationStyle: 'custom',
4
+}

+ 11
- 0
src/pages/MineUserAll/HomeLogo/index.jsx Vedi File

@@ -0,0 +1,11 @@
1
+
2
+import CustomNav from '@/components/CustomNav'
3
+import './style.less'
4
+
5
+export default (props) => {
6
+  return (
7
+    <view className='box-content'>
8
+      <CustomNav title='入住指引' />
9
+    </view>
10
+  )
11
+}

+ 2
- 0
src/pages/MineUserAll/HomeLogo/style.less Vedi File

@@ -0,0 +1,2 @@
1
+.box-content {
2
+}

+ 4
- 0
src/pages/MineUserAll/RefundMoney/CheckRefund/index.config.js Vedi File

@@ -0,0 +1,4 @@
1
+export default {
2
+  navigationBarTitleText: '售后退款2',
3
+  navigationStyle: 'custom',
4
+}

+ 146
- 0
src/pages/MineUserAll/RefundMoney/CheckRefund/index.jsx Vedi File

@@ -0,0 +1,146 @@
1
+import BlackSpot from '@/assets/icons/GuideCheck/BlackSpot.png'
2
+import Taro from '@tarojs/taro'
3
+import { Button, Icon, Text, Textarea } from '@tarojs/components'
4
+
5
+import { useState } from 'react'
6
+import image from '@/assets/icons/ProCard/8kb.jpg'
7
+import food from '@/assets/icons/ProCard/food.png'
8
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
9
+import CustomNav from '@/components/CustomNav'
10
+import './style.less'
11
+
12
+export default (props) => {
13
+  const [view, setView] = useState(true)
14
+  const [view2, setView2] = useState(false)
15
+  const [view3, setView3] = useState(false)
16
+  const [view4, setView4] = useState(false)
17
+  const [view5, setView5] = useState(false)
18
+  const [view6, setView6] = useState(false)
19
+  let value = view
20
+  let list = [
21
+    {
22
+      className: `Refund-star-view4 ${!value ? 'bg2' : 'Refund-star-view2'}`,
23
+      name: '预约不上',
24
+      value: false,
25
+    }
26
+  ]
27
+
28
+  const viewOK = () => {
29
+    setView(!view)
30
+  }
31
+
32
+  const view2OK = () => {
33
+    setView2(!view2)
34
+  }
35
+
36
+  const view3OK = () => {
37
+    setView3(!view3)
38
+  }
39
+
40
+  const view4OK = () => {
41
+    setView4(!view4)
42
+  }
43
+  const view5OK = () => {
44
+    setView5(!view5)
45
+  }
46
+
47
+  const view6OK = () => {
48
+    setView6(!view6)
49
+  }
50
+
51
+
52
+
53
+  return (
54
+
55
+    <view className='box-content'>
56
+      <CustomNav title='售后退款2' />
57
+      <view className='Refund-Content-box'>
58
+        <view className='title-image'>
59
+          <image mode='scaleToFill' className='title-image-cup' src={BlackSpot} />
60
+          <text className='title-title-boss' >商品信息</text>
61
+        </view>
62
+      </view>
63
+      {/* 商品信息结束 */}
64
+      <view class='wrapper'>
65
+        <view class='left-complete-one'>
66
+          <image className='left-image-1' src={ProCard_hot}></image>
67
+          <view className='left-viewText'>
68
+            返现¥16.00
69
+          </view>
70
+          <view className='title-image'>
71
+            <image className='image-1' mode='scaleToFill' src={image}></image>
72
+            <image className='image-2' src={food}></image>
73
+          </view>
74
+          <view className='title-content'>
75
+            <view className='Pro-title'>
76
+              <view className='title-text'>【米啊糯】新街口店 <text className='title-money-2' >数量:1张</text></view>
77
+
78
+            </view>
79
+            <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
80
+            <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
81
+          </view>
82
+        </view>
83
+        <view class='right-complete-two'>
84
+          <view className='right-content'>
85
+          </view>
86
+        </view>
87
+      </view>
88
+      {/* 卡片结束 */}
89
+      <view className='Refund-Content-box'>
90
+        <view className='title-image'>
91
+          <image mode='scaleToFill' className='title-image-cup' src={BlackSpot} />
92
+          <text className='title-title-boss' >退款原因</text>
93
+        </view>
94
+        {/* 退款结束 */}
95
+      </view>
96
+      <view className='Refund-content'>
97
+        <text className={`Refund-star-view ${view ? 'bg2' : 'Refund-star-view'}`} onClick={() => viewOK()} >计划有变,没时间消费</text>
98
+        <text className={`Refund-star-view2 ${view2 ? 'bg2' : 'Refund-star-view2'}`} onClick={() => view2OK()}  >误认为是外卖</text>
99
+        <text className={`Refund-star-view3 ${view3 ? 'bg2' : 'Refund-star-view3'}`} onClick={() => view3OK()} >没看清楚使用规则,要用时才发现限制很多</text>
100
+        <text className={`Refund-star-view4 ${view4 ? 'bg2' : 'Refund-star-view4'}`} onClick={() => view4OK()} >预约不上</text>
101
+        <text className={`Refund-star-view5 ${view5 ? 'bg2' : 'Refund-star-view5'}`} onClick={() => view5OK()} >店里更优惠</text>
102
+        <text className={`Refund-star-view6 ${view6 ? 'bg2' : 'Refund-star-view6'}`} onClick={() => view6OK()} >网友/朋友评价不好</text>
103
+
104
+        <view>
105
+          {
106
+            list.map(item => {
107
+              return <text onClick={() => view4OK()} key={item.value} className={item.className}>
108
+                {item.name}
109
+              </text>
110
+
111
+            })
112
+          }
113
+        </view>
114
+      </view>
115
+
116
+      <view className='Refund-Content-box'>
117
+        <view className='title-image'>
118
+          <image mode='scaleToFill' className='title-image-cup' src={BlackSpot} />
119
+          <text className='title-title-boss' >退款说明</text>
120
+        </view>
121
+      </view>
122
+      <view class='section'>
123
+        <Textarea placeholder='请补充退款说明(选填)!' confirm-type='done' />
124
+      </view>
125
+      <view className='money-title' >实付金额: <text className='money-name' >58元</text></view>
126
+      <view className='money-title' >已获返现: <text className='money-name' >1.88元</text></view>
127
+      <view className='money-title' >退款金额: <text className='money-name' >56.12元</text></view>
128
+      <view className='ul-li-text'>
129
+        <view className='ul-li-view' ></view>
130
+        <text className='ul-li-textname'>退款金额不可修改</text>
131
+      </view>
132
+      <view className='ul-li-text'>
133
+        <view className='ul-li-view' ></view>
134
+        <text className='ul-li-textname'>下单获得返现金额,会在退款时被扣除;</text>
135
+      </view>
136
+      <view className='ul-li-text'>
137
+        <view className='ul-li-view' ></view>
138
+        <text className='ul-li-textname'>退款将在七个工作日内原路退还。</text>
139
+      </view>
140
+
141
+      <view className='button-info'>
142
+        <Button className='button-box'>提交申请</Button>
143
+      </view>
144
+    </view>
145
+  )
146
+}

+ 426
- 0
src/pages/MineUserAll/RefundMoney/CheckRefund/style.less Vedi File

@@ -0,0 +1,426 @@
1
+@whiteColor: #fff;
2
+.page-index {
3
+  padding: 0 25px;
4
+}
5
+
6
+.box-content {
7
+  width: 100%;
8
+  margin: 0 35px;
9
+
10
+  .Refund-Content-box {
11
+    .title-image {
12
+      margin-top: 39px;
13
+      display: flex;
14
+      width: 270px;
15
+      height: 40px;
16
+      .title-image-cup {
17
+        width: 32px;
18
+        height: 32px;
19
+        margin-top: 10px;
20
+        padding-right: 10px;
21
+        align-items: center;
22
+      }
23
+      .title-title-boss {
24
+        align-items: center;
25
+        font-size: 32px;
26
+        font-weight: 800;
27
+        color: #202020;
28
+      }
29
+    }
30
+  }
31
+
32
+  .wrapper {
33
+    margin: auto;
34
+
35
+    margin-top: 40px;
36
+    display: flex;
37
+    position: relative;
38
+    // margin-top: 600px;
39
+    // margin: 30px auto;
40
+    // width: 700px;
41
+
42
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
43
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
44
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
45
+    .card-box-star {
46
+      position: absolute;
47
+      width: auto;
48
+      height: 44.3px;
49
+      position: absolute;
50
+      left: 200px;
51
+      top: 28px;
52
+      font-size: 20px;
53
+      color: @whiteColor;
54
+      .card-star-image {
55
+        padding-left: 6px;
56
+        width: 21px;
57
+        height: 21px;
58
+      }
59
+      .card-star-text {
60
+        padding-left: 10px;
61
+        font-size: 20px;
62
+        color: #333;
63
+        font-weight: 700;
64
+      }
65
+    }
66
+
67
+    .left-complete-one {
68
+      padding-top: 87px;
69
+      padding-bottom: 43px;
70
+      position: relative;
71
+      display: flex;
72
+      background: @whiteColor;
73
+      background: radial-gradient(
74
+            circle at top right,
75
+            transparent 15px,
76
+            @whiteColor 0
77
+          )
78
+          top right,
79
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
80
+          bottom right;
81
+      background-size: 100% 60%;
82
+      background-repeat: no-repeat;
83
+
84
+      width: 573px;
85
+      border-radius: 15px 0px 0px 15px;
86
+      // border-radius: 12px;
87
+
88
+      align-items: center;
89
+      .left-image-1 {
90
+        width: 145px;
91
+        height: 44px;
92
+        position: absolute;
93
+        top: 22px;
94
+      }
95
+      .left-viewText {
96
+        // background-image: url(@Image-ProCard_hot);
97
+        // width: 287px;
98
+        width: auto;
99
+        height: 44.3px;
100
+        position: absolute;
101
+        left: 1px;
102
+        top: 28px;
103
+        font-size: 20px;
104
+        color: @whiteColor;
105
+      }
106
+      //图片
107
+      .title-image {
108
+        width: 145px;
109
+        margin-left: 20px;
110
+        border-radius: 24px;
111
+        overflow: hidden;
112
+        position: relative;
113
+        .image-1 {
114
+          width: 100%;
115
+          height: 145px;
116
+        }
117
+        .image-2 {
118
+          width: 89px;
119
+          height: 34px;
120
+          position: absolute;
121
+          left: 0;
122
+          top: 0;
123
+        }
124
+      }
125
+      // 商品标题
126
+      .title-content {
127
+        // padding: 84px 0 56px 20px;
128
+        padding-left: 18px;
129
+
130
+        .Pro-title {
131
+          .title-text {
132
+            width: 375px;
133
+            overflow: hidden;
134
+            text-overflow: ellipsis;
135
+            // display: -webkit-box; //必须要
136
+            -webkit-line-clamp: 1;
137
+            -webkit-box-orient: vertical;
138
+            // word-break: break-all; /* 多出文本省略号代替 */
139
+            text-align: left;
140
+            font-size: 24px;
141
+            // padding-bottom: 10px;
142
+          }
143
+        }
144
+        .title-money {
145
+          // padding-top: 34px;
146
+          font-size: 24px;
147
+          // color: red;
148
+          display: inline-block;
149
+          font-weight: 800;
150
+          margin: 15px auto;
151
+        }
152
+        .title-money-2 {
153
+          height: 19px;
154
+          font-size: 20px;
155
+          font-weight: 400;
156
+          color: #333333;
157
+          padding-left: 50px;
158
+        }
159
+
160
+        .title-time {
161
+          font-size: 24px;
162
+          // padding-top: 20px;
163
+          color: #c0c8d3;
164
+        }
165
+        .title-position-on {
166
+          display: flex;
167
+          font-size: 20px;
168
+          .title-position {
169
+            width: 18px;
170
+            height: 24px;
171
+            padding-right: 10px;
172
+            padding-top: 5px;
173
+          }
174
+          .title-position-image {
175
+            align-items: center;
176
+            font-size: 20px;
177
+            color: #333;
178
+          }
179
+          .title-on {
180
+            // margin-bottom: 10px;
181
+            padding-top: 5px;
182
+            padding-left: 40px;
183
+            width: 21px;
184
+            height: 21px;
185
+            padding-right: 10px;
186
+          }
187
+          .title-on-text {
188
+            align-items: center;
189
+
190
+            font-size: 20px;
191
+            color: #333;
192
+          }
193
+        }
194
+      }
195
+    }
196
+  }
197
+
198
+  .right-complete-two {
199
+    background: @whiteColor;
200
+    background: radial-gradient(
201
+          circle at top left,
202
+          transparent 15px,
203
+          @whiteColor 0
204
+        )
205
+        top left,
206
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
207
+        bottom left;
208
+    background-size: 100% 60%;
209
+    background-repeat: no-repeat;
210
+    width: 129px;
211
+    border-radius: 0 15px 15px 0;
212
+    position: relative;
213
+    //右面部分
214
+    .right-content {
215
+      // width: 100px;
216
+      height: 120px;
217
+      position: absolute;
218
+      top: 50%;
219
+      left: 50%;
220
+      transform: translate(-50%, -50%);
221
+      // border: 1px solid red;
222
+
223
+      .right-number {
224
+        // width: 32px;
225
+        // font-size: 20px;
226
+        // border-radius: 4px;
227
+        // border: 2px solid #999;
228
+        // margin: auto;
229
+        // text-align: center;
230
+      }
231
+      .right-image {
232
+        // float: convert();
233
+        width: 36px;
234
+        height: 36px;
235
+        margin: 0 auto;
236
+        align-items: center;
237
+        margin: auto;
238
+        padding-left: 8px;
239
+        // text-align: center;
240
+      }
241
+
242
+      .right-title {
243
+        font-weight: 700;
244
+        font-size: 24px;
245
+        padding-top: 10px;
246
+        text-align: center;
247
+      }
248
+    }
249
+  }
250
+  .Refund-content {
251
+    width: 100%;
252
+    margin-top: 45px;
253
+    .Refund-star-view {
254
+      display: inline-block;
255
+      width: 295px;
256
+      height: 60px;
257
+      border: 1px solid #999999;
258
+
259
+      border-radius: 30px;
260
+      font-size: 24px;
261
+      font-weight: bold;
262
+      color: #666666;
263
+
264
+      text-align: center;
265
+      line-height: 60px;
266
+    }
267
+    .Refund-star-view2 {
268
+      width: 198px;
269
+      height: 60px;
270
+      border: 1px solid #999999;
271
+
272
+      border-radius: 30px;
273
+      font-size: 24px;
274
+      font-weight: bold;
275
+      color: #666666;
276
+
277
+      text-align: center;
278
+      line-height: 60px;
279
+      display: inline-block;
280
+      margin-left: 30px;
281
+    }
282
+    .Refund-star-view3 {
283
+      margin: 30px auto;
284
+      display: inline-block;
285
+      width: 507px;
286
+      height: 60px;
287
+      border: 1px solid #999999;
288
+
289
+      border-radius: 30px;
290
+      font-size: 24px;
291
+      font-weight: bold;
292
+      color: #666666;
293
+
294
+      text-align: center;
295
+      line-height: 60px;
296
+    }
297
+    .Refund-star-view4 {
298
+      display: inline-block;
299
+      width: 146px;
300
+      height: 60px;
301
+      background: #ffffff;
302
+      border-radius: 30px;
303
+      border: 1px solid #999999;
304
+      font-size: 24px;
305
+      font-weight: bold;
306
+      color: #666666;
307
+      text-align: center;
308
+      line-height: 60px;
309
+      margin-left: 30px;
310
+    }
311
+    .Refund-star-view5 {
312
+      display: inline-block;
313
+
314
+      width: 220px;
315
+      height: 60px;
316
+      background: #ffffff;
317
+      border-radius: 30px;
318
+      border: 1px solid #999999;
319
+      font-size: 24px;
320
+      font-weight: bold;
321
+      color: #666666;
322
+      text-align: center;
323
+      line-height: 60px;
324
+    }
325
+    .Refund-star-view6 {
326
+      display: inline-block;
327
+
328
+      width: 257px;
329
+      height: 60px;
330
+      background: #ffffff;
331
+      border-radius: 30px;
332
+      border: 1px solid #999999;
333
+      font-size: 24px;
334
+      font-weight: bold;
335
+      color: #666666;
336
+      text-align: center;
337
+      line-height: 60px;
338
+      margin-left: 30px;
339
+    }
340
+
341
+    /* 点击以后的样式 */
342
+    .bg2 {
343
+      color: #274190;
344
+      border: 2px solid #274190;
345
+    }
346
+  }
347
+
348
+  .section {
349
+    width: 86%;
350
+    height: 254px;
351
+    background: #ffffff;
352
+    border: 1px solid #b5b5b5;
353
+    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
354
+    padding: 0 20px 0 20px;
355
+    margin-top: 40px;
356
+    textarea {
357
+      padding-top: 20px;
358
+      font-size: 24px;
359
+      font-weight: 400;
360
+      color: #666666;
361
+    }
362
+  }
363
+
364
+  .money-title {
365
+    // display: inline-block;
366
+    margin: 40px 0;
367
+    width: 86%;
368
+    padding-bottom: 20px;
369
+    // height: 29px;
370
+    font-size: 30px;
371
+    font-weight: bold;
372
+    color: #202020;
373
+    // border-bottom: 1px solid ;
374
+    background: #ffffff;
375
+    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.12);
376
+  }
377
+
378
+  .money-name {
379
+    font-size: 30px;
380
+    font-weight: bold;
381
+    color: #ff3434;
382
+  }
383
+  .ul-li-text {
384
+    .ul-li-view {
385
+      display: inline-block;
386
+      margin-bottom: 3px;
387
+      margin-right: 5px;
388
+      width: 10px;
389
+      height: 10px;
390
+      background: #999999;
391
+      border-radius: 50%;
392
+    }
393
+    .ul-li-textname {
394
+      // width: 177px;
395
+      display: inline-block;
396
+      height: 19px;
397
+      font-size: 20px;
398
+      font-weight: 400;
399
+      color: #999999;
400
+    }
401
+  }
402
+
403
+  .button-info {
404
+    margin-bottom: 70px;
405
+
406
+    .button-box {
407
+      margin: 60px 0;
408
+      width: 690px;
409
+      height: 88px;
410
+      line-height: 88px;
411
+      background: #274291;
412
+      border-radius: 12px;
413
+      color: @whiteColor;
414
+    }
415
+  }
416
+
417
+  //线条
418
+  // .right-complete-two::after {
419
+  //   content: "";
420
+  //   position: absolute;
421
+  //   top: 15px;
422
+  //   margin: 26px auto;
423
+  //   height: 70%;
424
+  //   border-left: 1px dashed #595959;
425
+  // }
426
+}

+ 8
- 0
src/pages/MineUserAll/RefundMoney/index.config.js Vedi File

@@ -0,0 +1,8 @@
1
+export default {
2
+  navigationBarTitleText: '售后退款',
3
+  navigationStyle: 'custom',
4
+  "usingComponents": {
5
+    "mp-dialog": "weui-miniprogram/dialog/dialog",
6
+    "mp-tabs": "../../../components/tabs/index"
7
+  }
8
+}

+ 116
- 0
src/pages/MineUserAll/RefundMoney/index.jsx Vedi File

@@ -0,0 +1,116 @@
1
+
2
+import { useState } from "react";
3
+import Taro from '@tarojs/taro'
4
+import image from '@/assets/icons/ProCard/8kb.jpg'
5
+import food from '@/assets/icons/ProCard/food.png'
6
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
7
+
8
+import Null from '@/assets/icons/UserCenter/null_logo.png'
9
+import Refund from '@/assets/icons/UserCenter/Refund.png'
10
+
11
+import starOn from '@/assets/icons/GuideCheck/starOn.png'
12
+import starOff from '@/assets/icons/GuideCheck/starOff.png'
13
+
14
+
15
+
16
+
17
+import CustomNav from '@/components/CustomNav'
18
+import './style.less'
19
+
20
+
21
+const scoreList = new Array(5).fill(0)
22
+const score = '3.9'
23
+export default (props) => {
24
+
25
+  const handleRefund2 = () => {
26
+    Taro.navigateTo({ url: '/pages/MineUserAll/RefundMoney/CheckRefund/index' })
27
+    console.log('------------------');
28
+  }
29
+  return (
30
+    <view className='box-content'>
31
+      <CustomNav title='售后退款' />
32
+      <view class='wrapper'>
33
+        <view class='left-complete-one'>
34
+          <image className='left-image-1' src={ProCard_hot}></image>
35
+          <view className='left-viewText'>
36
+            返现¥16.00
37
+          </view>
38
+          {/* 评分 */}
39
+          <view className='card-box-star'>
40
+            {
41
+              scoreList.map((_, index) => {
42
+                console.log(index)
43
+                const src = (index + '0.1') < score ? starOn : starOff
44
+                return (
45
+                  <image className='card-star-image' key={index} src={src} />
46
+                )
47
+              })
48
+            }
49
+            <text className='card-star-text' >{score}</text>
50
+          </view>
51
+          <view className='title-image'>
52
+            <image className='image-1' mode='scaleToFill' src={image}></image>
53
+            <image className='image-2' src={food}></image>
54
+          </view>
55
+          <view className='title-content'>
56
+            <view className='Pro-title'>
57
+              <view className='title-text'>【米啊糯】新街口店 <text className='title-money-2' >数量:1张</text></view>
58
+            </view>
59
+            <text className='title-money' >¥6990元</text>
60
+            <view className='title-time' >有效期:2021/06/21  14:00</view>
61
+          </view>
62
+        </view>
63
+        <view class='right-complete-two' onClick={handleRefund2} >
64
+          <view className='right-content'>
65
+            <image className='right-image' src={Refund} />
66
+            <view className='right-title'>售后</view>
67
+          </view>
68
+        </view>
69
+      </view>
70
+      {/* 已核销 */}
71
+      <view class='wrapper'>
72
+        <view class='left-complete-one'>
73
+          <image className='left-image-1' src={ProCard_hot}></image>
74
+
75
+          <view className='left-viewText'>
76
+            返现¥16.00
77
+          </view>
78
+          {/* 评分 */}
79
+          <view className='card-box-star'>
80
+            {
81
+              scoreList.map((_, index) => {
82
+                console.log(index)
83
+                const src = (index + '0.1') < score ? starOn : starOff
84
+                return (
85
+                  <image className='card-star-image' key={index} src={src} />
86
+                )
87
+              })
88
+            }
89
+            <text className='card-star-text' >{score}</text>
90
+          </view>
91
+          <view className='title-image'>
92
+            <image className='image-1' mode='scaleToFill' src={image}></image>
93
+            <image className='image-2' src={food}></image>
94
+          </view>
95
+          <view className='title-content'>
96
+            <view className='Pro-title'>
97
+              <view className='title-text'>【米啊糯】新街口店 <text className='title-money-2' >数量:1张</text></view>
98
+            </view>
99
+            <text className='title-money' >¥6990元</text>
100
+            <view className='title-time' >有效期:2021/06/21  14:00</view>
101
+          </view>
102
+        </view>
103
+        <view class='right-complete-two' onClick={handleRefund2} >
104
+          <view className='right-content'>
105
+            {/* <image className='right-image-two' src={Null} /> */}
106
+            <image className='right-image' src={Refund} />
107
+            <view className='right-title'>售后</view>
108
+          </view>
109
+        </view>
110
+      </view>
111
+      <view className='foot'>
112
+        已经到底了~
113
+      </view>
114
+    </view>
115
+  )
116
+}

+ 251
- 0
src/pages/MineUserAll/RefundMoney/style.less Vedi File

@@ -0,0 +1,251 @@
1
+@whiteColor: #fff;
2
+.page-index {
3
+  padding: 0 25px;
4
+}
5
+
6
+.box-content {
7
+  width: 100%;
8
+  .wrapper {
9
+    margin: auto;
10
+
11
+    margin-top: 40px;
12
+    display: flex;
13
+    position: relative;
14
+    // margin-top: 600px;
15
+    // margin: 30px auto;
16
+    width: 700px;
17
+
18
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
19
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
20
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
21
+    .card-box-star {
22
+      position: absolute;
23
+      width: auto;
24
+      height: 44.3px;
25
+      position: absolute;
26
+      left: 200px;
27
+      top: 28px;
28
+      font-size: 20px;
29
+      color: @whiteColor;
30
+      .card-star-image {
31
+        padding-left: 6px;
32
+        width: 21px;
33
+        height: 21px;
34
+      }
35
+      .card-star-text {
36
+        padding-left: 10px;
37
+        font-size: 20px;
38
+        color: #333;
39
+        font-weight: 700;
40
+      }
41
+    }
42
+
43
+    .left-complete-one {
44
+      padding-top: 87px;
45
+      padding-bottom: 43px;
46
+      position: relative;
47
+      display: flex;
48
+      background: @whiteColor;
49
+      background: radial-gradient(
50
+            circle at top right,
51
+            transparent 15px,
52
+            @whiteColor 0
53
+          )
54
+          top right,
55
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
56
+          bottom right;
57
+      background-size: 100% 60%;
58
+      background-repeat: no-repeat;
59
+
60
+      width: 573px;
61
+      border-radius: 15px 0px 0px 15px;
62
+      // border-radius: 12px;
63
+
64
+      align-items: center;
65
+      .left-image-1 {
66
+        width: 145px;
67
+        height: 44px;
68
+        position: absolute;
69
+        top: 22px;
70
+      }
71
+      .left-viewText {
72
+        // background-image: url(@Image-ProCard_hot);
73
+        // width: 287px;
74
+        width: auto;
75
+        height: 44.3px;
76
+        position: absolute;
77
+        left: 1px;
78
+        top: 28px;
79
+        font-size: 20px;
80
+        color: @whiteColor;
81
+      }
82
+      //图片
83
+      .title-image {
84
+        width: 145px;
85
+        margin-left: 20px;
86
+        border-radius: 24px;
87
+        overflow: hidden;
88
+        position: relative;
89
+        .image-1 {
90
+          width: 100%;
91
+          height: 145px;
92
+        }
93
+        .image-2 {
94
+          width: 89px;
95
+          height: 34px;
96
+          position: absolute;
97
+          left: 0;
98
+          top: 0;
99
+        }
100
+      }
101
+      // 商品标题
102
+      .title-content {
103
+        // padding: 84px 0 56px 20px;
104
+        padding-left: 18px;
105
+
106
+        .Pro-title {
107
+          .title-text {
108
+            width: 375px;
109
+            overflow: hidden;
110
+            text-overflow: ellipsis;
111
+            // display: -webkit-box; //必须要
112
+            -webkit-line-clamp: 1;
113
+            -webkit-box-orient: vertical;
114
+            // word-break: break-all; /* 多出文本省略号代替 */
115
+            text-align: left;
116
+            font-size: 24px;
117
+            // padding-bottom: 10px;
118
+          }
119
+        }
120
+        .title-money {
121
+          // padding-top: 34px;
122
+          font-size: 24px;
123
+          // color: red;
124
+          display: inline-block;
125
+          font-weight: 800;
126
+          margin: 10px auto;
127
+        }
128
+        .title-money-2 {
129
+          height: 19px;
130
+          font-size: 20px;
131
+          font-weight: 400;
132
+          color: #333333;
133
+          padding-left: 50px;
134
+        }
135
+
136
+        .title-time {
137
+          font-size: 24px;
138
+          // padding-top: 20px;
139
+          color: #c0c8d3;
140
+        }
141
+        .title-position-on {
142
+          display: flex;
143
+          font-size: 20px;
144
+          .title-position {
145
+            width: 18px;
146
+            height: 24px;
147
+            padding-right: 10px;
148
+            padding-top: 5px;
149
+          }
150
+          .title-position-image {
151
+            align-items: center;
152
+            font-size: 20px;
153
+            color: #333;
154
+          }
155
+          .title-on {
156
+            // margin-bottom: 10px;
157
+            padding-top: 5px;
158
+            padding-left: 40px;
159
+            width: 21px;
160
+            height: 21px;
161
+            padding-right: 10px;
162
+          }
163
+          .title-on-text {
164
+            align-items: center;
165
+
166
+            font-size: 20px;
167
+            color: #333;
168
+          }
169
+        }
170
+      }
171
+    }
172
+  }
173
+
174
+  .right-complete-two {
175
+    background: @whiteColor;
176
+    background: radial-gradient(
177
+          circle at top left,
178
+          transparent 15px,
179
+          @whiteColor 0
180
+        )
181
+        top left,
182
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
183
+        bottom left;
184
+    background-size: 100% 60%;
185
+    background-repeat: no-repeat;
186
+    width: 129px;
187
+    border-radius: 0 15px 15px 0;
188
+    position: relative;
189
+    //右面部分
190
+    .right-content {
191
+      // width: 100px;
192
+      height: 120px;
193
+      position: absolute;
194
+      top: 50%;
195
+      left: 50%;
196
+      transform: translate(-50%, -50%);
197
+      // border: 1px solid red;
198
+
199
+      .right-number {
200
+        // width: 32px;
201
+        // font-size: 20px;
202
+        // border-radius: 4px;
203
+        // border: 2px solid #999;
204
+        // margin: auto;
205
+        // text-align: center;
206
+      }
207
+      .right-image {
208
+        // float: convert();
209
+        width: 36px;
210
+        height: 36px;
211
+        margin: 0 auto;
212
+        align-items: center;
213
+        margin: auto;
214
+        padding-left: 8px;
215
+        // text-align: center;
216
+      }
217
+
218
+      .right-title {
219
+        font-weight: 700;
220
+        font-size: 24px;
221
+        padding-top: 10px;
222
+        text-align: center;
223
+      }
224
+    }
225
+  }
226
+  //线条
227
+  .right-complete-two::after {
228
+    content: "";
229
+    position: absolute;
230
+    top: 15px;
231
+    margin: 26px auto;
232
+    height: 70%;
233
+    border-left: 1px dashed #595959;
234
+  }
235
+  //已过期logo
236
+  .right-image-two {
237
+    margin-top: 30px;
238
+    width: 76px;
239
+    height: 66px;
240
+  }
241
+  .foot {
242
+    width: 100%;
243
+    height: 26px;
244
+    font-size: 28px;
245
+    font-weight: 400;
246
+    color: #c0c8d3;
247
+    line-height: 34px;
248
+    margin-top: 40px;
249
+    text-align: center;
250
+  }
251
+}

+ 4
- 0
src/pages/MineUserAll/Rules/index.config.js Vedi File

@@ -0,0 +1,4 @@
1
+export default {
2
+  navigationBarTitleText: '用户协议须知',
3
+  navigationStyle: 'custom',
4
+}

+ 29
- 0
src/pages/MineUserAll/Rules/index.jsx Vedi File

@@ -0,0 +1,29 @@
1
+
2
+import CustomNav from '@/components/CustomNav'
3
+import './style.less'
4
+
5
+export default (props) => {
6
+  return (
7
+    <view className='box-content'>
8
+      <CustomNav title='用户协议须知' />
9
+      <view className='aaa'>
10
+        以下是详细的用户须知:
11
+      </view>
12
+      <view className='content'>
13
+        Lorem ipsumdolorsitamet,consectetur adipiscing elit,
14
+        sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
15
+        Quisipsumsuspendisseultricesgravida. Risuscommodoviverramaecenasaccumsan lacus vel facilisis.
16
+      </view>
17
+      <view className='content'>
18
+        Lorem ipsumdolorsitamet,consectetur adipiscing elit,
19
+        sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
20
+        Quisipsumsuspendisseultricesgravida. Risuscommodoviverramaecenasaccumsan lacus vel facilisis.
21
+        Lorem ipsumdolorsitamet,consectetur adipiscing elit,
22
+      </view>
23
+      <view className='content'>
24
+        sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
25
+        Quisipsumsuspendisseultricesgravida. Risuscommodoviverramaecenasaccumsan lacus vel facilisis.
26
+      </view>
27
+    </view>
28
+  )
29
+}

+ 14
- 0
src/pages/MineUserAll/Rules/style.less Vedi File

@@ -0,0 +1,14 @@
1
+.box-content {
2
+  font-size: 32px;
3
+  font-weight: 400;
4
+  color: #333333;
5
+  width: 685px;
6
+  height: 1314px;
7
+  .aaa {
8
+    margin: 10px auto;
9
+  }
10
+
11
+  .content {
12
+    text-indent: 2em;
13
+  }
14
+}

+ 156
- 0
src/pages/Molded/style.less Vedi File

@@ -0,0 +1,156 @@
1
+@whiteColor: #fff;
2
+
3
+.wrapper {
4
+  width: 74%;
5
+  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
6
+  .left-complete-one {
7
+    padding-top: 87px;
8
+    padding-bottom: 21px;
9
+    position: relative;
10
+    display: flex;
11
+    background: @whiteColor;
12
+    background: radial-gradient(
13
+          circle at top right,
14
+          transparent 15px,
15
+          @whiteColor 0
16
+        )
17
+        top right,
18
+      radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
19
+        bottom right;
20
+    background-size: 100% 60%;
21
+    background-repeat: no-repeat;
22
+
23
+    width: 573px;
24
+    border-radius: 15px 0px 0px 15px;
25
+    // border-radius: 12px;
26
+
27
+    align-items: center;
28
+    .left-image-1 {
29
+      width: 145px;
30
+      height: 44px;
31
+      position: absolute;
32
+      top: 22px;
33
+    }
34
+    .left-viewText {
35
+      // background-image: url(@Image-ProCard_hot);
36
+      // width: 287px;
37
+      width: auto;
38
+      height: 44.3px;
39
+      position: absolute;
40
+      left: 1px;
41
+      top: 28px;
42
+      font-size: 24px;
43
+      color: @whiteColor;
44
+      font-weight: 600;
45
+    }
46
+    //图片
47
+    .title-image {
48
+      width: 145px;
49
+      margin-left: 20px;
50
+      border-radius: 24px;
51
+      overflow: hidden;
52
+      position: relative;
53
+      .image-1 {
54
+        width: 100%;
55
+        height: 145px;
56
+      }
57
+      .image-2 {
58
+        width: 89px;
59
+        height: 34px;
60
+        position: absolute;
61
+        left: 0;
62
+        top: 0;
63
+      }
64
+    }
65
+    // 商品标题
66
+    .title-content {
67
+      // padding: 84px 0 56px 20px;
68
+      padding-left: 18px;
69
+
70
+      .Pro-title {
71
+        .title-text {
72
+          width: 375px;
73
+          overflow: hidden;
74
+          text-overflow: ellipsis;
75
+          display: -webkit-box; //必须要
76
+          -webkit-line-clamp: 1;
77
+          -webkit-box-orient: vertical;
78
+          word-break: break-all; /* 多出文本省略号代替 */
79
+          text-align: left;
80
+          font-size: 24px;
81
+          padding-bottom: 10px;
82
+        }
83
+      }
84
+      .title-money {
85
+        padding-top: 34px;
86
+        font-size: 24px;
87
+        // color: red;
88
+        font-weight: 800;
89
+      }
90
+      .title-money-2 {
91
+        font-size: 18px;
92
+        color: #666;
93
+        padding-left: 10px;
94
+        text-decoration: line-through;
95
+      }
96
+
97
+      .title-time {
98
+        font-size: 24px;
99
+        padding-top: 20px;
100
+        color: #c0c8d3;
101
+      }
102
+    }
103
+  }
104
+}
105
+
106
+.right-complete-two {
107
+  background: @whiteColor;
108
+  background: radial-gradient(
109
+        circle at top left,
110
+        transparent 15px,
111
+        @whiteColor 0
112
+      )
113
+      top left,
114
+    radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
115
+      bottom left;
116
+  background-size: 100% 60%;
117
+  background-repeat: no-repeat;
118
+  width: 129px;
119
+  border-radius: 0 15px 15px 0;
120
+  position: relative;
121
+  //右面部分
122
+  .right-content {
123
+    // width: 100px;
124
+    // height: 80px;
125
+    position: absolute;
126
+    top: 50%;
127
+    left: 50%;
128
+    transform: translate(-50%, -50%);
129
+    // border: 1px solid red;
130
+
131
+    .right-number {
132
+      width: 32px;
133
+      font-size: 20px;
134
+      border-radius: 4px;
135
+      border: 2px solid #999;
136
+      margin: auto;
137
+      text-align: center;
138
+    }
139
+
140
+    .right-title {
141
+      font-weight: 700;
142
+      font-size: 24px;
143
+      padding-top: 20px;
144
+      text-align: center;
145
+    }
146
+  }
147
+}
148
+//线条
149
+.right-complete-two::after {
150
+  content: "";
151
+  position: absolute;
152
+  top: 15px;
153
+  margin: 26px auto;
154
+  height: 70%;
155
+  border-left: 1px dashed #595959;
156
+}

+ 13
- 0
src/pages/PayOrder/index.config.js Vedi File

@@ -0,0 +1,13 @@
1
+export default {
2
+  navigationBarTitleText: '测试页2',
3
+  navigationStyle: 'custom',
4
+
5
+  usingComponents: {
6
+    "mp-checkbox-group": "weui-miniprogram/checkbox-group/checkbox-group",
7
+    "mp-checkbox": "weui-miniprogram/checkbox/checkbox",
8
+    "mp-cells": "weui-miniprogram/cells/cells",
9
+    "mp-dialog": "weui-miniprogram/dialog/dialog"
10
+  }
11
+
12
+
13
+}

+ 184
- 0
src/pages/PayOrder/index.jsx Vedi File

@@ -0,0 +1,184 @@
1
+
2
+import image from '@/assets/icons/ProCard/8kb.jpg'
3
+import { useState, useEffect } from 'react'
4
+import { Button, Radio, Input } from '@tarojs/components'
5
+
6
+import food from '@/assets/icons/ProCard/food.png'
7
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
8
+import CustomNav from '@/components/CustomNav'
9
+import OrderMolded from '@/components/OrderMolded'
10
+import Popup from '@/components/Popup'
11
+
12
+import './style.less'
13
+
14
+export default () => {
15
+  const [showDialog, setShowDialog] = useState(false)
16
+
17
+  const ShowMoldeOn = () => {
18
+    setShowDialog(true)
19
+  }
20
+  const ShowMoldeOff = () => {
21
+    setShowDialog(false)
22
+  }
23
+
24
+  const buttons = [
25
+
26
+    {
27
+      text: '取消'
28
+    },
29
+    {
30
+      text: '确定'
31
+    },
32
+
33
+  ]
34
+
35
+  const [BuyNumber, setBuyNumber] = useState(1)
36
+  const [DisabledBool, setDisabledBool] = useState(false)
37
+
38
+
39
+  const NumberAdd = () => {
40
+    setBuyNumber(BuyNumber + 1)
41
+    console.log(BuyNumber);
42
+
43
+  }
44
+
45
+  const NumberCut = () => {
46
+    setBuyNumber(BuyNumber - 1)
47
+    console.log(BuyNumber);
48
+
49
+  }
50
+
51
+  const onChange = (value, event) => {
52
+    console.log('----------------->', value, event);
53
+  }
54
+
55
+  useEffect(() => {
56
+    onChange()
57
+    if (BuyNumber < 2) {
58
+      setDisabledBool(true)
59
+
60
+    } else {
61
+      setDisabledBool(false)
62
+
63
+    }
64
+  }, [BuyNumber])
65
+
66
+  return (
67
+
68
+    <view class='container'>
69
+      <CustomNav title='订单' />
70
+      <Popup show={showDialog} maskClosable={false}>
71
+        <OrderMolded />
72
+        <view className='item-center-Number' >
73
+          <view className='buy-num-minus' disabled={DisabledBool} onClick={NumberCut} >-</view>
74
+          <Input className='buy-num-input' type='number' min={1} onChange={onChange} value={BuyNumber} />
75
+          <view className='buy-num-add' onClick={NumberAdd} >+</view>
76
+        </view>
77
+        <view className='buy' >
78
+
79
+        </view>
80
+      </Popup>
81
+      <view class='coupon-list'>
82
+        <view class='wrapper'>
83
+          <view class='left-complete-one'>
84
+            <image className='left-image-1' src={ProCard_hot}></image>
85
+            <view className='left-viewText'>
86
+              返现¥16.00
87
+            </view>
88
+            <view className='title-image'>
89
+              <image className='image-1' mode='scaleToFill' src={image}></image>
90
+              <image className='image-2' src={food}></image>
91
+            </view>
92
+            <view className='title-content'>
93
+              <view className='Pro-title'>
94
+                <view className='title-text'>【橘里橘气咖啡店】新鲜出炉啦!</view>
95
+              </view>
96
+              <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
97
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
98
+            </view>
99
+          </view>
100
+          <view class='right-complete-two' onClick={ShowMoldeOn} >
101
+            <view className='right-content'>
102
+              <view className='right-number'>×{BuyNumber}</view>
103
+              <view className='right-title'>数量</view>
104
+            </view>
105
+          </view>
106
+        </view>
107
+        <view class='wrapper'>
108
+          <view class='left-complete-one'>
109
+            <image className='left-image-1' src={ProCard_hot}></image>
110
+            <view className='left-viewText'>
111
+              返现¥16.00
112
+            </view>
113
+            <view className='title-image'>
114
+              <image className='image-1' mode='scaleToFill' src={image}></image>
115
+              <image className='image-2' src={food}></image>
116
+            </view>
117
+            <view className='title-content'>
118
+              <view className='Pro-title'>
119
+                <view className='title-text'>【橘里橘气咖啡店】新鲜出炉啦!</view>
120
+              </view>
121
+              <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
122
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
123
+            </view>
124
+          </view>
125
+          <view class='right-complete-two'>
126
+            <view className='right-content'>
127
+              <view className='right-number'>×1</view>
128
+              <view className='right-title'>数量</view>
129
+            </view>
130
+          </view>
131
+        </view>
132
+
133
+        <view class='wrapper'>
134
+          <view class='left-complete-one'>
135
+            <image className='left-image-1' src={ProCard_hot}></image>
136
+            <view className='left-viewText'>
137
+              返现¥16.00
138
+            </view>
139
+            <view className='title-image'>
140
+              <image className='image-1' mode='scaleToFill' src={image}></image>
141
+              <image className='image-2' src={food}></image>
142
+            </view>
143
+            <view className='title-content'>
144
+              <view className='Pro-title'>
145
+                <view className='title-text'>【橘里橘气咖啡店】新鲜出炉啦!</view>
146
+              </view>
147
+              <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
148
+              <view className='title-time' >有效期:2021/06/21-2021/12/31</view>
149
+            </view>
150
+          </view>
151
+          <view class='right-complete-two'>
152
+            <view className='right-content'>
153
+              <view className='right-number'>×1</view>
154
+              <view className='right-title'>数量</view>
155
+            </view>
156
+          </view>
157
+        </view>
158
+
159
+      </view>
160
+      <view className='view-button'>
161
+        <view className='Card-number-box'>
162
+          <view className='Card-number'>
163
+            <text style='left:29px;position: absolute; padding-top:20px'>手机号码:</text>
164
+            <text style='right:29px;position: absolute;padding-top:20px'>16161312125</text>
165
+          </view>
166
+          <view className='Card-user'>
167
+            <Radio style='padding-left:20px; position: relative; top:24px;' value='我已阅读知晓并同意' >我已阅读知晓并同意 <text style='color:#274190;text-decoration:underline;font-weight:400'>《平台用户服务协议》</text></Radio>
168
+          </view>
169
+        </view>
170
+        <view className='button-box-button-box'>
171
+          <view className='button-text-image' >
172
+            <text className='button-text-money-hot'>返现¥2.18</text>
173
+            <image className='button-image' src={ProCard_hot}>123123</image>
174
+            <view className='button-text-money'>门店市面价:230元</view>
175
+          </view>
176
+          <Button className='button-box-one'>¥170元 <text className='button-text-one'>支付订单</text> </Button>
177
+        </view>
178
+
179
+      </view>
180
+    </view>
181
+
182
+
183
+  )
184
+}

+ 273
- 0
src/pages/PayOrder/style.less Vedi File

@@ -0,0 +1,273 @@
1
+@whiteColor: #fff;
2
+@Image-ProCard_hot: "../../assets/icons/ProCard/ProCard_hot.png";
3
+.container {
4
+  width: 100%;
5
+  .item-center-Number {
6
+    width: 100%;
7
+    margin-top: 30px;
8
+    .buy-num-minus {
9
+      display: inline-block;
10
+      width: 60px;
11
+      height: 60px;
12
+      background: #ffffff;
13
+      border: 1px solid #999999;
14
+      border-radius: 8px 0px 0px 8px;
15
+    }
16
+    .buy-num-input {
17
+      display: inline-block;
18
+      width: 90px;
19
+      height: 60px;
20
+
21
+      font-size: 28px;
22
+      font-weight: 400;
23
+      color: #202020;
24
+      background: #ffffff;
25
+      border: 1px solid #999999;
26
+      position: relative;
27
+      top: 26px;
28
+    }
29
+    .buy-num-add {
30
+      display: inline-block;
31
+
32
+      width: 60px;
33
+      height: 60px;
34
+      background: #ffffff;
35
+      border: 1px solid #999999;
36
+      border-radius: 0px 8px 8px 0px;
37
+    }
38
+  }
39
+  .wrapper {
40
+    display: flex;
41
+    position: relative;
42
+    // margin-top: 600px;
43
+    margin: 30px auto;
44
+    width: 700px;
45
+
46
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
47
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
48
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
49
+
50
+    .left-complete-one {
51
+      padding-top: 87px;
52
+      padding-bottom: 43px;
53
+      position: relative;
54
+      display: flex;
55
+      background: @whiteColor;
56
+      background: radial-gradient(
57
+            circle at top right,
58
+            transparent 15px,
59
+            @whiteColor 0
60
+          )
61
+          top right,
62
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
63
+          bottom right;
64
+      background-size: 100% 60%;
65
+      background-repeat: no-repeat;
66
+
67
+      width: 573px;
68
+      border-radius: 15px 0px 0px 15px;
69
+      // border-radius: 12px;
70
+
71
+      align-items: center;
72
+      .left-image-1 {
73
+        width: 145px;
74
+        height: 44px;
75
+        position: absolute;
76
+        top: 22px;
77
+      }
78
+      .left-viewText {
79
+        // background-image: url(@Image-ProCard_hot);
80
+        // width: 287px;
81
+        width: auto;
82
+        height: 44.3px;
83
+        position: absolute;
84
+        left: 1px;
85
+        top: 28px;
86
+        font-size: 24px;
87
+        color: @whiteColor;
88
+        font-weight: 600;
89
+      }
90
+      //图片
91
+      .title-image {
92
+        width: 145px;
93
+        margin-left: 20px;
94
+        border-radius: 24px;
95
+        overflow: hidden;
96
+        position: relative;
97
+        .image-1 {
98
+          width: 100%;
99
+          height: 145px;
100
+        }
101
+        .image-2 {
102
+          width: 89px;
103
+          height: 34px;
104
+          position: absolute;
105
+          left: 0;
106
+          top: 0;
107
+        }
108
+      }
109
+      // 商品标题
110
+      .title-content {
111
+        // padding: 84px 0 56px 20px;
112
+        padding-left: 18px;
113
+
114
+        .Pro-title {
115
+          .title-text {
116
+            width: 375px;
117
+            overflow: hidden;
118
+            text-overflow: ellipsis;
119
+            display: -webkit-box; //必须要
120
+            -webkit-line-clamp: 1;
121
+            -webkit-box-orient: vertical;
122
+            word-break: break-all; /* 多出文本省略号代替 */
123
+            text-align: left;
124
+            font-size: 24px;
125
+            padding-bottom: 10px;
126
+          }
127
+        }
128
+        .title-money {
129
+          padding-top: 34px;
130
+          font-size: 24px;
131
+          // color: red;
132
+          font-weight: 800;
133
+        }
134
+        .title-money-2 {
135
+          font-size: 18px;
136
+          color: #666;
137
+          padding-left: 10px;
138
+          text-decoration: line-through;
139
+        }
140
+
141
+        .title-time {
142
+          font-size: 24px;
143
+          padding-top: 20px;
144
+          color: #c0c8d3;
145
+        }
146
+      }
147
+    }
148
+  }
149
+
150
+  .right-complete-two {
151
+    background: @whiteColor;
152
+    background: radial-gradient(
153
+          circle at top left,
154
+          transparent 15px,
155
+          @whiteColor 0
156
+        )
157
+        top left,
158
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
159
+        bottom left;
160
+    background-size: 100% 60%;
161
+    background-repeat: no-repeat;
162
+    width: 129px;
163
+    border-radius: 0 15px 15px 0;
164
+    position: relative;
165
+    //右面部分
166
+    .right-content {
167
+      // width: 100px;
168
+      // height: 80px;
169
+      position: absolute;
170
+      top: 50%;
171
+      left: 50%;
172
+      transform: translate(-50%, -50%);
173
+      // border: 1px solid red;
174
+
175
+      .right-number {
176
+        width: 40px;
177
+        font-size: 20px;
178
+        border-radius: 4px;
179
+        border: 2px solid #999;
180
+        margin: auto;
181
+        text-align: center;
182
+      }
183
+
184
+      .right-title {
185
+        font-weight: 700;
186
+        font-size: 24px;
187
+        padding-top: 20px;
188
+        text-align: center;
189
+      }
190
+    }
191
+  }
192
+  //线条
193
+  .right-complete-two::after {
194
+    content: "";
195
+    position: absolute;
196
+    top: 15px;
197
+    margin: 26px auto;
198
+    height: 70%;
199
+    border-left: 1px dashed #595959;
200
+  }
201
+
202
+  .view-button {
203
+    // width: 100%;
204
+    // height: 150px;
205
+    position: relative;
206
+
207
+    .Card-number-box {
208
+      .Card-number {
209
+        width: 100%;
210
+        height: 96px;
211
+        background-color: @whiteColor;
212
+      }
213
+      .Card-user {
214
+        width: 100%;
215
+        height: 96px;
216
+        background-color: @whiteColor;
217
+      }
218
+    }
219
+    .button-box-button-box {
220
+      position: relative;
221
+      .button-text-image {
222
+        width: 144;
223
+        height: 45px;
224
+        position: absolute;
225
+        top: -35px;
226
+        left: 267px;
227
+        right: 305px;
228
+        z-index: 1;
229
+        .button-text-money-hot {
230
+          position: absolute;
231
+          width: 144px;
232
+          height: 43px;
233
+          line-height: 43px;
234
+          font-size: 24px;
235
+          font-weight: bold;
236
+          color: @whiteColor;
237
+        }
238
+        .button-image {
239
+          width: 143px;
240
+          height: 43px;
241
+        }
242
+        .button-text-money {
243
+          position: absolute;
244
+          margin-top: -8;
245
+          width: 157px;
246
+          font-size: 18px;
247
+          font-weight: 400;
248
+          text-decoration: line-through;
249
+          color: @whiteColor;
250
+        }
251
+      }
252
+      .button-box-one {
253
+        font-size: 30px;
254
+        line-height: 92px;
255
+        margin-top: 3em;
256
+        background-color: #274190;
257
+        border-radius: 12px;
258
+        width: 690px;
259
+        height: 92px;
260
+        color: @whiteColor;
261
+        // position: absolute;
262
+        bottom: 40px;
263
+        right: 0;
264
+        left: 0;
265
+        .button-text-one {
266
+          right: 133px;
267
+          font-size: 30px;
268
+          padding-left: 220px;
269
+        }
270
+      }
271
+    }
272
+  }
273
+}

+ 1
- 0
src/pages/index/index.config.js Vedi File

@@ -4,5 +4,6 @@ export default {
4 4
   styleIsolation: 'shared',
5 5
   usingComponents: {
6 6
     "mp-tabbar": "weui-miniprogram/tabbar/tabbar"
7
+
7 8
   }
8 9
 }

+ 26
- 12
src/pages/index/index.jsx Vedi File

@@ -1,17 +1,24 @@
1
-import React, { Suspense, useState, lazy } from 'react'
2
-import { View, Text } from '@tarojs/components'
1
+import React, { Suspense, useState, useEffect, lazy } from 'react'
2
+import { useRouter } from '@tarojs/taro'
3 3
 import CustomNav from '@/components/CustomNav'
4 4
 import logo from '@/assets/icons/comm/logo_small.png'
5 5
 import tabList from './tabbar'
6 6
 import './index.less'
7
+import Guide from './tabs/Guide'
8
+import Mine from './tabs/Mine'
9
+import Recommend from './tabs/Recommend'
10
+import Strategy from './tabs/Strategy'
7 11
 
8
-const Recommend = lazy(() => import('./tabs/Recommend'))
9
-const Guide = lazy(() => import('./tabs/Guide'))
10
-const Strategy = lazy(() => import('./tabs/Strategy'))
11
-const Mine = lazy(() => import('./tabs/Mine'))
12
+// const Recommend = lazy(() => import('./tabs/Recommend'))
13
+// const Guide = lazy(() => import('./tabs/Guide'))
14
+// const Strategy = lazy(() => import('./tabs/Strategy'))
15
+// const Mine =  import'./tabs/Mine'
12 16
 
13 17
 
14 18
 export default (props) => {
19
+  const { params } = useRouter()
20
+  const { tab } = params || {}
21
+
15 22
   const [currentTab, setCurrentTab] = useState(0)
16 23
 
17 24
   const handleTabChange = (e) => {
@@ -19,22 +26,29 @@ export default (props) => {
19 26
     setCurrentTab(index)
20 27
   }
21 28
 
29
+  useEffect(() => {
30
+    if (tab) {
31
+      setCurrentTab(tab - 0)
32
+    }
33
+    console.log('---------------------', tab);
34
+
35
+  }, [tab])
22 36
   return (
23 37
     <view className='page-index'>
24 38
       <view className='index-navbar'>
25 39
         <CustomNav logo={logo} title='十公里' />
26 40
       </view>
27 41
       <view className='index-container'>
28
-        <Suspense fallback='loading...'>
29
-          {currentTab === 0 && <Recommend />}
30
-          {currentTab === 1 && <Guide />}
31
-          {currentTab === 2 && <Strategy />}
32
-          {currentTab === 3 && <Mine />}
33
-        </Suspense>
42
+        {currentTab === 0 && <Recommend />}
43
+        {currentTab === 1 && <Guide />}
44
+        {currentTab === 2 && <Strategy />}
45
+        {currentTab === 3 && <Mine />}
34 46
       </view>
35 47
       <view className='index-tabbar'>
36 48
         <mp-tabbar extClass='custom-tabbar' current={currentTab} list={tabList} onChange={handleTabChange}></mp-tabbar>
37 49
       </view>
38 50
     </view>
51
+
39 52
   )
53
+
40 54
 }

+ 2
- 2
src/pages/index/index.less Vedi File

@@ -21,11 +21,11 @@
21 21
 }
22 22
 
23 23
 .custom-tabbar {
24
-  background: #FFFFFF;
24
+  background: #ffffff;
25 25
   box-shadow: 0px -4px 6px 0px rgba(0, 0, 0, 0.08);
26 26
 
27 27
   .weui-tabbar__label {
28
-    color: #C0C8D3;
28
+    color: #c0c8d3;
29 29
   }
30 30
 
31 31
   .weui-bar__item_on {

+ 273
- 8
src/pages/index/tabs/Guide.jsx Vedi File

@@ -1,19 +1,284 @@
1
+import { useState } from "react";
1 2
 import Taro from '@tarojs/taro'
2
-import React from 'react'
3
-import Card from '@/components/Card'
3
+import image from '@/assets/icons/ProCard/8kb.jpg'
4
+import Pay from '@/assets/icons/GuideCheck/Pay_logo.png'
5
+import food from '@/assets/icons/ProCard/food.png'
6
+import ProCard_hot from '@/assets/icons/ProCard/ProCard_hot.png'
7
+import sleep from '@/assets/icons/GuideCheck/sleep_logo.png'
8
+import Taxi from '@/assets/icons/GuideCheck/taxi.png'
9
+import WiFi from '@/assets/icons/GuideCheck/WiFi.png'
10
+import GoHere from '@/assets/icons/GuideCheck/GoHere.png'
11
+import position from '@/assets/icons/GuideCheck/position_logo.png'
12
+import Cup from '@/assets/icons/GuideCheck/Cup.png'
13
+import BlackSpot from '@/assets/icons/GuideCheck/BlackSpot.png'
14
+import starOn from '@/assets/icons/GuideCheck/starOn.png'
15
+import starOff from '@/assets/icons/GuideCheck/starOff.png'
16
+import loveOn from '@/assets/icons/GuideCheck/loveOn.png'
17
+import Raiders from '@/assets/icons/GuideCheck/Raiders.png'
18
+import RaidersImage from '@/assets/icons/GuideCheck/RaidersImage.jpg'
19
+import AAAAAAAA from '@/assets/icons/GuideCheck/RaidersImage.jpg'
20
+
21
+import './GuideCss/style.less'
22
+
23
+
24
+const scoreList = new Array(5).fill(0)
25
+const score = '3.9'
26
+
4 27
 
5 28
 export default (props) => {
29
+  const [value, setVaule] = useState('已收藏')
30
+  const [imageSrc, setImageSrc] = useState(starOn)
31
+
32
+
33
+
34
+
35
+  const Ac = () => {
36
+    setImageSrc(starOff)
37
+    setVaule('加入收藏')
38
+    // console.log('------------', value);
39
+
40
+  }
6 41
 
7 42
   const handleClick = () => {
8 43
     Taro.navigateTo({ url: '/pages/test/index' })
9 44
   }
10
-
45
+  // onClick={handleClick}
11 46
   return (
12
-    <view onClick={handleClick}>
13
-      <Card>
47
+    <scroll-view scroll-y style='height: 77vh;' >
48
+
49
+      <view className='Guide-Home-box'>
50
+        {/* <view className='Guide-image-text-box'>
51
+          <image className='Guide-images' src={sleep} />
52
+          <view className='Guide-text'>休息一下,休息一下~</view>
53
+        </view> */}
54
+        {/* 图片结束 */}
55
+        {/* 有民宿的情况下 */}
56
+        <view className='MessageCard'>
57
+          <view className='MessageCard-title1'>
58
+            <text className='MessageCard-left'>----------</text>
59
+            名称
60
+            <text className='MessageCard-right'>----------</text>
61
+          </view>
62
+          <view className='MessageCard-content'>
63
+            <view className='MessageCard-name' >皇冠假日酒店-2507</view>
64
+            {/* <view className='MessageCard-info' >江苏省南京市秦淮区XXXXXX路</view> */}
65
+          </view>
66
+          {/* <view className='MessageCard-button'>
67
+            <image className='MessageCard-image' src={GoHere} />
68
+            <text className='MessageCard-text'>去这里</text>
69
+          </view> */}
70
+        </view>
71
+        {/* 有民宿的情况下 */}
72
+        <view className='MessageCard'>
73
+          <view className='MessageCard-title1'>
74
+            <text className='MessageCard-left'>----------</text>
75
+            民宿位置
76
+            <text className='MessageCard-right'>----------</text>
77
+          </view>
78
+          <view className='MessageCard-content'>
79
+            <view className='MessageCard-name' >精悦SHOS-北门</view>
80
+            <view className='MessageCard-info' >江苏省南京市秦淮区XXXXXX路</view>
81
+          </view>
82
+          <view className='MessageCard-button'>
83
+            <image className='MessageCard-image' src={GoHere} />
84
+            <text className='MessageCard-text'>去这里</text>
85
+          </view>
86
+        </view>
87
+        {/* 有民宿的情况下 */}
88
+        <view className='MessageCard'>
89
+          <view className='MessageCard-title1'>
90
+            <text className='MessageCard-left'>----------</text>
91
+            停车位置
92
+            <text className='MessageCard-right'>----------</text>
93
+          </view>
94
+          <view className='MessageCard-content'>
95
+            <view className='MessageCard-name' >江苏通讯大厦停车厂</view>
96
+            <view className='MessageCard-info' >江苏省南京市秦淮区集庆路</view>
97
+          </view>
98
+          <view className='MessageCard-button'>
99
+            <image className='MessageCard-image' src={Taxi} />
100
+            <text className='MessageCard-text'>去这里</text>
101
+          </view>
102
+        </view>
103
+        {/* 有民宿的情况下 */}
104
+        <view className='MessageCard'>
105
+          <view className='MessageCard-title1'>
106
+            <text className='MessageCard-left'>----------</text>
107
+            WiFi信息
108
+            <text className='MessageCard-right'>----------</text>
109
+          </view>
110
+          <view className='MessageCard-content'>
111
+            <view className='MessageCard-name' >名称:2507</view>
112
+            <view className='MessageCard-info' >密码:15s1x5s5</view>
113
+          </view>
114
+          <view className='MessageCard-button'>
115
+            <image className='MessageCard-image' src={WiFi} />
116
+            <text className='MessageCard-text'>复制</text>
117
+          </view>
118
+        </view>
119
+        {/* 更多指引开始 */}
120
+        <view className='Guide-Content-box'>
121
+          <view className='title-image'>
122
+            <image mode='scaleToFill' className='title-image-cup' src={BlackSpot} />
123
+            <text className='title-title-boss' >更多指引</text>
124
+          </view>
125
+        </view>
126
+        <view className='articleCard'>
127
+          <view className='articleCard-title'>
128
+            <text className='articleCard-left'>--------</text>
129
+            南京市·普通公寓里的独立房间
130
+            <text className='articleCard-right'>--------</text>
131
+          </view>
132
+          <view className='articleCard-content'>
133
+            <image className='articleCard-image' src={AAAAAAAA} />
134
+          </view>
135
+          <view className='articleCard-textarea'>
136
+            <view className='articleCard-textarea-title' >位置:<text className='articleCard-textarea-content'>地处繁华街区,餐饮、娱乐选择丰富
137
+              毗邻虹桥CBD,世贸商城展馆,百盛城市购物中心金虹桥购物中心,虹桥艺术中心,领馆聚集区,商务活动频繁,购物、聚会、聚餐、观看演出、表演电影,各项活动一应俱全。
138
+            </text></view>
139
+            <view className='articleCard-textarea-title' >出行信息:<text className='articleCard-textarea-content'>地处繁华街区,餐饮、娱乐选择丰富
140
+              地铁2号线娄山关路站下车3号口出步行5分钟可以到达。周边公交车众多,四通八达,叫车也非常便捷快速。2号线去虹桥机场、虹桥高铁站勻为直达,无需换乘,非常便捷快速,耗时在20分钟左右(4-5站即可抵达).
141
+
142
+            </text></view>
143
+          </view>
144
+        </view>
145
+        {/* 更多指引结束 */}
146
+        <view className='Guide-Content-box'>
147
+          <view className='title-image'>
148
+            <image mode='scaleToFill' className='title-image-cup' src={Cup} />
149
+            <text className='title-title-boss' >老板推荐好吃的</text>
150
+          </view>
151
+        </view>
152
+        {/* 小标题结束 */}
153
+        <view class='wrapper'>
154
+          <view class='left-complete-one'>
155
+            <image className='left-image-1' src={ProCard_hot}></image>
156
+            <view className='left-viewText'>
157
+              返现¥16.00
158
+            </view>
159
+            {/* 评分 */}
160
+            <view className='card-box-star'>
161
+              {
162
+                scoreList.map((_, index) => {
163
+                  console.log(index)
164
+                  const src = (index + '0.1') < score ? starOn : starOff
165
+                  return (
166
+                    <image className='card-star-image' key={index} src={src} />
167
+                  )
168
+                })
169
+              }
170
+              <text className='card-star-text' >{score}</text>
171
+            </view>
172
+            <view className='title-image'>
173
+              <image className='image-1' mode='scaleToFill' src={image}></image>
174
+              <image className='image-2' src={food}></image>
175
+            </view>
176
+            <view className='title-content'>
177
+              <view className='Pro-title'>
178
+                <view className='title-text'>【橘里橘啊换行啊啊啊气咖啡店】新鲜出炉啦!</view>
179
+              </view>
180
+              <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
181
+              <view className='title-position-on'>
182
+                <image className='title-position' src={position} />
183
+                <text className='title-position-image'>南京市/秦淮区</text>
184
+                <image className='title-on' src={imageSrc} />
185
+                <text onClick={() => Ac()} className='title-on-text'>{value}</text>
186
+              </view>
187
+            </view>
188
+          </view>
189
+          <view class='right-complete-two'>
190
+            <view className='right-content'>
191
+              <image className='right-image' src={Pay} />
192
+              <view className='right-title'>支付</view>
193
+            </view>
194
+          </view>
195
+        </view>
196
+        {/* 卡片----------------- */}
197
+        <view class='wrapper'>
198
+          <view class='left-complete-one'>
199
+            <image className='left-image-1' src={ProCard_hot}></image>
200
+            <view className='left-viewText'>
201
+              返现¥16.00
202
+            </view>
203
+            {/* 评分 */}
204
+            <view className='card-box-star'>
205
+              {
206
+                scoreList.map((_, index) => {
207
+                  console.log(index)
208
+                  const src = (index + '0.1') < score ? starOn : starOff
209
+                  return (
210
+                    <image className='card-star-image' key={index} src={src} />
211
+                  )
212
+                })
213
+              }
214
+              <text className='card-star-text' >{score}</text>
215
+            </view>
216
+            <view className='title-image'>
217
+              <image className='image-1' mode='scaleToFill' src={image}></image>
218
+              <image className='image-2' src={food}></image>
219
+            </view>
220
+            <view className='title-content'>
221
+              <view className='Pro-title'>
222
+                <view className='title-text'>【橘里橘啊换行啊啊啊气咖啡店】新鲜出炉啦!</view>
223
+              </view>
224
+              <text className='title-money' >¥6990元<text className='title-money-2'>门市价78元</text></text>
225
+              {/* ProCard区域定位 */}
226
+              <view className='title-position-on'>
227
+                <image className='title-position' src={position} />
228
+                <text className='title-position-image'>南京市/秦淮区</text>
229
+                <image className='title-on' src={imageSrc} />
230
+                <text onClick={() => Ac()} className='title-on-text'>{value}</text>
231
+              </view>
232
+            </view>
233
+          </view>
234
+          <view class='right-complete-two'>
235
+            <view className='right-content'>
236
+              {/* <view className='right-number'>×1</view> */}
237
+              <image className='right-image' src={Pay} />
238
+              <view className='right-title'>支付</view>
239
+            </view>
240
+          </view>
241
+        </view>
242
+        {/* 卡片------------- */}
243
+        <view className='Guide-Content-box-two'>
244
+          <view className='title-image-two'>
245
+            <image mode='scaleToFill' className='title-image-cup-two' src={Cup} />
246
+            <text className='title-title-boss-two' >老板推荐的攻略</text>
247
+          </view>
248
+        </view>
249
+        {/* 小标题结束 */}
250
+        {/* 攻略卡片 */}
251
+        <view className='Raiders-box-one'>
252
+          <view className='Raiders-imageLove'>
253
+            <image className='Raiders-image-Raiders' src={Raiders} />
254
+            <image className='Raiders-image-loveOn' src={loveOn} />
255
+          </view>
256
+          <view className='Raiders-box'>
257
+            <image className='Raiders-image' mode='widthFix' src={RaidersImage} />
258
+            <text className='Raiders-text'>南京古称金陵,自东吴孙权迁都南京以来,多个汉字汉字汉字汉字</text>
259
+            <view className='Raiders-kilometer-on'>
260
+              <image className='Raiders-kilometer' src={position} />
261
+              <text className='Raiders-kilometer-image'>12.8公里</text>
262
+              <text className='Raiders-on-text'>¥8888/人</text>
263
+            </view>
264
+          </view>
265
+          <view className='Raiders-box' style='padding-lift:10px'>
266
+            <view className='Raiders-imageLove'>
267
+              <image className='Raiders-image-Raiders' src={Raiders} />
268
+              <image className='Raiders-image-loveOn' src={loveOn} />
269
+            </view>
270
+            <image className='Raiders-image' mode='widthFix' src={RaidersImage} />
271
+            <text className='Raiders-text'>南京古称金陵,自东吴孙权迁都南京以来,多个汉字汉字汉字汉字</text>
272
+            <view className='Raiders-kilometer-on'>
273
+              <image className='Raiders-kilometer' src={position} />
274
+              <text className='Raiders-kilometer-image'>12.8公里</text>
275
+              <text className='Raiders-on-text'>¥8888/人</text>
276
+            </view>
277
+          </view>
278
+          {/* <view className='Raiders-box'></view> */}
279
+        </view>
280
+      </view>
281
+    </scroll-view>
14 282
 
15
-      入住指引
16
-      </Card>
17
-    </view>
18 283
   )
19 284
 }

+ 518
- 0
src/pages/index/tabs/GuideCss/style.less Vedi File

@@ -0,0 +1,518 @@
1
+@whiteColor: #fff;
2
+
3
+.page-index {
4
+  padding: 0 25px;
5
+}
6
+.Guide-Home-box {
7
+  // width: 333333333333px;
8
+  .MessageCard {
9
+    width: 690px;
10
+    height: 175px;
11
+    background: @whiteColor;
12
+    border-radius: 12px;
13
+    margin: 30px auto;
14
+    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
15
+
16
+    .MessageCard-title1 {
17
+      height: 26px;
18
+      font-size: 28px;
19
+      font-weight: bold;
20
+      color: #666666;
21
+      line-height: 44px;
22
+      text-align: center;
23
+      .MessageCard-left {
24
+        width: 530px;
25
+        height: 2px;
26
+        padding-right: 50px;
27
+        // opacity: 0.5;
28
+      }
29
+      .MessageCard-right {
30
+        width: 530px;
31
+        height: 2px;
32
+        padding-left: 50px;
33
+      }
34
+    }
35
+    .MessageCard-content {
36
+      // background: @whiteColor;
37
+      width: 13em;
38
+      height: 2.5em;
39
+      margin-top: 45px;
40
+      display: inline-block;
41
+      margin-left: 30px;
42
+
43
+      .MessageCard-name {
44
+        height: 30px;
45
+        font-size: 32px;
46
+        font-weight: bold;
47
+        color: #202020;
48
+        line-height: 44px;
49
+      }
50
+      .MessageCard-info {
51
+        height: 23px;
52
+        font-size: 24px;
53
+        font-weight: 400;
54
+        color: #666666;
55
+        line-height: 44px;
56
+        padding-top: 19px;
57
+      }
58
+    }
59
+    .MessageCard-button {
60
+      width: 168px;
61
+      height: 60px;
62
+      border: 2px solid #000000;
63
+      border-radius: 12px;
64
+      position: relative;
65
+      text-align: center;
66
+      display: inline-block;
67
+      bottom: 10px;
68
+      left: 1.5em;
69
+      .MessageCard-image {
70
+        width: 30px;
71
+        height: 30px;
72
+        padding-top: 12px;
73
+        padding-right: 5px;
74
+      }
75
+      .MessageCard-text {
76
+        line-height: 30px;
77
+        width: 87px;
78
+        height: 28px;
79
+        font-size: 30px;
80
+        font-weight: bold;
81
+        color: #202020;
82
+      }
83
+    }
84
+  }
85
+
86
+  .articleCard {
87
+    margin-top: 60px;
88
+    width: 690px;
89
+    // height: 1066px;
90
+    background: #ffffff;
91
+    border-radius: 12px;
92
+    box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
93
+    padding-bottom: 66px;
94
+    margin-bottom: 20px;
95
+
96
+    .articleCard-title {
97
+      font-size: 28px;
98
+      font-weight: bold;
99
+      color: #202020;
100
+      line-height: 44px;
101
+      text-align: center;
102
+      padding: 30px auto;
103
+      padding-top: 30px;
104
+      .articleCard-left {
105
+      }
106
+      .articleCard-right {
107
+      }
108
+    }
109
+    .articleCard-content {
110
+      width: 100%;
111
+      text-align: center;
112
+      padding: 30px 0 20px 0;
113
+      .articleCard-image {
114
+        width: 630px;
115
+        height: 378px;
116
+      }
117
+    }
118
+    .articleCard-textarea {
119
+      width: 629px;
120
+      margin: 0 auto;
121
+      .articleCard-textarea-title {
122
+        font-size: 28px;
123
+        font-weight: bold;
124
+        color: #202020;
125
+        line-height: 54px;
126
+      }
127
+      .articleCard-textarea-content {
128
+        font-size: 28px;
129
+        font-weight: 400;
130
+        color: #202020;
131
+        line-height: 54px;
132
+        padding-bottom: 10px;
133
+      }
134
+    }
135
+  }
136
+
137
+  .Guide-image-text-box {
138
+    width: 472px;
139
+    height: 548px;
140
+    margin: auto;
141
+    margin-top: 102px;
142
+    margin-bottom: 103px;
143
+    .Guide-images {
144
+      width: 472px;
145
+      height: 482px;
146
+    }
147
+    .Guide-text {
148
+      width: 268px;
149
+      font-weight: 400;
150
+      color: #999;
151
+      margin: auto;
152
+      width: 268px;
153
+      height: 26px;
154
+      font-size: 26px;
155
+      padding-top: 20px;
156
+    }
157
+  }
158
+  .Guide-Content-box {
159
+    .title-image {
160
+      display: flex;
161
+      width: 270px;
162
+      height: 40px;
163
+      .title-image-cup {
164
+        width: 32px;
165
+        height: 32px;
166
+        margin-top: 10px;
167
+        padding-right: 10px;
168
+        align-items: center;
169
+      }
170
+
171
+      .title-title-boss {
172
+        align-items: center;
173
+
174
+        font-size: 32px;
175
+        font-weight: 800;
176
+        color: #202020;
177
+      }
178
+    }
179
+  }
180
+  //卡片---------------
181
+
182
+  .wrapper {
183
+    margin-top: 40px;
184
+    display: flex;
185
+    position: relative;
186
+    // margin-top: 600px;
187
+    // margin: 30px auto;
188
+    width: 700px;
189
+
190
+    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
191
+    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
192
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
193
+    .card-box-star {
194
+      position: absolute;
195
+      width: auto;
196
+      height: 44.3px;
197
+      position: absolute;
198
+      left: 200px;
199
+      top: 28px;
200
+      font-size: 20px;
201
+      color: @whiteColor;
202
+      .card-star-image {
203
+        padding-left: 6px;
204
+        width: 21px;
205
+        height: 21px;
206
+      }
207
+      .card-star-text {
208
+        padding-left: 10px;
209
+        font-size: 20px;
210
+        color: #333;
211
+        font-weight: 700;
212
+      }
213
+    }
214
+
215
+    .left-complete-one {
216
+      padding-top: 87px;
217
+      padding-bottom: 43px;
218
+      position: relative;
219
+      display: flex;
220
+      background: @whiteColor;
221
+      background: radial-gradient(
222
+            circle at top right,
223
+            transparent 15px,
224
+            @whiteColor 0
225
+          )
226
+          top right,
227
+        radial-gradient(circle at bottom right, transparent 15px, @whiteColor 0)
228
+          bottom right;
229
+      background-size: 100% 60%;
230
+      background-repeat: no-repeat;
231
+
232
+      width: 573px;
233
+      border-radius: 15px 0px 0px 15px;
234
+      // border-radius: 12px;
235
+
236
+      align-items: center;
237
+      .left-image-1 {
238
+        width: 145px;
239
+        height: 44px;
240
+        position: absolute;
241
+        top: 22px;
242
+      }
243
+      .left-viewText {
244
+        // background-image: url(@Image-ProCard_hot);
245
+        // width: 287px;
246
+        width: auto;
247
+        height: 44.3px;
248
+        position: absolute;
249
+        left: 1px;
250
+        top: 28px;
251
+        font-size: 20px;
252
+        color: @whiteColor;
253
+      }
254
+      //图片
255
+      .title-image {
256
+        width: 145px;
257
+        margin-left: 20px;
258
+        border-radius: 24px;
259
+        overflow: hidden;
260
+        position: relative;
261
+        .image-1 {
262
+          width: 100%;
263
+          height: 145px;
264
+        }
265
+        .image-2 {
266
+          width: 89px;
267
+          height: 34px;
268
+          position: absolute;
269
+          left: 0;
270
+          top: 0;
271
+        }
272
+      }
273
+      // 商品标题
274
+      .title-content {
275
+        // padding: 84px 0 56px 20px;
276
+        padding-left: 18px;
277
+
278
+        .Pro-title {
279
+          .title-text {
280
+            width: 375px;
281
+            overflow: hidden;
282
+            text-overflow: ellipsis;
283
+            // display: -webkit-box; //必须要
284
+            -webkit-line-clamp: 1;
285
+            -webkit-box-orient: vertical;
286
+            // word-break: break-all; /* 多出文本省略号代替 */
287
+            text-align: left;
288
+            font-size: 24px;
289
+            // padding-bottom: 10px;
290
+          }
291
+        }
292
+        .title-money {
293
+          // padding-top: 34px;
294
+          font-size: 24px;
295
+          // color: red;
296
+          font-weight: 800;
297
+        }
298
+        .title-money-2 {
299
+          font-size: 18px;
300
+          color: #666;
301
+          padding-left: 10px;
302
+          text-decoration: line-through;
303
+        }
304
+
305
+        .title-time {
306
+          font-size: 24px;
307
+          // padding-top: 20px;
308
+          color: #c0c8d3;
309
+        }
310
+        .title-position-on {
311
+          display: flex;
312
+          font-size: 20px;
313
+          .title-position {
314
+            width: 18px;
315
+            height: 24px;
316
+            padding-right: 10px;
317
+            padding-top: 5px;
318
+          }
319
+          .title-position-image {
320
+            align-items: center;
321
+            font-size: 20px;
322
+            color: #333;
323
+          }
324
+          .title-on {
325
+            // margin-bottom: 10px;
326
+            padding-top: 5px;
327
+            padding-left: 40px;
328
+            width: 21px;
329
+            height: 21px;
330
+            padding-right: 10px;
331
+          }
332
+          .title-on-text {
333
+            align-items: center;
334
+
335
+            font-size: 20px;
336
+            color: #333;
337
+          }
338
+        }
339
+      }
340
+    }
341
+  }
342
+
343
+  .right-complete-two {
344
+    background: @whiteColor;
345
+    background: radial-gradient(
346
+          circle at top left,
347
+          transparent 15px,
348
+          @whiteColor 0
349
+        )
350
+        top left,
351
+      radial-gradient(circle at bottom left, transparent 15px, @whiteColor 0)
352
+        bottom left;
353
+    background-size: 100% 60%;
354
+    background-repeat: no-repeat;
355
+    width: 129px;
356
+    border-radius: 0 15px 15px 0;
357
+    position: relative;
358
+    //右面部分
359
+    .right-content {
360
+      // width: 100px;
361
+      height: 120px;
362
+      position: absolute;
363
+      top: 50%;
364
+      left: 50%;
365
+      transform: translate(-50%, -50%);
366
+      // border: 1px solid red;
367
+
368
+      .right-number {
369
+        // width: 32px;
370
+        // font-size: 20px;
371
+        // border-radius: 4px;
372
+        // border: 2px solid #999;
373
+        // margin: auto;
374
+        // text-align: center;
375
+      }
376
+      .right-image {
377
+        // float: convert();
378
+        width: 35px;
379
+        height: 34px;
380
+        margin: 0 auto;
381
+        align-items: center;
382
+        margin: auto;
383
+        padding-left: 8px;
384
+        // text-align: center;
385
+      }
386
+
387
+      .right-title {
388
+        font-weight: 700;
389
+        font-size: 24px;
390
+        padding-top: 15px;
391
+        text-align: center;
392
+      }
393
+    }
394
+  }
395
+  //线条
396
+  .right-complete-two::after {
397
+    content: "";
398
+    position: absolute;
399
+    top: 15px;
400
+    margin: 26px auto;
401
+    height: 70%;
402
+    border-left: 1px dashed #595959;
403
+  }
404
+  .Guide-Content-box-two {
405
+    margin-top: 61px;
406
+    margin-bottom: 31px;
407
+    .title-image-two {
408
+      display: flex;
409
+      width: 270px;
410
+      height: 40px;
411
+      .title-image-cup-two {
412
+        width: 32px;
413
+        height: 32px;
414
+        margin-top: 10px;
415
+        padding-right: 10px;
416
+        align-items: center;
417
+      }
418
+
419
+      .title-title-boss-two {
420
+        align-items: center;
421
+
422
+        font-size: 32px;
423
+        font-weight: 800;
424
+        color: #202020;
425
+      }
426
+    }
427
+  }
428
+
429
+  //攻略卡片.
430
+  .Raiders-box-one {
431
+    // width: 100%;
432
+    // // background-color: black;
433
+    margin-bottom: 60px;
434
+    display: flex;
435
+
436
+    justify-content: space-around;
437
+    .Raiders-imageLove {
438
+      display: flex;
439
+      position: absolute;
440
+      width: 330px;
441
+
442
+      .Raiders-image-Raiders {
443
+        // position: absolute;
444
+        width: 99px;
445
+        height: 37px;
446
+      }
447
+      .Raiders-image-loveOn {
448
+        position: absolute;
449
+        top: 12px;
450
+        right: 21px;
451
+        width: 22px;
452
+        height: 20px;
453
+      }
454
+    }
455
+    .Raiders-box {
456
+      // display: inline;
457
+      // border: 1px solid RED;
458
+      width: 330px;
459
+      // height: 649px;
460
+      background: #ffffff;
461
+      box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
462
+      border-radius: 24px;
463
+      // flex-grow: 1;
464
+      // padding-right: 30px;
465
+      // display: flex;
466
+      // flex-flow: row nowrap;
467
+      justify-content: space-between;
468
+      .Raiders-image {
469
+        width: 330px;
470
+        // width: 100%;
471
+        height: 439px !important;
472
+        border-radius: 24px 24px 0px 0px;
473
+      }
474
+      .Raiders-text {
475
+        margin: auto;
476
+        width: 287px;
477
+        font-size: 24px;
478
+        font-weight: 700;
479
+        color: #404040;
480
+        line-height: 46px;
481
+        padding-top: 28px;
482
+        margin-bottom: 42px;
483
+        word-break: break-all;
484
+        text-overflow: ellipsis;
485
+        display: -webkit-box;
486
+        -webkit-box-orient: vertical;
487
+        -webkit-line-clamp: 2;
488
+        overflow: hidden;
489
+        word-wrap: break-word;
490
+      }
491
+      .Raiders-kilometer-on {
492
+        text-align: center;
493
+        margin-bottom: 50px;
494
+
495
+        .Raiders-kilometer {
496
+          width: 18px;
497
+          height: 24px;
498
+          padding-right: 10px;
499
+        }
500
+        .Raiders-kilometer-image {
501
+          width: 90px;
502
+          height: 21px;
503
+          font-size: 24px;
504
+          font-weight: 400;
505
+          color: #c0c8d3;
506
+        }
507
+        .Raiders-on-text {
508
+          padding-left: 75px;
509
+          width: 70px;
510
+          height: 21px;
511
+          font-size: 24px;
512
+          font-weight: 400;
513
+          color: #ff3434;
514
+        }
515
+      }
516
+    }
517
+  }
518
+}

+ 126
- 4
src/pages/index/tabs/Mine.jsx Vedi File

@@ -1,10 +1,132 @@
1 1
 import React from 'react'
2
+import Taro from '@tarojs/taro'
3
+
4
+import girl from '@/assets/icons/UserCenter/girl.png'
5
+import boy from '@/assets/icons/UserCenter/boy.png'
6
+import awaitPay from '@/assets/icons/UserCenter/awaitPay.png'
7
+import AllOrder from '@/assets/icons/UserCenter/AllOrder.png'
8
+import Refund from '@/assets/icons/UserCenter/Refund.png'
9
+import ToShop from '@/assets/icons/UserCenter/ToShop.png'
10
+import HomeLogo from '@/assets/icons/UserCenter/HomeLogo.png'
11
+import ContactMe from '@/assets/icons/UserCenter/ContactMe.png'
12
+import collect from '@/assets/icons/UserCenter/collect.png'
13
+import MyTravel from '@/assets/icons/UserCenter/MyTravel.png'
14
+import Rules from '@/assets/icons/UserCenter/Rules.png'
15
+import Userrrrrrr from '@/assets/icons/ProCard/8kb.jpg'
16
+// import Tbas2 from '@/pages/index/tabs/Guide'
17
+import './MineCss/style.less'
18
+
19
+
2 20
 
3 21
 export default (props) => {
22
+  // // 我的行程 
23
+  // const HomeLogo = () => {
24
+  //   Taro.navigateTo({ url: '/pages/MineUserAll/Rules/index' })
25
+  // }
26
+
27
+  // 待支付
28
+  const handleTobePaid = () => {
29
+    Taro.navigateTo({ url: '/pages/MineUserAll/AllOrder/index?tabJump=1' })
30
+  }
31
+  // 待核销
32
+  const handleTobeWritten = () => {
33
+    Taro.navigateTo({ url: '/pages/MineUserAll/AllOrder/index?tabJump=2' })
34
+  }
35
+  // 我的订单全部
36
+  const handleAllOrder = () => {
37
+    Taro.navigateTo({ url: '/pages/MineUserAll/AllOrder/index?tabJump=0' })
38
+  }
39
+
40
+  //退款
41
+  const handleRefund = () => {
42
+    Taro.navigateTo({ url: '/pages/MineUserAll/RefundMoney/index' })
43
+  }
44
+  //入住指引
45
+  const handleHomeLogo = () => {
46
+    Taro.navigateTo({ url: '/pages/index/index?tab=1' })
47
+  }
48
+  //收藏
49
+  const handleCollect = () => {
50
+    Taro.navigateTo({ url: '/pages/MineUserAll/Collect/index' })
51
+  }
52
+  //联系我们
53
+  const handleContactMe = () => {
54
+    Taro.navigateTo({ url: '/pages/MineUserAll/ContactMe/index' })
55
+  }
56
+
57
+  //条款
58
+  const handleRules = () => {
59
+    Taro.navigateTo({ url: '/pages/MineUserAll/Rules/index' })
60
+  }
61
+
62
+
63
+
64
+
65
+
4 66
   return (
5
-    <view>
6
-      <button openType='getPhoneNumber'>个人中心</button>
67
+    <scroll-view scroll-y style='height: 77vh;' >
68
+      <view className='User-box'>
69
+        <view className='User-info'>
70
+          <view className='User-photos-box'>
71
+            <image src={Userrrrrrr} className='User-photos' />
72
+          </view>
73
+          <view className='User-info-all'>
74
+            <view className='User-name'>福西西<image className='User-sex' src={boy} /></view>
75
+            <view className='User-phone'>136****9434</view>
76
+          </view>
77
+        </view>
78
+        {/* 用户信息结束 */}
79
+        <view className='buy-list-box'>
80
+          <view className='buy-list-Paybox' onClick={handleTobePaid} >
81
+            <image className='buy-list-PayLogo' src={awaitPay} />
82
+            <view className='buy-list-goPay'>待支付</view>
83
+            <view className='buy-list-OrderNumber'>2笔订单</view>
84
+          </view>
85
+          <view className='buy-list-Paybox ' onClick={handleTobeWritten} >
86
+            <image className='buy-list-PayLogo' src={ToShop} />
87
+            <view className='buy-list-goPay'>待核销</view>
88
+            <view className='buy-list-OrderNumber'>1个订单</view>
89
+          </view>
90
+          <view className='buy-list-Paybox ' onClick={handleAllOrder} >
91
+            <image className='buy-list-PayLogo' src={AllOrder} />
92
+            <view className='buy-list-goPay'>全部订单</view>
93
+            <view className='buy-list-OrderNumber'>查看详情</view>
94
+          </view>
95
+          <view className='buy-list-Paybox ' onClick={handleRefund} >
96
+            <image className='buy-list-PayLogo' src={Refund} />
97
+            <view className='buy-list-goPay'>退款/售后</view>
98
+            <view className='buy-list-OrderNumber'>2笔订单</view>
99
+          </view>
100
+        </view>
101
+        <view className='Badge-box'>
102
+          <view className='Badge-list' onClick={handleHomeLogo}>
103
+            <image className='Badge-list-logo' src={HomeLogo} />
104
+            <text className='Badge-list-titme'> 入住指引</text>
105
+            <text className='Badge-list-gt'>&gt;</text>
106
+          </view>
107
+          {/* <view className='Badge-list' onClick={handleRules}>
108
+            <image className='Badge-list-logo' src={MyTravel} />
109
+            <text className='Badge-list-titme'> 我的行程</text>
110
+            <text className='Badge-list-gt'>&gt;</text>
111
+          </view> */}
112
+          <view className='Badge-list' onClick={handleCollect}>
113
+            <image className='Badge-list-logo' src={collect} />
114
+            <text className='Badge-list-titme'> 我的收藏</text>
115
+            <text className='Badge-list-gt'>&gt;</text>
116
+          </view>
117
+          <view className='Badge-list' onClick={handleContactMe}>
118
+            <image className='Badge-list-logo' src={ContactMe} />
119
+            <text className='Badge-list-titme'> 联系我们</text>
120
+            <text className='Badge-list-gt'>&gt;</text>
121
+          </view>
122
+          <view className='Badge-list' onClick={handleRules}>
123
+            <image className='Badge-list-logo' src={Rules} />
124
+            <text className='Badge-list-titme'> 协议声明</text>
125
+            <text className='Badge-list-gt'>&gt;</text>
126
+          </view>
127
+        </view>
7 128
 
8
-    </view>
129
+      </view>
130
+    </scroll-view>
9 131
   )
10
-}
132
+}

+ 131
- 0
src/pages/index/tabs/MineCss/style.less Vedi File

@@ -0,0 +1,131 @@
1
+.page-index {
2
+  padding: 0 25px;
3
+}
4
+
5
+.User-box {
6
+  width: 100%;
7
+  .User-info {
8
+    width: 90%;
9
+    align-items: center;
10
+    display: -webkit-flex;
11
+    margin: 60px auto;
12
+    .User-photos-box {
13
+      display: inline-block;
14
+      .User-photos {
15
+        width: 128px;
16
+        height: 128px;
17
+        border-radius: 50%;
18
+      }
19
+    }
20
+    .User-info-all {
21
+      padding-left: 30px;
22
+      width: 200px;
23
+      display: inline-block;
24
+      .User-name {
25
+        // height: 34px;
26
+        font-size: 38px;
27
+        font-weight: bold;
28
+        color: #202020;
29
+        line-height: 48px;
30
+      }
31
+      .User-sex {
32
+        padding-left: 10px;
33
+        width: 33px;
34
+        height: 32px;
35
+      }
36
+      .User-phone {
37
+        // height: 20px;
38
+        font-size: 30px;
39
+        font-weight: 400;
40
+        color: #202020;
41
+        line-height: 48px;
42
+      }
43
+    }
44
+  }
45
+
46
+  .buy-list-box {
47
+    width: 100%;
48
+    // margin-right: 5px;
49
+    display: flex;
50
+    margin-top: 40px;
51
+    justify-content: space-around;
52
+    flex-wrap: wrap;
53
+
54
+    .buy-list-Paybox {
55
+      width: 47%;
56
+      height: 216px;
57
+      background: #ffffff;
58
+      box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
59
+      border-radius: 24px;
60
+      display: inline-block;
61
+      // margin-right: 16px;
62
+      margin-top: 40px;
63
+
64
+      .buy-list-PayLogo {
65
+        padding-top: 35px;
66
+        width: 44px;
67
+        height: 44px;
68
+        display: block;
69
+        margin: auto;
70
+      }
71
+      .buy-list-goPay {
72
+        padding-top: 28px;
73
+        width: 100%;
74
+        font-size: 30px;
75
+        font-weight: bold;
76
+        color: #202020;
77
+        text-align: center;
78
+      }
79
+      .buy-list-OrderNumber {
80
+        width: 100%;
81
+        padding-top: 20px 0 39px 0;
82
+        font-size: 22px;
83
+        color: #999;
84
+        font-weight: 400;
85
+        text-align: center;
86
+      }
87
+    }
88
+  }
89
+  .Badge-box {
90
+    margin-top: 30px;
91
+    .Badge-list {
92
+      width: 690px;
93
+      height: 102px;
94
+      background: #ffffff;
95
+      box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
96
+      border-radius: 24px;
97
+      display: flex;
98
+      align-items: center;
99
+      margin: 20px auto;
100
+
101
+      .Badge-list-logo {
102
+        width: 39px;
103
+        height: 33px;
104
+        padding: 0 30px;
105
+      }
106
+      .Badge-list-titme {
107
+        display: inline-block;
108
+        width: 160px;
109
+        font-size: 32px;
110
+        font-weight: normal;
111
+        color: #333333;
112
+        line-height: 70px;
113
+      }
114
+      .Badge-list-gt {
115
+        display: inline-block;
116
+        position: absolute;
117
+        right: 1.5em;
118
+        font-size: 35px;
119
+        font-weight: bold;
120
+        color: #999;
121
+      }
122
+    }
123
+    // .Badge-list:nth-child(3) {
124
+    //   margin-top: 20px;
125
+    //   border-radius: 24px 24px 0px 0px;
126
+    // }
127
+    // .Badge-list:nth-child(4) {
128
+    //   border-radius: 0px 0px 24px 24px;
129
+    // }
130
+  }
131
+}