|
@@ -124,7 +124,7 @@
|
|
|
</van-tab>
|
|
|
<van-tab :name="1" :title="'评价' +' '+hoteldetail.feedback_count">
|
|
|
<!-- 评价列表 -->
|
|
|
- <assess :feedback_list="feedback_list" />
|
|
|
+ <assess :feedback_list="feedback_list" :showpicture="showpicture" />
|
|
|
</van-tab>
|
|
|
<van-tab :name="2" title="酒店信息">
|
|
|
<view style="padding: 20upx 32upx 0upx 32upx;margin-bottom: 200upx;">
|
|
@@ -174,6 +174,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ showpicture: false,
|
|
|
storeinformation: {},
|
|
|
isTop: 0,
|
|
|
hoteldetail: {},
|
|
@@ -271,6 +272,15 @@
|
|
|
this.getshopdetail(); // 获取商品详情
|
|
|
this.hotelmenu(); // 一级菜单
|
|
|
this.gethoteil(); // 获取酒店信息
|
|
|
+ uni.$on('changshow', (e) => {
|
|
|
+ this.changeshow();
|
|
|
+ })
|
|
|
+ uni.$on('changpicture', (e) => {
|
|
|
+ this.changimg();
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
computed:{
|
|
|
...mapState([
|
|
@@ -280,6 +290,14 @@
|
|
|
]),
|
|
|
},
|
|
|
methods: {
|
|
|
+ changeshow() {
|
|
|
+ console.log("关闭")
|
|
|
+ this.showpicture = false;
|
|
|
+ },
|
|
|
+ changimg() {
|
|
|
+ console.log("触发")
|
|
|
+ this.showpicture = true;
|
|
|
+ },
|
|
|
getop() {
|
|
|
this.scrollTop = this.old.scrollTop
|
|
|
this.$nextTick(function(){
|