| xqd
@@ -178,8 +178,7 @@
|
|
|
</view>
|
|
|
<view style="height: 110rpx;"></view>
|
|
|
<tab-bar></tab-bar>
|
|
|
- <!-- 弹出层/核销码 -->
|
|
|
- <dialogPanel ref="dialogPanel"/>
|
|
|
+
|
|
|
</view>
|
|
|
</template>
|
|
|
|
| xqd
@@ -456,7 +455,7 @@
|
|
|
})
|
|
|
this.$refs.map.updateContent(this.hotelList, true);
|
|
|
if(res.data.data.length >= 15){
|
|
|
- // this.requestHotelPage(tempobj)
|
|
|
+ this.requestHotelPage(tempobj)
|
|
|
}else if(this.beginConfig.hotel_id&&this.beginConfig.isBegin){
|
|
|
let targetIndex = 0;
|
|
|
|
| xqd
@@ -481,25 +480,10 @@
|
|
|
},
|
|
|
//去预定页面
|
|
|
goBook(index) {
|
|
|
- if(!this.$store.getters.userInfo){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages/login/login'
|
|
|
- })
|
|
|
- return;
|
|
|
- }
|
|
|
const hotel = this.hotelList[index];
|
|
|
- if(hotel.buy_jump_type == 1 || hotel.buy_jump_type == 2){
|
|
|
- this.$utils.jump({
|
|
|
- jump_type: hotel.buy_jump_type,
|
|
|
- jump_config: hotel.buy_jump_config
|
|
|
- })
|
|
|
- }else if(hotel.buy_jump_type == 3){
|
|
|
- this.$refs.dialogPanel.show(hotel.buy_jump_config);
|
|
|
- }else if(hotel.buy_jump_type == 4){
|
|
|
- uni.navigateTo({
|
|
|
- url: `/pages/map/hotel-book/index?hotel_id=${hotel.id}&latitude=${hotel.latitude}&longitude=${hotel.longitude}&name=${hotel.name}&address=${hotel.address}`
|
|
|
- })
|
|
|
- }
|
|
|
+ uni.navigateTo({
|
|
|
+ url: `/pages/map/hotel-book/index?hotel_id=${hotel.id}&latitude=${hotel.latitude}&longitude=${hotel.longitude}&name=${hotel.name}&address=${hotel.address}`
|
|
|
+ })
|
|
|
},
|
|
|
//返回上一级
|
|
|
returnBtn() {
|