Преглед изворни кода

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

李志伟 пре 3 година
родитељ
комит
f0e71da935

+ 4
- 3
src/components/BossCard/style.less Прегледај датотеку

@@ -60,15 +60,15 @@
60 60
       font-size: 30px;
61 61
       font-weight: bold;
62 62
       color: #ffffff;
63
+
63 64
     }
64 65
   }
66
+
65 67
   .wrapper {
66 68
     display: flex;
67 69
     position: relative;
68
-    // margin-top: 600px;
69 70
     margin: 30px auto;
70 71
     width: 700px;
71
-
72 72
     // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
73 73
     // filter: drop-shadow(5px 8px 6px rgb(202, 202, 202));
74 74
     filter: drop-shadow(0 0 0.9rem rgba(0, 0, 0, 0.12));
@@ -159,9 +159,10 @@
159 159
         }
160 160
         .title-money-2 {
161 161
           font-size: 18px;
162
-          color: #666;
163 162
           padding-left: 10px;
164 163
           text-decoration: line-through;
164
+          color: rgba(102, 102, 102, 0.8);
165
+
165 166
         }
166 167
 
167 168
         .title-time {

+ 0
- 1
src/components/CollectList/MyCollect/index.jsx Прегледај датотеку

@@ -113,7 +113,6 @@ export default (props) => {
113 113
             </view>
114 114
           )
115 115
         }
116
-
117 116
       </View>
118 117
     </View>
119 118
 

+ 7
- 5
src/components/CollectList/MyCollect/style.less Прегледај датотеку

@@ -16,7 +16,7 @@
16 16
     width: auto;
17 17
     height: 44.3px;
18 18
     position: absolute;
19
-    left: 200px;
19
+    left: 183px;
20 20
     top: 28px;
21 21
     font-size: 20px;
22 22
     color: @whiteColor;
@@ -120,7 +120,8 @@
120 120
       }
121 121
       .title-money-2 {
122 122
         font-size: 18px;
123
-        color: #666;
123
+        color: rgba(102, 102, 102, 0.8);
124
+
124 125
         padding-left: 10px;
125 126
         text-decoration: line-through;
126 127
       }
@@ -184,7 +185,7 @@
184 185
   position: relative;
185 186
   //右面部分
186 187
   .right-content {
187
-    width: 60px;
188
+    width: 50%;
188 189
     height: 134px;
189 190
     position: absolute;
190 191
     top: calc(50% - 45px);
@@ -230,7 +231,7 @@
230 231
     width: auto;
231 232
     height: 44.3px;
232 233
     position: absolute;
233
-    left: 200px;
234
+    left: 183px;
234 235
     top: 28px;
235 236
     font-size: 20px;
236 237
     color: @whiteColor;
@@ -342,7 +343,8 @@
342 343
       }
343 344
       .title-money-2 {
344 345
         font-size: 18px;
345
-        color: #666;
346
+        color: rgba(102, 102, 102, 0.8);
347
+
346 348
         padding-left: 10px;
347 349
         text-decoration: line-through;
348 350
       }

+ 5
- 5
src/components/Star/Star.jsx Прегледај датотеку

@@ -2,19 +2,19 @@ import hongxin from '@/assets/icons/housemantj/已收藏.png'
2 2
 import baixin from '@/assets/icons/housemantj/收藏.png'
3 3
 import './Star.less'
4 4
 
5
-const Star = (props) => <image className='star' src={props.star >= props.index ? hongxin : baixin}></image>
5
+const Star = (props) => <image className='star-image' src={props.star >= props.index ? hongxin : baixin}></image>
6 6
 
7 7
 const starList = (new Array(5)).fill()
8 8
 
9 9
 export default (props) => {
10
-  const {star}=props
10
+  const { star } = props
11 11
 
12 12
 
13 13
   return (
14 14
     <>
15
-    {
16
-      starList.map((_, index) => <Star key={index} star={star} index={index + 1} />)
17
-    }
15
+      {
16
+        starList.map((_, index) => <Star key={index} star={star} index={index + 1} />)
17
+      }
18 18
     </>
19 19
   )
20 20
 }

+ 1
- 1
src/components/Star/Star.less Прегледај датотеку

