Fix:4388 【旅居商城小程序】管理后台配置商家号码在前端小程序未生效
(cherry picked from commit 3d8df506e0)
This commit is contained in:
@@ -74,7 +74,7 @@
|
|||||||
<view class="phone-actions v12-align-center" v-if="title === '商家电话'">
|
<view class="phone-actions v12-align-center" v-if="title === '商家电话'">
|
||||||
<!-- <button class="action-btn cancel" @click="showPhonePopup = false">取消</button>
|
<!-- <button class="action-btn cancel" @click="showPhonePopup = false">取消</button>
|
||||||
<button class="action-btn call" @click="makePhoneCall">立即拨打</button> -->
|
<button class="action-btn call" @click="makePhoneCall">立即拨打</button> -->
|
||||||
<view class="v12-font-28 v12-primary-text v12-primary-border v12-radius-100 v12-primary-text" @click="contactMerchant('phone')">立即拨打</view> | <view class="v12-font-28" @click="showPhonePopup = false">取消</view>
|
<view class="v12-font-28 v12-primary-text v12-primary-border v12-radius-100 v12-primary-text v12-px-2" @click="contactMerchant('phone')">立即拨打</view><view class="v12-font-28 v12-dark-border v12-radius-100 v12-px-2" @click="showPhonePopup = false">取消</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="phone-actions v12-align-center" v-if="title === '商家微信'">
|
<view class="phone-actions v12-align-center" v-if="title === '商家微信'">
|
||||||
<!-- <button class="action-btn cancel" @click="showPhonePopup = false">取消</button>
|
<!-- <button class="action-btn cancel" @click="showPhonePopup = false">取消</button>
|
||||||
|
|||||||
@@ -658,10 +658,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
call() {
|
call() {
|
||||||
if (this.store.tel != undefined && this.store.tel.length > 0) {
|
if (this.store.phone != undefined && this.store.phone.length > 0) {
|
||||||
uni.makePhoneCall({
|
uni.makePhoneCall({
|
||||||
// 手机号
|
// 手机号
|
||||||
phoneNumber: this.store.tel,
|
phoneNumber: this.store.phone,
|
||||||
// 成功回调
|
// 成功回调
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
console.log('调用成功!')
|
console.log('调用成功!')
|
||||||
|
|||||||
Reference in New Issue
Block a user