李志伟 3 years ago
parent
commit
6c5b75b782

+ 12
- 10
src/components/BossCard/index.jsx View File

36
           badge='food'
36
           badge='food'
37
         />
37
         />
38
         <CouponMedia.Body star={st}>
38
         <CouponMedia.Body star={st}>
39
-          <View className='cpn-card-text'>
40
-            {(item.description).toString().length > 25 ? (item.description).substring(0, 25) + '...' : (item.description)}
41
-          </View>
42
-          <View className='cpn-card-text' style={{ marginTop: '10rpx' }}>
43
-            <Text className='cpn-card-text_mn'>¥{`${(item.actualPrice / 100)?.toFixed(2)}元`}</Text>
44
-            <Text className='cpn-card-text_rm'>{`门市价${(item.standardPrice / 100)?.toFixed(2)}元`}</Text>
45
-          </View>
46
-          <View className='cpn-md-act'>
47
-            <Location {...det} />
48
-            <SaveIcon saved={item.isSaved > 0} targetType='shop_package' targetId={item.packageId} />
39
+          <View className='bossCard'>
40
+            <View className='cpn-card-text'>
41
+              {(item.description).toString().length > 25 ? (item.description).substring(0, 25) + '...' : (item.description)}
42
+            </View>
43
+            <View className='cpn-card-text' style={{ marginTop: '10rpx' }}>
44
+              <Text className='cpn-card-text_mn'>¥{`${(item.actualPrice / 100)?.toFixed(2)}元`}</Text>
45
+              <Text className='cpn-card-text_rm'>{`门市价${(item.standardPrice / 100)?.toFixed(2)}元`}</Text>
46
+            </View>
47
+            <View className='cpn-md-act'>
48
+              <Location {...det} />
49
+              <SaveIcon saved={item.isSaved > 0} targetType='shop_package' targetId={item.packageId} />
50
+            </View>
49
           </View>
51
           </View>
50
         </CouponMedia.Body>
52
         </CouponMedia.Body>
51
       </CouponMedia>
53
       </CouponMedia>

+ 30
- 257
src/components/BossCard/style.less View File

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

+ 2
- 2
src/components/CompoentsOrder/AlreadyUsed/index.jsx View File

1
-import { useState, useEffect } from 'react'
1
+import { useState } from 'react'
2
 import Taro from '@tarojs/taro'
2
 import Taro from '@tarojs/taro'
3
-import { View, Text } from '@tarojs/components'
3
+import { View } from '@tarojs/components'
4
 import starOn from '@/assets/icons/GuideCheck/starOn.png'
4
 import starOn from '@/assets/icons/GuideCheck/starOn.png'
5
 import starOff from '@/assets/icons/GuideCheck/starOff.png'
5
 import starOff from '@/assets/icons/GuideCheck/starOff.png'
6
 import formatTime from '@/utils/formatTime'
6
 import formatTime from '@/utils/formatTime'

+ 22
- 20
src/components/CompoentsOrder/OrderCard/index.jsx View File

14
 const Action = CouponCard.Action
14
 const Action = CouponCard.Action
15
 
15
 