@@ -1,4 +1,4 @@
1
-image{
1
+.star-image{
2 2
   width: 24px;
3 3
   height: 24px;
4 4
   margin-right: 10px;

+ 8
- 12
src/pages/RoomOrder/components/RoomForm/index.jsx Прегледај датотеку

@@ -1,20 +1,16 @@
1 1
 import { useState, useEffect } from 'react'
2
-import Taro from '@tarojs/taro'
3
-import { Text, Input } from '@tarojs/components'
2
+import Taro, { useShareTimeline } from '@tarojs/taro'
3
+import { View, Input } from '@tarojs/components'
4 4
 import './style.less'
5
-import { useShareTimeline } from '@tarojs/taro'
6 5
 
7 6
 
8 7
 
9 8
 export default (props) => {
10 9
   const { onChange } = props
11
-
12 10
   const [customerName, setCustomerName] = useState()
13 11
   const [customerPhone, setCustomerPhone] = useState()
14 12
 
15 13
 
16
-
17
-
18 14
   const handeInput = (e, key) => {
19 15
     const value = e.detail.value
20 16
 
@@ -31,17 +27,17 @@ export default (props) => {
31 27
 
32 28
 
33 29
   return (
34
-    <view className='from-room'  >
30
+    <View className='from-room'  >
35 31
       <mp-form >
36
-        <mp-cells title='请填写姓名手机号' footer='  '>
32
+        <mp-cells title='入住人信息填写' footer='  '>
37 33
           <mp-cell prop='customerName' title='姓名:' extClass=''>
38
-            <input onInput={(e) => handeInput(e, 'customerName')} focus dataField='name' className='weui-input' placeholder='请输入姓名' />
34
+            <Input onInput={(e) => handeInput(e, 'customerName')} focus dataField='name' className='weui-input' placeholder='请输入姓名' />
39 35
           </mp-cell>
40 36
           <mp-cell prop='customerPhone' title='手机号:' extClass=''>
41
-            <input type='number' onInput={(e) => handeInput(e, 'customerPhone')} dataField='mobile' className='weui-input' placeholder='请输入手机号' />
37
+            <Input type='number' onInput={(e) => handeInput(e, 'customerPhone')} dataField='mobile' className='weui-input' placeholder='请输入手机号' />
42 38
           </mp-cell>
43 39
         </mp-cells>
44 40
       </mp-form>
45
-    </view>
41
+    </View>
46 42
   )
47
-}
43
+}

+ 4
- 3
src/pages/index/tabs/Guide.jsx Прегледај датотеку

@@ -10,7 +10,7 @@ import BlackSpot from '@/assets/icons/GuideCheck/BlackSpot.png'
10 10
 import { getRecommendList, getExtendContent } from '@/services/home'
11 11
 import sleep from '@/assets/icons/GuideCheck/sleep_logo.png'
12 12
 import { getTaRoom, goToRoomForm } from '@/services/taRoom​'
13
-import  useTrackClick from '@/utils/hooks/useTrackClick'
13
+import useTrackClick from '@/utils/hooks/useTrackClick'
14 14
 import showMore from '../../../assets/icons/housemantj/查看更多.png'
15 15
 import './GuideCss/style.less'
16 16
 
@@ -27,8 +27,8 @@ export default (props) => {
27 27
   const [spackage, setPackage] = useState([])
28 28
 
29 29
   const cardNavigateTo = undefined
30
-  
31
-  const trackClick = useTrackClick(router)
30
+
31
+  const trackClick = useTrackClick(router)
32 32
 
33 33
   // 住宿经纬度
34 34
   const Roomlog = useRef('')
@@ -235,6 +235,7 @@ export default (props) => {
235 235
                   <view className='MessageCard-name' >名称:{taRoomContent?.wifiName}</view>
236 236
                   <view className='MessageCard-info'  ><text className='MessageCard-name'>密码:</text>{taRoomContent?.wifiPassword}</view>
237 237
                 </view>
238
+
238 239
                 <view className='MessageCard-button' onClick={() => { wifiCopy() }} style={{ display: wifiButtonStyle }}>
239 240
                   <image className='MessageCard-image' src={WiFi} />
240 241
                   <text className='MessageCard-text'>复制</text>

+ 2
- 1
src/pages/index/tabs/GuideCss/style.less Прегледај датотеку

@@ -40,6 +40,7 @@
40 40
       margin-left: 30px;
41 41
 
42 42
       .MessageCard-name {
43
+        width: 400px;
43 44
         height: 40px;
44 45
         font-size: 32px;
45 46
         font-weight: bold;
@@ -251,7 +252,7 @@
251 252
       width: auto;
252 253
       height: 44.3px;
253 254
       position: absolute;
254
-      left: 200px;
255
+      left: 183px;
255 256
       top: 28px;
256 257
       font-size: 20px;
257 258
       color: @whiteColor;