mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
更新页面显示效果
This commit is contained in:
@@ -2,7 +2,12 @@
|
||||
Page({
|
||||
data: {
|
||||
userInfo:{},
|
||||
isLogin:false
|
||||
isLogin:false,
|
||||
items:[
|
||||
{ flag:'info',name:'公司简介',icon:'/icons/jianjie.png' },
|
||||
{ flag:'join',name:'加入我们',icon:'/icons/join.png' },
|
||||
{ flag:'address',name:'联系方式',icon:'/icons/about.png' }
|
||||
]
|
||||
},
|
||||
|
||||
getUserInfo(){
|
||||
@@ -40,6 +45,16 @@ Page({
|
||||
console.log(e);
|
||||
},
|
||||
|
||||
lookMore(e){
|
||||
console.log(e);
|
||||
wx.navigateTo({
|
||||
url: '/pages/aboutUs/index',
|
||||
success(res){
|
||||
res.eventChannel.emit('getInfo',e.currentTarget.dataset.info)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user