Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
613f5352
Commit
613f5352
authored
Sep 30, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cb33fc1e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
index.vue
components/auth/index.vue
+1
-0
pages.json
pages.json
+5
-1
user-center.vue
pages/user-center/user-center.vue
+8
-5
No files found.
components/auth/index.vue
View file @
613f5352
...
...
@@ -369,6 +369,7 @@ export default {
},
},
(
res
)
=>
{
console
.
log
(
"AppletLogin/Login"
,
res
);
uni
.
hideLoading
();
that
.
showLogin
=
true
;
//防止多次点击登录
if
(
res
.
resultCode
==
1
)
{
...
...
pages.json
View file @
613f5352
...
...
@@ -101,7 +101,11 @@
{
"path"
:
"user-center"
,
"style"
:
{
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
,
"mp-alipay"
:
{
"transparentTitle"
:
"always"
,
"titlePenetrate"
:
"YES"
}
}
}
]
...
...
pages/user-center/user-center.vue
View file @
613f5352
...
...
@@ -69,7 +69,7 @@
display: flex;
flex-direction: column;
justify-content: center;
height:
50
px;
height:
100r
px;
margin-left: 20rpx;
"
>
...
...
@@ -79,7 +79,7 @@
color: #fff;
font-size: 40rpx;
font-weight: 800;
max-width:
200
px;
max-width:
400r
px;
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
:
20
px
;
margin-bottom
:
40
r
px
;
}
.userStyle
.miniHeadTop
{
height
:
200
px
;
height
:
400
r
px
;
}
.userBox
.headCommon
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment