11
This commit is contained in:
parent
1f196a5a9c
commit
a74cd5bcab
|
@ -108,20 +108,20 @@
|
|||
</scroll-view>
|
||||
<view class='footer acea-row row-between-wrapper'>
|
||||
<!-- #ifdef MP -->
|
||||
<!-- <button hover-class='none' class='item skeleton-rect' @click="onClickService" v-if="chatConfig.telephone_service_switch === '1'">
|
||||
<button hover-class='none' class='item skeleton-rect' @click="onClickService" v-if="chatConfig.telephone_service_switch === '1'">
|
||||
<view class='iconfont icon-kefu'></view>
|
||||
<view>客服</view>
|
||||
</button> -->
|
||||
<!-- <button open-type="contact" hover-class='none' class='item skeleton-rect' v-else>
|
||||
</button>
|
||||
<button open-type="contact" hover-class='none' class='item skeleton-rect' v-else>
|
||||
<view class='iconfont icon-kefu'></view>
|
||||
<view>客服</view>
|
||||
</button> -->
|
||||
</button>
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef MP -->
|
||||
<!-- <navigator hover-class="none" class="item skeleton-rect" @click="onClickService">
|
||||
<navigator hover-class="none" class="item skeleton-rect" @click="onClickService">
|
||||
<view class="iconfont icon-kefu"></view>
|
||||
<view>客服</view>
|
||||
</navigator> -->
|
||||
</navigator>
|
||||
<!-- #endif -->
|
||||
<view @tap='setCollect' class='item skeleton-rect'>
|
||||
<view class='iconfont icon-shoucang1' v-if="userCollect"></view>
|
||||
|
|
|
@ -200,10 +200,10 @@
|
|||
</button>
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef MP -->
|
||||
<!-- <view class="item skeleton-rect" @click="onClickService">
|
||||
<view class="item skeleton-rect" @click="onClickService">
|
||||
<view class="iconfont icon-kefu"></view>
|
||||
<view>客服</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<block v-if="type === 'normal'">
|
||||
<view @click="setCollect" class='item skeleton-rect'>
|
||||
|
@ -724,10 +724,12 @@
|
|||
// #endif
|
||||
onClickService() {
|
||||
if (this.chatConfig.telephone_service_switch === '1') {
|
||||
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: this.chatConfig.consumer_hotline //仅为示例
|
||||
});
|
||||
} else {
|
||||
console.log('进入判断2');
|
||||
// #ifdef APP-PLUS
|
||||
uni.navigateTo({
|
||||
url: '/pages/users/web_page/index?webUel=' + this.chatUrl + '&title=客服'
|
||||
|
|
|
@ -120,14 +120,14 @@
|
|||
</view>
|
||||
</block>
|
||||
<!-- #ifndef MP -->
|
||||
<!-- <view class="item" @click="onClickService">
|
||||
<view class="item" @click="onClickService">
|
||||
<image :src="servicePic"></image>
|
||||
<text>联系客服</text>
|
||||
</view> -->
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef MP -->
|
||||
<!-- v-if="chatConfig.telephone_service_switch" -->
|
||||
<!-- <button class="item" hover-class='none' @click="onClickService"
|
||||
<button class="item" hover-class='none' @click="onClickService"
|
||||
v-if="chatConfig.telephone_service_switch === '1'">
|
||||
<image :src="servicePic"></image>
|
||||
<text>联系客服</text>
|
||||
|
@ -135,7 +135,7 @@
|
|||
<button class="item" open-type='contact' hover-class='none' v-else>
|
||||
<image :src="servicePic"></image>
|
||||
<text>联系客服</text>
|
||||
</button> -->
|
||||
</button>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
</view>
|
||||
|
|
Loading…
Reference in New Issue
Block a user