Parcourir la source

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

李志伟 il y a 3 ans
Parent
révision
7e6c656b64

+ 1
- 1
src/hotel/pages/landlord/roomOrder/roomOrder.jsx Voir le fichier

@@ -4,7 +4,7 @@ import CustomNav from '@/components/CustomNav'
4 4
 import Taro from '@tarojs/taro'
5 5
 import { useModel } from '@/store'
6 6
 import copy from '@/assets/icons/landlord/copy.png'
7
-import {View,  Label, Image } from '@tarojs/components'
7
+import { View, Label, Image } from '@tarojs/components'
8 8
 import List from '@/components/List';
9 9
 import { getRoomOrderList, getHotelDetail } from '@/services/landlord'
10 10
 import './roomOrder.less'

+ 4
- 1
src/pages/index/index.jsx Voir le fichier

@@ -48,6 +48,7 @@ export default withLayout((props) => {
48 48
     setCurrentTab(index)
49 49
 
50 50
     if (index === 1) {
51
+      // 民宿离店消息
51 52
       withSubscribeMessage([TPL_MESSAGE_HOTEL_CHECK_OUT])
52 53
     }
53 54
   }
@@ -69,16 +70,18 @@ export default withLayout((props) => {
69 70
           settitleLogo(e?.logo || logo)
70 71
         })
71 72
       })
72
-    } else {
73 73
     }
74 74
   }, [roomId, hotelId])
75 75
 
76 76
   return (
77 77
     <view className='page-index'>
78
+      {/* 引导添加到我的小程序悬浮窗 */}
78 79
       <add-tips
79 80
         logo={tips}
80 81
         custom
81 82
         duration={-1} />
83
+
84
+
82 85
       <view className='index-navbar'>
83 86
         <CustomNav logo={titleLogo} title={titleRoom} />
84 87
       </view>

+ 1
- 2
src/pages/index/tabs/Recommend.jsx Voir le fichier

@@ -71,7 +71,6 @@ export default (props) => {
71 71
 
72 72
   return (
73 73
     <view style={{ height: '100%', overflow: 'hidden', display: 'flex', flexDirection: 'column' }}>
74
-      <OfficialAccount>s21</OfficialAccount>
75 74
       <view className='search' onClick={onSearch} >
76 75
         <input className='searchInput' disabled />
77 76
         <image className='searchicon' src={iconsearch} />
@@ -110,7 +109,7 @@ export default (props) => {
110 109
             <MasonryLayout
111 110
               itemKey='resourceNo'
112 111
               listData={listData}
113
-              render={(item, callback) => <Card item={item} onImageLoad={callback} />}
112
+              render={(item) => <Card item={item} />}
114 113
             />
115 114
           </view>
116 115
         </List>