添加了一些页面

This commit is contained in:
qianlile
2021-08-17 13:36:34 +08:00
parent 7c061bbb9b
commit a341927725
47 changed files with 2430 additions and 686 deletions

View File

@@ -3,17 +3,43 @@ var app = getApp();
Page({
data: {
userInfo: {},
mode: ['信息反馈', '联系客服', '关于我们']
mode: [
{ flag:'info',name:'关于我们' },
{ flag:'join',name:'加入我们' },
{ flag:'address',name:'联系方式' }
]
},
onLoad: function () {
},
getOut(){
wx.clearStorage({
wx.showModal({
cancelColor: '#ff0000',
cancelText: '取消',
confirmText: '确定',
content: '您确定要退出吗?',
showCancel: true,
success: (res) => {
wx.reLaunch({
url: '/pages/login/index',
})
if(res.confirm){
wx.clearStorage({
success: (res) => {
wx.reLaunch({
url: '/pages/login/index',
})
},
})
}
},
})
}
},
aboutus(e){
wx.navigateTo({
url: '/pages/aboutUs/index',
success(res){
res.eventChannel.emit('getInfo',e.currentTarget.dataset.data)
}
})
},
})