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
6d3c7899
authored
May 29, 2026
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
style(mine): 调整个人中心页面样式和布局
- 修改个人信息区域的内边距 - 更新背景高度以适应新设计 - 移除职位信息显示 - 为信息值添加空状态样式
parent
40db6d65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
assets/css/mine/index.scss
pages/mine/index.vue
assets/css/mine/index.scss
View file @
6d3c7899
...
...
@@ -5,7 +5,7 @@
.profile-hero
{
position
:
relative
;
padding
:
48rpx
32rpx
48
rpx
;
padding
:
32rpx
32rpx
32
rpx
;
margin-bottom
:
16rpx
;
.hero-bg
{
...
...
@@ -13,7 +13,7 @@
top
:
0
;
left
:
0
;
right
:
0
;
height
:
1
9
8rpx
;
height
:
1
4
8rpx
;
background
:
linear-gradient
(
135deg
,
#2563eb
0%
,
#3b82f6
100%
);
border-radius
:
0
0
32rpx
32rpx
;
}
...
...
@@ -52,12 +52,6 @@
font-weight
:
600
;
color
:
#ffffff
;
letter-spacing
:
0
.5rpx
;
margin-bottom
:
8rpx
;
}
.p-position
{
font-size
:
24rpx
;
color
:
rgba
(
255
,
255
,
255
,
0
.8
);
}
}
}
...
...
@@ -103,6 +97,10 @@
color
:
#1e293b
;
text-align
:
right
;
word-break
:
break-all
;
&
.empty
{
color
:
#cbd5e1
;
}
}
}
}
...
...
pages/mine/index.vue
View file @
6d3c7899
...
...
@@ -8,7 +8,6 @@
</view>
<view
class=
"profile-meta"
>
<text
class=
"p-name"
>
{{
info
.
name
||
'--'
}}
</text>
<text
class=
"p-position"
>
{{
info
.
position_name
||
'暂无岗位信息'
}}
</text>
</view>
</view>
</view>
...
...
@@ -19,7 +18,7 @@
<u-icon
:name=
"item.icon"
color=
"#ffffff"
size=
"32"
></u-icon>
</view>
<text
class=
"info-label"
>
{{
item
.
label
}}
</text>
<text
class=
"info-value"
>
{{
info
[
item
.
key
]
||
'--'
}}
</text>
<text
class=
"info-value"
:class=
"
{ empty: !info[item.key] }"
>
{{
info
[
item
.
key
]
||
'--'
}}
</text>
</view>
</view>
...
...
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