...
|
...
|
@@ -768,6 +768,7 @@ |
|
|
//点击标记点
|
|
|
markertap(e){
|
|
|
let landArr = this.landList
|
|
|
this.landList = []
|
|
|
let coverArr = []
|
|
|
let index = 0
|
|
|
coverArr.push(this.covers[0])
|
...
|
...
|
@@ -911,27 +912,34 @@ |
|
|
}
|
|
|
},
|
|
|
phone(mobile){
|
|
|
uni.request({
|
|
|
url:apiUrl+'/user/getMiddleNumber',
|
|
|
method:'POST',
|
|
|
header: {
|
|
|
'content-type': 'application/x-www-form-urlencoded',
|
|
|
'token': uni.getStorageSync('token')
|
|
|
},
|
|
|
data:{mobile:mobile},
|
|
|
success: (res) => {
|
|
|
if(res.data.code == 1){
|
|
|
uni.makePhoneCall({
|
|
|
phoneNumber:res.data.data
|
|
|
})
|
|
|
}else{
|
|
|
uni.showToast({
|
|
|
title:res.data.msg,
|
|
|
icon:'none'
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
uni.showToast({
|
|
|
title:'已开启虚拟号码为您保护隐私',
|
|
|
icon:'none',
|
|
|
duration:3000
|
|
|
})
|
|
|
setTimeout(()=>{
|
|
|
uni.request({
|
|
|
url:apiUrl+'/user/getMiddleNumber',
|
|
|
method:'POST',
|
|
|
header: {
|
|
|
'content-type': 'application/x-www-form-urlencoded',
|
|
|
'token': uni.getStorageSync('token')
|
|
|
},
|
|
|
data:{mobile:mobile},
|
|
|
success: (res) => {
|
|
|
if(res.data.code == 1){
|
|
|
uni.makePhoneCall({
|
|
|
phoneNumber:res.data.data
|
|
|
})
|
|
|
}else{
|
|
|
uni.showToast({
|
|
|
title:res.data.msg,
|
|
|
icon:'none'
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
},2000)
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|