优化首页公告与轮播图

This commit is contained in:
yml
2026-05-23 01:50:45 +08:00
parent 96d87483b0
commit c9db34ddda
14 changed files with 797 additions and 91 deletions
+18 -17
View File
@@ -127,7 +127,7 @@ const maskedPhone = computed(() =>
<van-icon
name="setting-o"
:size="22"
color="rgba(255,255,255,0.85)"
color="#64748b"
/>
</button>
</div>
@@ -247,19 +247,14 @@ const maskedPhone = computed(() =>
padding: 0 0 60px;
}
/* ========== 已登录区 - Hero蓝色横幅 ========== */
/* ========== 已登录区 - 个人信息卡 ========== */
.profile-hero {
position: relative;
padding: 28px 20px 40px;
border-radius: 0 0 24px 24px;
overflow: hidden;
padding: 14px 12px 0;
}
.hero-bg {
position: absolute;
inset: 0;
background: #1479ff;
z-index: 0;
display: none;
}
.profile-hero-content {
@@ -268,6 +263,11 @@ const maskedPhone = computed(() =>
display: flex;
align-items: center;
gap: 14px;
border: 1px solid #eef1f5;
border-radius: 18px;
background: #fff;
padding: 16px;
box-shadow: 0 8px 24px rgba(23, 35, 61, 0.06);
}
.avatar-wrap {
@@ -279,9 +279,10 @@ const maskedPhone = computed(() =>
width: 54px;
height: 54px;
place-items: center;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
font-size: 28px;
border-radius: 16px;
background: #fff3e8;
color: #ff6a00;
font-size: 26px;
}
.hero-user {
@@ -294,14 +295,14 @@ const maskedPhone = computed(() =>
margin: 0;
font-size: 18px;
font-weight: 800;
color: #fff;
color: #17233d;
text-overflow: ellipsis;
white-space: nowrap;
}
.hero-user p {
margin: 4px 0 0;
color: rgba(255, 255, 255, 0.75);
color: #7b8798;
font-size: 12px;
}
@@ -311,15 +312,15 @@ const maskedPhone = computed(() =>
height: 36px;
place-items: center;
border: none;
background: rgba(255, 255, 255, 0.15);
border-radius: 50%;
background: #f4f6f8;
border-radius: 12px;
cursor: pointer;
}
/* ========== 余额卡片 - 白色浮层 ========== */
.balance-card {
position: relative;
margin: -24px 12px 0;
margin: 12px 12px 0;
padding: 18px 16px 14px;
border-radius: 16px;
background: #fff;