Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
Details
Activity
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
hooloo
mp
user
Commits
32a113a2
Commit
32a113a2
authored
Jun 16, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改首页个人信息样式
parent
9da4861c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
30 deletions
+39
-30
components/menuAssembly/index.vue
+1
-0
pages/menu/menu.vue
+38
-30
static/touxiang.png
+0
-0
No files found.
components/menuAssembly/index.vue
View file @
32a113a2
...
...
@@ -354,6 +354,7 @@ export default {
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
box-shadow
:
0px
3px
2px
#f4f2f2
;
}
.nav-left-item
:last-child
{
...
...
pages/menu/menu.vue
View file @
32a113a2
...
...
@@ -11,18 +11,24 @@
</view>
<view
class=
"login-area"
>
<view
class=
"avatar"
>
<image
:src=
"'../../static/
logo
.png'"
></image>
<image
:src=
"'../../static/
touxiang
.png'"
></image>
</view>
<view
class=
"user-info"
@
click=
"goToMyPage(userms)"
>
<view
class=
"user-infocontent"
>
<view
class=
"user-name"
v-if=
"userms"
>
HI!
{{
userInfo
.
customerName
||
'我是谁'
}}
</view>
<view
class=
"user-name"
v-else
>
未登录
</view>
<view
class=
"dialog"
>
<view
class=
"content"
v-if=
"userms"
>
希望你今天,明天,天天都开心~
</view>
<view
class=
"content"
v-if=
"userms"
>
如果以后再也见不到你,那就祝你早安,午安,晚安...
</view>
<view
class=
"content"
v-if=
"!userms"
>
请您尽快登录
</view>
</view>
</view>
<view>
<u-icon
name=
"arrow-right"
class=
"arrow-right-select"
color=
"#717171"
></u-icon>
</view>
</view>
<button
class=
"login-btn"
v-if=
"!userms"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
>
立刻登录
</button>
@
getphonenumber=
"getPhoneNumber"
>
立刻登录
</button>
</view>
</view>
...
...
@@ -280,12 +286,14 @@ export default {
.shop-box
{
min-width
:
300
rpx
;
font-size
:
28
rpx
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
display
:
flex
;
.shop-name
{
flex
:
1
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-size
:
32
rpx
;
color
:
#000000
;
}
.arrow-right-select
{
...
...
@@ -299,7 +307,7 @@ export default {
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
42
rpx
;
line-height
:
50
rpx
;
}
}
}
...
...
@@ -315,60 +323,60 @@ export default {
.login-area
{
display
:
flex
;
width
:
624
rpx
;
height
:
88
rpx
;
padding
:
20
rpx
22
rpx
;
background
:
rgba
(
255
,
255
,
255
,
0.2
);
box-shadow
:
0
rpx
4
rpx
6
rpx
0
rpx
rgba
(
0
,
0
,
0
,
0.1
);
border-radius
:
10
rpx
;
backdrop-filter
:
blur
(
10
rpx
);
width
:
684
rpx
;
height
:
100
rpx
;
padding
:
16
rpx
28
rpx
;
background
:
#ffffff
;
position
:
absolute
;
z-index
:
1
;
bottom
:
0
;
left
:
6
4
rpx
;
bottom
:
-10
rpx
;
left
:
3
4
rpx
;
box-sizing
:
border-box
;
box-shadow
:
0px
3px
2px
#f4f2f2
;
z-index
:
9
;
.avatar
{
display
:
flex
;
justify-items
:
center
;
align-items
:
center
;
background
:
red
;
width
:
50
rpx
;
height
:
48
rpx
;
width
:
70
rpx
;
height
:
70
rpx
;
margin-right
:
22
rpx
;
box-shadow
:
0
rpx
4
rpx
8
rpx
0
rpx
rgba
(
50
,
50
,
50
,
0.25
);
border-radius
:
4
rpx
;
image
{
width
:
100%
;
height
:
100%
;
}
;
border-radius
:
60
rpx
;
}
;
}
.user-info
{
flex
:
1
;
display
:
flex
;
align-items
:
center
;
height
:
70
rpx
;
justify-content
:
space-between
;
flex-wrap
:
nowrap
;
.user-name
{
height
:
28
rpx
;
font-size
:
2
0
rpx
;
font-size
:
2
5
rpx
;
font-family
:
ArialMT
;
color
:
#FFFFFF
;
line-height
:
2
2
rpx
;
font-weight
:
bolder
;
line-height
:
2
5
rpx
;
}
.dialog
{
display
:
flex
;
height
:
22
rpx
;
font-size
:
16
rpx
;
font-size
:
20
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
22
rpx
;
margin-top
:
8
rpx
;
.content
{
flex
:
1
;
letter-space
:
20
rpx
;
color
:
#666666
;
}
.arrow
{
...
...
static/touxiang.png
0 → 100644
View file @
32a113a2
2.31 KB
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