我的样式修改

master
zsk 2 years ago
parent ef72321926
commit 420822badf

@ -83,7 +83,7 @@
}, },
"plugins": { "plugins": {
"job-plugin": { "job-plugin": {
"version": "1.0.3", "version": "1.0.5",
"provider": "wxaf516c59d925481f" "provider": "wxaf516c59d925481f"
} }
}, },

@ -45,6 +45,7 @@ Page({
var that = this; var that = this;
wx.login({ wx.login({
success(res) { success(res) {
console.log(res);
if (res.code) { if (res.code) {
that.setData({ that.setData({
wxCode: res.code wxCode: res.code

@ -487,5 +487,19 @@ getUserInfoBtn: function(e) {
} }
}) })
}, },
onShareTimeline(){} onShareTimeline(){},
info(){
wx.getUserProfile({
desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写
success: (res) => {
console.log(res);
this.setData({
userInfo: res.userInfo,
hasUserInfo: true
})
}
})
}
}) })
Loading…
Cancel
Save