Browse Source

Merge branch 'dev' of http://git.ycjcjy.com/shigongli/miniapp-v2 into dev

李志伟 3 years ago
parent
commit
1637bbfb34

+ 3
- 1
src/components/ShopUnused/index.jsx View File

25
         <image className='orderImg' src={item.poster} mode='aspectFit' />
25
         <image className='orderImg' src={item.poster} mode='aspectFit' />
26
         <view className='orderRight'>
26
         <view className='orderRight'>
27
           <view className='foodName'>{item.description}</view>
27
           <view className='foodName'>{item.description}</view>
28
-          <view className='price'>合计金额:¥<text style={{ fontSize: '24rpx' }}>{(item.commissionCharge / 100).toFixed(2)}</text>元 <text className='pnum'>数量:<text>1</text>张</text> </view>
28
+
29
+
30
+          <view className='price'>合计金额:¥<text style={{ fontSize: '24rpx' }}>{((item.actualPrice / 100) - (item.cashback / 100) - (item.commissionCharge / 100)).toFixed(2)}</text>元 <text className='pnum'>数量:<text>1</text>张</text> </view>
29
           <view>已下单:等待客户上门就餐</view>
31
           <view>已下单:等待客户上门就餐</view>
30
         </view>
32
         </view>
31
         <view className='line' />
33
         <view className='line' />

+ 1
- 1
src/components/ShopUsed/index.jsx View File

39
         <Image className='orderImg' src={item.poster} mode='aspectFit' />
39
         <Image className='orderImg' src={item.poster} mode='aspectFit' />
40
         <View className='orderRight'>
40
         <View className='orderRight'>
41
           <View className='foodName'>{item.description}</View>
41
           <View className='foodName'>{item.description}</View>
42
-          <View className='price'>合计金额:¥<Text style={{ fontSize: '24rpx' }}>{(item.commissionCharge / 100).toFixed(2)}</Text>元 <Text className='pnum'>数量:<Text>1</Text>张</Text> </View>
42
+          <View className='price'>合计金额:¥<Text style={{ fontSize: '24rpx' }}>{((item.actualPrice / 100) - (item.cashback / 100) - (item.commissionCharge / 100)).toFixed(2)}</Text>元 <Text className='pnum'>数量:<Text>1</Text>张</Text> </View>
43
         </View>
43
         </View>
44
 
44
 
45
         <View className='veri_Date' > 核销时间:{formatTimes(item.verifiedDate, 'yyyy-MM-dd hh:mm')}</View>
45
         <View className='veri_Date' > 核销时间:{formatTimes(item.verifiedDate, 'yyyy-MM-dd hh:mm')}</View>

+ 1
- 0
src/components/Spin/style.less View File

138
 }
138
 }
139
 
139
 
