李志伟 3 年 前
コミット
7a4a23cbb7

+ 1
- 1
config/prod.js ファイルの表示

@@ -3,7 +3,7 @@ module.exports = {
3 3
     NODE_ENV: '"production"'
4 4
   },
5 5
   defineConstants: {
6
-    HOST: '"https://sgl-v2.njyunzhi.com"',
6
+    HOST: '"https://sgl-v2-test.njyunzhi.com"',
7 7
     OSS: '"yz-shigongli.oss-accelerate.aliyuncs.com"',
8 8
   },
9 9
   mini: {},

+ 1
- 1
project.config.json ファイルの表示

@@ -2,7 +2,7 @@
2 2
   "miniprogramRoot": "./dist",
3 3
   "projectname": "miniapp",
4 4
   "description": "十公里",
5
-  "appid": "wx06a7372d48d56843",
5
+  "appid": "wx835627a9b9b3932a",
6 6
   "setting": {
7 7
     "urlCheck": true,
8 8
     "es6": false,

+ 1
- 1
src/hotel/components/Income/income.less ファイルの表示

@@ -163,5 +163,5 @@
163 163
   color: #c0c8d3;
164 164
   line-height: 34px;
165 165
   text-align: center;
166
-  padding: 40px 0 100px 0;
166
+  padding: 40px 0;
167 167
 }

+ 1
- 1
src/pages/MineUserAll/Collect/style.less ファイルの表示

@@ -4,7 +4,7 @@
4 4
     font-size: 28px;
5 5
     color: #C0C8D3;
6 6
     text-align: center;
7
-    padding:40px 0 50px 0;
7
+    padding:40px 0;
8 8
     background-color: #F8F8F8;
9 9
   } 
10 10
 }

+ 1
- 1
src/pages/details/foodDetails/foodDetails.less ファイルの表示

@@ -138,6 +138,6 @@
138 138
   color: #c0c8d3;
139 139
   line-height: 34px;
140 140
   text-align: center;
141
-  padding: 40px 0 68px 0;
141
+  padding: 40px 0;
142 142
   background-color: #f8f8f8;
143 143
 }

+ 1
- 1
src/pages/details/mjDetails/sceneryDetails.less ファイルの表示

@@ -126,6 +126,6 @@
126 126
   color: #c0c8d3;
127 127
   line-height: 34px;
128 128
   text-align: center;
129
-  padding: 40px 0 60px 0;
129
+  padding: 40px 0;
130 130
   background-color: #f8f8f8;
131 131
 }

+ 1
- 1
src/pages/index/tabs/less/Recommend.less ファイルの表示

@@ -32,7 +32,7 @@
32 32
   font-size: 28px;
33 33
   color: #C0C8D3;
34 34
   text-align: center;
35
-  padding:40px 0 50px 0;
35
+  padding:40px 0;
36 36
   background-color: #F8F8F8;
37 37
 } 
38 38
 .index-tabs {

+ 1
- 1
src/pages/searchResult/searchResult.less ファイルの表示

@@ -38,7 +38,7 @@
38 38
   font-size: 28px;
39 39
   color: #C0C8D3;
40 40
   text-align: center;
41
-  padding:40px 0 50px 0;
41
+  padding:40px 0;
42 42
   background-color: #F8F8F8;
43 43
 } 
