fix: 修改个人中心页、导航栏bug
This commit is contained in:
@@ -331,7 +331,7 @@ page {
|
||||
.profile-editor {
|
||||
overflow-y: auto;
|
||||
padding: 32rpx 40rpx;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
padding-bottom: calc(32rpx + env(safe-area-inset-bottom) + 120rpx);
|
||||
background: @bg-white;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ Page({
|
||||
onLoad() {
|
||||
this.syncUserInfoFromApp();
|
||||
const isDevEnv =
|
||||
wx.getAccountInfoSync().miniProgram.envVersion !== 'release';
|
||||
wx.getAccountInfoSync().miniProgram.envVersion === 'develop';
|
||||
this.setData({
|
||||
isDevEnv,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user