李志伟 3 年之前
父節點
當前提交
9076c0429d

二進制
src/assets/icons/GuideCheck/RaidersImage.jpg 查看文件


二進制
src/assets/icons/housemantj/ms.jpg 查看文件


二進制
src/assets/icons/housemantj/ms2.jpg 查看文件


二進制
src/assets/icons/housemantj/ms3.jpg 查看文件


+ 0
- 72
src/components/BossCard/style.less 查看文件

@@ -224,76 +224,4 @@
224 224
     height: 70%;
225 225
     border-left: 1px dashed #595959;
226 226
   }
227
-
228
-  .view-button {
229
-
230
-    position: fixed;
231
-    bottom: 0px;
232
-
233
-    .Card-number-box {
234
-      .Card-number {
235
-        width: 100%;
236
-        height: 96px;
237
-        background-color: @whiteColor;
238
-      }
239
-      .Card-user {
240
-        width: 100%;
241
-        height: 96px;
242
-        background-color: @whiteColor;
243
-      }
244
-    }
245
-    .button-box-button-box {
246
-      position: relative;
247
-      .button-text-image {
248
-        width: 144;
249
-        height: 45px;
250
-        position: absolute;
251
-        top: -35px;
252
-        left: 267px;
253
-        right: 305px;
254
-        z-index: 1;
255
-        .button-text-money-hot {
256
-          position: absolute;
257
-          width: 144px;
258
-          height: 43px;
259
-          line-height: 43px;
260
-          font-size: 24px;
261
-          font-weight: bold;
262
-          color: @whiteColor;
263
-        }
264
-        .button-image {
265
-          width: 143px;
266
-          height: 43px;
267
-        }
268
-        .button-text-money {
269
-          position: absolute;
270
-          margin-top: -8;
271
-          width: 157px;
272
-          font-size: 18px;
273
-          font-weight: 400;
274
-          text-decoration: line-through;
275
-          color: @whiteColor;
276
-        }
277
-      }
278
-      .button-box-one {
279
-        font-size: 30px;
280
-        line-height: 92px;
281
-        margin-top: 3em;
282
-        background-color: #274190;
283
-        border-radius: 12px;
284
-        width: calc(100% - 60px);
285
-        height: 92px;
286
-        color: @whiteColor;
287
-        // position: absolute;
288
-        bottom: 40px;
289
-        right: 0;
290
-        left: 0;
291
-        .button-text-one {
292
-          right: 133px;
293
-          font-size: 30px;
294
-          padding-left: 220px;
295
-        }
296
-      }
297
-    }
298
-  }
299 227
 }

+ 9
- 25
src/components/CompoentsOrder/complete/style.less 查看文件

@@ -85,21 +85,21 @@
85 85
       }
86 86
       //图片
87 87
       .title-image {
88
-        width: 145px;
88
+        height: 144px;
89 89
         margin-left: 20px;
90 90
         border-radius: 24px;
91 91
         overflow: hidden;
92 92
         position: relative;
93 93
         .image-1 {
94
-          width: 100%;
95
-          height: 145px;
94
+          width: 144px;
95
+          height: 144px;
96
+          margin: 0;
96 97
         }
97 98
         .image-2 {
98 99
           width: 89px;
99 100
           height: 34px;
100 101
           position: absolute;
101 102
           left: 0;
102
-          top: 0;
103 103
         }
104 104
       }
105 105
       // 商品标题
@@ -194,37 +194,21 @@
194 194
     position: relative;
195 195
     //右面部分
