diff --git a/components/shop/shop.js b/components/shop/shop.js index a0d2f08..5689071 100644 --- a/components/shop/shop.js +++ b/components/shop/shop.js @@ -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) {