140
 .loading-wrapper {
140
 .loading-wrapper {
141
+  height: 100%;
141
   position: relative;
142
   position: relative;
142
 
143
 
143
   .loading-box {
144
   .loading-box {

+ 43
- 45
src/hotel/components/Income/income.less View File

1
-.User-box-sths{
1
+.User-box-sths {
2
   display: flex;
2
   display: flex;
3
-  margin: 40px 0  60px 0;
3
+  margin: 40px 0 60px 0;
4
   justify-content: space-around;
4
   justify-content: space-around;
5
   flex-wrap: wrap;
5
   flex-wrap: wrap;
6
-  .User-box-selectUser{
6
+  .User-box-selectUser {
7
     width: 100%;
7
     width: 100%;
8
     font-size: 32px;
8
     font-size: 32px;
9
     font-weight: bold;
9
     font-weight: bold;
10
     color: #202020;
10
     color: #202020;
11
     line-height: 32px;
11
     line-height: 32px;
12
-    margin: 60px 0 70px  0;
12
+    margin: 60px 0 70px 0;
13
     text-align: left;
13
     text-align: left;
14
   }
14
   }
15
-  .User-box-tourist{
15
+  .User-box-tourist {
16
     display: inline-block;
16
     display: inline-block;
17
 
17
 
18
-     .Ubs-tourist-image{
18
+    .Ubs-tourist-image {
19
       width: 86px;
19
       width: 86px;
20
       height: 86px;
20
       height: 86px;
21
-
22
     }
21
     }
23
-    .Ubs-tourist-text{
22
+    .Ubs-tourist-text {
24
       display: block;
23
       display: block;
25
       font-size: 30px;
24
       font-size: 30px;
26
       font-weight: bold;
25
       font-weight: bold;
27
-      color: #999999;      
26
+      color: #999999;
28
     }
27
     }
29
   }
28
   }
30
-  .User-box-hotelBoss{
29
+  .User-box-hotelBoss {
31
     display: inline-block;
30
     display: inline-block;
32
-    .Ubs-hotelBoss-image{
31
+    .Ubs-hotelBoss-image {
33
       width: 86px;
32
       width: 86px;
34
       height: 86px;
33
       height: 86px;
35
     }
34
     }
36
-    .Ubs-hotelBoss-text{
35
+    .Ubs-hotelBoss-text {
37
       display: block;
36
       display: block;
38
       font-size: 30px;
37
       font-size: 30px;
39
       font-weight: bold;
38
       font-weight: bold;
40
       color: #202020;
39
       color: #202020;
41
     }
40
     }
42
   }
41
   }
43
-  .User-box-shopBoss{
44
-    .Ubs-shopBoss-image{
42
+  .User-box-shopBoss {
43
+    .Ubs-shopBoss-image {
45
       width: 86px;
44
       width: 86px;
46
       height: 86px;
45
       height: 86px;
47
     }
46
     }
48
-    .Ubs-shopBoss-text{
47
+    .Ubs-shopBoss-text {
49
       display: block;
48
       display: block;
50
       font-size: 30px;
49
       font-size: 30px;
51
       font-weight: bold;
50
       font-weight: bold;
52
-      color:#999999;
51
+      color: #999999;
53
     }
52
     }
54
   }
53
   }
55
-
56
 }
54
 }
57
-.storexx{
55
+.storexx {
58
   text-align: center;
56
   text-align: center;
59
   display: flow-root;
57
   display: flow-root;
60
-  background: #FFFFFF;
58
+  background: #ffffff;
61
   box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.08);
59
   box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.08);
62
   border-radius: 24px;
60
   border-radius: 24px;
63
   padding: 50px 30px 64px 40px;
61
   padding: 50px 30px 64px 40px;
64
   box-sizing: border-box;
62
   box-sizing: border-box;
65
   margin: 0 10px;
63
   margin: 0 10px;
66
-  .storeName{
64
+  .storeName {
67
     height: 26px;
65
     height: 26px;
68
     font-size: 28px;
66
     font-size: 28px;
69
     font-weight: bold;
67
     font-weight: bold;
70
     color: #202020;
68
     color: #202020;
71
-    margin-bottom:58px;
69
+    margin-bottom: 58px;
72
   }
70
   }
73
-  .sleft{
71
+  .sleft {
74
     float: left;
72
     float: left;
75
     text-align: left;
73
     text-align: left;
76
-    .lword{
74
+    .lword {
77
       font-size: 26px;
75
       font-size: 26px;
78
       color: #666666;
76
       color: #666666;
79
       margin-bottom: 40px;
77
       margin-bottom: 40px;
80
     }
78
     }
81
-    .yearMoney{
79
+    .yearMoney {
82
       font-size: 28px;
80
       font-size: 28px;
83
       font-weight: bold;
81
       font-weight: bold;
84
       color: #202020;
82
       color: #202020;
85
       line-height: 0;
83
       line-height: 0;
86
       display: inline-block;
84
       display: inline-block;
87
-      text{
85
+      text {
88
         font-size: 40px;
86
         font-size: 40px;
89
-        color: #FF3434
87
+        color: #ff3434;
90
       }
88
       }
91
-      .micon{
89
+      .micon {
92
         width: 38px;
90
         width: 38px;
93
         height: 26px;
91
         height: 26px;
94
         margin-left: 20px;
92
         margin-left: 20px;
95
       }
93
       }
96
     }
94
     }
97
   }
95
   }
98
-  .line{
96
+  .line {
99
     width: 2px;
97
     width: 2px;
100
     height: 128px;
98
     height: 128px;
101
     border-right: 2px dotted #202020;
99
     border-right: 2px dotted #202020;
104
     left: calc(50% - 1px);
102
     left: calc(50% - 1px);
105
     display: block;
103
     display: block;
106
   }
104
   }
107
-  .sright{
105
+  .sright {
108
     float: right;
106
     float: right;
109
     text-align: right;
107
     text-align: right;
110
-    .rword{
108
+    .rword {
111
       font-size: 26px;
109
       font-size: 26px;
112
       color: #666666;
110
       color: #666666;
113
       margin-bottom: 40px;
111
       margin-bottom: 40px;
114
     }
112
     }
115
-    .monthMoney{
113
+    .monthMoney {
116
       font-size: 28px;
114
       font-size: 28px;
117
       font-weight: bold;
115
       font-weight: bold;
118
       color: #202020;
116
       color: #202020;
119
       line-height: 0;
117
       line-height: 0;
120
       display: inline-block;
118
       display: inline-block;
121
-      text{
119
+      text {
122
         font-size: 40px;
120
         font-size: 40px;
123
-        color: #FF3434;
121
+        color: #ff3434;
124
       }
122
       }
125
-      .micon2{
123
+      .micon2 {
126
         height: 26px;
124
         height: 26px;
127
         width: 38px;
125
         width: 38px;
128
         margin-left: 20px;
126
         margin-left: 20px;
130
     }
128
     }
131
   }
129
   }
132
 }
130
 }
133
-.title{
131
+.title {
134
   font-size: 28px;
132
   font-size: 28px;
135
   color: #202020;
133
   color: #202020;
136
   line-height: 60px;
134
   line-height: 60px;
137
   margin: 62px 0 10px 1px;
135
   margin: 62px 0 10px 1px;
138
 }
136
 }
139
-.spreadCard{
140
-  margin:0 10px 60px 10px;  
141
-  .card{
137
+.spreadCard {
138
+  margin: 0 10px 60px 10px;
139
+  .card {
142
     height: 166px;
140
     height: 166px;
143
-    background: #FFF;
141
+    background: #fff;
144
     box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.08);
142
     box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.08);
145
     border-radius: 12px;
143
     border-radius: 12px;
146
     padding: 40px 0 43px 22px;
144
     padding: 40px 0 43px 22px;
148
     color: #202020;
146
     color: #202020;
149
     box-sizing: border-box;
147
     box-sizing: border-box;
150
     position: relative;
148
     position: relative;
151
-    .spreadMoney{
149
+    .spreadMoney {
152
       line-height: 60px;
150
       line-height: 60px;
153
     }
151
     }
154
-    .spreadImg{
152
+    .spreadImg {
155
       width: 105px;
153
       width: 105px;
156
       height: 100px;
154
       height: 100px;
157
       position: absolute;
155
       position: absolute;
160
     }
158
     }
161
   }
159
   }
162
 }
160
 }
163
-.botton{
164
-  font-size: 28px;   
165
-  color: #C0C8D3;
161
+.botton {
162
+  font-size: 28px;
163
+  color: #c0c8d3;
166
   line-height: 34px;
164
   line-height: 34px;
167
   text-align: center;
165
   text-align: center;
168
-  padding:40px 0 100px 0;
166
+  padding: 40px 0 100px 0;
169
 }
167
 }

+ 3
- 16
src/pages/details/foodDetails/foodDetails.jsx View File

86
   const [AllextNum, setAllextNum] = useState(0);
86
   const [AllextNum, setAllextNum] = useState(0);
87
   //指南当前页数
87
   //指南当前页数
88
   const [epage, setepage] = useState(2);
88
   const [epage, setepage] = useState(2);
89
-  const extendMore = () => {
90
-    setepage(epage + 1);
91
-    getExtendContent("shop", id, { pageNum: epage }).then((res) => {
92
-      setExtend([...extend, ...res.records]);
93
-      setNewextNum(newextNum + res.records.length);
94
-    });
95
-  };
89
+
96
   const openMap = () => {
90
   const openMap = () => {
97
     Taro.openLocation({
91
     Taro.openLocation({
98
       longitude: log.current - 0,
92
       longitude: log.current - 0,
120
         setNewpgNum(res.records.length);
114
         setNewpgNum(res.records.length);
121
         setAllpgNum(res.total);
115
         setAllpgNum(res.total);
122
       });
116
       });
123
-      getExtendContent("shop", id).then((res) => {
117
+      getExtendContent("shop", id, { pageNum: 999 }).then((res) => {
124
         setExtend(res.records || []);
118
         setExtend(res.records || []);
125
         setAllextNum(res.total);
119
         setAllextNum(res.total);
126
         setNewextNum(res.records.length);
120
         setNewextNum(res.records.length);
254
                   {(extend || []).map((item) => (
248
                   {(extend || []).map((item) => (
255
                     <Extend key={item.extId} item={item} />
249
                     <Extend key={item.extId} item={item} />
256
                   ))}
250
                   ))}
257
-                  <view
258
-                    className='showMore'
259
-                    style={{ display: newextNum == AllextNum ? "none" : "" }}
260
-                    onClick={extendMore}
261
-                  >
262
-                    <view>查看更多</view>
263
-                    <image src={showMore} className='moreTip' />
264
-                  </view>
251
+
265
                 </view>
252
                 </view>
266
                 <view
253
                 <view
267
                   className='botton'
254
                   className='botton'

+ 2
- 5
src/pages/details/mjDetails/sceneryDetails.jsx View File

79
           setRecommend(res2 || [])
79
           setRecommend(res2 || [])
80
         })
80
         })
81
       })
81
       })
