|
|
@ -236,12 +236,12 @@ |
|
|
|
let zuob = JSON.parse(res); |
|
|
|
let zuob = JSON.parse(res); |
|
|
|
app.globalData.latitude = zuob.latitude; |
|
|
|
app.globalData.latitude = zuob.latitude; |
|
|
|
app.globalData.longitude = zuob.longitude; |
|
|
|
app.globalData.longitude = zuob.longitude; |
|
|
|
that.findByLatAndLng(zuob.longitude,zuob.latitude); |
|
|
|
that.findByLatAndLng(zuob.longitude, zuob.latitude); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'ios': |
|
|
|
case 'ios': |
|
|
|
app.globalData.latitude = res.latitude; |
|
|
|
app.globalData.latitude = res.latitude; |
|
|
|
app.globalData.longitude = res.longitude; |
|
|
|
app.globalData.longitude = res.longitude; |
|
|
|
that.findByLatAndLng(res.longitude,res.latitude); |
|
|
|
that.findByLatAndLng(res.longitude, res.latitude); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -412,9 +412,11 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
//拨打客服电话 |
|
|
|
//拨打客服电话 |
|
|
|
playPhone() { |
|
|
|
playPhone() { |
|
|
|
|
|
|
|
let cont = "本服务由惠兑礼品提供\n400-678-738"; |
|
|
|
|
|
|
|
let content = cont.replace(/<br>/g,"\n"); |
|
|
|
uni.showModal({ |
|
|
|
uni.showModal({ |
|
|
|
title: '客服', |
|
|
|
title: '客服', |
|
|
|
content: '4006780738', |
|
|
|
content: content, |
|
|
|
success: function(res) { |
|
|
|
success: function(res) { |
|
|
|
if (res.confirm) { |
|
|
|
if (res.confirm) { |
|
|
|
uni.makePhoneCall({ |
|
|
|
uni.makePhoneCall({ |
|
|
|