16
 export default (props) => {
16
 export default (props) => {
17
-  const { item, setShowCutover,show } = props
17
+  const { item, setShowCutover, show } = props
18
 
18
 
19
   const handleDetail = () => {
19
   const handleDetail = () => {
20
     if (item.status === 0) {
20
     if (item.status === 0) {
55
       item.status === 1 && item.isVerified == false ? <Action.Icon icon={QRcode} text='扫码核销' onClick={() => onWriteOff(item)} /> :
55
       item.status === 1 && item.isVerified == false ? <Action.Icon icon={QRcode} text='扫码核销' onClick={() => onWriteOff(item)} /> :
56
         item.status === 2 && item.isVerified == false ? <Action.Image image={refund} /> :
56
         item.status === 2 && item.isVerified == false ? <Action.Image image={refund} /> :
57
           item.status === 9 ? <Action.Image image={Null} /> :
57
           item.status === 9 ? <Action.Image image={Null} /> :
58
-          item.isVerified == true&&item.isEvaluated==3 ? <Action.Image image={Null} /> :
59
-            item.isVerified == true ? <Action.Icon icon={Evaluation} text='评价' onClick={() => evaluation(item)} /> :'' 
58
+            item.isVerified == true && item.isEvaluated == 3 ? <Action.Image image={Null} /> :
59
+              item.isVerified == true ? <Action.Icon icon={Evaluation} text='评价' onClick={() => evaluation(item)} /> : ''
60
 
60
 
61
 
61
 
62
   return (
62
   return (
70
             badge='food'
70
             badge='food'
71
           />
71
           />
72
           <CouponMedia.Body star={item.score}>
72
           <CouponMedia.Body star={item.score}>
73
-            <View className='cpn-card-text'>
74
-              <View style={{ flex: '1' }}>{(item.packageDescription).toString().length > 25 ? (item.packageDescription).substring(0, 25) + '...' : (item.packageDescription)}</View>
75
-              <text className='title-money-2'>
76
-                数量:{item.amount}张
77
-              </text>
78
-            </View>
79
-            <View className='cpn-card-text' style={{ marginTop: '10rpx' }}>
80
-              <Text className='cpn-card-text_mn'>¥{`${(item.unitPrice / 100)?.toFixed(2)}元`}</Text>
81
-            </View>
82
-            <View className='cpn-md-act'>
83
-              <view className={item.isVerified == 1 ?'title-time':''}>
84
-                {
85
-                  item.isVerified == 1 ? '核销时间 :'+ formatTime(item?.verifiedDate, "yyyy/MM/dd"):
86
-                '有效期:'+formatTime(item?.startTime, "yyyy/MM/dd")+'-'+
87
-                formatTime(item.endTime, "yyyy/MM/dd")
88
-              }
89
-              </view>
73
+            <View className='orderCard'>
74
+              <View className='cpn-card-text'>
75
+                <View style={{ flex: '1' }}>{(item.packageDescription).toString().length > 25 ? (item.packageDescription).substring(0, 25) + '...' : (item.packageDescription)}</View>
76
+                <text className='title-money-2'>
77
+                  数量:{item.amount}张
78
+                </text>
79
+              </View>
80
+              <View className='cpn-card-text' style={{ marginTop: '10rpx' }}>
81
+                <Text className='cpn-card-text_mn'>¥{`${(item.unitPrice / 100)?.toFixed(2)}元`}</Text>
82
+              </View>
83
+              <View className='cpn-md-act'>
84
+                <view className={item.isVerified == 1 ? 'title-time' : ''}>
85
+                  {
86
+                    item.isVerified == 1 ? '核销时间 :' + formatTime(item?.verifiedDate, "yyyy/MM/dd") :
87
+                      '有效期:' + formatTime(item?.startTime, "yyyy/MM/dd") + '-' +
88
+                      formatTime(item.endTime, "yyyy/MM/dd")
89
+                  }
90
+                </view>
91
+              </View>
90
             </View>
92
             </View>
91
           </CouponMedia.Body>
93
           </CouponMedia.Body>
92
         </CouponMedia>
94
         </CouponMedia>

+ 37
- 34
src/components/CompoentsOrder/OrderCard/style.less View File

1
-.cpn-card-text {
2
-  font-size: 24px;
3
-  font-weight: 400;
4
-  color: #333333;
5
-  line-height: 40px;
6
-  vertical-align: baseline;
7
-  display: flex;
8
-  .title-money-2 {
9
-    font-size: 20px;
1
+.orderCard{
2
+  .cpn-card-text {
3
+    font-size: 24px;
4
+    font-weight: 400;
10
     color: #333333;
5
     color: #333333;
11
-  }
12
-  & > text {
13
-    display: inline-block;
6
+    line-height: 40px;
7
+    vertical-align: baseline;
8
+    display: flex;
9
+    .title-money-2 {
10
+      font-size: 20px;
11
+      color: #333333;
12
+    }
13
+    & > text {
14
+      display: inline-block;
14
 
15
 
15
-    & + text {
16
-      margin-left: 8px;
16
+      & + text {
17
+        margin-left: 8px;
18
+      }
19
+    }
20
+    &_mn {
21
+      font-size: 24px;
22
+      font-weight: bold;
23
+      color: #333333;
17
     }
24
     }
18
-  }
19
-  &_mn {
20
-    font-size: 24px;
21
-    font-weight: bold;
22
-    color: #333333;
23
-  }
24
 
25
 
25
-  &_rm {
26
-    font-size: 18px;
27
-    font-weight: 400;
28
-    text-decoration: line-through;
29
-    color: #666666;
26
+    &_rm {
27
+      font-size: 18px;
28
+      font-weight: 400;
29
+      text-decoration: line-through;
30
+      color: #666666;
31
+    }
30
   }
32
   }
31
-}
32
-.cpn-md-act {
33
-  display: flex;
34
-  margin-top: 10px;
35
-  position: relative;
36
-  font-size: 22px;
37
-  color: #c0c8d3;
38
-  .title-time {
39
-    font-size: 28px;
33
+  .cpn-md-act {
34
+    display: flex;
35
+    margin-top: 10px;
36
+    position: relative;
37
+    font-size: 22px;
38
+    color: #c0c8d3;
39
+    .title-time {
40
+      font-size: 28px;
41
+    }
40
   }
42
   }
41
 }
43
 }
44
+
42
 .OrderNumber {
45
 .OrderNumber {
43
   font-size: 20px;
46
   font-size: 20px;
44
   color: #666666;
47
   color: #666666;

+ 2
- 1
src/components/CompoentsOrder/complete/index.jsx View File

82
     setItem(val)
82
     setItem(val)
83
   }
83
   }
84
   const slideButtonTap = (e) => {
84
   const slideButtonTap = (e) => {
85
-    deleteOrder(e.orderId || '').then(() => {
85
+    console.log(e)
86
+    deleteOrder(e.orderId).then(() => {
86
       Taro.showToast({
87
       Taro.showToast({
87
         title: '删除订单成功',
88
         title: '删除订单成功',
88
         icon: 'none',
89
         icon: 'none',

+ 13
- 11
src/components/foodCards/foodCards.jsx View File

22
   }
22
   }
23
   const PayAction = <Action.Icon icon={Pay} text='支付' onClick={handlePayClick} />
23
   const PayAction = <Action.Icon icon={Pay} text='支付' onClick={handlePayClick} />
24
   return (
24
   return (
25
-    <View style={{margin:'15px 5px'}}>
25
+    <View style={{ margin: '15px 5px' }}>
26
       <CouponCard action={PayAction}>
26
       <CouponCard action={PayAction}>
27
         <CouponMedia onClick={goshop ? '' : goFood}>
27
         <CouponMedia onClick={goshop ? '' : goFood}>
28
           <CouponMedia.Header
28
           <CouponMedia.Header
31
             badge='food'
31
             badge='food'
32
           />
32
           />
33
           <CouponMedia.Body star={st}>
33
           <CouponMedia.Body star={st}>
34
-            <View className='cpn-card-text'>
35
-              {(item.description).toString().length > 25 ? (item.description).substring(0, 25) + '...' : (item.description)}
36
-            </View>
37
-            <View className='cpn-card-text' style={{ marginTop: '10rpx' }}>
38
-              <Text className='cpn-card-text_mn'>¥{`${(item.actualPrice / 100)?.toFixed(2)}元`}</Text>
39
-              <Text className='cpn-card-text_rm'>{`门市价${(item.standardPrice / 100)?.toFixed(2)}元`}</Text>
40
-            </View>
41
-            <View className='cpn-md-act'>
42
-              <Location {...det} />
43
-              <SaveIcon saved={item.isSaved > 0} targetType='shop_package' editable={editable} targetId={item.packageId} />
34
+            <View className='foodCard'>
35
+              <View className='cpn-card-text'>
36
+                {(item.description).toString().length > 25 ? (item.description).substring(0, 25) + '...' : (item.description)}
37
+              </View>
38
+              <View className='cpn-card-text' style={{ marginTop: '10rpx' }}>
39
+                <Text className='cpn-card-text_mn'>¥{`${(item.actualPrice / 100)?.toFixed(2)}元`}</Text>
40
+                <Text className='cpn-card-text_rm'>{`门市价${(item.standardPrice / 100)?.toFixed(2)}元`}</Text>
41
+              </View>
42
+              <View className='cpn-md-act'>
43
+                <Location {...det} />
44
+                <SaveIcon saved={item.isSaved > 0} targetType='shop_package' editable={editable} targetId={item.packageId} />
45
+              </View>
44
             </View>
46
             </View>
45
           </CouponMedia.Body>
47
           </CouponMedia.Body>
46
         </CouponMedia>
48
         </CouponMedia>

+ 29
- 27
src/components/foodCards/style.less View File

1
-.cpn-card-text {
2
-  font-size: 24px;
3
-  font-weight: 400;
4
-  color: #333333;
5
-  line-height: 40px;
6
-  vertical-align: baseline;
1
+.foodCard{
2
+  .cpn-card-text {
3
+    font-size: 24px;
4
+    font-weight: 400;
5
+    color: #333333;
6
+    line-height: 40px;
7
+    vertical-align: baseline;
7
 
8
 
8
-  & > text {
9
-    display: inline-block;
9
+    & > text {
10
+      display: inline-block;
10
 
11
 
11
-    & + text {
12
-      margin-left: 8px;
12
+      & + text {
13
+        margin-left: 8px;
14
+      }
15
+    }
16
+    &_mn {
17
+      font-size: 24px;
18
+      font-weight: bold;
19
+      color: #333333;
13
     }
20
     }
14
-  }
15
-  &_mn {
16
-    font-size: 24px;
17
-    font-weight: bold;
18
-    color: #333333;
19
-  }
20
 
21
 
21
-  &_rm {
22
-    font-size: 18px;
23
-    font-weight: 400;
24
-    text-decoration: line-through;
25
-    color: #666666;
22
+    &_rm {
23
+      font-size: 18px;
24
+      font-weight: 400;
25
+      text-decoration: line-through;
26
+      color: #666666;
27
+    }
26
   }
28
   }
27
-}
28
 
29
 
29
-.cpn-md-act {
30
-  display: flex;
31
-  margin-top: 10px;
30
+  .cpn-md-act {
31
+    display: flex;
32
+    margin-top: 10px;
32
 
33
 
33
-  & > view {
34
-    flex: 1;
34
+    & > view {
35
+      flex: 1;
36
+    }
35
   }
37
   }
36
 }
38
 }

+ 5
- 3
src/pages/MineUserAll/ContactMe/index.jsx View File

30
     }
30
     }
31
   }
31
   }
32
   return (
32
   return (
33
-    <view className='box-content'>
34
-      <CustomNav title='联系我们' />
33
+    <view className='box-content'>      
34
+      <view className='index-navbar'>
35
+        <CustomNav title='联系我们' />
36
+      </view>
35
       <view style={{ padding: '60rpx 30rpx' }}>
37
       <view style={{ padding: '60rpx 30rpx' }}>
36
         <view class='section'>
38
         <view class='section'>
37
-          <textarea autoHeight placeholder='请输入您的建议或意见!' id='content' />
39
+          <textarea autoHeight placeholder='有任何疑难杂症或者不开心,就在这里留言。' id='content' />
38
         </view>
40
         </view>
39
         <view className='weChate-image' >
41
         <view className='weChate-image' >
40
           <Image mode='aspectFit' src='https://yz-shigongli.oss-cn-shanghai.aliyuncs.com/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20210918145337.png' />
42
           <Image mode='aspectFit' src='https://yz-shigongli.oss-cn-shanghai.aliyuncs.com/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20210918145337.png' />

+ 10
- 7
src/pages/MineUserAll/RefundMoney/CheckRefund/index.jsx View File

1
 import BlackSpot from "@/assets/icons/GuideCheck/BlackSpot.png";
1
 import BlackSpot from "@/assets/icons/GuideCheck/BlackSpot.png";
2
 import Taro from "@tarojs/taro";
2
 import Taro from "@tarojs/taro";
3
-import { Button, Textarea } from "@tarojs/components";
3
+import { Button, Textarea, View } from "@tarojs/components";
4
 import formatPrice from "@/utils/formatPrice";
4
 import formatPrice from "@/utils/formatPrice";
5
 import formatTime from "@/utils/formatTime";
5
 import formatTime from "@/utils/formatTime";
6
 import { useState, useEffect } from "react";
6
 import { useState, useEffect } from "react";
87
       refundReason: explain,
87
       refundReason: explain,
88
     }).then((res) => {
88
     }).then((res) => {
89
       Taro.hideLoading();
89
       Taro.hideLoading();
90
-      Taro.navigateBack({ delta: 1 })
91
-      Taro.showToast({
90
+        Taro.navigateTo({ url: '/pages/MineUserAll/AllOrder/index?tabJump=0' })
91
+        Taro.showToast({
92
         title: "退款成功",
92
         title: "退款成功",
93
         icon: "none",
93
         icon: "none",
94
         duration: 3000,
94
         duration: 3000,
110
   }, [list]);
110
   }, [list]);
111
 
111
 
112
   return (
112
   return (
113
-    <view className='box-content'>
114
-      <CustomNav title='售后退款' />
115
-      <scroll-view scroll-y style='height: calc(100vh - 176rpx);' >
113
+    <view>      
114
+      <view className='index-navbar'>
115
+        <CustomNav title='售后退款' />
116
+      </view>
117
+      <View className='box-content'>
118
+      <scroll-view scroll-y style='height: calc(100vh - 65px);' >
116
 
119
 
117
         <view className='Refund-Content-box'>
120
         <view className='Refund-Content-box'>
118
 
121
 
251
           </Button>
254
           </Button>
252
         </view>
255
         </view>
253
       </scroll-view>
256
       </scroll-view>
254
-
257
+</View>
255
     </view >
258
     </view >
256
   );
259
   );
257
 });
260
 });

+ 1
- 1
src/pages/MineUserAll/RefundMoney/CheckRefund/style.less View File

2
 
2
 
3
 .box-content {
3
 .box-content {
4
   width: 100%;
4
   width: 100%;
5
-  margin: 0 35px;
5
+  padding: 0 30px;
6
 
6
 
7
   .Refund-Content-box {
7
   .Refund-Content-box {
8
     .title-image {
8
     .title-image {

+ 4
- 2
src/pages/MineUserAll/RefundMoney/index.jsx View File

84
   }, [pageNum]);
84
   }, [pageNum]);
85
 
85
 
86
   return (
86
   return (
87
-    <view className='box-content'>
88
-      <CustomNav title='售后退款' />
87
+    <view className='box-content'>      
88
+      <view className='index-navbar'>
89
+        <CustomNav title='售后退款' />
90
+      </view>
89
       <scroll-view
91
       <scroll-view
90
         scrollY
92
         scrollY
91
         style='height: calc(100vh - 176rpx);'
93
         style='height: calc(100vh - 176rpx);'

+ 1
- 229
src/pages/PayOrder/style.less View File

65
       color: #ffffff;
65
       color: #ffffff;
66
     }
66
     }
67
   }
67
   }
68
-  // .coupon-list-box {
69
-  //卡片
70
-  // .wrapper {
71
-  //   display: flex;
72
-  //   position: relative;
73
-  //   // margin-top: 600px;
74
-  //   margin: 30px auto;
75
-  //   width: calc(
76
-  //     100% - 50px
77
-  //   ); // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
78
-  //   // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
79
-  //   filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
80
-
81
-  //   .left-complete-one {
82
-  //     padding-top: 87px;
83
-  //     padding-bottom: 43px;
84
-  //     position: relative;
85
-  //     display: flex;
86
-  //     background: @whiteColor;
87
-  //     // background: radial-gradient(circle at top right, transparent 15px, #fff 0 )
88
-  //     //     top right,
89
-  //     //   radial-gradient(circle at bottom right, transparent 15px, #fff 0 ) bottom
90
-  //     //     right;
91
-  //     // background-size: 100% 60%;
92
-  //     background-repeat: no-repeat;
93
-
94
-  //     width: 573px;
95
-  //     border-radius: 15px 0px 0px 15px;
96
-  //     // border-radius: 12px;
97
-
98
-  //     align-items: center;
99
-  //     .left-image-1 {
100
-  //       width: 145px;
101
-  //       height: 44px;
102
-  //       position: absolute;
103
-  //       top: 22px;
104
-  //     }
105
-  //     .left-viewText {
106
-  //       // background-image: url(@Image-ProCard_hot);
107
-  //       // width: 287px;
108
-  //       // width: auto;
109
-  //       // height: 44.3px;
110
-  //       // position: absolute;
111
-  //       // left: 1px;
112
-  //       // top: 28px;
113
-  //       // font-size: 24px;
114
-  //       // color: @whiteColor;
115
-  //       // font-weight: 600;
116
-
117
-  //       background: url(../../assets/icons/ProCard/ProCard_hot.png) no-repeat;
118
-  //       background-size: 100% 100%;
119
-  //       padding: 0 24px 7px 2px;
120
-  //       width: auto;
121
-  //       font-size: 24px;
122
-  //       line-height: 48px;
123
-  //       height: 44.3px;
124
-  //       position: absolute;
125
-  //       top: 20px;
126
-  //       color: @whiteColor;
127
-  //       font-weight: 600;
128
-  //     }
129
-  //     //图片
130
-  //     .title-image {
131
-  //       height: 144px;
132
-  //       margin-left: 20px;
133
-  //       border-radius: 24px;
134
-  //       overflow: hidden;
135
-  //       position: relative;
136
-  //       .image-1 {
137
-  //         width: 144px;
138
-  //         height: 144px;
139
-  //         margin: 0;
140
-  //       }
141
-  //       .image-2 {
142
-  //         width: 89px;
143
-  //         height: 34px;
144
-  //         position: absolute;
145
-  //         left: 0;
146
-  //       }
147
-  //     }
148
-  //     // 商品标题
149
-  //     .title-content {
150
-  //       // padding: 84px 0 56px 20px;
151
-  //       padding-left: 18px;
152
-
153
-  //       .Pro-title {
154
-  //         .title-text {
155
-  //           width: 375px;
156
-  //           overflow: hidden;
157
-  //           text-overflow: ellipsis;
158
-  //           display: -webkit-box; //必须要
159
-  //           -webkit-line-clamp: 1;
160
-  //           -webkit-box-orient: vertical;
161
-  //           word-break: break-all; /* 多出文本省略号代替 */
162
-  //           text-align: left;
163
-  //           font-size: 24px;
164
-  //           padding-bottom: 10px;
165
-  //         }
166
-  //       }
167
-  //       .title-money {
168
-  //         padding-top: 34px;
169
-  //         font-size: 24px;
170
-  //         // color: red;
171
-  //         font-weight: 800;
172
-  //       }
173
-  //       .title-money-2 {
174
-  //         font-size: 18px;
175
-  //         color: #666;
176
-  //         padding-left: 10px;
177
-  //         text-decoration: line-through;
178
-  //       }
179
-
180
-  //       .title-time {
181
-  //         font-size: 24px;
182
-  //         padding-top: 20px;
183
-  //         color: #c0c8d3;
184
-  //       }
185
-  //     }
186
-  //   }
187
-
188
-  //   .right-complete-two {
189
-  //     background: @whiteColor;
190
-
191
-  //     background: radial-gradient(
192
-  //           circle at top right,
193
-  //           transparent 15px,
194
-  //           #fff 0
195
-  //         )
196
-  //         top right,
197
-  //       radial-gradient(circle at bottom right, transparent 15px, #fff 0  0)
198
-  //         bottom right;
199
-  //     background-size: 100% 60%;
200
-  //     background-repeat: no-repeat;
201
-  //     width: 129px;
202
-  //     border-radius: 0 15px 15px 0;
203
-  //     position: relative;
204
-  //     //右面部分
205
-  //     .right-content {
206
-  //       // width: 100px;
207
-  //       // height: 80px;
208
-  //       position: absolute;
209
-  //       top: 50%;
210
-  //       left: 50%;
211
-  //       transform: translate(-50%, -50%);
212
-  //       // border: 1px solid red;
213
-
214
-  //       .right-number {
215
-  //         width: 40px;
216
-  //         font-size: 20px;
217
-  //         border-radius: 4px;
218
-  //         border: 2px solid #999;
219
-  //         margin: auto;
220
-  //         text-align: center;
221
-  //       }
222
-
223
-  //       .right-title {
224
-  //         font-weight: 700;
225
-  //         font-size: 24px;
226
-  //         padding-top: 20px;
227
-  //         text-align: center;
228
-  //       }
229
-  //     }
230
-  //   }
231
-  //   //线条
232
-  //   .right-complete-two::after {
233
-  //     content: "";
234
-  //     position: absolute;
235
-  //     top: 15px;
236
-  //     margin: 26px auto;
237
-  //     height: 70%;
238
-  //     border-left: 1px dashed #595959;
239
-  //     opacity: 0.12;
240
-  //   }
241
-  // }
242
-
243
-  // .right-complete-two {
244
-  //   background: @whiteColor;
245
-  //   background: radial-gradient(circle at top left, transparent 15px, #fff 0 )
246
-  //       top left,
247
-  //     radial-gradient(circle at bottom left, transparent 15px, #fff 0 ) bottom
248
-  //       left;
249
-  //   background-size: 100% 60%;
250
-  //   background-repeat: no-repeat;
251
-  //   width: 129px;
252
-  //   border-radius: 0 15px 15px 0;
253
-  //   position: relative;
254
-  //   //右面部分
255
-  //   .right-content {
256
-  //     // width: 100px;
257
-  //     // height: 80px;
258
-  //     position: absolute;
259
-  //     top: 50%;
260
-  //     left: 50%;
261
-  //     transform: translate(-50%, -50%);
262
-  //     // border: 1px solid red;
263
-
264
-  //     .right-number {
265
-  //       width: 40px;
266
-  //       font-size: 20px;
267
-  //       border-radius: 4px;
268
-  //       border: 2px solid #999;
269
-  //       margin: auto;
270
-  //       text-align: center;
271
-  //     }
272
-
273
-  //     .right-title {
274
-  //       font-weight: 700;
275
-  //       font-size: 24px;
276
-  //       padding-top: 20px;
277
-  //       text-align: center;
278
-  //     }
279
-  //   }
280
-  // }
281
-  // //线条
282
-  // .right-complete-two::after {
283
-  //   content: "";
284
-  //   position: absolute;
285
-  //   top: 15px;
286
-  //   margin: 26px auto;
287
-  //   height: 70%;
288
-  //   border-left: 1px dashed #595959;
289
-  //   opacity: 0.12;
290
-  // }
291
-  // }
292
   //协议条款 + 支付按钮
68
   //协议条款 + 支付按钮
293
   .view-button {
69
   .view-button {
294
     position: fixed;
70
     position: fixed;
339
           border-radius: 50%;
115
           border-radius: 50%;
340
         }
116
         }
341
         .ul-li-textname {
117
         .ul-li-textname {
342
-          // width: 177px;
343
-          display: inline-block;
344
-          height: 19px;
345
-          font-size: 20px;
346
-          font-weight: 400;
118
+          font-size: 25px;
347
           color: #999999;
119
           color: #999999;
348
         }
120
         }
349
       }
121
       }

+ 20
- 18
src/pages/TobeShop/index.jsx View File

1
 import Taro from "@tarojs/taro";
1
 import Taro from "@tarojs/taro";
2
+import { Button, Icon, Text, Textarea, View } from "@tarojs/components";
2
 import { useState, useEffect } from "react";
3
 import { useState, useEffect } from "react";
3
 import withLayout from "@/layouts";
4
 import withLayout from "@/layouts";
4
 import CustomNav from "@/components/CustomNav";
5
 import CustomNav from "@/components/CustomNav";
5
 import { getShopDetail, getShopPackage, getExtendContent } from '@/services/home';
6
 import { getShopDetail, getShopPackage, getExtendContent } from '@/services/home';
7
+import { getVerifyTargetList, putVerifyTarget } from "@/services/payOrder";
8
+import formatTime from '@/utils/formatTime'
6
 import Popup from "@/components/Popup";
9
 import Popup from "@/components/Popup";
7
 import formatPrice from "@/utils/formatPrice";
10
 import formatPrice from "@/utils/formatPrice";
8
 
11
 
13
 import BlackSpot from "@/assets/icons/GuideCheck/BlackSpot.png";
16
 import BlackSpot from "@/assets/icons/GuideCheck/BlackSpot.png";
14
 import food from "@/assets/icons/ProCard/food.png";
17
 import food from "@/assets/icons/ProCard/food.png";
15
 import ProCard_hot from "@/assets/icons/ProCard/ProCard_hot.png";
18
 import ProCard_hot from "@/assets/icons/ProCard/ProCard_hot.png";
16
-import { Button, Icon, Text, Textarea } from "@tarojs/components";
17
-import { getVerifyTargetList, putVerifyTarget } from "@/services/payOrder";
18
-import formatTime from '@/utils/formatTime'
19
 
19
 
20
 import "./style.less";
20
 import "./style.less";
21
 
21
 
71
   };
71
   };
72
   const ButtonOK = (e) => {
72
   const ButtonOK = (e) => {
73
     if (!checked) return
73
     if (!checked) return
74
-    // setShowDialog(false)
75
     if (showDialog === true) {
74
     if (showDialog === true) {
76
       Taro.showLoading({
75
       Taro.showLoading({
77
         title: '核销中'
76
         title: '核销中'
81
         Taro.hideLoading()
80
         Taro.hideLoading()
82
         setShowDialog(false);
81
         setShowDialog(false);
83
         setConsumption(true);
82
         setConsumption(true);
84
-        Taro.navigateTo({ url: '/pages/MineUserAll/AllOrder/index?tabJump=3' })
85
       }).catch(e => {
83
       }).catch(e => {
86
         Taro.hideLoading()
84
         Taro.hideLoading()
87
         setShowDialog(false);
85
         setShowDialog(false);
104
   };
102
   };
105
 
103
 
106
   return (
104
   return (
107
-    <view className='shop-Eat'>
108
-      <CustomNav title='到店核销' />
105
+    <view className='shop-Eat'>      
106
+      <view className='index-navbar'>
107
+        <CustomNav title='到店核销' />
108
+      </view>
109
       <Popup show={showDialog} maskClosable={false}>
109
       <Popup show={showDialog} maskClosable={false}>
110
-        <view className='Consumption-Now'>您即将核销1张套餐券!</view>
111
-        <text className='Consumption-text'>核销后套餐券不退不换</text>
112
-        <text className='Consumption-text'>请核对无误后再点击确认!</text>
110
+        <View className='Consumption-Now'>真的要翻我的牌子吗?</View>
111
+        <View className='Consumption-text'>核销后套餐券不退不换,</View>
112
+        <View className='Consumption-text'>请核对无误后再点击确认。</View>
113
         <view className='buy-button-box'>
113
         <view className='buy-button-box'>
114
           <button className='button-Cancel' onClick={ButtonCancel}>
114
           <button className='button-Cancel' onClick={ButtonCancel}>
115
             取消
115
             取消
122
       <Popup show={Consumption} maskClosable={false}>
122
       <Popup show={Consumption} maskClosable={false}>
123
         <view className='Perfection-image-view'>
123
         <view className='Perfection-image-view'>
124
           <image src={Perfection} className='Perfection-image' />
124
           <image src={Perfection} className='Perfection-image' />
125
+          <View>
126
+            <text className='tleft'>请和店员说一下:</text><text className='tright'>“我核销好了”</text>
127
+          </View>
125
         </view>
128
         </view>
126
-        <text>核销完成!请与店铺确认!</text>
127
         <view className='buy-button-box'>
129
         <view className='buy-button-box'>
128
           <button className='button-OK' onClick={PerfectionOK}>
130
           <button className='button-OK' onClick={PerfectionOK}>
129
-            完成
131
+            说过了
130
           </button>
132
           </button>
131
         </view>
133
         </view>
132
       </Popup>
134
       </Popup>
161
                     <image className='image-2' src={food}></image>
163
                     <image className='image-2' src={food}></image>
162
                   </view>
164
                   </view>
163
                   <view className='title-content'>
165
                   <view className='title-content'>
164
-                    <view className='Pro-title'>
165
-                      <view className='title-text'>
166
-                        {item.description}
167
-                        <text className='title-money-2'>数量:1张</text>
168
-                      </view>
169
-                    </view>
166
+                    <View className='cpn-card-text'>
167
+                      <View style={{ flex: '1' }}>{(item.description).toString().length > 25 ? (item.description).substring(0, 25) + '...' : (item.description)}</View>
168
+                      <text className='title-money-2'>
169
+                        数量:1张
170
+                      </text>
171
+                    </View>
170
                     <text className='title-money'>
172
                     <text className='title-money'>
171
                       ¥{formatPrice(item.actualPrice)}元<text className='title-money-2'>门市价{formatPrice(item.standPrice)}元</text>
173
                       ¥{formatPrice(item.actualPrice)}元<text className='title-money-2'>门市价{formatPrice(item.standPrice)}元</text>
172
                     </text>
174
                     </text>

+ 37
- 147
src/pages/TobeShop/style.less View File

3
 .shop-Eat {
3
 .shop-Eat {
4
   padding: 0 30px;
4
   padding: 0 30px;
5
   .Consumption-Now {
5
   .Consumption-Now {
6
-    height: 33px;
7
     font-size: 34px;
6
     font-size: 34px;
8
     font-weight: bold;
7
     font-weight: bold;
9
     color: #ff3434;
8
     color: #ff3434;
10
-    text-align: center;
11
-    margin: 60px 0 42px 0;
9
+    margin: 60px 0 32px 0;
12
   }
10
   }
13
   .Consumption-text {
11
   .Consumption-text {
14
-    display: inline-block;
15
-    width: 309px;
16
-    height: 33px;
12
+    line-height: 43px;
17
     font-size: 24px;
13
     font-size: 24px;
18
     font-weight: bold;
14
     font-weight: bold;
19
     color: #333333;
15
     color: #333333;
20
-    text-align: center;
21
-    margin: auto;
22
   }
16
   }
23
   .Perfection-image-view {
17
   .Perfection-image-view {
24
-    width: 150px;
25
-    margin: auto;
26
-
18
+    font-size: 24px;
19
+    font-weight: bold;
27
     .Perfection-image {
20
     .Perfection-image {
28
       width: 54px;
21
       width: 54px;
29
       height: 43px;
22
       height: 43px;
30
-      margin: 70px 0 40px 0;
23
+      margin: 70px auto 40px auto;
24
+    }
25
+    View{
26
+      margin-bottom: 35px;
27
+      .tleft{
28
+        color: #333333;
29
+      }
30
+      .tright{
31
+        font-size: 38px;
32
+        color: #000;
33
+      }
31
     }
34
     }
32
   }
35
   }
33
-
36
+  .weui-dialog__bd{
37
+    padding: 0 67px;
38
+    margin-bottom: 40px;
39
+  }
34
   .position-header {
40
   .position-header {
35
-    background-color: rgba(0, 0, 0, 0);
36
     display: flex;
41
     display: flex;
37
     align-items: center;
42
     align-items: center;
38
     .position-LocationBig {
43
     .position-LocationBig {
63
     }
68
     }
64
     .shop-title-title {
69
     .shop-title-title {
65
       align-items: center;
70
       align-items: center;
66
-
67
       font-size: 32px;
71
       font-size: 32px;
68
       font-weight: 800;
72
       font-weight: 800;
69
       color: #202020;
73
       color: #202020;
71
   }
75
   }
72
 
76
 
73
   .wrapper {
77
   .wrapper {
74
-    margin: auto;
75
-
76
-    margin-top: 40px;
77
     display: flex;
78
     display: flex;
78
-    position: relative;
79
-    // margin-top: 600px;
80
-    // margin: 30px auto;
81
-    // width: 100%;
82
-
83
-    // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
84
-    // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
85
-    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
86
-
87
-    .card-box-star {
88
-      position: absolute;
89
-      width: auto;
90
-      height: 44.3px;
91
-      left: 200px;
92
-      top: 28px;
93
-      font-size: 20px;
94
-      color: @whiteColor;
95
-      .card-star-image {
96
-        padding-left: 6px;
97
-        width: 21px;
98
-        height: 21px;
99
-      }
100
-      .card-star-text {
101
-        padding-left: 10px;
102
-        font-size: 20px;
103
-        color: #333;
104
-        font-weight: 700;
105
-      }
106
-    }
79
+    filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));    
107
 
80
 
108
     .left-complete-one {
81
     .left-complete-one {
109
-      // padding-left: 64px;
110
-      width: 560px;
111
       padding-top: 87px;
82
       padding-top: 87px;
112
       padding-bottom: 43px;
83
       padding-bottom: 43px;
113
-      position: relative;
114
       display: flex;
84
       display: flex;
115
       background: @whiteColor;
85
       background: @whiteColor;
116
       background: radial-gradient(circle at top right, transparent 15px, #fff 0)
86
       background: radial-gradient(circle at top right, transparent 15px, #fff 0)
119
           right;
89
           right;
120
       background-size: 100% 60%;
90
       background-size: 100% 60%;
121
       background-repeat: no-repeat;
91
       background-repeat: no-repeat;
122
-
123
       border-radius: 15px 0px 0px 15px;
92
       border-radius: 15px 0px 0px 15px;
124
-      // border-radius: 12px;
125
-
126
       align-items: center;
93
       align-items: center;
127
-
128
       .left-image-1 {
94
       .left-image-1 {
129
         width: 145px;
95
         width: 145px;
130
         height: 44px;
96
         height: 44px;
131
         position: absolute;
97
         position: absolute;
132
-        // margin-left: 85px;
133
         top: 22px;
98
         top: 22px;
134
       }
99
       }
135
       .left-viewText {
100
       .left-viewText {
136
-        // background-image: url(@Image-ProCard_hot);
137
-        // width: 287px;
138
-        width: auto;
139
-        height: 44.3px;
140
         position: absolute;
101
         position: absolute;
141
-        // left: 85px;
142
         top: 28px;
102
         top: 28px;
143
         font-size: 20px;
103
         font-size: 20px;
144
         color: @whiteColor;
104
         color: @whiteColor;
146
       //图片
106
       //图片
147
       .title-image {
107
       .title-image {
148
         width: 145px;
108
         width: 145px;
109
+        height: 145px;
149
         margin-left: 20px;
110
         margin-left: 20px;
150
         border-radius: 24px;
111
         border-radius: 24px;
151
         overflow: hidden;
112
         overflow: hidden;
153
         flex: none;
114
         flex: none;
154
         .image-1 {
115
         .image-1 {
155
           width: 100%;
116
           width: 100%;
156
-          height: 145px;
117
+          height: 100%;
157
         }
118
         }
158
         .image-2 {
119
         .image-2 {
159
           width: 89px;
120
           width: 89px;
165
       }
126
       }
166
       // 商品标题
127
       // 商品标题
167
       .title-content {
128
       .title-content {
168
-        // padding: 84px 0 56px 20px;
169
-        padding-left: 18px;
170
-
171
-        .Pro-title {
172
-          .title-text {
173
-            width: 375px;
174
-            overflow: hidden;
175
-            text-overflow: ellipsis;
176
-            // display: -webkit-box; //必须要
177
-            -webkit-line-clamp: 1;
178
-            -webkit-box-orient: vertical;
179
-            // word-break: break-all; /* 多出文本省略号代替 */
180
-            text-align: left;
181
-            font-size: 24px;
182
-            // padding-bottom: 10px;
183
-          }
129
+        padding-left: 20px;
130
+        .cpn-card-text {
131
+          font-size: 24px;
132
+          font-weight: 400;
133
+          color: #333333;
134
+          line-height: 40px;
135
+          vertical-align: baseline;
136
+          display: flex;
184
         }
137
         }
185
         .title-money {
138
         .title-money {
186
-          // padding-top: 34px;
187
           font-size: 24px;
139
           font-size: 24px;
188
-          // color: red;
189
           display: inline-block;
140
           display: inline-block;
190
           font-weight: 800;
141
           font-weight: 800;
191
           margin: 15px auto;
142
           margin: 15px auto;
192
         }
143
         }
193
         .title-money-2 {
144
         .title-money-2 {
194
-          height: 19px;
195
           font-size: 20px;
145
           font-size: 20px;
196
           font-weight: 400;
146
           font-weight: 400;
197
           color: #333333;
147
           color: #333333;
198
           padding-left: 50px;
148
           padding-left: 50px;
199
         }
149
         }
200
-
201
         .title-time {
150
         .title-time {
202
           font-size: 24px;
151
           font-size: 24px;
203
-          // padding-top: 20px;
204
           color: #c0c8d3;
152
           color: #c0c8d3;
205
         }
153
         }
206
-        .title-position-on {
207
-          display: flex;
208
-          font-size: 20px;
209
-          .title-position {
210
-            width: 18px;
211
-            height: 24px;
212
-            padding-right: 10px;
213
-            padding-top: 5px;
214
-          }
215
-          .title-position-image {
216
-            align-items: center;
217
-            font-size: 20px;
218
-            color: #333;
219
-          }
220
-          .title-on {
221
-            // margin-bottom: 10px;
222
-            padding-top: 5px;
223
-            padding-left: 40px;
224
-            width: 21px;
225
-            height: 21px;
226
-            padding-right: 10px;
227
-          }
228
-          .title-on-text {
229
-            align-items: center;
230
-
231
-            font-size: 20px;
232
-            color: #333;
233
-          }
234
-        }
235
       }
154
       }
236
     }
155
     }
237
   }
156
   }
245
     background-repeat: no-repeat;
164
     background-repeat: no-repeat;
246
     width: 129px;
165
     width: 129px;
247
     border-radius: 0 15px 15px 0;
166
     border-radius: 0 15px 15px 0;
248
-    // position: relative;
249
     //右面部分
167
     //右面部分
250
     .right-content {
168
     .right-content {
251
-      // width: 100px;
252
       height: 120px;
169
       height: 120px;
253
       position: absolute;
170
       position: absolute;
254
       top: 50%;
171
       top: 50%;
255
       left: 50%;
172
       left: 50%;
256
       transform: translate(-50%, -50%);
173
       transform: translate(-50%, -50%);
257
-      // border: 1px solid red;
258
       .Check_OK-box {
174
       .Check_OK-box {
259
         position: relative;
175
         position: relative;
260
         left: 37vw;
176
         left: 37vw;
264
           height: 34px;
180
           height: 34px;
265
         }
181
         }
266
       }
182
       }
267
-      .right-number {
268
-        // width: 32px;
269
-        // font-size: 20px;
270
-        // border-radius: 4px;
271
-        // border: 2px solid #999;
272
-        // margin: auto;
273
-        // text-align: center;
274
-      }
275
-      .right-image {
276
-        // float: convert();
277
-        width: 36px;
278
-        height: 36px;
279
-        margin: 0 auto;
280
-        align-items: center;
281
-        margin: auto;
282
-        padding-left: 8px;
283
-        // text-align: center;
284
-      }
285
-
286
-      .right-title {
287
-        font-weight: 700;
288
-        font-size: 24px;
289
-        padding-top: 10px;
290
-        text-align: center;
291
-      }
292
     }
183
     }
293
   }
184
   }
294
   .button-info {
185
   .button-info {
295
-    margin-bottom: 70px;
296
-
186
+    margin-bottom: 80px;
187
+    position: absolute;
188
+    bottom: 0;
189
+    width: calc(100% - 60px);
297
     .button-box {
190
     .button-box {
298
-      margin: 60px 0;
299
-      width: calc(100% - 60px);
300
-      height: 88px;
301
-      line-height: 88px;
191
+      height: 92px;
192
+      line-height: 92px;
302
       background: #274291;
193
       background: #274291;
303
       border-radius: 12px;
194
       border-radius: 12px;
304
       color: @whiteColor;
195
       color: @whiteColor;
306
   }
197
   }
307
   //弹窗确认核销按钮
198
   //弹窗确认核销按钮
308
   .buy-button-box {
199
   .buy-button-box {
309
-    width: 100%;
310
-    margin: 40px 0 0 0;
200
+    margin: 50px 0 0 0;
311
 
201
 
312
     .button-Cancel {
202
     .button-Cancel {
313
       display: inline-block;
203
       display: inline-block;

+ 1
- 1
src/pages/index/tabs/Guide.jsx View File

166
           ifroomId === 'havenot' && (
166
           ifroomId === 'havenot' && (
167
             <view className='Guide-image-text-box'>
167
             <view className='Guide-image-text-box'>
168
               <image className='Guide-images' src={sleep} />
168
               <image className='Guide-images' src={sleep} />
169
-              <view className='Guide-text'>休息一下,休息一下~</view>
169
+              <view className='Guide-text'>您还没有入住订单哟~</view>
170
             </view>
170
             </view>
171
           )
171
           )
172
         }
172
         }

+ 0
- 40
src/pages/index/tabs/GuideCss/style.less View File

337
         font-weight: 700;
337
         font-weight: 700;
338
       }
338
       }
339
     }
339
     }
340
-    .left-complete-one {
341
-      // 商品标题
342
-      .title-content {
343
-        .title-time {
344
-          font-size: 24px;
345
-          // padding-top: 20px;
346
-          color: #c0c8d3;
347
-        }
348
-        .title-position-on {
349
-          display: flex;
350
-          font-size: 20px;
351
-          .title-position {
352
-            width: 18px;
353
-            height: 24px;
354
-            padding-right: 10px;
355
-            padding-top: 5px;
356
-          }
357
-          .title-position-image {
358
-            align-items: center;
359
-            font-size: 20px;
360
-            color: #333;
361
-          }
362
-
363
-          .title-on {
364
-            // margin-bottom: 10px;
365
-            padding-top: 5px;
366
-            padding-left: 40px;
367
-            width: 21px;
368
-            height: 21px;
369
-            padding-right: 10px;
370
-          }
371
-          .title-on-text {
372
-            align-items: center;
373
-
374
-            font-size: 20px;
375
-            color: #333;
376
-          }
377
-        }
378
-      }
379
-    }
380
   }
340
   }
381
   .right-complete-two {
341
   .right-complete-two {
382
     //右面部分
342
     //右面部分

+ 0
- 9
src/services/payOrder.js View File

55
 
55
 
56
 
56
 
57
 
57
 
58
-/**
59
-* 评价
60
-* @param {*} id
61
-* @returns 
62
-*/
63
-export const orderEvaluation = (targetType, targetId) => request(`/${targetType}/${targetId}/evaluate`, { method: 'post' })
64
-
65
-
66
-
67
 /**
58
 /**
68
 * 删除已支付订单
59
 * 删除已支付订单
69
 * @param {*} id
60
 * @param {*} id