1.修改拨打电话

master
杨杰 2 years ago
parent e34c3241d4
commit 619f5dc757
  1. 2
      .gitignore
  2. 4
      high-unionPay/pages/tabBar/category/category.vue
  3. 8
      high-unionPay/pages/tabBar/home/home.vue
  4. 4
      high-unionPay/pages/tabBar/user/user.vue

2
.gitignore vendored

@ -1 +1,3 @@
unpackage/
.hbuilderx/launch.json
node_modules

@ -272,9 +272,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({

@ -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({

@ -429,9 +429,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({

Loading…
Cancel
Save