吃个甘蔗嚼一年 3 年前
父节点
当前提交
5fe2e72f73

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

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

+ 0
- 1
src/components/CollectList/MyCollect/index.jsx 查看文件

113
             </view>
113
             </view>
114
           )
114
           )
115
         }
115
         }
116
-
117
       </View>
116
       </View>
118
     </View>
117
     </View>
119
 
118
 

+ 7
- 5
src/components/CollectList/MyCollect/style.less 查看文件

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

+ 5
- 5
src/components/Star/Star.jsx 查看文件

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

+ 1
- 1
src/components/Star/Star.less 查看文件

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

+ 8
- 12
src/pages/RoomOrder/components/RoomForm/index.jsx 查看文件

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

+ 4
- 3
src/pages/index/tabs/Guide.jsx 查看文件

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

+ 2
- 1
src/pages/index/tabs/GuideCss/style.less 查看文件

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