|
@@ -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
|
}
|
|
@@ -174,8 +173,8 @@ export default withLayout((props) => {
|
174
|
173
|
<view className='index-navbar'>
|
175
|
174
|
<CustomNav title={hotelName} />
|
176
|
175
|
</view>
|
177
|
|
- <view className='roomDetail' style={{ height: '100%', overflow: "hidden", }} >
|
178
|
|
- <scroll-view scrollY style={{ height: '87%' }}>
|
|
176
|
+ <view className='roomDetail' style={{ height: '100%', display: 'flex', flexDirection: 'column', overflow: 'hidden' }} >
|
|
177
|
+ <scroll-view scrollY style={{ height: '100%', position: 'relative', overflow: "hidden", flex: 'auto' }}>
|
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
|
|
- <view className='weui-cells__title'>其他指引</view>
|
243
|
|
- {
|
244
|
|
- extend == '' ? null :
|
245
|
|
- <view>
|
246
|
|
- {extend.map((item) => (
|
247
|
|
- <Extend key={item.extId} item={item} setReset={setReset} />
|
248
|
|
- ))}
|
249
|
|
- </view>
|
250
|
|
- }
|
251
|
|
- </view>
|
|
240
|
+ <view className='weui-cells__title'>其他指引</view>
|
|
241
|
+ {
|
|
242
|
+ extend == '' ? null :
|
|
243
|
+ <>
|
|
244
|
+ {extend.map((item) => (
|
|
245
|
+ <Extend key={item.extId} item={item} setReset={setReset} />
|
|
246
|
+ ))}
|
|
247
|
+ </>
|
|
248
|
+ }
|
252
|
249
|
</> : null
|
253
|
250
|
}
|
254
|
251
|
</mp-form>
|
|
@@ -263,8 +260,8 @@ export default withLayout((props) => {
|
263
|
260
|
</View>
|
264
|
261
|
</> : null
|
265
|
262
|
}
|
266
|
|
- <Button className='button-OK' onClick={sumbit}>确定</Button>
|
267
|
263
|
</scroll-view>
|
|
264
|
+ <Button className='button-OK' onClick={sumbit}>确定</Button>
|
268
|
265
|
</view>
|
269
|
266
|
</view>
|
270
|
267
|
)
|