Commit a97d63f5 authored by zhengke's avatar zhengke

修改

parent c715a238
...@@ -504,16 +504,18 @@ ...@@ -504,16 +504,18 @@
</viewer> </viewer>
<div class="HD_Top clearfix"> <div class="HD_Top clearfix">
<div class="HD_Top_Left"> <div class="HD_Top_Left">
<div class="HD_Top_Title">{{tempData.SHotelName}}</div> <div class="HD_Top_Title">
<template v-if="tempData.SHotelName">{{tempData.SHotelName}}</template>
</div>
<div class="HD_Top_Address"> <div class="HD_Top_Address">
<img src="../../assets/img/hotel/address.png" alt=""/> <img src="../../assets/img/hotel/address.png" alt=""/>
{{tempData.SHotelAddress}} {{tempData.SHotelAddress}}
</div> </div>
<div class="HD_Top_ImgList clearfix" style="margin-top:30px;" v-if="tempData.SHotelImgCoverArray&&tempData.SHotelImgCoverArray.length>0"> <div class="HD_Top_ImgList clearfix" style="margin-top:30px;" v-if="isShowImg">
<div class="HD_Top_FirstImg"> <div class="HD_Top_FirstImg">
<img v-if="tempData.SHotelImgCoverArray[0] && tempData.SHotelImgCoverArray[0]!='' " @click="bigImgShow(0)" :src="tempData.SHotelImgCoverArray[0]" <img v-if="tempData.SHotelImgCoverArray[0] && tempData.SHotelImgCoverArray[0]!='' " @click="bigImgShow(0)" :src="tempData.SHotelImgCoverArray[0]"
:onerror="defaultHeadImg" class="HeadImg" alt="" /> :onerror="defaultHeadImg" class="HeadImg" alt="" />
<img v-else src="../../assets/img/hotel/bg_c2@3x.png" alt="" /> <img v-else src="../../assets/img/hotel/bg_c2@3x.png" alt="" />
</div> </div>
<div class="HD_Top_rightImg clearfix"> <div class="HD_Top_rightImg clearfix">
<div class="HD_Top_ImgDiv"> <div class="HD_Top_ImgDiv">
...@@ -712,7 +714,7 @@ export default { ...@@ -712,7 +714,7 @@ export default {
mealList:[], mealList:[],
interNet:[], interNet:[],
isExpande:false, isExpande:false,
isShow:false, isShowImg:false,
dataList:[], dataList:[],
HotelId:'', HotelId:'',
beforeCheck: { beforeCheck: {
...@@ -771,6 +773,7 @@ export default { ...@@ -771,6 +773,7 @@ export default {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.tempData = res.data.data; this.tempData = res.data.data;
this.images=this.tempData.SHotelImgCoverArray; this.images=this.tempData.SHotelImgCoverArray;
this.isShowImg=true;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment