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

1

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