浏览代码

phone

product
chutingting 1年前
父节点
当前提交
2b59af0281
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. +8
    -0
      components/shop/shop.js

+ 8
- 0
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) {


正在加载...
取消
保存