Logo white

wxd / MShopWeApp

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • MShopWeApp
  • packageA
  • pages
  • shop_details
  • shop_details.js
  • 修改卡项列表、历史预约、服务项目、预约服务
    d24847bc
    taiyuan authored
    2021-04-22 11:14:15 +0800  
    Browse Code »
shop_details.js 271 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Page({
	data: {
		shop: null,
	},

	onLoad(options) {
		let shop = JSON.parse(decodeURIComponent(options.shop))
		this.setData({
			shop: shop,
		});
	},
	
	// 监听拨打电话
	onPhone() {
		wx.makePhoneCall({
			phoneNumber: this.data.shop.pickup_phone,
		})
	},
	
})