|
@@ -150,25 +150,26 @@ export default React.forwardRef((props, ref) => {
|
150
|
150
|
setShowCutover3(false)
|
151
|
151
|
}
|
152
|
152
|
return (
|
153
|
|
- <view>
|
154
|
|
- <view style={{ padding: '0 30rpx', height: '100%' }}>
|
155
|
|
- <ToggleRole role='hotel' showCutover={showCutover3} maskClosable={showCutover3} onClose={onClose3} />
|
156
|
|
- <View>
|
157
|
|
- <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder="请选择民宿" value={hotel?.hotelId} kv={['hotelName', 'hotelId']} dicts={hotelList} onChange={handleHotelChange} /></view>
|
158
|
|
- <view onClick={ShowMoldeOn3} className='User-info-cutover'>
|
159
|
|
- <image className='User-info-cutover-image' src={cutoverUser} />
|
160
|
|
- </view>
|
161
|
|
- </View>
|
|
153
|
+ <View style={{ padding: '0 30rpx', height: '100%', display: 'flex', flexDirection: 'column' }}>
|
|
154
|
+ <ToggleRole role='hotel' showCutover={showCutover3} maskClosable={showCutover3} onClose={onClose3} />
|
|
155
|
+ <View style={{ flex: 'none' }}>
|
|
156
|
+ <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder="请选择民宿" value={hotel?.hotelId} kv={['hotelName', 'hotelId']} dicts={hotelList} onChange={handleHotelChange} /></view>
|
|
157
|
+ <view onClick={ShowMoldeOn3} className='User-info-cutover'>
|
|
158
|
+ <image className='User-info-cutover-image' src={cutoverUser} />
|
|
159
|
+ </view>
|
|
160
|
+ </View>
|
|
161
|
+ <View style={{ flex: 'none' }}>
|
162
|
162
|
<SearchBar placeholder='请输入房源名搜索' onBlur={onSearch} />
|
163
|
|
- <ShareRoom showCutover={showCutover} onClose={onClose} room={room} onFinish={handleFinish} />
|
164
|
|
- <ShareCard showCutover={showCard} onClose={onClose2} />
|
|
163
|
+ </View>
|
|
164
|
+ <ShareRoom showCutover={showCutover} onClose={onClose} room={room} onFinish={handleFinish} />
|
|
165
|
+ <ShareCard showCutover={showCard} onClose={onClose2} />
|
|
166
|
+ <View style={{ flex: 'auto', overflow: 'hidden', position: 'relative' }}>
|
165
|
167
|
<List
|
166
|
|
- style={{ height: 'calc(100vh - 290px)' }}
|
|
168
|
+ style={{ height: '100%' }}
|
167
|
169
|
request={getRoomList}
|
168
|
170
|
params={queryParams}
|
169
|
171
|
onDataChange={setDetail}
|
170
|
172
|
refresherEnabled={false}
|
171
|
|
-
|
172
|
173
|
noData="暂无房源信息"
|
173
|
174
|
>
|
174
|
175
|
<view className='waterfall'>
|
|
@@ -185,11 +186,10 @@ export default React.forwardRef((props, ref) => {
|
185
|
186
|
}
|
186
|
187
|
</view>
|
187
|
188
|
</List>
|
188
|
|
- </view>
|
189
|
|
- <view className='addHouse' onClick={handelClick}>
|
190
|
|
- <image className='addImg' src={addImg} />添加房源
|
191
|
|
- </view>
|
192
|
|
-
|
193
|
|
- </view>
|
|
189
|
+ </View>
|
|
190
|
+ <View className='addHouse' onClick={handelClick} style={{ flex: 'none' }}>
|
|
191
|
+ <Image className='addImg' src={addImg} />添加房源
|
|
192
|
+ </View>
|
|
193
|
+ </View>
|
194
|
194
|
)
|
195
|
|
-})
|
|
195
|
+})
|