Commit 613f5352 authored by 罗超's avatar 罗超

1

parent cb33fc1e
......@@ -369,6 +369,7 @@ export default {
},
},
(res) => {
console.log("AppletLogin/Login", res);
uni.hideLoading();
that.showLogin = true; //防止多次点击登录
if (res.resultCode == 1) {
......
......@@ -101,7 +101,11 @@
{
"path": "user-center",
"style": {
"navigationStyle": "custom"
"navigationStyle": "custom",
"mp-alipay": {
"transparentTitle": "always",
"titlePenetrate": "YES"
}
}
}
]
......
......@@ -69,7 +69,7 @@
display: flex;
flex-direction: column;
justify-content: center;
height: 50px;
height: 100rpx;
margin-left: 20rpx;
"
>
......@@ -79,7 +79,7 @@
color: #fff;
font-size: 40rpx;
font-weight: 800;
max-width: 200px;
max-width: 400rpx;
overflow: hidden;
display: inline-block;
white-space: nowrap;
......@@ -648,7 +648,8 @@ export default {
this.navHeight = this.$navHeight - 2;
this.u = wx.getStorageSync("basedata").user_info;
this.mall_UserInfo = uni.getStorageSync("mall_UserInfo");
this.nav = uni.getMenuButtonBoundingClientRect().top + "px";
// this.nav = uni.getMenuButtonBoundingClientRect().top + "px";
this.nav = uni.getSystemInfoSync().statusBarHeight + "px";
this.headStyle.background = `linear-gradient(to right, '#e6b865',80%, '#ebb45e')`;
this.headStyle.paddingTop = this.nav;
if (!this.mall_UserInfo) {
......@@ -681,9 +682,11 @@ export default {
let pages = wx.getStorageSync("basedata")
? wx.getStorageSync("basedata").bar_title
: [];
// #ifdef MP-WEIXIN
uni.setNavigationBarTitle({
title: "用户中心",
});
// #endif
},
onShow() {
this.userinfo(2);
......@@ -1236,11 +1239,11 @@ export default {
flex-direction: row;
align-items: center;
width: 100%;
margin-bottom: 20px;
margin-bottom: 40rpx;
}
.userStyle .miniHeadTop {
height: 200px;
height: 400rpx;
}
.userBox .headCommon {
......
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 to comment