Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
scm_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
01f9a28b
authored
May 29, 2026
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
feat(mine): 添加用户邮箱信息显示
在个人中心页面的个人资料部分,新增绑定邮箱的显示。 同时,调整了样式以确保信息的正确展示。
parent
a146eb3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
assets/css/mine/index.scss
pages/mine/index.vue
assets/css/mine/index.scss
View file @
01f9a28b
...
@@ -69,6 +69,7 @@
...
@@ -69,6 +69,7 @@
.profile-meta
{
.profile-meta
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
min-width
:
0
;
.p-name
{
.p-name
{
font-size
:
36rpx
;
font-size
:
36rpx
;
...
@@ -76,6 +77,13 @@
...
@@ -76,6 +77,13 @@
color
:
#ffffff
;
color
:
#ffffff
;
letter-spacing
:
0
.5rpx
;
letter-spacing
:
0
.5rpx
;
}
}
.p-email
{
margin-top
:
10rpx
;
font-size
:
24rpx
;
color
:
rgba
(
255
,
255
,
255
,
0
.86
);
word-break
:
break-all
;
}
}
}
}
}
}
}
...
...
pages/mine/index.vue
View file @
01f9a28b
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
</view>
</view>
<view
class=
"profile-meta"
>
<view
class=
"profile-meta"
>
<text
class=
"p-name"
>
{{
info
.
name
||
'--'
}}
</text>
<text
class=
"p-name"
>
{{
info
.
name
||
'--'
}}
</text>
<text
class=
"p-email"
>
{{
info
.
email
||
'--'
}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -39,8 +40,6 @@
...
@@ -39,8 +40,6 @@
return
{
return
{
info
:
{},
info
:
{},
infoFields
:
[
infoFields
:
[
{
key
:
'name'
,
label
:
'员工姓名'
,
icon
:
'account-fill'
,
bg
:
'linear-gradient(135deg, #3b82f6, #2563eb)'
},
{
key
:
'email'
,
label
:
'绑定邮箱'
,
icon
:
'email-fill'
,
bg
:
'linear-gradient(135deg, #0ea5e9, #0284c7)'
},
{
key
:
'department_name'
,
label
:
'部门'
,
icon
:
'home-fill'
,
bg
:
'linear-gradient(135deg, #8b5cf6, #7c3aed)'
},
{
key
:
'department_name'
,
label
:
'部门'
,
icon
:
'home-fill'
,
bg
:
'linear-gradient(135deg, #8b5cf6, #7c3aed)'
},
{
key
:
'position_name'
,
label
:
'岗位'
,
icon
:
'star-fill'
,
bg
:
'linear-gradient(135deg, #f59e0b, #d97706)'
}
{
key
:
'position_name'
,
label
:
'岗位'
,
icon
:
'star-fill'
,
bg
:
'linear-gradient(135deg, #f59e0b, #d97706)'
}
]
]
...
...
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