From a75b18a4157ab486e0b51c438ac165ab3a08e3e0 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 25 七月 2024 18:10:00 +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..b57c4c5 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: true,
+
+ 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