wechat_jiaxuan/components/idCard/index.js
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,32 @@ // components/idCard/index.js Component({ /** * ç»ä»¶ç屿§å表 */ properties: { users: Object }, /** * ç»ä»¶çåå§æ°æ® */ data: { }, /** * ç»ä»¶çæ¹æ³å表 */ methods: { callPhone() { wx.makePhoneCall({ phoneNumber: this.data.users.phone }) }, jumpCard() { wx.navigateTo({ url: '/pages/store/staff?id=' + this.data.users.iamId, }) }, } })