|
@@ -69,58 +69,7 @@ export default (props) => {
|
69
|
69
|
|
70
|
70
|
useDidShow(() => {
|
71
|
71
|
goContent()
|
72
|
|
- if (roomId) {
|
73
|
|
- // 点击’去这里‘跳转导航
|
74
|
|
- setLoading(true)
|
75
|
|
- getTaRoom(roomId).then((res) => {
|
76
|
|
- Roomlog.current = (!res.location).toString().split(',')[0]
|
77
|
|
- Roomlat.current = (!res.location).toString().split(',')[1]
|
78
|
|
- Parklog.current = (!res.parkingLocation).toString().split(',')[0]
|
79
|
|
- Parklat.current = (!res.parkingLocation).toString().split(',')[1]
|
80
|
|
- setTaRoomContent(res || [])
|
81
|
|
- setLoading(false)
|
82
|
72
|
|
83
|
|
- })
|
84
|
|
- //更多指引
|
85
|
|
- setLoading(true)
|
86
|
|
-
|
87
|
|
- getExtendContent('room', roomId, {
|
88
|
|
- pageNum: 99,
|
89
|
|
- pageSize: 999,
|
90
|
|
-
|
91
|
|
- }).then((res) => {
|
92
|
|
- // setExtend(res.records || [])
|
93
|
|
- setExtend(res.records)
|
94
|
|
-
|
95
|
|
- setIfroomId('reality')
|
96
|
|
-
|
97
|
|
- setLoading(false)
|
98
|
|
-
|
99
|
|
- })
|
100
|
|
- setLoading(true)
|
101
|
|
-
|
102
|
|
- getRecommendList({ location: location }).then((res) => {
|
103
|
|
- setPackage(res || [])
|
104
|
|
- setLoading(false)
|
105
|
|
-
|
106
|
|
- })
|
107
|
|
-
|
108
|
|
- } else {
|
109
|
|
- setLoading(true)
|
110
|
|
-
|
111
|
|
- getRecommendList({ location: location }).then((res) => {
|
112
|
|
- setPackage(res || [])
|
113
|
|
- setLoading(false)
|
114
|
|
-
|
115
|
|
- })
|
116
|
|
- return
|
117
|
|
- }
|
118
|
|
- if (taRoomContent?.wifiPassword === "") {
|
119
|
|
- setWifiButtonStyle('none')
|
120
|
|
- }
|
121
|
|
- if (taRoomContent?.parkingAddress === "") {
|
122
|
|
- setParkingButtonStyle('none')
|
123
|
|
- }
|
124
|
73
|
})
|
125
|
74
|
const geiZy = () => {
|
126
|
75
|
setLoading(true)
|
|
@@ -233,7 +182,6 @@ export default (props) => {
|
233
|
182
|
{
|
234
|
183
|
ifroomId === 'reality' && (
|
235
|
184
|
<view>
|
236
|
|
-
|
237
|
185
|
<view className='room-box-info-ROOM'>
|
238
|
186
|
<view className='room-bi-name-ROOM' >
|
239
|
187
|
<view className='room-bin-title-ROOM'>房屋名称</view>
|