|
@@ -107,7 +107,8 @@ export default (props) => {
|
107
|
107
|
}
|
108
|
108
|
})
|
109
|
109
|
|
110
|
|
-
|
|
110
|
+ const parkingGps = taRoomContent?.parkingLocation
|
|
111
|
+ const roomGps = taRoomContent?.location
|
111
|
112
|
useEffect(() => {
|
112
|
113
|
|
113
|
114
|
if (roomId) {
|
|
@@ -208,33 +209,44 @@ export default (props) => {
|
208
|
209
|
</view>
|
209
|
210
|
</view>
|
210
|
211
|
{/* --------房屋位置-------- */}
|
211
|
|
-
|
212
|
|
- <view className='room-box-info-HouLocation'>
|
213
|
|
- <view className='room-bi-name-HouLocation' >
|
214
|
|
- <view className='room-bin-title-HouLocation'>房屋位置</view>
|
215
|
|
- <view className='room-bint-nameInfo-HouLocation'>
|
216
|
|
- <view className='room-bint-nameInfo-bool-HouLocation' >{taRoomContent?.address}</view>
|
217
|
|
- <view className='room-bintn-button-HouLocation' onClick={() => { goRoomMap() }} style={{ display: wifiButtonStyle }}>
|
218
|
|
- <image className='room-bintn-image-HouLocation' src={GPS} />
|
219
|
|
- <text className='room-bintn-text-HouLocation'>去这里</text>
|
|
212
|
+ {
|
|
213
|
+ !roomGps ? <view></view>
|
|
214
|
+ :
|
|
215
|
+ <view className='room-box-info-HouLocation'>
|
|
216
|
+ <view className='room-bi-name-HouLocation' >
|
|
217
|
+ <view className='room-bin-title-HouLocation'>房屋位置</view>
|
|
218
|
+ <view className='room-bint-nameInfo-HouLocation'>
|
|
219
|
+ <view className='room-bint-nameInfo-bool-HouLocation' >{taRoomContent?.address}</view>
|
|
220
|
+ <view className='room-bintn-button-HouLocation' onClick={() => { goRoomMap() }} style={{ display: wifiButtonStyle }}>
|
|
221
|
+ <image className='room-bintn-image-HouLocation' src={GPS} />
|
|
222
|
+ <text className='room-bintn-text-HouLocation'>去这里</text>
|
|
223
|
+ </view>
|
|
224
|
+ </view>
|
220
|
225
|
</view>
|
221
|
226
|
</view>
|
222
|
|
- </view>
|
223
|
|
- </view>
|
224
|
|
- {/* --------停车场-------- */}
|
225
|
227
|
|
226
|
|
- <view className='room-box-info-Parking'>
|
227
|
|
- <view className='room-bi-name-Parking' >
|
228
|
|
- <view className='room-bin-title-Parking'>停车位置</view>
|
229
|
|
- <view className='room-bint-nameInfo-Parking'>
|
230
|
|
- <view className='room-bint-nameInfo-bool-Parking' >{taRoomContent?.parkingAddress}</view>
|
231
|
|
- <view className='room-bintn-button-Parking' onClick={() => { goParkMap() }} style={{ display: wifiButtonStyle }}>
|
232
|
|
- <image className='room-bintn-image-Parking' src={GPS} />
|
233
|
|
- <text className='room-bintn-text-Parking'>去这里</text>
|
|
228
|
+ }
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+ {/* --------停车场-------- */}
|
|
232
|
+ {
|
|
233
|
+ !parkingGps ? <view></view>
|
|
234
|
+ :
|
|
235
|
+ <view className='room-box-info-Parking'>
|
|
236
|
+ <view className='room-bi-name-Parking' >
|
|
237
|
+ <view className='room-bin-title-Parking'>停车位置</view>
|
|
238
|
+ <view className='room-bint-nameInfo-Parking'>
|
|
239
|
+ <view className='room-bint-nameInfo-bool-Parking' >{taRoomContent?.parkingAddress}</view>
|
|
240
|
+ <view className='room-bintn-button-Parking' onClick={() => { goParkMap() }} style={{ display: wifiButtonStyle }}>
|
|
241
|
+ <image className='room-bintn-image-Parking' src={GPS} />
|
|
242
|
+ <text className='room-bintn-text-Parking'>去这里</text>
|
|
243
|
+ </view>
|
|
244
|
+ </view>
|
234
|
245
|
</view>
|
235
|
246
|
</view>
|
236
|
|
- </view>
|
237
|
|
- </view>
|
|
247
|
+
|
|
248
|
+ }
|
|
249
|
+
|
238
|
250
|
|
239
|
251
|
{/* --------无线网-------- */}
|
240
|
252
|
<view className='room-box-info-WIFIContent'>
|