更新
This commit is contained in:
@@ -167,8 +167,8 @@
|
||||
<text class="text-grey padding-left-sm">专属客服</text>
|
||||
</view>
|
||||
<view class="action">
|
||||
<button class="cu-btn oil-main-btn-color" open-type="contact" @contact="onContact">
|
||||
<text class="text-grey text-sm">打开会话</text>
|
||||
<button class="cu-btn oil-main-btn-color" @click="makeCall">
|
||||
<text class="text-grey text-sm">拨打电话</text>
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -311,7 +311,7 @@
|
||||
// 拨打电话
|
||||
makeCall() {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: '4008-56-5355' //仅为示例
|
||||
phoneNumber: '15653644882'
|
||||
})
|
||||
},
|
||||
onContact(e) {
|
||||
|
||||
Reference in New Issue
Block a user