fix: 客服电话跳转
parent
503e5034d9
commit
60392dd6e2
|
@ -95,7 +95,7 @@
|
||||||
@click="jumpPage('/pages/users/user_spread_code/index')">
|
@click="jumpPage('/pages/users/user_spread_code/index')">
|
||||||
<u-icon slot="icon" size="45" name="/static/images/user_icon2.png"></u-icon>
|
<u-icon slot="icon" size="45" name="/static/images/user_icon2.png"></u-icon>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="热线电话" value="023-12948338" :value="tenantInfo.serviceMobile" isLink>
|
<u-cell title="热线电话" value="023-12948338" :value="tenantInfo.serviceMobile" isLink @click="callPhone">
|
||||||
<u-icon slot="icon" size="45" name="/static/images/user_icon3.png"></u-icon>
|
<u-icon slot="icon" size="45" name="/static/images/user_icon3.png"></u-icon>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="在线客服" value="8:30-17:30" :value="tenantInfo.serviceTime" isLink @click="kefuClick">
|
<u-cell title="在线客服" value="8:30-17:30" :value="tenantInfo.serviceTime" isLink @click="kefuClick">
|
||||||
|
@ -254,6 +254,11 @@
|
||||||
url: url
|
url: url
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
callPhone() {
|
||||||
|
if(this.tenantInfo.serviceMobile){
|
||||||
|
window.location.href = `tel:${this.tenantInfo.serviceMobile}`
|
||||||
|
}
|
||||||
|
},
|
||||||
kefuClick() {
|
kefuClick() {
|
||||||
if (this.tenantInfo.wxKfUrl) {
|
if (this.tenantInfo.wxKfUrl) {
|
||||||
location.href = this.tenantInfo.wxKfUrl
|
location.href = this.tenantInfo.wxKfUrl
|
||||||
|
|
Loading…
Reference in New Issue