Browse Source

phone

product
chutingting 1 year ago
parent
commit
2b59af0281
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      components/shop/shop.js

+ 8
- 0
components/shop/shop.js View File

@@ -1,3 +1,4 @@
const imgurl = require("../../utils/imgurl");
Component({
properties: {
mallList: {
@@ -7,6 +8,7 @@ Component({
},

data: {
teljpgUrl: imgurl.teljpg.url,
list: [], // 广场、商户列表
mallNum: 0, // 适用商户数量
},
@@ -19,6 +21,12 @@ Component({
url: `/pages/index/searchbar/detail/index?id=${e.currentTarget.dataset.id}&mallTenantId=${e.currentTarget.dataset.tenantid}`
})
},
phone: function (e) {
let that = this;
wx.makePhoneCall({
phoneNumber: e.target.dataset.merchantlinkphone
});
},

// 跳转资质页面
// goCertification(e) {


Loading…
Cancel
Save