parent
d9de630f40
commit
ca96b7ea7a
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
|
|
@ -47,6 +47,17 @@
|
|||
<div class="show-text" v-html="show_content"></div>
|
||||
</div>
|
||||
</van-popup>
|
||||
<!--客服-->
|
||||
<van-popup v-model="customer_service_show" position="bottom" :style="{ 'min-height': '70%' }" round closeable>
|
||||
<div class="show-content">
|
||||
<div class="show-title">官方客服</div>
|
||||
<div class="show-text">
|
||||
<img src="@/assets/images/member/customer_service_img.png" style="width: 100%;padding: 0!important;margin: 0!important;"/>
|
||||
</div>
|
||||
</div>
|
||||
</van-popup>
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -68,6 +79,8 @@ export default {
|
|||
show: false,
|
||||
show_title: '',
|
||||
show_content: '',
|
||||
// 客服弹框
|
||||
customer_service_show: false,
|
||||
};
|
||||
},
|
||||
activated() {
|
||||
|
|
@ -96,7 +109,10 @@ export default {
|
|||
// 点击工具
|
||||
clickTool(name){
|
||||
let _this = this;
|
||||
if(name === 'customer_service') window.location.href = 'tel://' + _this.info.customer_service_tel;
|
||||
if(name === 'customer_service') {
|
||||
_this.customer_service_show = true;
|
||||
// window.location.href = 'tel://' + _this.info.customer_service_tel;
|
||||
}
|
||||
else if(name === 'feedback') _this.$router.push(_this.fun.getUrl("DiyForm",{ id: _this.info.feedback_id }));
|
||||
else if(name === 'questionnaire') _this.$router.push(_this.fun.getUrl("DiyForm",{ id: _this.info.questionnaire_id }));
|
||||
},
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
<van-cell class="list-cell" :title="set.user_title" is-link @click="showPopup('user')"/>
|
||||
<van-cell class="list-cell" :title="set.policy_title" is-link @click="showPopup('policy')"/>
|
||||
<van-cell class="list-cell" :title="set.platform_title" is-link @click="showPopup('platform')"/>
|
||||
<van-cell class="list-cell" :title="set.cancellation_rules_title" is-link @click="showPopup('cancellation_rules')"/>
|
||||
</div>
|
||||
</div>
|
||||
<!--弹出框-->
|
||||
|
|
@ -63,6 +64,9 @@ export default {
|
|||
} else if (type === 'platform') {
|
||||
this.show_title = this.set.platform_title || '';
|
||||
this.show_content = this.set.platform_agreement || '';
|
||||
} else if (type === 'cancellation_rules') {
|
||||
this.show_title = this.set.cancellation_rules_title || '';
|
||||
this.show_content = this.set.cancellation_rules || '';
|
||||
}
|
||||
console.log(type,this.show_title);
|
||||
if(this.show_title.length > 0 && this.show_content.length > 0) this.show = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue