From 5b219a9694c8d69db42e746a654c779cc6a61bf6 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 18 七月 2024 18:42:20 +0800
Subject: [PATCH] ‘’
---
wechat_jiaxuan/pages/store/staff.js | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/wechat_jiaxuan/pages/store/staff.js b/wechat_jiaxuan/pages/store/staff.js
index c951641..bb08c95 100644
--- a/wechat_jiaxuan/pages/store/staff.js
+++ b/wechat_jiaxuan/pages/store/staff.js
@@ -1,4 +1,4 @@
-// pages/store/staff.js
+import { usersDetailByIamId } from '../../api/index'
Page({
/**
@@ -6,7 +6,9 @@
*/
data: {
bottomLift: 0,
- isShow: false
+ isShow: false,
+
+ info: {}
},
/**
@@ -17,6 +19,16 @@
this.setData({
bottomLift: app.bottomLift
})
+ this.getDetail(options.id)
+ wx.showShareMenu({
+ withShareTicket: true,
+ menus: ['shareAppMessage', 'shareTimeline']
+ })
+ },
+ getDetail(id) {
+ usersDetailByIamId({iamId: id}).then(res => {
+ this.setData({ info: res.data })
+ })
},
openModal() {
this.setData({isShow: true})
@@ -24,6 +36,7 @@
onClose() {
this.setData({isShow: false})
},
+
/**
* 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
--
Gitblit v1.9.3