196 196
     .right-content {
197
-      // width: 100px;
198
-      height: 120px;
197
+      width: 60px;
198
+      height: 134px;
199 199
       position: absolute;
200
-      top: 50%;
201
-      left: 50%;
202
-      transform: translate(-50%, -50%);
203
-      // border: 1px solid red;
200
+      top: calc(50% - 45px);
201
+      left: calc(50% - 30px);
204 202
       .right-image-2 {
205 203
         width: 76px;
206 204
         height: 66px;
207 205
         margin-top: 1em;
208 206
       }
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 207
       .right-image {
218
-        // float: convert();
219 208
         width: 35px;
220 209
         height: 34px;
221
-        margin: 0 auto;
222
-        align-items: center;
223
-        margin: auto;
224
-        padding-left: 8px;
225
-        // text-align: center;
210
+        margin-left: calc(50% - 17.5px);
226 211
       }
227
-
228 212
       .right-title {
229 213
         font-weight: 700;
230 214
         font-size: 24px;

+ 0
- 4
src/components/PayOrderCard/index.jsx 查看文件

@@ -1,7 +1,3 @@
1
-import withLayout from '@/layouts'
2
-import useSave from "@/utils/hooks/useSave"
3
-import image from '@/assets/icons/ProCard/8kb.jpg'
4
-import AuthPage from '@/components/AuthPage'
5 1
 import formatTimes from '@/utils/formatTime'
6 2
 import { useState, useEffect } from 'react'
7 3
 import { Button, Radio, Input } from '@tarojs/components'

+ 0
- 71
src/components/PayOrderCard/style.less 查看文件

@@ -225,75 +225,4 @@
225 225
     border-left: 1px dashed #595959;
226 226
   }
227 227
 
228
-  .view-button {
229
-
230
-    position: fixed;
231
-    bottom: 0px;
232
-
233
-    .Card-number-box {
234
-      .Card-number {
235
-        width: 100%;
236
-        height: 96px;
237
-        background-color: @whiteColor;
238
-      }
239
-      .Card-user {
240
-        width: 100%;
241
-        height: 96px;
242
-        background-color: @whiteColor;
243
-      }
244
-    }
245
-    .button-box-button-box {
246
-      position: relative;
247
-      .button-text-image {
248
-        width: 144;
249
-        height: 45px;
250
-        position: absolute;
251
-        top: -35px;
252
-        left: 267px;
253
-        right: 305px;
254
-        z-index: 1;
255
-        .button-text-money-hot {
256
-          position: absolute;
257
-          width: 144px;
258
-          height: 43px;
259
-          line-height: 43px;
260
-          font-size: 24px;
261
-          font-weight: bold;
262
-          color: @whiteColor;
263
-        }
264
-        .button-image {
265
-          width: 143px;
266
-          height: 43px;
267
-        }
268
-        .button-text-money {
269
-          position: absolute;
270
-          margin-top: -8;
271
-          width: 157px;
272
-          font-size: 18px;
273
-          font-weight: 400;
274
-          text-decoration: line-through;
275
-          color: @whiteColor;
276
-        }
277
-      }
278
-      .button-box-one {
279
-        font-size: 30px;
280
-        line-height: 92px;
281
-        margin-top: 3em;
282
-        background-color: #274190;
283
-        border-radius: 12px;
284
-        width: calc(100% - 60px);
285
-        height: 92px;
286
-        color: @whiteColor;
287
-        // position: absolute;
288
-        bottom: 40px;
289
-        right: 0;
290
-        left: 0;
291
-        .button-text-one {
292
-          right: 133px;
293
-          font-size: 30px;
294
-          padding-left: 220px;
295
-        }
296
-      }
297
-    }
298
-  }
299 228
 }

+ 3
- 6
src/components/ShopUsed/index.jsx 查看文件

@@ -1,10 +1,7 @@
1 1
 import Taro from '@tarojs/taro'
2
-import { getShopList, getVerifiedOrder, setGetVerifiedOrder } from '@/services/shopBoss'
3
-import { View, Button, Text, Image } from '@tarojs/components'
4
-import { useState, useEffect } from 'react'
5
-import iconsearch from '@/assets/icons/housemantj/search.png'
6
-import ms from '@/assets/icons/housemantj/ms3.jpg'
7
-import cutoverUser from '@/assets/icons/UserCenter/cutoverUser.png'
2
+import {  setGetVerifiedOrder } from '@/services/shopBoss'
3
+import { View,  Text, Image } from '@tarojs/components'
4
+import { useState } from 'react'
8 5
 import formatTimes from '@/utils/formatTime'
