Commit cbe43c25 by wjw

ww--我的页面修改

parent 4034dfe5
......@@ -241,7 +241,6 @@ App({
break
}
funcUserInfo.userType = 0
wx.setStorageSync('userInfo', funcUserInfo)
// 如果用户身份有更新,则自动跳转到首页
......
......@@ -20,7 +20,6 @@ Page({
scroll: '400rpx',
},
navigationScroll: 0,
isCheckPermission: false,
imageBase: App.globalData.appImageBase,
imageResourcesBase: App.globalData.appResourcesBase,
......@@ -331,11 +330,16 @@ Page({
funcStatusText = '审核失败'
break
}
let navigationColor = '#ffffff'
if (funcUserInfo.userType === 0) {
navigationColor = '#000000'
}
this.setData({
type: funcUserInfo.userType,
statusText: funcStatusText,
isRegister: true,
userInfo: funcUserInfo
userInfo: funcUserInfo,
'navigationStyle.normal.color': navigationColor
})
App.login({
timeout: 0,
......@@ -579,7 +583,7 @@ Page({
},
onPageScroll: function (event) {
console.log(this.scrollLock)
// console.log(this.scrollLock)
// 优化滚动事件触发频率
if (this.scrollLock) return
......@@ -589,7 +593,7 @@ Page({
navigationScroll: event.scrollTop
})
console.log(this.data.navigationScroll)
// console.log(this.data.navigationScroll)
// 恢复滚动事件
this.scrollTimer = setTimeout(() => {
......
.container {
background: linear-gradient(180deg, #fff 10%, #F3F4F6 20%);
min-height: 100vh;
/* background: #F3F4F6 */
background: #F3F4F6
}
.navigation {
......@@ -324,10 +323,6 @@
height: 30rpx;
}
.approve {
padding-top: 100rpx;
}
.approve-icon {
width: 168rpx;
height: 103rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment