|
@@ -46,10 +46,11 @@
|
|
|
<van-tabs v-model="activeindex" @click.stop="onChange">
|
|
|
<van-tab :name="0" title="服务项目">
|
|
|
<view>
|
|
|
+ <!-- background: #909399 -->
|
|
|
<view class="giveList">
|
|
|
<view class="giveItem" v-for="(item,index) in category_list" :key="index" @click.stop="godetail(item)">
|
|
|
<image :src="item.pic"
|
|
|
- style="width:100%;height: 100upx;background: #909399">
|
|
|
+ style="width:100%;height: 100upx;">
|
|
|
</image>
|
|
|
<p style="text-align: center;">{{item.gc_name}}</p>
|
|
|
</view>
|
|
@@ -414,7 +415,6 @@
|
|
|
})
|
|
|
},
|
|
|
|
|
|
-
|
|
|
onChange(event) {
|
|
|
this.activeindex = event.detail.name;
|
|
|
this.page = 1;
|
|
@@ -452,6 +452,7 @@
|
|
|
},
|
|
|
success: (res) => {
|
|
|
let { data } = res.data;
|
|
|
+ this.store_slide = [];
|
|
|
this.hoteldetail = data;
|
|
|
this.hotelitle = data.store_name;
|
|
|
data.store_slide.forEach(item => {
|
|
@@ -459,6 +460,7 @@
|
|
|
this.store_slide.push(item);
|
|
|
}
|
|
|
})
|
|
|
+ console.log(this.store_slide);
|
|
|
this.store_summary = data.store_summary;
|
|
|
const regex = new RegExp('<img', 'gi');
|
|
|
data.store_description = data.store_description.replace(regex,
|