From ebc6e7ee67f13e7aa311e737dfcb4c5caed112ee Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 15 八月 2024 18:23:57 +0800
Subject: [PATCH] ll
---
wechat_staff/pages/store/staff.js | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/wechat_staff/pages/store/staff.js b/wechat_staff/pages/store/staff.js
index 83549a1..25aef41 100644
--- a/wechat_staff/pages/store/staff.js
+++ b/wechat_staff/pages/store/staff.js
@@ -9,7 +9,7 @@
*/
data: {
bottomLift: 0,
- isShow: true,
+ isShow: false,
userCard: '',
isShow2: false,
userInfo: {}
@@ -20,8 +20,7 @@
*/
onLoad(options) {
var app = getApp().globalData
- var userType = options.userType
-
+ var userType = options.userType || 1
if (userType == 1) {
//濡傛灉鏌ヨ鑷繁鐨勪俊鎭�
this.setData({
@@ -31,6 +30,11 @@
}
this.setData({
bottomLift: app.bottomLift
+ })
+ },
+ jumpUser() {
+ wx.navigateTo({
+ url: '/pages/userinfo/index',
})
},
showQrcode() {
@@ -59,12 +63,7 @@
})
}
})
- // wx.saveFile({
- // tempFilePath: res.tempFilePath,
- // success: function (res) {
- // console.log(res.savedFilePath)
- // }
- // })
+
}
})
},
--
Gitblit v1.9.3