Browse Source

no message

featrue/v.4.0
xpz2018 5 years ago
parent
commit
3c6656a0b2
1 changed files with 4 additions and 0 deletions
  1. 4
      pages/purchase/detail/index.js

4
pages/purchase/detail/index.js

@ -86,6 +86,10 @@ Page({
} }
}, },
phoneShopInfo: function(){ phoneShopInfo: function(){
if(!app.globalData.userInfo){
wx.navigateTo({ url: '/pages/login/index'})
return
}
if(this.check()){ if(this.check()){
wx.makePhoneCall({ phoneNumber: this.data.orderInfo.ownerPhone }) wx.makePhoneCall({ phoneNumber: this.data.orderInfo.ownerPhone })
} }

Loading…
Cancel
Save