82
-      getExtendContent('tourist', id).then((res) => {
82
+      getExtendContent('tourist', id, { pageNum: 99999 }).then((res) => {
83
         setExtend(res.records || [])
83
         setExtend(res.records || [])
84
         setAllextNum(res.total)
84
         setAllextNum(res.total)
85
         setNewextNum(res.records.length)
85
         setNewextNum(res.records.length)
159
               <image src={titlejd} />景点介绍
159
               <image src={titlejd} />景点介绍
160
             </view>
160
             </view>
161
             {(extend || []).map((item) => <Extend item={item} />)}
161
             {(extend || []).map((item) => <Extend item={item} />)}
162
-            <view className='showMore' style={{ display: newextNum == AllextNum ? 'none' : '' }} onClick={extendMore}>
163
-              <view>点击查看更多</view>
164
-              <image src={showMore} className='moreTip' />
165
-            </view>
162
+
166
           </view>
163
           </view>
167
           <view style={{ position: 'relative', marginTop: '6em', display: recommend == '' ? 'none' : '' }}>
164
           <view style={{ position: 'relative', marginTop: '6em', display: recommend == '' ? 'none' : '' }}>
168
             <view className='title'>
165
             <view className='title'>

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

64
   useDidShow(() => {
64
   useDidShow(() => {
65
     goContent()
65
     goContent()
66
   })
66
   })
67
-  
67
+
68
   const geiZy = () => {
68
   const geiZy = () => {
69
     setLoading(true)
69
     setLoading(true)
70
     getExtendContent('room', roomId, {
70
     getExtendContent('room', roomId, {
123
   const goRoomMap = () => {
123
   const goRoomMap = () => {
124
     if (taRoomContent.location) {
124
     if (taRoomContent.location) {
125
       const [longitude, latitude] = taRoomContent.location.split(',').map(x => x - 0)
125
       const [longitude, latitude] = taRoomContent.location.split(',').map(x => x - 0)
126
-      
126
+
127
       Taro.openLocation({
127
       Taro.openLocation({
128
         longitude,
128
         longitude,
129
         latitude,
129
         latitude,

+ 1
- 1
src/shop/components/ShopKeeper/shopKeeper.jsx View File

95
       <view>
95
       <view>
96
       </view>
96
       </view>
97
       <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
97
       <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
98
-      <view style={{ padding: '30rpx', height: '100%' }}>
98
+      <view style={{ padding: '0 15px 0 15px', height: '100%' }}>
99
         <view className='storexx'>
99
         <view className='storexx'>
100
           <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder='请选择商铺' value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
100
           <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder='请选择商铺' value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
101
           <view onClick={ShowMoldeOn} className='User-info-cutover'>
101
           <view onClick={ShowMoldeOn} className='User-info-cutover'>

+ 47
- 50
src/shop/components/ShopKeeper/shopKeeper.less View File

1
-.User-box-sths{
1
+.User-box-sths {
2
   display: flex;
2
   display: flex;
3
-  margin: 40px 0  60px 0;
3
+  margin: 40px 0 60px 0;
4
   justify-content: space-around;
4
   justify-content: space-around;
5
   flex-wrap: wrap;
5
   flex-wrap: wrap;
6
-  .User-box-selectUser{
6
+  .User-box-selectUser {
7
     width: 100%;
7
     width: 100%;
8
     font-size: 32px;
8
     font-size: 32px;
9
     font-weight: bold;
9
     font-weight: bold;
10
     color: #202020;
10
     color: #202020;
11
     line-height: 32px;
11
     line-height: 32px;
12
-    margin: 60px 0 70px  0;
12
+    margin: 60px 0 70px 0;
13
     text-align: left;
13
     text-align: left;
14
   }
14
   }
15
-  .User-box-tourist{
15
+  .User-box-tourist {
16
     display: inline-block;
16
     display: inline-block;
17
-     .Ubs-tourist-image{
17
+    .Ubs-tourist-image {
18
       width: 86px;
18
       width: 86px;
19
       height: 86px;
19
       height: 86px;
20
     }
20
     }
21
-    .Ubs-tourist-text{
21
+    .Ubs-tourist-text {
22
       display: block;
22
       display: block;
23
       font-size: 30px;
23
       font-size: 30px;
24
       font-weight: bold;
24
       font-weight: bold;
25
-      color: #999999;      
25
+      color: #999999;
26
     }
26
     }
27
   }
27
   }
28
-  .User-box-hotelBoss{
28
+  .User-box-hotelBoss {
29
     display: inline-block;
29
     display: inline-block;
30
-    .Ubs-hotelBoss-image{
30
+    .Ubs-hotelBoss-image {
31
       width: 86px;
31
       width: 86px;
32
       height: 86px;
32
       height: 86px;
33
     }
33
     }
34
-    .Ubs-hotelBoss-text{
34
+    .Ubs-hotelBoss-text {
35
       display: block;
35
       display: block;
36
       font-size: 30px;
36
       font-size: 30px;
37
       font-weight: bold;
37
       font-weight: bold;
38
       color: #999999;
38
       color: #999999;
39
     }
39
     }
40
   }
40
   }
41
-  .User-box-shopBoss{
42
-    .Ubs-shopBoss-image{
41
+  .User-box-shopBoss {
42
+    .Ubs-shopBoss-image {
43
       width: 86px;
43
       width: 86px;
44
       height: 86px;
44
       height: 86px;
45
     }
45
     }
46
-    .Ubs-shopBoss-text{
46
+    .Ubs-shopBoss-text {
47
       display: block;
47
       display: block;
48
       font-size: 30px;
48
       font-size: 30px;
49
       font-weight: bold;
49
       font-weight: bold;
50
-      color:#202020;
50
+      color: #202020;
51
     }
51
     }
52
   }
52
   }
53
-
54
 }
53
 }
55
-.storexx{
54
+.storexx {
56
   text-align: center;
55
   text-align: center;
57
-  height: 342px;
58
-  background: #FFFFFF;
56
+  height: 300px;
57
+  background: #ffffff;
59
   box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.08);
58
   box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.08);
60
   border-radius: 24px;
59
   border-radius: 24px;
61
-  padding: 50px 30px 64px 40px;
60
+  padding: 20px 30px 34px 40px;
61
+
62
   box-sizing: border-box;
62
   box-sizing: border-box;
63
-  .storeName{
63
+  .storeName {
64
     height: 26px;
64
     height: 26px;
65
     font-size: 28px;
65
     font-size: 28px;
66
     font-weight: bold;
66
     font-weight: bold;
67
     color: #202020;
67
     color: #202020;
68
-    margin-bottom:27px;
68
+    margin-bottom: 25px;
69
   }
69
   }
70
-  .User-info-cutover{
70
+  .User-info-cutover {
71
     position: absolute;
71
     position: absolute;
72
     top: 60px;
72
     top: 60px;
73
     right: 60px;
73
     right: 60px;
74
-    .User-info-cutover-image{
74
+    .User-info-cutover-image {
75
       width: 36px;
75
       width: 36px;
76
       height: 36px;
76
       height: 36px;
77
     }
77
     }
78
   }
78
   }
79
-  .tip{
79
+  .tip {
80
     height: 23px;
80
     height: 23px;
81
     font-size: 24px;
81
     font-size: 24px;
82
     color: #666666;
82
     color: #666666;
83
-    margin-bottom: 48px;
83
+    margin-bottom: 25px;
84
   }
84
   }
85
-  .sleft{
85
+  .sleft {
86
     float: left;
86
     float: left;
87
-    .lword{
87
+    .lword {
88
       height: 25px;
88
       height: 25px;
89
       font-size: 26px;
89
       font-size: 26px;
90
       color: #666666;
90
       color: #666666;
91
-      margin-bottom: 40px;      
91
+      margin-bottom: 25px;
92
       margin-left: 1px;
92
       margin-left: 1px;
93
     }
93
     }
94
-    .yearMoney{
94
+    .yearMoney {
95
       height: 30px;
95
       height: 30px;
96
       font-size: 28px;
96
       font-size: 28px;
97
       font-weight: bold;
97
       font-weight: bold;
98
       color: #202020;
98
       color: #202020;
99
-      text{
99
+      text {
100
         font-size: 40px;
100
         font-size: 40px;
101
-        color: #FF3434
101
+        color: #ff3434;
102
       }
102
       }
103
-      .micon{
103
+      .micon {
104
         width: 38px;
104
         width: 38px;
105
         height: 22px;
105
         height: 22px;
106
         margin-left: 19px;
106
         margin-left: 19px;
107
       }
107
       }
108
     }
108
     }
109
   }
109
   }
110
-  .line{
110
+  .line {
111
     width: 2px;
111
     width: 2px;
112
     height: 128px;
112
     height: 128px;
113
     border-right: 2px dotted #202020;
113
     border-right: 2px dotted #202020;
116
     left: calc(50% - 1px);
116
     left: calc(50% - 1px);
117
     display: block;
117
     display: block;
118
   }
118
   }
119
-  .sright{
119
+  .sright {
120
     float: right;
120
     float: right;
121
     text-align: left;
121
     text-align: left;
122
-    .rword{
122
+    .rword {
123
       font-size: 26px;
123
       font-size: 26px;
124
       color: #666666;
124
       color: #666666;
125
-      margin: 0 1px 47px 0;
125
+      margin: 0 1px 27px 0;
126
       text-align: center;
126
       text-align: center;
127
     }
127
     }
128
-    .monthMoney{
128
+    .monthMoney {
129
       height: 24px;
129
       height: 24px;
130
       font-size: 28px;
130
       font-size: 28px;
131
       font-weight: bold;
131
       font-weight: bold;
132
       color: #202020;
132
       color: #202020;
133
       line-height: 24px;
133
       line-height: 24px;
134
-      text{
134
+      text {
135
         font-size: 40px;
135
         font-size: 40px;
136
-        color: #FF3434;
136
+        color: #ff3434;
137
       }
137
       }
138
-      .micon2{
138
+      .micon2 {
139
         width: 38px;
139
         width: 38px;
140
         height: 22px;
140
         height: 22px;
141
         margin-left: 23px;
141
         margin-left: 23px;
145
   }
145
   }
146
 }
146
 }
147
 
147
 
148
-
149
-
150
 .index-tabs {
148
 .index-tabs {
151
   width: 100%;
149
   width: 100%;
152
   height: 91px;
150
   height: 91px;
166
     font-size: 32px;
164
     font-size: 32px;
167
     font-weight: bold;
165
     font-weight: bold;
168
     color: #4c4c4c;
166
     color: #4c4c4c;
169
-    padding-top: 33px;
170
-    padding-bottom: 28px;
167
+    padding-top: 13px;
168
+    padding-bottom: 18px;
171
     border-bottom: 5px solid black;
169
     border-bottom: 5px solid black;
172
   }
170
   }
173
 }
171
 }
174
 
172
 
175
-.botton{
176
-  font-size: 28px;   
177
-  color: #C0C8D3;
173
+.botton {
174
+  font-size: 28px;
175
+  color: #c0c8d3;
178
   line-height: 34px;
176
   line-height: 34px;
179
   text-align: center;
177
   text-align: center;
180
-  padding:40px 0 100px 0;
178
+  padding: 10px 0 40px 0;
181
 }
179
 }
182
-

+ 2
- 2
src/shop/components/Sparead/spreadMoney.jsx View File

55
     <view>
55
     <view>
56
       <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
56
       <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
57
 
57
 
58
-      <view style={{ padding: '30rpx', height: '100%' }}>
58
+      <view style={{ padding: '0 15px 0 15px', height: '100%' }}>
59
         <scroll-view scrollY style={{ height: 'calc(100vh - 120px)' }}>
59
         <scroll-view scrollY style={{ height: 'calc(100vh - 120px)' }}>
60
 
60
 
61
           <view className='storexx'>
61
           <view className='storexx'>
70
                 <view className='lword'>全年推广收入(税前)</view>
70
                 <view className='lword'>全年推广收入(税前)</view>
71
                 <view className='yearMoney'>
71
                 <view className='yearMoney'>
72
                   <text>{isyear ? (shopMoney?.totalCharges / 100).toFixed(2) : '******'}</text>元
72
                   <text>{isyear ? (shopMoney?.totalCharges / 100).toFixed(2) : '******'}</text>元
73
-                  <image className='micon' src={isyear ? eyes :ceyes } onClick={handleYear} />
73
+                  <image className='micon' src={isyear ? eyes : ceyes} onClick={handleYear} />
74
                 </view>
74
                 </view>
75
               </view>
75
               </view>
76
               <view className='line' />
76
               <view className='line' />

+ 44
- 45
src/shop/components/Sparead/spreadMoney.less View File

1
-.User-box-sths{
1
+.User-box-sths {
2
   display: flex;
2
   display: flex;
3
-  margin: 40px 0  60px 0;
3
+  margin: 40px 0 60px 0;
4
   justify-content: space-around;
4
   justify-content: space-around;
5
   flex-wrap: wrap;
5
   flex-wrap: wrap;
6
-  .User-box-selectUser{
6
+  .User-box-selectUser {
7
     width: 100%;
7
     width: 100%;
8
     font-size: 32px;
8
     font-size: 32px;
9
     font-weight: bold;
9
     font-weight: bold;
10
     color: #202020;
10
     color: #202020;
11
     line-height: 32px;
11
     line-height: 32px;
12
-    margin: 60px 0 70px  0;
12
+    margin: 60px 0 70px 0;
13
     text-align: left;
13
     text-align: left;
14
   }
14
   }
15
-  .User-box-tourist{
15
+  .User-box-tourist {
16
     display: inline-block;
16
     display: inline-block;
17
 
17
 
18
-     .Ubs-tourist-image{
18
+    .Ubs-tourist-image {
19
       width: 86px;
19
       width: 86px;
20
       height: 86px;
20
       height: 86px;
21
-
22
     }
21
     }
23
-    .Ubs-tourist-text{
22
+    .Ubs-tourist-text {
24
       display: block;
23
       display: block;
25
       font-size: 30px;
24
       font-size: 30px;
26
       font-weight: bold;
25
       font-weight: bold;
27
-      color: #999999;      
26
+      color: #999999;
28
     }
27
     }
29
   }
28
   }
30
-  .User-box-hotelBoss{
29
+  .User-box-hotelBoss {
31
     display: inline-block;
30
     display: inline-block;
32
-    .Ubs-hotelBoss-image{
31
+    .Ubs-hotelBoss-image {
33
       width: 86px;
32
       width: 86px;
34
       height: 86px;
33
       height: 86px;
35
     }
34
     }
36
-    .Ubs-hotelBoss-text{
35
+    .Ubs-hotelBoss-text {
37
       display: block;
36
       display: block;
38
       font-size: 30px;
37
       font-size: 30px;
39
       font-weight: bold;
38
       font-weight: bold;
40
       color: #999999;
39
       color: #999999;
41
     }
40
     }
42
   }
41
   }
43
-  .User-box-shopBoss{
44
-    .Ubs-shopBoss-image{
42
+  .User-box-shopBoss {
43
+    .Ubs-shopBoss-image {
45
       width: 86px;
44
       width: 86px;
46
       height: 86px;
45
       height: 86px;
47
     }
46
     }
48
-    .Ubs-shopBoss-text{
47
+    .Ubs-shopBoss-text {
49
       display: block;
48
       display: block;
50
       font-size: 30px;
49
       font-size: 30px;
51
       font-weight: bold;
50
       font-weight: bold;
52
-      color:#202020;
51
+      color: #202020;
53
     }
52
     }
54
   }
53
   }
55
-
56
 }
54
 }
57
-.storexx{
55
+.storexx {
58
   text-align: center;
56
   text-align: center;
59
-  height: 342px;
60
-  background: #FFFFFF;
57
+  height: 300px;
58
+  background: #ffffff;
61
   box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.08);
59
   box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.08);
62
   border-radius: 24px;
60
   border-radius: 24px;
63
-  padding: 50px 30px 64px 40px;
61
+  padding: 20px 30px 34px 40px;
62
+
64
   box-sizing: border-box;
63
   box-sizing: border-box;
65
-  .storeName{
64
+  .storeName {
66
     height: 26px;
65
     height: 26px;
67
     font-size: 28px;
66
     font-size: 28px;
68
     font-weight: bold;
67
     font-weight: bold;
69
     color: #202020;
68
     color: #202020;
70
-    margin-bottom:27px;
69
+    margin-bottom: 27px;
71
   }
70
   }
72
-  .User-info-cutover{
71
+  .User-info-cutover {
73
     position: absolute;
72
     position: absolute;
74
     top: 60px;
73
     top: 60px;
75
     right: 60px;
74
     right: 60px;
76
-    .User-info-cutover-image{
75
+    .User-info-cutover-image {
77
       width: 36px;
76
       width: 36px;
78
       height: 36px;
77
       height: 36px;
79
     }
78
     }
80
   }
79
   }
81
-  .tip{
80
+  .tip {
82
     height: 23px;
81
     height: 23px;
83
     font-size: 24px;
82
     font-size: 24px;
84
     color: #666666;
83
     color: #666666;
85
     margin-bottom: 48px;
84
     margin-bottom: 48px;
86
   }
85
   }
87
-  .sleft{
86
+  .sleft {
88
     float: left;
87
     float: left;
89
-    .lword{
88
+    .lword {
90
       height: 25px;
89
       height: 25px;
91
       font-size: 26px;
90
       font-size: 26px;
92
       color: #666666;
91
       color: #666666;
93
-      margin-bottom: 40px;      
92
+      margin-bottom: 40px;
94
       margin-left: 1px;
93
       margin-left: 1px;
95
     }
94
     }
96
-    .yearMoney{
95
+    .yearMoney {
97
       height: 30px;
96
       height: 30px;
98
       font-size: 28px;
97
       font-size: 28px;
99
       font-weight: bold;
98
       font-weight: bold;
100
       color: #202020;
99
       color: #202020;
101
-      text{
100
+      text {
102
         font-size: 40px;
101
         font-size: 40px;
103
-        color: #FF3434
102
+        color: #ff3434;
104
       }
103
       }
105
-      .micon{
104
+      .micon {
106
         width: 38px;
105
         width: 38px;
107
         height: 22px;
106
         height: 22px;
108
         margin-left: 19px;
107
         margin-left: 19px;
109
       }
108
       }
110
     }
109
     }
111
   }
110
   }
112
-  .line{
111
+  .line {
113
     width: 2px;
112
     width: 2px;
114
     height: 128px;
113
     height: 128px;
115
     border-right: 2px dotted #202020;
114
     border-right: 2px dotted #202020;
118
     left: calc(50% - 1px);
117
     left: calc(50% - 1px);
119
     display: block;
118
     display: block;
120
   }
119
   }
121
-  .sright{
120
+  .sright {
122
     float: right;
121
     float: right;
123
     text-align: left;
122
     text-align: left;
124
-    .rword{
123
+    .rword {
125
       font-size: 26px;
124
       font-size: 26px;
126
       color: #666666;
125
       color: #666666;
127
       margin: 0 1px 47px 0;
126
       margin: 0 1px 47px 0;
128
       text-align: center;
127
       text-align: center;
129
     }
128
     }
130
-    .monthMoney{
129
+    .monthMoney {
131
       height: 24px;
130
       height: 24px;
132
       font-size: 28px;
131
       font-size: 28px;
133
       font-weight: bold;
132
       font-weight: bold;
134
       color: #202020;
133
       color: #202020;
135
       line-height: 24px;
134
       line-height: 24px;
136
-      text{
135
+      text {
137
         font-size: 40px;
136
         font-size: 40px;
138
-        color: #FF3434;
137
+        color: #ff3434;
139
       }
138
       }
140
-      .micon2{
139
+      .micon2 {
141
         width: 38px;
140
         width: 38px;
142
         height: 22px;
141
         height: 22px;
143
         margin-left: 23px;
142
         margin-left: 23px;
146
     }
145
     }
147
   }
146
   }
148
 }
147
 }
149
-.title{
148
+.title {
150
   font-size: 28px;
149
   font-size: 28px;
151
   color: #202020;
150
   color: #202020;
152
   line-height: 60px;
151
   line-height: 60px;
153
   margin: 62px 0 10px 1px;
152
   margin: 62px 0 10px 1px;
154
 }
153
 }
155
 
154
 
156
-.botton{
157
-  font-size: 28px;   
158
-  color: #C0C8D3;
155
+.botton {
156
+  font-size: 28px;
157
+  color: #c0c8d3;
159
   line-height: 34px;
158
   line-height: 34px;
160
   text-align: center;
159
   text-align: center;
161
-  padding:40px 0 100px 0;
160
+  padding: 40px 0 100px 0;
162
 }
161
 }