style(uiux): 依据ui-ux-pro-max规范深度打磨移动浏览器端细节并完成真机视口验收

这个提交包含在:
wikiboss
2026-09-16 17:09:19 +08:00
父节点 a377327465
当前提交 973586ff5f
共有 9 个文件被更改,包括 235 次插入 和 84 次删除

查看文件

@@ -205,7 +205,7 @@ const navTo = (url) => {
.user-container {
min-height: 100vh;
background-color: #0A0F1D;
padding: 24rpx 32rpx 140rpx;
padding: 24rpx 32rpx calc(160rpx + env(safe-area-inset-bottom));
}
.profile-card {
@@ -273,14 +273,32 @@ const navTo = (url) => {
.role-switch-card {
position: relative;
border-radius: 24rpx;
background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
border: 2rpx solid #6366F1;
box-shadow: 0 8rpx 28rpx rgba(99, 102, 241, 0.35);
overflow: hidden;
padding: 28rpx;
margin-bottom: 28rpx;
overflow: hidden;
box-shadow: 0 8rpx 28rpx rgba(99, 102, 241, 0.35);
&::before {
content: '';
position: absolute;
inset: -50%;
background: conic-gradient(from 0deg, transparent 0%, #6366F1 25%, #10B981 50%, #6366F1 75%, transparent 100%);
animation: glowSpin 5s linear infinite;
z-index: 0;
}
&::after {
content: '';
position: absolute;
inset: 2rpx;
background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
border-radius: 22rpx;
z-index: 1;
}
.role-content {
position: relative;
z-index: 2;
display: flex;
justify-content: space-between;
align-items: center;
@@ -382,6 +400,7 @@ const navTo = (url) => {
font-size: 36rpx;
font-weight: 700;
margin-bottom: 14rpx;
font-variant-numeric: tabular-nums;
&.green-val {
color: #10B981;
@@ -503,4 +522,9 @@ const navTo = (url) => {
}
}
}
@keyframes glowSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>