Commit 01f9a28b by liangjianmin

feat(mine): 添加用户邮箱信息显示

在个人中心页面的个人资料部分,新增绑定邮箱的显示。
同时,调整了样式以确保信息的正确展示。
parent a146eb3d
......@@ -69,6 +69,7 @@
.profile-meta {
display: flex;
flex-direction: column;
min-width: 0;
.p-name {
font-size: 36rpx;
......@@ -76,6 +77,13 @@
color: #ffffff;
letter-spacing: 0.5rpx;
}
.p-email {
margin-top: 10rpx;
font-size: 24rpx;
color: rgba(255, 255, 255, 0.86);
word-break: break-all;
}
}
}
}
......
......@@ -8,6 +8,7 @@
</view>
<view class="profile-meta">
<text class="p-name">{{ info.name || '--' }}</text>
<text class="p-email">{{ info.email || '--' }}</text>
</view>
</view>
</view>
......@@ -39,8 +40,6 @@
return {
info: {},
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: 'position_name', label: '岗位', icon: 'star-fill', bg: 'linear-gradient(135deg, #f59e0b, #d97706)' }
]
......
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 sign in to comment