添加:关于我们 - 添加注销规则

修改:帮助中心 - 点击客服打电话修改为弹出二维码图片
This commit is contained in:
wuhui_zzw 2023-12-02 14:04:00 +08:00
parent d9de630f40
commit ca96b7ea7a
3 changed files with 21 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -47,6 +47,17 @@
<div class="show-text" v-html="show_content"></div> <div class="show-text" v-html="show_content"></div>
</div> </div>
</van-popup> </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> </div>
</template> </template>
@ -68,6 +79,8 @@ export default {
show: false, show: false,
show_title: '', show_title: '',
show_content: '', show_content: '',
//
customer_service_show: false,
}; };
}, },
activated() { activated() {
@ -96,7 +109,10 @@ export default {
// //
clickTool(name){ clickTool(name){
let _this = this; 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 === '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 })); else if(name === 'questionnaire') _this.$router.push(_this.fun.getUrl("DiyForm",{ id: _this.info.questionnaire_id }));
}, },

View File

@ -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.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.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.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>
</div> </div>
<!--弹出框--> <!--弹出框-->
@ -63,6 +64,9 @@ export default {
} else if (type === 'platform') { } else if (type === 'platform') {
this.show_title = this.set.platform_title || ''; this.show_title = this.set.platform_title || '';
this.show_content = this.set.platform_agreement || ''; 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); console.log(type,this.show_title);
if(this.show_title.length > 0 && this.show_content.length > 0) this.show = true; if(this.show_title.length > 0 && this.show_content.length > 0) this.show = true;