wx
This commit is contained in:
@@ -33,9 +33,18 @@
|
||||
<text class="classvie_itemtow">{{ datalsit.ktime }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view style="margin-top:80rpx;text-align: center;color:#3088fd ;" v-if="datalsit.status != 2" @click="makePhoneCall(datalsit)">
|
||||
联系商家
|
||||
</view>
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<!-- <view style="margin-top:80rpx;text-align: center;color:#3088fd ;" v-if="datalsit.status != 2"
|
||||
@click="makePhoneCall(datalsit)">
|
||||
联系客服
|
||||
</view> -->
|
||||
<!-- #endif -->
|
||||
<button open-type="contact" class="contactbutton">联系客服</button>
|
||||
<!-- <view style="margin-top:80rpx;text-align: center;color:#3088fd ;" v-if="datalsit.status != 2"
|
||||
@click="makePhoneCall(datalsit)">
|
||||
联系客服
|
||||
</view> -->
|
||||
<!-- <button open-type='contact'>联系客服</button> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -86,9 +95,15 @@
|
||||
}
|
||||
},
|
||||
makePhoneCall(e) {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: e.store_mobile //仅为示例
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/webview/index'
|
||||
// })
|
||||
uni.openCustomerServiceChat({
|
||||
corpId: 'wwc76ab19fa6df267f',
|
||||
success(res) {
|
||||
console.log('成功了', res)
|
||||
}
|
||||
})
|
||||
},
|
||||
savealbum(e) {
|
||||
uni.pro.navigateBack();
|
||||
@@ -151,6 +166,20 @@
|
||||
.content {
|
||||
padding: 32rpx 28rpx;
|
||||
|
||||
.contactbutton {
|
||||
margin: 40rpx 0;
|
||||
padding: 0;
|
||||
outline: none;
|
||||
border-radius: 0;
|
||||
background-color: transparent;
|
||||
line-height: inherit;
|
||||
color: #3088fd;
|
||||
|
||||
&::after {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.content_boxtop {
|
||||
padding: 22rpx 16rpx;
|
||||
background: #ffffff;
|
||||
|
||||
Reference in New Issue
Block a user