详情客服

This commit is contained in:
18631081161 2025-10-23 22:12:59 +08:00
parent 07623d14e5
commit 290208650d

View File

@ -274,7 +274,7 @@
<view class="tabbar">
<!-- 客服按钮 -->
<view class="action">
<button open-type="contact" bindcontact="showChat" class="noButtonStyle">
<button open-type="contact" bindcontact="showChat" class="noButtonStyle" @click="kefuClick">
<u-icon name="server-fill" :size="40" label="客服" :label-size="22" label-pos="bottom"></u-icon>
</button>
</view>
@ -865,6 +865,19 @@
this.modalTitle = "";
this.modalType = '';
},
kefuClick(){
console.log('点击客服')
console.log(this.userInfo);
if(this.userInfo==null){
uni.showToast({
title:"未登录"
})
return;
}
uni.navigateTo({
url: '/pages/index/default/kefu'
});
},
},
watch: {
goodsInfo: {