Commit 0972ab39eaeeaee11ba1418672599859587de532

Authored by wangfan
1 parent 57086c99

c端预定

Showing 1 changed file with 9 additions and 8 deletions
... ... @@ -40,7 +40,7 @@ Page({
if(seller.seller_tel){
seller_tel=seller.seller_tel.split(',')
}else{
seller_tel=[seller.seller_phone];
seller_tel=[seller.phone];
}
seller.seller_tel=seller_tel
seller.distance=parseInt(seller.distance);
... ... @@ -119,14 +119,15 @@ Page({
}
},
reservePhone(e){
let phone=e.detail.value.replace(/[^\d]/,'')
wx.makePhoneCall({
phoneNumber:phone
})
if(e.detail.value){
let phone=e.detail.value.replace(/[^\d]/,'')
wx.makePhoneCall({
phoneNumber:phone
})
}
},
follow(e){
console.log('收藏',e)
follow(){
let param={
sid:this.options.id,
openid:getApp().openid,
... ...