修改签名页面

This commit is contained in:
lcc
2024-05-29 10:08:19 +08:00
parent fe515af528
commit ce39d00b83
3 changed files with 30 additions and 7 deletions
+25 -6
View File
@@ -10,7 +10,7 @@ Page({
isShowSwitchingRoles:false,
},
onLoad: function (options) {
console.log(options)
for (let key in options) {
this.setData({
[key]: options[key]
@@ -43,6 +43,16 @@ Page({
title:'签到码',
url:'/pages/signup/code',
},
{
icon:'https://qs.haodian.cn/wechat_app/lichebao/mine/icon-sucai2.png',
title:'status',
url:'/pages/signup/status',
},
{
icon:'https://qs.haodian.cn/wechat_app/lichebao/mine/icon-sucai2.png',
title:'index',
url:'/pages/signup/index',
},
{
icon:'https://qs.haodian.cn/wechat_app/lichebao/mine/icon-sezhi2.png',
title:'账户设置',
@@ -54,6 +64,14 @@ Page({
// url:'/pages/siyutong/index',
// },
]
}else{
list = [
{
icon:'https://qs.haodian.cn/wechat_app/lichebao/mine/icon-sucai2.png',
title:'签到码',
url:'/pages/signup/code',
}
]
}
this.setData({
@@ -143,11 +161,12 @@ Page({
params['group_id'] = e.currentTarget.dataset.key;
_.apiQuery.putAppResetgroupid(params).then(res=>{
_.apiQuery.getUserInfo().then(res => {
if(res.biz_type==4){
wx.reLaunch({
url: '/pages/allot/index',
})
}else if(res.group_id==4){
// if(res.biz_type==4){
// wx.reLaunch({
// url: '/pages/allot/index',
// })
// }else
if(res.group_id==4){
wx.reLaunch({
url: '/pages/channel/index',
})
+4
View File
@@ -21,6 +21,7 @@ Page({
qrcode_count_time: 30,
wxTimerList: {},
wxTimer: null,
nowTime: ""
},
/**
@@ -42,6 +43,9 @@ Page({
*/
onShow() {
this.postMpQrcode()
this.setData({
nowTime:_.utils.getNowTimeFormate("TIME")
})
},
onHide(){
+1 -1
View File
@@ -4,7 +4,7 @@
<view class="container">
<view class="fn-flex fn-flex-between font-28 inner30">
<view class=" text-bold">
2024-05-24 14:13
{{nowTime}}
</view>
<view class="text-right">
<view class="font-32 text-bold">车管家 XXX</view>