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