9 6
 import './style.less'
10 7
 

+ 1
- 1
src/components/foodCards/foodCards.jsx 查看文件

@@ -63,7 +63,7 @@ export default (props) => {
63 63
             <image src={msTip} className='mstip'></image>
64 64
           </view>
65 65
           <view className='neirong'>
66
-            <view className='textword'  onClick={() => { goFood() }} >{(item.description).toString().length > 25 ? (item.description).substring(0, 25) + '...' : (item.description)}</view>
66
+            <view className='textword'  onClick={() => { goFood() }} >{(item.description).toString().length > 22 ? (item.description).substring(0, 22) + '...' : (item.description)}</view>
67 67
             <view className='jiage' onClick={() => { goFood() }} >
68 68
               <text className='rmb' >¥&nbsp;&nbsp;</text>
69 69
               <text className='p1'><text className='price' >{(item.actualPrice / 100).toFixed(2)}</text>元&nbsp;&nbsp;</text>

+ 4
- 3
src/components/foodCards/style.less 查看文件

@@ -1,11 +1,12 @@
1 1
 .foodCard{
2 2
   background: #FFF;
3
-  box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
3
+  // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
4 4
   border-radius: 12px;
5 5
   position: relative;
6
-  margin: 15px 5px;
6
+  margin: 15px 15px;
7 7
   margin-bottom: 30px;
8 8
   overflow: hidden;
9
+  filter: drop-shadow(0px 6px 13px rgba(0, 0, 0, 0.12));
9 10
   background: radial-gradient(circle at 82% top,transparent 20px,#fff 0) top,
10 11
               radial-gradient(circle at 82% bottom,transparent 20px,#fff 0) bottom;
11 12
   background-repeat: no-repeat;
@@ -54,7 +55,7 @@
54 55
     }
55 56
     .neirong{
56 57
       display: inline-block;
57
-      width: 65%;
58
+      width: 57%;
58 59
       .textword{
59 60
         font-size: 24px;           
60 61
         color: #333;

+ 1
- 1
src/hotel/pages/landlord/landlord.jsx 查看文件

@@ -68,7 +68,7 @@ export default withLayout((props) => {
68 68
       <CustomNav title={hotel?.hotelName} logo={hotel?.logo} />
69 69
       <view className='index-container'>
70 70
         {currentTab === 0 && <Income hotelList={hotelList} hotel={hotel}  account={account} onHotelChange={handleHotelChange} />}
71
-        {currentTab === 1 && <HouseManage hotel={hotel} ref={houseRef} />}
71
+        {hotel?.hotelId?currentTab === 1 && <HouseManage hotel={hotel} ref={houseRef} disabled={!hotel.hotelId}/>:''}
72 72
       </view>
73 73
       <view className='index-tabbar'>
74 74
         <TabBar extClass='custom-tabbar bottomTab' current={currentTab} onChange={handleTabChange}>

+ 1
- 1
src/pages/MineUserAll/ContactMe/index.jsx 查看文件

@@ -22,7 +22,7 @@ export default withLayout((props) => {
22 22
         // 成功返回一个模态框提醒用户
23 23
         wx.showModal({
24 24
           title: '提示',
25
-          content: '反馈成功',
25
+          content: '反馈成功,感谢提交;\r\n如有需要平台将在24小时内添加您的微信,请留意您的手机信息。',
26 26
           showCancel:false,
27 27
           success (res) {
28 28
             if (res.confirm) {

+ 9
- 12
src/pages/PayOrder/style.less 查看文件

@@ -115,21 +115,21 @@
115 115
       }
116 116
       //图片
117 117
       .title-image {
118
-        width: 145px;
118
+        height: 144px;
119 119
         margin-left: 20px;
120 120
         border-radius: 24px;
121 121
         overflow: hidden;
122 122
         position: relative;
123 123
         .image-1 {
124
-          width: 100%;
125
-          height: 145px;
124
+          width: 144px;
125
+          height: 144px;
126
+          margin: 0;
126 127
         }
127 128
         .image-2 {
128 129
           width: 89px;
129 130
           height: 34px;
130 131
           position: absolute;
131 132
           left: 0;
132
-          top: 0;
133 133
         }
134 134
       }
135 135
       // 商品标题
@@ -228,8 +228,9 @@
228 228
   .view-button {
229 229
 
230 230
     position: fixed;
231
-    bottom: 0px;
232
-
231
+    bottom: 0;
232
+    left: 0;
233
+    right: 0;
233 234
     .Card-number-box {
234 235
       .Card-number {
235 236
         width: 100%;
@@ -245,12 +246,11 @@
245 246
     .button-box-button-box {
246 247
       position: relative;
247 248
       .button-text-image {
248
-        width: 144;
249
+        width: 144px;
249 250
         height: 45px;
250 251
         position: absolute;
251 252
         top: -35px;
252
-        left: 267px;
253
-        right: 305px;
253
+        left: calc(50% - 72px);
254 254
         z-index: 1;
255 255
         .button-text-money-hot {
256 256
           position: absolute;
@@ -284,10 +284,7 @@
284 284
         width: calc(100% - 60px);
285 285
         height: 92px;
286 286
         color: @whiteColor;
287
-        // position: absolute;
288 287
         bottom: 40px;
289
-        right: 0;
290
-        left: 0;
291 288
         .button-text-one {
292 289
           right: 133px;
293 290
           font-size: 30px;

+ 0
- 135
src/pages/details/mjDetails/sceneryDetails.less 查看文件

@@ -127,141 +127,6 @@
127 127
     margin-top: 14px;
128 128
   }
129 129
 }
130
-.foodCard{
131
-  background: #FFF;
132
-  box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
133
-  border-radius: 12px;
134
-  position: relative;
135
-  margin-bottom: 30px;
136
-  overflow: hidden;
137
-  background: radial-gradient(circle at 82% top,transparent 20px,#fff 0) top,
138
-              radial-gradient(circle at 82% bottom,transparent 20px,#fff 0) bottom;
139
-  background-repeat: no-repeat;
140
-  background-size: auto 50%;
141
-  .fCleft{
142
-    float: left;
143
-    width: 82%;
144
-    .backMoney{
145
-      font-size: 24px;
146
-      font-weight: bold;
147
-      color: #FFF;
148
-      margin: 22px 40px 20px 0;        
149
-      padding: 12px 17px 9px 6px;
150
-      background:url('../../../assets/icons/housemantj/fximg.png') no-repeat;    
151
-      display: inline-block;
152
-      background-size: 100% 100%;
153
-    }
154
-    .appraise{
155
-      display: inline-block;
156
-      image{
157
-        width: 21px;
158
-        height: 21px;
159
-        margin-right: 10px;
160
-      }
161
-      text{
162
-        font-size: 24px;           
163
-        font-weight: bold;
164
-        color: #020200;
165
-      }
166
-    }
167
-    .contentImg{
168
-      margin: 0 20px 43px 20px;
169
-      position: relative;
170
-      display: inline-block;
171
-      .img1{
172
-        width: 144px;
173
-        height: 144px;
174
-        border-radius: 24px;
175
-      }
176
-      .mstip{
177
-          width:99px;
178
-          height:37px;
179
-          position: absolute;
180
-          left: 0;          
181
-      }
182
-    }
183
-    .neirong{
184
-      display: inline-block;
185
-      width: 65%;
186
-      .textword{
187
-        font-size: 24px;           
188
-        color: #333;
189
-        margin: 0 21px 0 0;
190
-        height: 84px;
191
-      }
192
-      .jiage{
193
-        line-height: 20px;
194
-        font-weight: bold;
195
-        color: #333;
196
-        .rmb{
197
-          font-size: 20px;             
198
-          margin: 0 8px 0 7px;
199
-        }
200
-        .p1{
201
-          font-size: 24px;     
202
-        }
203
-        .p2{
204
-          font-size: 18px;             
205
-          text-decoration: line-through;
206
-          color: #666;
207
-        }
208
-      }
209
-      .address{
210
-        line-height: 0;
211
-        margin-top: 18px;
212
-        .dw{
213
-          width: 16px;
214
-          height: 20px;
215
-          position: relative;
216
-          top:3px;
217
-          margin-right: 10px;
218
-        }
219
-        .wz{
220
-          font-size: 20px;             
221
-          color: #333;
222
-        }
223
-        .star{
224
-          width: 21px;
225
-          height: 21px;
226
-          margin: 0 10px 0 40px;
227
-          position: relative;
228
-          top: 3px;
229
-        }
230
-        .collection{
231
-          font-size: 20px;             
232
-          color: #333333;
233
-        }
234
-      }
235
-    }
236
-  }
237
-  .fCright{
238
-    float: right;
239
-    width: 18%;
240
-    line-height: 0;
241
-    image{
242
-      width:35px;
243
-      height:32px;
244
-      margin-top: 120%;
245
-      margin-left:calc(50% - 15px)
246
-    }
247
-    view{
248
-      font-size: 24px;
249
-      line-height: 23px;
250
-      font-weight: bold;
251
-      color: #202020;
252
-      margin-top: 19px;
253
-      text-align: center;
254
-    }
255
-  }
256
-  .columnLine{
257
-    height: 50%;
258
-    border-right: 2px dashed #595959;
259
-    opacity: 0.12;
260
-    position: absolute;
261
-    right: 18%;
262
-    bottom:15%;
263
-  }
264
-}
265 130
 
266 131
 .bottom{
267 132
   font-size: 28px;    

+ 1
- 0
src/pages/index/index.config.js 查看文件

@@ -2,6 +2,7 @@ export default {
2 2
   navigationBarTitleText: '十公里',
3 3
   navigationStyle: 'custom',
4 4
   styleIsolation: 'shared',
5
+  enableShareAppMessage: true,
5 6
   usingComponents: {
6 7
     "mp-tabbar": "weui-miniprogram/tabbar/tabbar",
7 8
     "mp-tabs": "../../../components/tabs/index",

+ 1
- 2
src/pages/index/tabs/Recommend.jsx 查看文件

@@ -40,8 +40,7 @@ export default (props) => {
40 40
       setTypeList(res.records || [])
41 41
     })
42 42
   }, [])
43
-
44
-
43
+  
45 44
   const onSearch = () => {
46 45
     // 用绝对路径
47 46
     Taro.navigateTo({ url: '/pages/search/search' });

+ 1
- 6
src/shop/components/ShopKeeper/shopKeeper.jsx 查看文件

@@ -1,20 +1,15 @@
1 1
 import { React, useState, useEffect, useMemo } from 'react'
2 2
 import Taro, { useRouter } from '@tarojs/taro'
3
-import CustomNav from '@/components/CustomNav'
4 3
 import Picker from '@/components/Picker'
5
-import Popup from '@/components/Popup'
6 4
 import ShopUsed from '@/components/ShopUsed' //已核销
7 5
 import ShopUnused from '@/components/ShopUnused' //未核销
8 6
 import SearchBar from '@/components/SearchBar'
9
-import { getShopList, getShopMoney, getAccount, getVerifiedOrder, setGetVerifiedOrder } from '@/services/shopBoss'
7
+import { getVerifiedOrder } from '@/services/shopBoss'
10 8
 import List from '@/components/List';
11 9
 
12 10
 import eyes from '@/assets/icons/shopKeeper/小眼睛.png'
13 11
 import ceyes from '@/assets/icons/shopKeeper/小眼睛-闭上.png'
14
-import iconsearch from '@/assets/icons/housemantj/search.png'
15
-import ms from '@/assets/icons/housemantj/ms3.jpg'
16 12
 import ToggleRole from '@/components/toggleRole/ToggleRole'
17
-
18 13
 import cutoverUser from '@/assets/icons/UserCenter/cutoverUser.png'
19 14
 import './shopKeeper.less'
20 15