李志伟 3 anos atrás
pai
commit
7086212c6a

+ 1
- 1
config/prod.js Ver arquivo

@@ -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 Ver arquivo

@@ -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
- 0
src/components/SlideView/style.less Ver arquivo

@@ -10,6 +10,7 @@
10 10
 
11 11
   .slideview-content {
12 12
     min-width: 100%;
13
+    width: 100%;
13 14
     display: inline-block;
14 15
     vertical-align: middle;
15 16
   }

+ 3
- 6
src/hotel/pages/landlord/addRoom/addRoom.jsx Ver arquivo

@@ -34,7 +34,6 @@ export default withLayout((props) => {
34 34
 
35 35
   const onRoomMap = () => {
36 36
     Taro.chooseLocation().then((res) => {
37
-      console.log("🚀 ~ file: addRoom.jsx ~ line 37 ~ Taro.chooseLocation ~ res", res)
38 37
       setRoomModel({ ...roomModel, location: res.longitude + ',' + res.latitude, locName: res.name, address: res.address })
39 38
     })
40 39
   }
@@ -175,7 +174,7 @@ export default withLayout((props) => {
175 174
         <CustomNav title={hotelName} />
176 175
       </view>
177 176
       <view className='roomDetail' style={{ height: '100%', overflow: "hidden", }} >
178
-        <scroll-view scrollY style={{ height: '87%' }}>
177
+        <scroll-view scrollY style={{ height: '100%' }}>
179 178
           <View id='det'>
180 179
             <Popup show={showCutover} onClose={onClose}>
181 180
               <View className='editword'>
@@ -238,17 +237,15 @@ export default withLayout((props) => {
238 237
               </mp-cell>
239 238
             </mp-cells>
240 239
             {roomId ? <>
241
-              <view>
242 240
                 <view className='weui-cells__title'>其他指引</view>
243 241
                 {
244 242
                   extend == '' ? null :
245
-                    <view>
243
+                    <>
246 244
                       {extend.map((item) => (
247 245
                         <Extend key={item.extId} item={item} setReset={setReset} />
248 246
                       ))}
249
-                    </view>
247
+                    </>
250 248
                 }
251
-              </view>
252 249
             </> : null
253 250
             }
254 251
           </mp-form>

+ 10
- 22
src/hotel/pages/landlord/addRoom/addRoom.less Ver arquivo

@@ -23,7 +23,6 @@
23 23
   }
24 24
 
25 25
   .adds {
26
-    width: 100%;
27 26
     background-color: #fff;
28 27
     border-radius: 12px;
29 28
     font-weight: bold;
@@ -36,7 +35,7 @@
36 35
     }
37 36
     .add {
38 37
       position: absolute;
39
-      right: 90px;
38
+      right: 30px;
40 39
       height: 60px;
41 40
       top: calc(50% - 30px);
42 41
       width: 170px;
@@ -55,28 +54,17 @@
55 54
       }
56 55
     }
57 56
   }
58
-  .button-OK {
59
-    // height: 92px;
60
-    // background: #274291;
61
-    // margin: 60px 0 30px 0;
62
-    // letter-spacing: 5px;
63
-    // line-height: 92px;
64
-    // border-radius: 12px;
65
-    // font-size: 30px;
66
-    // font-weight: bold;
67
-    // color: #fff;
68
-    /* height: 95rpx; */
69 57
 
58
+  .button-OK {
59
+    height: 92px;
70 60
     background: #274291;
71
-    margin: 60rpx 0 30rpx 0;
72
-    letter-spacing: 5rpx;
73
-    line-height: 92rpx;
74
-    border-radius: 12rpx;
75
-    font-size: 30rpx;
61
+    margin: 60px 0 30px 0;
62
+    letter-spacing: 5px;
63
+    line-height: 92px;
64
+    border-radius: 12px;
65
+    font-size: 30px;
76 66
     font-weight: bold;
77 67
     color: #fff;
78
-    position: fixed;
79
-    top: 37em;
80
-    width: 23em;
81 68
   }
82
-}
69
+
70
+}