44 44
 .index-tabs {

+ 6
- 16
src/shop/components/ShopKeeper/shopKeeper.jsx ファイルの表示

@@ -111,12 +111,10 @@ export default (props) => {
111 111
     setShowCutover(false)
112 112
   }
113 113
   return (
114
-    <view>
115
-      <view>
116
-      </view>
114
+    <view style={{height:'100%'}}>
117 115
       <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
118
-      <view style={{ padding: '0 15px 0 15px', height: '100%' }}>
119
-        <view className='storexx'>
116
+      <view style={{ padding: '0 15px 0 15px', height: '100%',display:'flex' ,flexDirection:'column' }}>
117
+        <view className='storexx' style={{flex:'none'}}>
120 118
           <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder='请选择商铺' value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
121 119
           <view onClick={ShowMoldeOn} className='User-info-cutover'>
122 120
             <image className='User-info-cutover-image' src={cutoverUser} />
@@ -140,10 +138,10 @@ export default (props) => {
140 138
               </view></view>
141 139
           </view>
142 140
         </view>
143
-        <view className='search'>
141
+        <view className='search' style={{flex:'none'}}>
144 142
           <SearchBar placeholder='搜索订单(输入客户手机号码)' onBlur={handelSearch} />
145 143
         </view>
146
-        <view className='index-tabs'>
144
+        <view className='index-tabs' style={{flex:'none'}}>
147 145
           <mp-tabs
148 146
             tabClass='tabs-Unselected'
149 147
             swiperClass='tabs-swiper'
@@ -155,11 +153,9 @@ export default (props) => {
155 153
           >
156 154
           </mp-tabs>
157 155
         </view>
158
-        <view  >
156
+        <view style={{flex:1,overflow:'hidden'}}>
159 157
           {/* 未核销 */}
160 158
           {activeTab === 0 &&
161
-            <view style={{ height: '45vh' }}>
162
-
163 159
               <List
164 160
                 style={{ height: '100%' }}
165 161
                 request={getVerifiedOrder}
@@ -172,12 +168,9 @@ export default (props) => {
172 168
                   <ShopUnused key={(index)} item={item} />}
173 169
               >
174 170
               </List>
175
-            </view>
176
-
177 171
           }
178 172
           {/* 已核销 */}
179 173
           {activeTab === 1 &&
180
-            <view style={{ height: '45vh' }}>
181 174
               <List
182 175
                 style={{ height: '100%' }}
183 176
                 noData={<NoData />}
@@ -186,12 +179,9 @@ export default (props) => {
186 179
                 refresherEnabled={refres}
187 180
                 onDataChange={setAllList}
188 181
                 refresOff={refresOff}
189
-
190 182
                 render={({ item, index }) => <ShopUsed verifiedOrder={verifiedOrder} key={(index)} item={item} />}
191 183
               >
192 184
               </List>
193
-            </view>
194
-
195 185
           }
196 186
         </view>
197 187
       </view>

+ 0
- 8
src/shop/components/ShopKeeper/shopKeeper.less ファイルの表示

@@ -76,11 +76,3 @@
76 76
     border-bottom: 5px solid black;
77 77
   }
78 78
 }
79
-
80
-.botton {
81
-  font-size: 28px;
82
-  color: #c0c8d3;
83
-  line-height: 34px;
84
-  text-align: center;
85
-  padding: 10px 0 40px 0;
86
-}

+ 36
- 40
src/shop/components/Sparead/spreadMoney.jsx ファイルの表示

@@ -10,6 +10,7 @@ import cutoverUser from '@/assets/icons/UserCenter/cutoverUser.png'
10 10
 import NoData from '@/components/NoData'
11 11
 import ToggleRole from '@/components/toggleRole/ToggleRole'
12 12
 import './spreadMoney.less'
13
+import { View } from '@tarojs/components';
13 14
 
14 15
 const getList = (id) => (params) => getAccount(id, params)
15 16
 
@@ -50,50 +51,45 @@ export default (props) => {
50 51
   }
51 52
 
52 53
   return (
53
-    <view>
54
-
55
-      <view style={{ padding: '0 15px 0 15px', height: '100%' }}>
54
+    <view style={{ padding: '0 15px 0 15px', height: '100%', display: 'flex', flexDirection: 'column' }}>
55
+      <View style={{ flex: 'none' }}>
56 56
         <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
57
-
58
-        <view className='storexx'>
59
-
60
-          <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder="请选择商铺" value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
61
-          <view onClick={ShowMoldeOn} className='User-info-cutover'>
62
-            <image className='User-info-cutover-image' src={cutoverUser} />
63
-          </view>
64
-          <view className='tip'>(计算收入以核销为准)</view>
65
-          <view className='money'>
66
-            <view className='sleft'>
67
-              <view className='lword'>全年推广收入(税前)</view>
68
-              <view className='yearMoney'>
69
-                <text>{isyear ? (shopMoney?.totalCharges / 100).toFixed(2) : '******'}</text>元
70
-                <image className='micon' src={isyear ? eyes : ceyes} onClick={handleYear} />
71
-              </view>
57
+      </View>
58
+      <view className='storexx' style={{ flex: 'none' }}>
59
+        <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder="请选择商铺" value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
60
+        <view onClick={ShowMoldeOn} className='User-info-cutover'>
61
+          <image className='User-info-cutover-image' src={cutoverUser} />
62
+        </view>
63
+        <view className='tip'>(计算收入以核销为准)</view>
64
+        <view className='money'>
65
+          <view className='sleft'>
66
+            <view className='lword'>全年推广收入(税前)</view>
67
+            <view className='yearMoney'>
68
+              <text>{isyear ? (shopMoney?.totalCharges / 100).toFixed(2) : '******'}</text>元
69
+              <image className='micon' src={isyear ? eyes : ceyes} onClick={handleYear} />
72 70
             </view>
73
-            <view className='line' />
74
-            <view className='sright'>
75
-              <view className='rword'>当月推广收入(税前)</view>
76
-              <view className='monthMoney'>
77
-                <text>{isMomth ? (shopMoney?.currentCharges / 100).toFixed(2) : '******'}</text>元
78
-                <image className='micon2' src={isMomth ? eyes : ceyes} onClick={handleMonth}></image>
79
-              </view></view>
80 71
           </view>
72
+          <view className='line' />
73
+          <view className='sright'>
74
+            <view className='rword'>当月推广收入(税前)</view>
75
+            <view className='monthMoney'>
76
+              <text>{isMomth ? (shopMoney?.currentCharges / 100).toFixed(2) : '******'}</text>元
77
+              <image className='micon2' src={isMomth ? eyes : ceyes} onClick={handleMonth}></image>
78
+            </view></view>
81 79
         </view>
82
-
83
-        <view className='title'>推广收入记录</view>
84
-        <view style={{ height: '50vh' }}>
85
-
86
-          <List
87
-            style={{ height: '100%' }}
88
-            request={reqestAPI}
89
-            params={queryParams}
90
-            noData={<NoData />}
91
-            refresherEnabled
92
-            render={({ item, index }) => <ShopCommission key={(index)} item={item} />}
93
-          >
94
-          </List>
95
-        </view>
96 80
       </view>
97
-    </view >
81
+      <view className='title' style={{ flex: 'none' }}>推广收入记录</view>
82
+      <view style={{ flex: 1, overflow: 'hidden' }}>
83
+        <List
84
+          style={{ height: '100%' }}
85
+          request={reqestAPI}
86
+          params={queryParams}
87
+          noData={<NoData />}
88
+          refresherEnabled
89
+          render={({ item, index }) => <ShopCommission key={(index)} item={item} />}
90
+        >
91
+        </List>
92
+      </view>
93
+    </view>
98 94
   )
99 95
 }

+ 1
- 1
src/shop/components/Sparead/spreadMoney.less ファイルの表示

@@ -157,5 +157,5 @@
157 157
   color: #c0c8d3;
158 158
   line-height: 34px;
159 159
   text-align: center;
160
-  padding: 40px 0 100px 0;
160
+  padding: 40px 0;
161 161
 }

+ 0
- 1
src/shop/pages/spread/spreadIndex.config.js ファイルの表示

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