style: 按毛玻璃设计稿重做广场/附近/发布/汪友/我的五大页面视觉
参照 wangquan_glass_redesign_mockup.html 的玻璃拟态(glassmorphism)设计语言重写前端展示样式: - app.wxss: 引入 coral/tangerine/lemon/mint/sky/lilac 色板与 .glass/.glass-strong/.sticker-tag 毛玻璃工具类,背景改为纯白 - custom-tab-bar: 改为悬浮玻璃浮岛(.tab-dock),含液态光泽动画与渐变发布按钮(FAB) - feed: 故事条改为方形圆角描边+conic渐变,顶部操作按钮、骨架屏改为玻璃质感 - post-card 组件: 卡片/贴纸标签/操作按钮全面玻璃化,点赞按钮改为渐变高亮 - nearby: 地图控件、宠物弹窗、列表项、预览条统一为毛玻璃卡片 - post: 上传区/输入框/标签pill/心情选择器改为玻璃质感+渐变选中态 - friends: 空态与好友列表项改为玻璃卡片 - profile: 用户信息区改为带渐变光斑的玻璃英雄卡,统计/宠物卡/动态网格同步玻璃化 未改动页面结构(WXML)与业务逻辑(TS),仅升级视觉样式(WXSS),保持程序可运行。
This commit is contained in:
@@ -1,28 +1,39 @@
|
|||||||
/* ── 全局设计令牌 ── */
|
/* ── 全局设计令牌:毛玻璃配色系统 ── */
|
||||||
page {
|
page {
|
||||||
--pink: #ff4f91;
|
--coral: #ff2d6e;
|
||||||
--pink-light: #ffe5f0;
|
--tangerine: #ff7a1a;
|
||||||
--orange: #ff9f1c;
|
--lemon: #ffd400;
|
||||||
--yellow: #ffe15a;
|
--mint: #00d9a0;
|
||||||
--green: #2fd37a;
|
--sky: #1f9bff;
|
||||||
--mint: #67e8c9;
|
--lilac: #8b5cf6;
|
||||||
--blue: #4d8dff;
|
|
||||||
--violet: #8c5cff;
|
|
||||||
--ink: #272235;
|
|
||||||
|
|
||||||
--bg-primary: #fff9fb;
|
/* 兼容旧变量名,逐步迁移 */
|
||||||
--bg-page: linear-gradient(180deg, #fff8f2 0%, #fff4fb 50%, #f5f0ff 100%);
|
--pink: var(--coral);
|
||||||
|
--pink-light: rgba(255, 45, 110, 0.14);
|
||||||
|
--orange: var(--tangerine);
|
||||||
|
--yellow: var(--lemon);
|
||||||
|
--green: var(--mint);
|
||||||
|
--blue: var(--sky);
|
||||||
|
--violet: var(--lilac);
|
||||||
|
--ink: #2b2438;
|
||||||
|
|
||||||
--text-primary: #272235;
|
--bg-primary: #ffffff;
|
||||||
--text-secondary: #6a6178;
|
--bg-page: #ffffff;
|
||||||
--text-tertiary: #9b8fa8;
|
|
||||||
|
--text-primary: #2b2438;
|
||||||
|
--text-secondary: #6e6480;
|
||||||
|
--text-tertiary: #a59cb5;
|
||||||
|
|
||||||
|
--glass: rgba(255, 255, 255, 0.40);
|
||||||
|
--glass-strong: rgba(255, 255, 255, 0.58);
|
||||||
|
--glass-edge: rgba(255, 255, 255, 0.78);
|
||||||
|
|
||||||
--border-card: rgba(255, 255, 255, 0.72);
|
--border-card: rgba(255, 255, 255, 0.72);
|
||||||
--border-subtle: rgba(43, 37, 61, 0.08);
|
--border-subtle: rgba(43, 37, 61, 0.08);
|
||||||
|
|
||||||
--shadow-soft: 0 18rpx 40rpx rgba(95, 49, 104, 0.12);
|
--shadow-soft: 0 22rpx 48rpx rgba(120, 70, 140, 0.16);
|
||||||
--shadow-card: 0 10rpx 28rpx rgba(78, 56, 96, 0.10);
|
--shadow-card: 0 22rpx 48rpx rgba(120, 70, 140, 0.16);
|
||||||
--shadow-pop: 0 10rpx 22rpx rgba(255, 79, 145, 0.28);
|
--shadow-pop: 0 14rpx 32rpx rgba(255, 45, 110, 0.30);
|
||||||
|
|
||||||
--radius-sm: 16rpx;
|
--radius-sm: 16rpx;
|
||||||
--radius-md: 28rpx;
|
--radius-md: 28rpx;
|
||||||
@@ -57,7 +68,7 @@ button::after {
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── 通用卡片 ── */
|
/* ── 通用卡片(兼容旧用法) ── */
|
||||||
.card {
|
.card {
|
||||||
background: rgba(255, 255, 255, 0.86);
|
background: rgba(255, 255, 255, 0.86);
|
||||||
border: 1rpx solid var(--border-card);
|
border: 1rpx solid var(--border-card);
|
||||||
@@ -66,12 +77,50 @@ button::after {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ── 真毛玻璃工具类:背景模糊 + 折射边缘 + 内高光
|
||||||
|
低端 Android 对 backdrop-filter 支持有限,已叠加半透明底色兜底 ── */
|
||||||
|
.glass {
|
||||||
|
background: var(--glass);
|
||||||
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
box-shadow: var(--shadow-soft), inset 0 1rpx 0 rgba(255, 255, 255, 0.65), inset 0 -1rpx 0 rgba(255, 255, 255, 0.12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.glass-strong {
|
||||||
|
background: var(--glass-strong);
|
||||||
|
backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
|
-webkit-backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
box-shadow: var(--shadow-soft), inset 0 1rpx 0 rgba(255, 255, 255, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── 贴纸式标签:略微旋转,像贴上去的 ── */
|
||||||
|
.sticker-tag {
|
||||||
|
position: absolute;
|
||||||
|
background: rgba(255, 255, 255, 0.55);
|
||||||
|
backdrop-filter: blur(20rpx) saturate(180%);
|
||||||
|
-webkit-backdrop-filter: blur(20rpx) saturate(180%);
|
||||||
|
color: var(--ink);
|
||||||
|
font-size: 22rpx;
|
||||||
|
font-weight: 800;
|
||||||
|
padding: 10rpx 22rpx;
|
||||||
|
border-radius: 24rpx;
|
||||||
|
border: 1rpx solid rgba(255, 255, 255, 0.7);
|
||||||
|
box-shadow: 0 14rpx 30rpx rgba(120, 70, 150, 0.18);
|
||||||
|
transform: rotate(-3deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sticker-tag.tilt-r {
|
||||||
|
transform: rotate(3deg);
|
||||||
|
}
|
||||||
|
|
||||||
/* ── 渐变按钮 ── */
|
/* ── 渐变按钮 ── */
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background: linear-gradient(135deg, var(--pink), var(--orange));
|
background: linear-gradient(135deg, var(--coral), var(--tangerine));
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: var(--radius-full);
|
border-radius: var(--radius-full);
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
@@ -95,8 +144,9 @@ button::after {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #8b3cff;
|
color: #8a3fe0;
|
||||||
background: #f0e8ff;
|
background: rgba(167, 139, 250, 0.16);
|
||||||
|
border: 1rpx solid rgba(167, 139, 250, 0.28);
|
||||||
border-radius: var(--radius-full);
|
border-radius: var(--radius-full);
|
||||||
padding: 6rpx 14rpx;
|
padding: 6rpx 14rpx;
|
||||||
}
|
}
|
||||||
@@ -106,9 +156,9 @@ button::after {
|
|||||||
width: 14rpx;
|
width: 14rpx;
|
||||||
height: 14rpx;
|
height: 14rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: var(--green);
|
background: var(--mint);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
box-shadow: 0 0 0 5rpx rgba(47, 211, 122, 0.18);
|
box-shadow: 0 0 0 5rpx rgba(0, 217, 160, 0.18);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── 骨架屏占位 ── */
|
/* ── 骨架屏占位 ── */
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
.post-card {
|
.post-card {
|
||||||
margin: 0 28rpx 32rpx;
|
margin: 0 28rpx 32rpx;
|
||||||
background: rgba(255, 255, 255, 0.88);
|
background: rgba(255, 255, 255, 0.40);
|
||||||
border-radius: 48rpx;
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border-radius: 56rpx;
|
||||||
|
border: 1rpx solid rgba(255, 255, 255, 0.78);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 18rpx 40rpx rgba(95, 49, 104, 0.12);
|
box-shadow: 0 22rpx 48rpx rgba(120, 70, 140, 0.16), inset 0 1rpx 0 rgba(255, 255, 255, 0.65);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 头部 */
|
/* 头部 */
|
||||||
@@ -16,17 +18,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post-avatar {
|
.post-avatar {
|
||||||
width: 76rpx;
|
width: 80rpx;
|
||||||
height: 76rpx;
|
height: 80rpx;
|
||||||
border-radius: 28rpx;
|
border-radius: 30rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: rgba(39, 34, 53, 0.72);
|
color: rgba(43, 36, 56, 0.72);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.8);
|
border: 3rpx solid rgba(255, 255, 255, 0.85);
|
||||||
|
box-shadow: 0 10rpx 22rpx rgba(120, 70, 150, 0.16);
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-meta {
|
.post-meta {
|
||||||
@@ -38,7 +41,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-loc {
|
.post-loc {
|
||||||
@@ -52,7 +55,7 @@
|
|||||||
|
|
||||||
.loc-text {
|
.loc-text {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -60,7 +63,7 @@
|
|||||||
|
|
||||||
.post-time {
|
.post-time {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -78,14 +81,19 @@
|
|||||||
|
|
||||||
.post-tag-chip {
|
.post-tag-chip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20rpx;
|
top: 22rpx;
|
||||||
left: 20rpx;
|
left: 22rpx;
|
||||||
background: rgba(39, 34, 53, 0.88);
|
background: rgba(255, 255, 255, 0.55);
|
||||||
color: #fff;
|
backdrop-filter: blur(20rpx) saturate(180%);
|
||||||
font-size: 20rpx;
|
-webkit-backdrop-filter: blur(20rpx) saturate(180%);
|
||||||
|
color: #2b2438;
|
||||||
|
font-size: 21rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
padding: 8rpx 18rpx;
|
padding: 10rpx 22rpx;
|
||||||
border-radius: 999rpx;
|
border-radius: 24rpx;
|
||||||
|
border: 1rpx solid rgba(255, 255, 255, 0.7);
|
||||||
|
box-shadow: 0 14rpx 30rpx rgba(120, 70, 150, 0.18);
|
||||||
|
transform: rotate(-3deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-img-grid {
|
.post-img-grid {
|
||||||
@@ -127,7 +135,7 @@
|
|||||||
.post-caption {
|
.post-caption {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 16rpx;
|
margin-bottom: 16rpx;
|
||||||
}
|
}
|
||||||
@@ -144,8 +152,9 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #8b3cff;
|
color: #8a3fe0;
|
||||||
background: #f0e8ff;
|
background: rgba(167, 139, 250, 0.16);
|
||||||
|
border: 1rpx solid rgba(167, 139, 250, 0.28);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 6rpx 14rpx;
|
padding: 6rpx 14rpx;
|
||||||
}
|
}
|
||||||
@@ -153,9 +162,9 @@
|
|||||||
/* 操作栏 */
|
/* 操作栏 */
|
||||||
.post-actions {
|
.post-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 16rpx;
|
gap: 14rpx;
|
||||||
padding-top: 18rpx;
|
padding-top: 20rpx;
|
||||||
border-top: 1rpx solid rgba(43, 37, 61, 0.07);
|
border-top: 1rpx solid rgba(255, 255, 255, 0.55);
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-btn {
|
.action-btn {
|
||||||
@@ -164,15 +173,23 @@
|
|||||||
gap: 8rpx;
|
gap: 8rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #6a6178;
|
color: #6e6480;
|
||||||
background: #f7f3ff;
|
background: rgba(255, 255, 255, 0.42);
|
||||||
|
border: 1rpx solid rgba(255, 255, 255, 0.62);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 10rpx 18rpx;
|
padding: 12rpx 22rpx;
|
||||||
|
transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-btn:active {
|
||||||
|
transform: scale(0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-btn.liked {
|
.action-btn.liked {
|
||||||
color: #ff4f91;
|
color: #fff;
|
||||||
background: #ffe5f0;
|
background: linear-gradient(135deg, #ff2d6e, #ff7a1a);
|
||||||
|
border-color: transparent;
|
||||||
|
box-shadow: 0 12rpx 26rpx rgba(255, 45, 110, 0.32);
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-icon {
|
.action-icon {
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
<view class="tab-bar">
|
<view class="tab-dock">
|
||||||
|
<view class="dock-sheen"></view>
|
||||||
|
|
||||||
<!-- 广场 -->
|
<!-- 广场 -->
|
||||||
<view class="tab-item {{selected === 0 ? 'active' : ''}}" bindtap="onTab" data-index="0" data-path="/pages/feed/feed">
|
<view class="tab-pill {{selected === 0 ? 'active' : ''}}" bindtap="onTab" data-index="0" data-path="/pages/feed/feed">
|
||||||
<view class="icon-wrap">
|
<view class="icon-wrap">
|
||||||
<view class="icon-grid">
|
<view class="icon-grid">
|
||||||
<view class="sq"></view><view class="sq"></view>
|
<view class="sq"></view><view class="sq"></view>
|
||||||
@@ -12,7 +13,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 附近 -->
|
<!-- 附近 -->
|
||||||
<view class="tab-item {{selected === 1 ? 'active' : ''}}" bindtap="onTab" data-index="1" data-path="/pages/nearby/nearby">
|
<view class="tab-pill {{selected === 1 ? 'active' : ''}}" bindtap="onTab" data-index="1" data-path="/pages/nearby/nearby">
|
||||||
<view class="icon-wrap">
|
<view class="icon-wrap">
|
||||||
<view class="icon-pin">
|
<view class="icon-pin">
|
||||||
<view class="pin-head"></view>
|
<view class="pin-head"></view>
|
||||||
@@ -25,12 +26,13 @@
|
|||||||
<!-- 发布 FAB -->
|
<!-- 发布 FAB -->
|
||||||
<view class="tab-fab-wrap">
|
<view class="tab-fab-wrap">
|
||||||
<view class="tab-fab" bindtap="onPost">
|
<view class="tab-fab" bindtap="onPost">
|
||||||
|
<view class="fab-shine"></view>
|
||||||
<text class="fab-plus">+</text>
|
<text class="fab-plus">+</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 汪友 -->
|
<!-- 汪友 -->
|
||||||
<view class="tab-item {{selected === 2 ? 'active' : ''}}" bindtap="onTab" data-index="2" data-path="/pages/friends/friends">
|
<view class="tab-pill {{selected === 2 ? 'active' : ''}}" bindtap="onTab" data-index="2" data-path="/pages/friends/friends">
|
||||||
<view class="icon-wrap" style="position:relative">
|
<view class="icon-wrap" style="position:relative">
|
||||||
<view class="icon-ppl">
|
<view class="icon-ppl">
|
||||||
<view class="ppl-head ppl-head-l"></view>
|
<view class="ppl-head ppl-head-l"></view>
|
||||||
@@ -43,7 +45,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 我的 -->
|
<!-- 我的 -->
|
||||||
<view class="tab-item {{selected === 3 ? 'active' : ''}}" bindtap="onTab" data-index="3" data-path="/pages/profile/profile">
|
<view class="tab-pill {{selected === 3 ? 'active' : ''}}" bindtap="onTab" data-index="3" data-path="/pages/profile/profile">
|
||||||
<view class="icon-wrap">
|
<view class="icon-wrap">
|
||||||
<view class="icon-user">
|
<view class="icon-user">
|
||||||
<view class="user-head"></view>
|
<view class="user-head"></view>
|
||||||
|
|||||||
@@ -1,43 +1,83 @@
|
|||||||
/* ── 底部导航栏 ── */
|
/* ── 底部导航:悬浮玻璃浮岛 ──
|
||||||
.tab-bar {
|
绝对定位浮在内容上方,左右下三边露出底层内容;
|
||||||
|
分层折射高光 + 缓慢流动的光泽,模拟液态玻璃透镜质感 */
|
||||||
|
.tab-dock {
|
||||||
|
position: fixed;
|
||||||
|
left: 16rpx;
|
||||||
|
right: 16rpx;
|
||||||
|
bottom: 28rpx;
|
||||||
|
z-index: 999;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-top: 1rpx solid rgba(255, 255, 255, 0.65);
|
justify-content: space-around;
|
||||||
background: rgba(255, 255, 255, 0.90);
|
border-radius: 64rpx;
|
||||||
padding: 10rpx 0 calc(10rpx + env(safe-area-inset-bottom));
|
padding: 14rpx 8rpx calc(14rpx + env(safe-area-inset-bottom) * 0.6);
|
||||||
box-shadow: 0 -10rpx 24rpx rgba(110, 78, 131, 0.08);
|
overflow: hidden;
|
||||||
position: fixed;
|
isolation: isolate;
|
||||||
bottom: 0;
|
background:
|
||||||
left: 0;
|
radial-gradient(130% 160% at 16% -40%, rgba(255, 255, 255, 0.6), transparent 56%),
|
||||||
right: 0;
|
radial-gradient(110% 140% at 92% 145%, rgba(255, 255, 255, 0.16), transparent 60%),
|
||||||
z-index: 999;
|
rgba(255, 255, 255, 0.30);
|
||||||
|
backdrop-filter: blur(26rpx) saturate(200%);
|
||||||
|
-webkit-backdrop-filter: blur(26rpx) saturate(200%);
|
||||||
|
border: 1rpx solid rgba(255, 255, 255, 0.55);
|
||||||
|
box-shadow:
|
||||||
|
0 20rpx 50rpx rgba(120, 70, 140, 0.18),
|
||||||
|
inset 0 1.5rpx 0 rgba(255, 255, 255, 0.7),
|
||||||
|
inset 0 -10rpx 22rpx rgba(255, 255, 255, 0.10),
|
||||||
|
inset 10rpx 0 22rpx rgba(255, 255, 255, 0.08),
|
||||||
|
inset -10rpx 0 22rpx rgba(180, 150, 210, 0.10);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 流动光泽:缓慢左右扫过的液态高光带 */
|
||||||
|
.dock-sheen {
|
||||||
|
position: absolute;
|
||||||
|
top: -60%;
|
||||||
|
left: -15%;
|
||||||
|
right: -15%;
|
||||||
|
height: 220%;
|
||||||
|
background: linear-gradient(102deg, transparent 32%, rgba(255, 255, 255, 0.40) 48%, transparent 64%);
|
||||||
|
filter: blur(14rpx);
|
||||||
|
animation: liquid-sheen 8s ease-in-out infinite;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 0;
|
||||||
|
transform: translateX(-14%) rotate(-2deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes liquid-sheen {
|
||||||
|
0%, 100% { transform: translateX(-14%) rotate(-2deg); opacity: 0.45; }
|
||||||
|
50% { transform: translateX(14%) rotate(2deg); opacity: 0.85; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── Tab 项 ── */
|
/* ── Tab 项 ── */
|
||||||
.tab-item {
|
.tab-pill {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 5rpx;
|
gap: 6rpx;
|
||||||
border-radius: 22rpx;
|
border-radius: 36rpx;
|
||||||
padding: 8rpx 0 6rpx;
|
padding: 12rpx 0 8rpx;
|
||||||
position: relative;
|
transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1), background 0.25s ease, color 0.25s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-item.active {
|
.tab-pill.active {
|
||||||
background: linear-gradient(180deg, rgba(255, 79, 145, 0.12), rgba(255, 225, 90, 0.08));
|
background: rgba(255, 45, 110, 0.14);
|
||||||
|
transform: translateY(-6rpx) scale(1.04);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-label {
|
.tab-label {
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
transition: color 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-item.active .tab-label {
|
.tab-pill.active .tab-label {
|
||||||
color: #ff4f91;
|
color: #ff2d6e;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,13 +101,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.icon-grid .sq {
|
.icon-grid .sq {
|
||||||
background: #9b8fa8;
|
background: #a59cb5;
|
||||||
border-radius: 4rpx;
|
border-radius: 4rpx;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-item.active .icon-grid .sq {
|
.tab-pill.active .icon-grid .sq {
|
||||||
background: #ff4f91;
|
background: #ff2d6e;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── 附近图标:地图 Pin ── */
|
/* ── 附近图标:地图 Pin ── */
|
||||||
@@ -82,7 +122,7 @@
|
|||||||
width: 22rpx;
|
width: 22rpx;
|
||||||
height: 22rpx;
|
height: 22rpx;
|
||||||
border-radius: 50% 50% 50% 0;
|
border-radius: 50% 50% 50% 0;
|
||||||
background: #9b8fa8;
|
background: #a59cb5;
|
||||||
transform: rotate(-45deg);
|
transform: rotate(-45deg);
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
}
|
}
|
||||||
@@ -90,15 +130,15 @@
|
|||||||
.pin-tail {
|
.pin-tail {
|
||||||
width: 4rpx;
|
width: 4rpx;
|
||||||
height: 8rpx;
|
height: 8rpx;
|
||||||
background: #9b8fa8;
|
background: #a59cb5;
|
||||||
border-radius: 0 0 4rpx 4rpx;
|
border-radius: 0 0 4rpx 4rpx;
|
||||||
margin-top: -2rpx;
|
margin-top: -2rpx;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-item.active .pin-head,
|
.tab-pill.active .pin-head,
|
||||||
.tab-item.active .pin-tail {
|
.tab-pill.active .pin-tail {
|
||||||
background: #ff4f91;
|
background: #ff2d6e;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── 汪友图标:双人轮廓 ── */
|
/* ── 汪友图标:双人轮廓 ── */
|
||||||
@@ -113,7 +153,7 @@
|
|||||||
width: 14rpx;
|
width: 14rpx;
|
||||||
height: 14rpx;
|
height: 14rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #9b8fa8;
|
background: #a59cb5;
|
||||||
top: 0;
|
top: 0;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
}
|
}
|
||||||
@@ -127,14 +167,14 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
height: 14rpx;
|
height: 14rpx;
|
||||||
background: #9b8fa8;
|
background: #a59cb5;
|
||||||
border-radius: 8rpx 8rpx 0 0;
|
border-radius: 8rpx 8rpx 0 0;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-item.active .ppl-head,
|
.tab-pill.active .ppl-head,
|
||||||
.tab-item.active .ppl-body {
|
.tab-pill.active .ppl-body {
|
||||||
background: #ff4f91;
|
background: #ff2d6e;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── 我的图标:单人轮廓 ── */
|
/* ── 我的图标:单人轮廓 ── */
|
||||||
@@ -151,7 +191,7 @@
|
|||||||
width: 18rpx;
|
width: 18rpx;
|
||||||
height: 18rpx;
|
height: 18rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #9b8fa8;
|
background: #a59cb5;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,39 +199,63 @@
|
|||||||
width: 28rpx;
|
width: 28rpx;
|
||||||
height: 14rpx;
|
height: 14rpx;
|
||||||
border-radius: 8rpx 8rpx 0 0;
|
border-radius: 8rpx 8rpx 0 0;
|
||||||
background: #9b8fa8;
|
background: #a59cb5;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-item.active .user-head,
|
.tab-pill.active .user-head,
|
||||||
.tab-item.active .user-body {
|
.tab-pill.active .user-body {
|
||||||
background: #ff4f91;
|
background: #ff2d6e;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── 发布 FAB ── */
|
/* ── 发布 FAB:液态玻璃凸透镜质感 ── */
|
||||||
.tab-fab-wrap {
|
.tab-fab-wrap {
|
||||||
flex: 1;
|
flex: 0 0 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding-bottom: 4rpx;
|
padding: 0 8rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-fab {
|
.tab-fab {
|
||||||
width: 92rpx;
|
position: relative;
|
||||||
height: 92rpx;
|
overflow: hidden;
|
||||||
|
isolation: isolate;
|
||||||
|
width: 100rpx;
|
||||||
|
height: 100rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: linear-gradient(135deg, #ff4f91, #ff9f1c 55%, #ffe15a);
|
background: linear-gradient(140deg, #ff2d6e, #ff7a1a 55%, #ffd400);
|
||||||
border: 4rpx solid rgba(255, 255, 255, 0.90);
|
border: 5rpx solid rgba(255, 255, 255, 0.85);
|
||||||
box-shadow: 0 10rpx 22rpx rgba(255, 79, 145, 0.28);
|
box-shadow: 0 16rpx 36rpx rgba(255, 45, 110, 0.40), inset 0 1rpx 0 rgba(255, 255, 255, 0.6);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-bottom: 4rpx;
|
transform: translateY(-18rpx);
|
||||||
|
transition: transform 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-fab:active {
|
||||||
|
transform: translateY(-18rpx) scale(0.92);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 液态高光:左上角玻璃透镜光斑 */
|
||||||
|
.fab-shine {
|
||||||
|
position: absolute;
|
||||||
|
top: 6%;
|
||||||
|
left: 14%;
|
||||||
|
width: 46%;
|
||||||
|
height: 38%;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85), transparent 72%);
|
||||||
|
filter: blur(4rpx);
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fab-plus {
|
.fab-plus {
|
||||||
font-size: 52rpx;
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
font-size: 56rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
@@ -206,7 +270,7 @@
|
|||||||
min-width: 30rpx;
|
min-width: 30rpx;
|
||||||
height: 30rpx;
|
height: 30rpx;
|
||||||
border-radius: 15rpx;
|
border-radius: 15rpx;
|
||||||
background: #ff4f91;
|
background: #ff2d6e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 18rpx;
|
font-size: 18rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.feed-page {
|
.feed-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: linear-gradient(180deg, #fff8f2 0%, #fff4fb 50%, #f5f0ff 100%);
|
background: #ffffff;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
@@ -24,13 +24,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.topbar-logo {
|
.topbar-logo {
|
||||||
font-size: 44rpx;
|
font-size: 46rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #272235;
|
letter-spacing: -0.5rpx;
|
||||||
|
color: #2b2438;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-accent { color: #ff4f91; }
|
.logo-accent {
|
||||||
|
background: linear-gradient(120deg, #ff2d6e, #ff7a1a);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.topbar-tabs {
|
.topbar-tabs {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@@ -42,15 +48,15 @@
|
|||||||
.feed-tab {
|
.feed-tab {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
padding: 8rpx 20rpx;
|
padding: 8rpx 20rpx;
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feed-tab-active {
|
.feed-tab-active {
|
||||||
color: #ff4f91;
|
color: #ff2d6e;
|
||||||
background: rgba(255, 79, 145, 0.10);
|
background: rgba(255, 45, 110, 0.12);
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,27 +67,31 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.topbar-btn {
|
.topbar-btn {
|
||||||
width: 60rpx;
|
width: 64rpx;
|
||||||
height: 60rpx;
|
height: 64rpx;
|
||||||
border-radius: 50%;
|
border-radius: 26rpx;
|
||||||
background: rgba(255, 255, 255, 0.72);
|
background: var(--glass);
|
||||||
box-shadow: 0 8rpx 18rpx rgba(78, 56, 96, 0.10);
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
box-shadow: var(--shadow-soft);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 32rpx;
|
font-size: 30rpx;
|
||||||
|
color: #6e6480;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-badge::after {
|
.has-badge::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 6rpx;
|
top: 8rpx;
|
||||||
right: 6rpx;
|
right: 8rpx;
|
||||||
width: 14rpx;
|
width: 14rpx;
|
||||||
height: 14rpx;
|
height: 14rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #ff4f91;
|
background: #ff2d6e;
|
||||||
border: 2rpx solid #fff;
|
border: 2rpx solid #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -102,42 +112,42 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.story-ring {
|
.story-ring {
|
||||||
width: 112rpx;
|
width: 116rpx;
|
||||||
height: 112rpx;
|
height: 116rpx;
|
||||||
border-radius: 50%;
|
border-radius: 40rpx;
|
||||||
padding: 5rpx;
|
padding: 6rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: conic-gradient(from 120deg, #ff4f91, #ff9f1c, #ffe15a, #67e8c9, #4d8dff, #8c5cff, #ff4f91);
|
background: conic-gradient(from 130deg, #ff2d6e, #ff7a1a, #ffd400, #00d9a0, #1f9bff, #8b5cf6, #ff2d6e);
|
||||||
box-shadow: 0 10rpx 18rpx rgba(96, 60, 115, 0.16);
|
box-shadow: 0 18rpx 36rpx rgba(120, 70, 150, 0.20);
|
||||||
}
|
}
|
||||||
|
|
||||||
.story-ring-seen {
|
.story-ring-seen {
|
||||||
background: #e8e4f0;
|
background: rgba(165, 156, 181, 0.35);
|
||||||
}
|
}
|
||||||
|
|
||||||
.story-ring-me {
|
.story-ring-me {
|
||||||
background: linear-gradient(135deg, #ff4f91, #ff9f1c);
|
background: linear-gradient(135deg, #ff2d6e, #ff7a1a);
|
||||||
}
|
}
|
||||||
|
|
||||||
.story-inner {
|
.story-inner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 50%;
|
border-radius: 32rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border: 4rpx solid rgba(255, 255, 255, 0.90);
|
border: 5rpx solid rgba(255, 255, 255, 0.92);
|
||||||
}
|
}
|
||||||
|
|
||||||
.story-emoji {
|
.story-emoji {
|
||||||
font-size: 44rpx;
|
font-size: 46rpx;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.story-name {
|
.story-name {
|
||||||
font-size: 22rpx;
|
font-size: 21rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #6a6178;
|
color: #6e6480;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 信息流 */
|
/* 信息流 */
|
||||||
@@ -153,8 +163,11 @@
|
|||||||
|
|
||||||
.skeleton-card {
|
.skeleton-card {
|
||||||
margin: 0 28rpx 32rpx;
|
margin: 0 28rpx 32rpx;
|
||||||
background: rgba(255, 255, 255, 0.8);
|
background: var(--glass);
|
||||||
border-radius: 48rpx;
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 56rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding-bottom: 20rpx;
|
padding-bottom: 20rpx;
|
||||||
}
|
}
|
||||||
@@ -218,7 +231,7 @@
|
|||||||
width: 16rpx;
|
width: 16rpx;
|
||||||
height: 16rpx;
|
height: 16rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #ff4f91;
|
background: #ff2d6e;
|
||||||
animation: bounce 1.2s infinite;
|
animation: bounce 1.2s infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -234,7 +247,7 @@
|
|||||||
.end-tip {
|
.end-tip {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #c4b8d0;
|
color: #a59cb5;
|
||||||
padding: 32rpx;
|
padding: 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -255,12 +268,12 @@
|
|||||||
.empty-title {
|
.empty-title {
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty-desc {
|
.empty-desc {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.friends-page {
|
.friends-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: linear-gradient(180deg, #fff8f2 0%, #f5f0ff 100%);
|
background: #ffffff;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
@@ -21,36 +21,46 @@
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topbar-logo { font-size: 44rpx; font-weight: 900; color: #272235; }
|
.topbar-logo {
|
||||||
|
font-size: 46rpx;
|
||||||
|
font-weight: 800;
|
||||||
|
letter-spacing: -0.5rpx;
|
||||||
|
color: #2b2438;
|
||||||
|
}
|
||||||
|
|
||||||
.logo-accent { color: #ff4f91; }
|
.logo-accent {
|
||||||
|
background: linear-gradient(120deg, #ff2d6e, #ff7a1a);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.topbar-tabs { flex: 1; display: flex; gap: 6rpx; }
|
.topbar-tabs { flex: 1; display: flex; gap: 6rpx; }
|
||||||
|
|
||||||
.ftab {
|
.ftab {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
padding: 10rpx 20rpx;
|
padding: 10rpx 20rpx;
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ftab-active { color: #ff4f91; background: rgba(255, 79, 145, 0.10); font-weight: 900; }
|
.ftab-active { color: #ff2d6e; background: rgba(255, 45, 110, 0.12); font-weight: 900; }
|
||||||
|
|
||||||
.ftab-count { font-size: 22rpx; font-weight: 800; }
|
.ftab-count { font-size: 22rpx; font-weight: 800; }
|
||||||
|
|
||||||
.topbar-btn {
|
.topbar-btn {
|
||||||
width: 60rpx;
|
width: 64rpx;
|
||||||
height: 60rpx;
|
height: 64rpx;
|
||||||
border-radius: 50%;
|
border-radius: 26rpx;
|
||||||
background: linear-gradient(135deg, #ff4f91, #ff9f1c);
|
background: linear-gradient(135deg, #ff2d6e, #ff7a1a);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 40rpx;
|
font-size: 40rpx;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
box-shadow: 0 8rpx 16rpx rgba(255, 79, 145, 0.28);
|
box-shadow: 0 12rpx 24rpx rgba(255, 45, 110, 0.30);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 空态 */
|
/* 空态 */
|
||||||
@@ -65,17 +75,36 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 16rpx;
|
gap: 18rpx;
|
||||||
padding: 0 60rpx;
|
padding: 48rpx 60rpx;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty-emoji { font-size: 80rpx; }
|
.empty-emoji {
|
||||||
|
font-size: 64rpx;
|
||||||
|
color: #8b5cf6;
|
||||||
|
background: var(--glass);
|
||||||
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 40rpx;
|
||||||
|
padding: 28rpx;
|
||||||
|
box-shadow: var(--shadow-soft);
|
||||||
|
}
|
||||||
|
|
||||||
.empty-title { font-size: 34rpx; font-weight: 900; color: #272235; }
|
.empty-title { font-size: 34rpx; font-weight: 900; color: #2b2438; }
|
||||||
|
|
||||||
.empty-desc { font-size: 26rpx; color: #9b8fa8; text-align: center; line-height: 1.6; }
|
.empty-desc { font-size: 26rpx; color: #6e6480; text-align: center; line-height: 1.6; }
|
||||||
|
|
||||||
.go-btn { margin-top: 20rpx; padding: 22rpx 60rpx; font-size: 28rpx; font-weight: 800; }
|
.go-btn {
|
||||||
|
margin-top: 12rpx;
|
||||||
|
padding: 22rpx 60rpx;
|
||||||
|
font-size: 26rpx;
|
||||||
|
font-weight: 800;
|
||||||
|
border: 1.5rpx solid rgba(255, 255, 255, 0.7);
|
||||||
|
background: linear-gradient(135deg, #ff2d6e, #8b5cf6);
|
||||||
|
box-shadow: 0 18rpx 36rpx rgba(139, 92, 246, 0.32);
|
||||||
|
}
|
||||||
|
|
||||||
/* 好友列表 */
|
/* 好友列表 */
|
||||||
.friends-scroll { flex: 1; }
|
.friends-scroll { flex: 1; }
|
||||||
@@ -84,21 +113,27 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 20rpx;
|
gap: 20rpx;
|
||||||
padding: 20rpx 28rpx;
|
padding: 22rpx;
|
||||||
background: rgba(255, 255, 255, 0.80);
|
margin: 0 28rpx 20rpx;
|
||||||
border-bottom: 1rpx solid rgba(43, 37, 61, 0.05);
|
background: var(--glass);
|
||||||
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 44rpx;
|
||||||
|
box-shadow: var(--shadow-soft), inset 0 1rpx 0 rgba(255, 255, 255, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
.friend-avatar {
|
.friend-avatar {
|
||||||
width: 88rpx;
|
width: 92rpx;
|
||||||
height: 88rpx;
|
height: 92rpx;
|
||||||
border-radius: 28rpx;
|
border-radius: 32rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: rgba(39, 34, 53, 0.72);
|
color: rgba(43, 36, 56, 0.72);
|
||||||
|
border: 3rpx solid rgba(255, 255, 255, 0.8);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -111,20 +146,20 @@
|
|||||||
margin-bottom: 6rpx;
|
margin-bottom: 6rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.friend-name { font-size: 28rpx; font-weight: 800; color: #272235; }
|
.friend-name { font-size: 28rpx; font-weight: 800; color: #2b2438; }
|
||||||
|
|
||||||
.online-tag {
|
.online-tag {
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #2fd37a;
|
color: #00a87a;
|
||||||
background: rgba(47, 211, 122, 0.12);
|
background: rgba(0, 217, 160, 0.14);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 4rpx 12rpx;
|
padding: 4rpx 12rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.friend-bio {
|
.friend-bio {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -132,17 +167,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.follow-btn {
|
.follow-btn {
|
||||||
background: linear-gradient(135deg, #ff4f91, #ff9f1c);
|
background: linear-gradient(135deg, #ff2d6e, #ff7a1a);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
border: 1.5rpx solid rgba(255, 255, 255, 0.7);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 14rpx 28rpx;
|
padding: 14rpx 28rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
box-shadow: 0 12rpx 24rpx rgba(255, 45, 110, 0.28);
|
||||||
|
transition: transform 0.18s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.follow-btn:active {
|
||||||
|
transform: scale(0.94);
|
||||||
}
|
}
|
||||||
|
|
||||||
.follow-btn.following {
|
.follow-btn.following {
|
||||||
background: rgba(255, 255, 255, 0.80);
|
background: rgba(255, 255, 255, 0.55);
|
||||||
border: 1rpx solid rgba(43, 37, 61, 0.12);
|
border: 1rpx solid rgba(43, 36, 56, 0.12);
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: linear-gradient(180deg, #c9f7df 0%, #d8efff 40%, #fff1a6 100%);
|
background: #ffffff;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -13,36 +13,44 @@
|
|||||||
padding-left: 28rpx;
|
padding-left: 28rpx;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: rgba(255, 255, 255, 0.72);
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 次级菜单栏:胶囊下方,全宽 */
|
/* 次级菜单栏:胶囊下方,全宽 */
|
||||||
.subbar {
|
.subbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 8rpx 28rpx 12rpx;
|
padding: 8rpx 28rpx 16rpx;
|
||||||
gap: 16rpx;
|
gap: 16rpx;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
background: rgba(255, 255, 255, 0.72);
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topbar-logo {
|
.topbar-logo {
|
||||||
font-size: 44rpx;
|
font-size: 46rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #272235;
|
letter-spacing: -0.5rpx;
|
||||||
|
color: #2b2438;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-accent { color: #ff4f91; }
|
.logo-accent {
|
||||||
|
background: linear-gradient(120deg, #ff2d6e, #ff7a1a);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.view-toggle {
|
.view-toggle {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
background: rgba(255, 255, 255, 0.60);
|
background: var(--glass);
|
||||||
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 4rpx;
|
padding: 6rpx;
|
||||||
gap: 4rpx;
|
gap: 4rpx;
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.80);
|
border: 1rpx solid var(--glass-edge);
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-btn {
|
.toggle-btn {
|
||||||
@@ -50,28 +58,33 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
padding: 12rpx 0;
|
padding: 12rpx 0;
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-active {
|
.toggle-active {
|
||||||
background: rgba(255, 255, 255, 0.90);
|
background: rgba(255, 255, 255, 0.85);
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
box-shadow: 0 4rpx 10rpx rgba(78, 56, 96, 0.10);
|
box-shadow: 0 8rpx 18rpx rgba(120, 70, 140, 0.14);
|
||||||
}
|
}
|
||||||
|
|
||||||
.topbar-btn {
|
.topbar-btn {
|
||||||
width: 60rpx;
|
width: 64rpx;
|
||||||
height: 60rpx;
|
height: 64rpx;
|
||||||
border-radius: 50%;
|
border-radius: 26rpx;
|
||||||
background: rgba(255, 255, 255, 0.72);
|
background: var(--glass);
|
||||||
box-shadow: 0 8rpx 18rpx rgba(78, 56, 96, 0.10);
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
box-shadow: var(--shadow-soft);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 30rpx;
|
font-size: 28rpx;
|
||||||
|
color: #6e6480;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 地图 */
|
/* 地图 */
|
||||||
@@ -98,18 +111,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.map-ctrl-btn {
|
.map-ctrl-btn {
|
||||||
width: 72rpx;
|
width: 76rpx;
|
||||||
height: 72rpx;
|
height: 76rpx;
|
||||||
background: rgba(255, 255, 255, 0.90);
|
background: var(--glass-strong);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.80);
|
backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
border-radius: 22rpx;
|
-webkit-backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
box-shadow: 0 10rpx 20rpx rgba(82, 66, 105, 0.16);
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 26rpx;
|
||||||
|
box-shadow: var(--shadow-soft);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #4d8dff;
|
color: #1f9bff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 宠物弹窗 */
|
/* 宠物弹窗 */
|
||||||
@@ -118,14 +133,16 @@
|
|||||||
bottom: 300rpx;
|
bottom: 300rpx;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
background: rgba(255, 255, 255, 0.92);
|
background: var(--glass-strong);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
border-radius: 30rpx;
|
-webkit-backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
padding: 20rpx 24rpx;
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 36rpx;
|
||||||
|
padding: 22rpx 26rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 18rpx;
|
gap: 18rpx;
|
||||||
box-shadow: 0 18rpx 40rpx rgba(95, 49, 104, 0.18);
|
box-shadow: var(--shadow-soft), inset 0 1rpx 0 rgba(255, 255, 255, 0.7);
|
||||||
min-width: 520rpx;
|
min-width: 520rpx;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
}
|
}
|
||||||
@@ -147,13 +164,13 @@
|
|||||||
display: block;
|
display: block;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-sub {
|
.popup-sub {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
margin-top: 4rpx;
|
margin-top: 4rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,13 +187,16 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20rpx;
|
top: 20rpx;
|
||||||
left: 20rpx;
|
left: 20rpx;
|
||||||
background: rgba(255, 255, 255, 0.90);
|
background: var(--glass-strong);
|
||||||
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 10rpx 20rpx;
|
padding: 10rpx 22rpx;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #ff4f91;
|
color: #ff2d6e;
|
||||||
box-shadow: 0 8rpx 16rpx rgba(78, 56, 96, 0.12);
|
box-shadow: var(--shadow-soft);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -187,8 +207,10 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 15;
|
z-index: 15;
|
||||||
background: rgba(255, 255, 255, 0.85);
|
background: var(--glass-strong);
|
||||||
border-top: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
|
-webkit-backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
|
border-top: 1rpx solid var(--glass-edge);
|
||||||
padding: 20rpx 0;
|
padding: 20rpx 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -201,12 +223,12 @@
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 12rpx;
|
gap: 12rpx;
|
||||||
background: rgba(255, 255, 255, 0.80);
|
background: rgba(255, 255, 255, 0.50);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
||||||
border-radius: 24rpx;
|
border-radius: 26rpx;
|
||||||
padding: 14rpx 18rpx;
|
padding: 14rpx 18rpx;
|
||||||
margin-right: 16rpx;
|
margin-right: 16rpx;
|
||||||
box-shadow: 0 8rpx 16rpx rgba(78, 56, 96, 0.08);
|
box-shadow: 0 12rpx 26rpx rgba(120, 70, 140, 0.12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-avatar {
|
.preview-avatar {
|
||||||
@@ -229,19 +251,19 @@
|
|||||||
.preview-name {
|
.preview-name {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-dist {
|
.preview-dist {
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
color: #4d8dff;
|
color: #1f9bff;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 列表视图 */
|
/* 列表视图 */
|
||||||
.list-scroll {
|
.list-scroll {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
background: linear-gradient(180deg, #fff9fb 0%, #f5f0ff 100%);
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-header {
|
.list-header {
|
||||||
@@ -252,18 +274,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list-title {
|
.list-title {
|
||||||
font-size: 30rpx;
|
font-size: 32rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.online-chip {
|
.online-chip {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 700;
|
font-weight: 800;
|
||||||
color: #ff4f91;
|
color: #fff;
|
||||||
background: #ffe5f0;
|
background: linear-gradient(135deg, #ff2d6e, #ff7a1a);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 8rpx 16rpx;
|
padding: 10rpx 22rpx;
|
||||||
|
box-shadow: 0 12rpx 24rpx rgba(255, 45, 110, 0.30);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 列表项 */
|
/* 列表项 */
|
||||||
@@ -271,23 +294,26 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 18rpx;
|
gap: 18rpx;
|
||||||
background: rgba(255, 255, 255, 0.80);
|
background: var(--glass);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
border-radius: 40rpx;
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 48rpx;
|
||||||
margin: 0 28rpx 20rpx;
|
margin: 0 28rpx 20rpx;
|
||||||
padding: 20rpx;
|
padding: 22rpx;
|
||||||
box-shadow: 0 12rpx 26rpx rgba(80, 58, 108, 0.09);
|
box-shadow: var(--shadow-soft), inset 0 1rpx 0 rgba(255, 255, 255, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nearby-avatar {
|
.nearby-avatar {
|
||||||
width: 88rpx;
|
width: 92rpx;
|
||||||
height: 88rpx;
|
height: 92rpx;
|
||||||
border-radius: 30rpx;
|
border-radius: 32rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 40rpx;
|
font-size: 40rpx;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
border: 3rpx solid rgba(255, 255, 255, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar-emoji { font-size: 40rpx; line-height: 1; }
|
.avatar-emoji { font-size: 40rpx; line-height: 1; }
|
||||||
@@ -303,17 +329,17 @@
|
|||||||
|
|
||||||
.nearby-pet-name {
|
.nearby-pet-name {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.breed-chip {
|
.breed-chip {
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
background: #ffe5f0;
|
color: #fff;
|
||||||
color: #a91d5b;
|
background: #ff2d6e;
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 4rpx 12rpx;
|
padding: 4rpx 14rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nearby-sub {
|
.nearby-sub {
|
||||||
@@ -321,16 +347,16 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8rpx;
|
gap: 8rpx;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.online-dot {
|
.online-dot {
|
||||||
width: 14rpx;
|
width: 14rpx;
|
||||||
height: 14rpx;
|
height: 14rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #2fd37a;
|
background: #00d9a0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
box-shadow: 0 0 0 4rpx rgba(47, 211, 122, 0.18);
|
box-shadow: 0 0 0 4rpx rgba(0, 217, 160, 0.18);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nearby-right {
|
.nearby-right {
|
||||||
@@ -344,18 +370,23 @@
|
|||||||
.dist-text {
|
.dist-text {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #4d8dff;
|
color: #1f9bff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.say-hi {
|
.say-hi {
|
||||||
background: linear-gradient(135deg, #fff, #fff4b7);
|
background: linear-gradient(135deg, #ff2d6e, #ff7a1a);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.8);
|
border: 1.5rpx solid rgba(255, 255, 255, 0.7);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 12rpx 22rpx;
|
padding: 14rpx 26rpx;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #fff;
|
||||||
box-shadow: 0 8rpx 16rpx rgba(255, 159, 28, 0.14);
|
box-shadow: 0 14rpx 28rpx rgba(255, 45, 110, 0.32);
|
||||||
|
transition: transform 0.18s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.say-hi:active {
|
||||||
|
transform: scale(0.94);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 骨架 */
|
/* 骨架 */
|
||||||
@@ -387,12 +418,12 @@
|
|||||||
.empty-title {
|
.empty-title {
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.empty-desc {
|
.empty-desc {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.post-page {
|
.post-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: linear-gradient(180deg, #fff8f2 0%, #fff4fb 100%);
|
background: #ffffff;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
@@ -11,8 +11,11 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-left: 28rpx;
|
padding-left: 28rpx;
|
||||||
border-bottom: 1rpx solid rgba(255, 255, 255, 0.72);
|
background: var(--glass-strong);
|
||||||
background: rgba(255, 255, 255, 0.60);
|
backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
|
-webkit-backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
|
border-bottom: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 0 0 40rpx 40rpx;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
@@ -20,29 +23,31 @@
|
|||||||
.cancel-btn {
|
.cancel-btn {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #9b8fa8;
|
color: #6e6480;
|
||||||
padding: 10rpx;
|
padding: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-title {
|
.header-title {
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit-btn {
|
.submit-btn {
|
||||||
background: linear-gradient(135deg, #ff4f91, #ff9f1c);
|
background: linear-gradient(135deg, #ff2d6e, #ff7a1a);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
border: 1.5rpx solid rgba(255, 255, 255, 0.7);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 14rpx 34rpx;
|
padding: 14rpx 34rpx;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
box-shadow: 0 10rpx 22rpx rgba(255, 79, 145, 0.28);
|
box-shadow: 0 14rpx 28rpx rgba(255, 45, 110, 0.32);
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit-disabled {
|
.submit-disabled {
|
||||||
background: #e8e4f0;
|
background: rgba(165, 156, 181, 0.30);
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
|
border-color: transparent;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -59,28 +64,39 @@
|
|||||||
.upload-placeholder {
|
.upload-placeholder {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 320rpx;
|
height: 320rpx;
|
||||||
background: linear-gradient(135deg, #fff0a8, #ffd6e8 48%, #c9f7df);
|
background:
|
||||||
border: 3rpx dashed rgba(39, 34, 53, 0.18);
|
radial-gradient(60% 80% at 30% 20%, rgba(255, 217, 61, 0.28), transparent 60%),
|
||||||
border-radius: 48rpx;
|
radial-gradient(60% 80% at 80% 80%, rgba(0, 217, 160, 0.22), transparent 60%),
|
||||||
|
rgba(255, 255, 255, 0.34);
|
||||||
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 3rpx dashed rgba(43, 36, 56, 0.20);
|
||||||
|
border-radius: 56rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 16rpx;
|
gap: 18rpx;
|
||||||
box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.65), 0 16rpx 32rpx rgba(83, 62, 100, 0.09);
|
box-shadow: var(--shadow-soft);
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-icon { font-size: 64rpx; }
|
.upload-icon {
|
||||||
|
font-size: 56rpx;
|
||||||
|
color: #ff2d6e;
|
||||||
|
background: rgba(255, 255, 255, 0.6);
|
||||||
|
border-radius: 28rpx;
|
||||||
|
padding: 18rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.upload-hint {
|
.upload-hint {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-sub {
|
.upload-sub {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 图片网格 */
|
/* 图片网格 */
|
||||||
@@ -110,7 +126,9 @@
|
|||||||
width: 44rpx;
|
width: 44rpx;
|
||||||
height: 44rpx;
|
height: 44rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: rgba(39, 34, 53, 0.72);
|
background: rgba(43, 36, 56, 0.65);
|
||||||
|
backdrop-filter: blur(12rpx);
|
||||||
|
-webkit-backdrop-filter: blur(12rpx);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -131,8 +149,8 @@
|
|||||||
.upload-spinner {
|
.upload-spinner {
|
||||||
width: 40rpx;
|
width: 40rpx;
|
||||||
height: 40rpx;
|
height: 40rpx;
|
||||||
border: 4rpx solid rgba(255, 79, 145, 0.2);
|
border: 4rpx solid rgba(255, 45, 110, 0.2);
|
||||||
border-top-color: #ff4f91;
|
border-top-color: #ff2d6e;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
animation: spin 0.8s linear infinite;
|
animation: spin 0.8s linear infinite;
|
||||||
}
|
}
|
||||||
@@ -142,8 +160,10 @@
|
|||||||
.image-add {
|
.image-add {
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
background: rgba(255, 255, 255, 0.72);
|
background: var(--glass);
|
||||||
border: 3rpx dashed rgba(39, 34, 53, 0.18);
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 3rpx dashed rgba(43, 36, 56, 0.20);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -151,7 +171,7 @@
|
|||||||
|
|
||||||
.add-plus {
|
.add-plus {
|
||||||
font-size: 60rpx;
|
font-size: 60rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,15 +179,17 @@
|
|||||||
.content-input {
|
.content-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 160rpx;
|
min-height: 160rpx;
|
||||||
background: rgba(255, 255, 255, 0.80);
|
background: var(--glass);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
border-radius: 36rpx;
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 40rpx;
|
||||||
padding: 24rpx 28rpx;
|
padding: 24rpx 28rpx;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
font-family: "PingFang SC", sans-serif;
|
font-family: "PingFang SC", sans-serif;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
box-shadow: 0 10rpx 24rpx rgba(78, 56, 96, 0.07);
|
box-shadow: var(--shadow-soft);
|
||||||
margin-bottom: 8rpx;
|
margin-bottom: 8rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,23 +198,22 @@
|
|||||||
.word-count {
|
.word-count {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
margin-bottom: 28rpx;
|
margin-bottom: 28rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 通用 section */
|
/* 通用 section */
|
||||||
.section-title {
|
.section-title {
|
||||||
font-size: 24rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
letter-spacing: 0.5rpx;
|
letter-spacing: 0.6rpx;
|
||||||
margin-bottom: 14rpx;
|
margin-bottom: 16rpx;
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-row {
|
.tag-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 14rpx;
|
gap: 16rpx;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-bottom: 28rpx;
|
margin-bottom: 28rpx;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -202,27 +223,30 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10rpx;
|
gap: 10rpx;
|
||||||
background: rgba(255, 255, 255, 0.78);
|
background: var(--glass);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 14rpx 24rpx;
|
padding: 16rpx 26rpx;
|
||||||
font-size: 26rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #6a6178;
|
color: #6e6480;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-selected {
|
.tag-selected {
|
||||||
background: #ffe5f0;
|
background: #ff2d6e;
|
||||||
border-color: #ffb6d0;
|
border-color: #ff2d6e;
|
||||||
color: #a91d5b;
|
color: #fff;
|
||||||
|
box-shadow: 0 14rpx 30rpx rgba(255, 45, 110, 0.32);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-remove {
|
.tag-remove {
|
||||||
width: 44rpx;
|
width: 44rpx;
|
||||||
height: 44rpx;
|
height: 44rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #ffe5f0;
|
background: rgba(255, 45, 110, 0.14);
|
||||||
color: #ff4f91;
|
color: #ff2d6e;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -242,22 +266,26 @@
|
|||||||
.hashtag-input {
|
.hashtag-input {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 72rpx;
|
height: 72rpx;
|
||||||
background: rgba(255, 255, 255, 0.80);
|
background: var(--glass);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 0 24rpx;
|
padding: 0 24rpx;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hashtag-add-btn {
|
.hashtag-add-btn {
|
||||||
background: rgba(255, 255, 255, 0.80);
|
background: var(--glass);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 14rpx 28rpx;
|
padding: 14rpx 28rpx;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hashtag-chip {
|
.hashtag-chip {
|
||||||
@@ -266,15 +294,16 @@
|
|||||||
gap: 8rpx;
|
gap: 8rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #8b3cff;
|
color: #8a3fe0;
|
||||||
background: #f0e8ff;
|
background: rgba(167, 139, 250, 0.16);
|
||||||
|
border: 1rpx solid rgba(167, 139, 250, 0.28);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 8rpx 16rpx;
|
padding: 8rpx 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chip-remove {
|
.chip-remove {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #8b3cff;
|
color: #8a3fe0;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -288,14 +317,14 @@
|
|||||||
|
|
||||||
.hot-tags-label {
|
.hot-tags-label {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hot-tag {
|
.hot-tag {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
background: rgba(255, 255, 255, 0.72);
|
background: rgba(255, 255, 255, 0.5);
|
||||||
border: 1rpx solid rgba(43, 37, 61, 0.10);
|
border: 1rpx solid rgba(43, 36, 56, 0.10);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 6rpx 16rpx;
|
padding: 6rpx 16rpx;
|
||||||
}
|
}
|
||||||
@@ -309,17 +338,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mood-pill {
|
.mood-pill {
|
||||||
background: rgba(255, 255, 255, 0.78);
|
background: var(--glass);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 14rpx 26rpx;
|
padding: 16rpx 28rpx;
|
||||||
font-size: 26rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #6a6178;
|
color: #6e6480;
|
||||||
|
transition: transform 0.18s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mood-pill:active {
|
||||||
|
transform: scale(0.95);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mood-on {
|
.mood-on {
|
||||||
background: #fff0a8;
|
background: #ffd400;
|
||||||
border-color: #ffe15a;
|
border-color: #ffd400;
|
||||||
color: #6f4b00;
|
color: #5b3d00;
|
||||||
|
box-shadow: 0 14rpx 30rpx rgba(255, 212, 0, 0.36);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
>
|
>
|
||||||
<!-- 用户信息区(移除原来的 header-topbar,已移至 navbar)-->
|
<!-- 用户信息区(移除原来的 header-topbar,已移至 navbar)-->
|
||||||
<view class="profile-header">
|
<view class="profile-header">
|
||||||
|
<view class="hero-blob hb1"></view>
|
||||||
|
<view class="hero-blob hb2"></view>
|
||||||
|
|
||||||
<!-- 头像 + 基本信息 -->
|
<!-- 头像 + 基本信息 -->
|
||||||
<view class="user-top">
|
<view class="user-top">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.profile-page {
|
.profile-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: linear-gradient(180deg, #fff8f2 0%, #fff4fb 50%, #f5f0ff 100%);
|
background: #ffffff;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
@@ -17,31 +17,55 @@
|
|||||||
|
|
||||||
.navbar-title {
|
.navbar-title {
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-btn {
|
.settings-btn {
|
||||||
width: 60rpx;
|
width: 64rpx;
|
||||||
height: 60rpx;
|
height: 64rpx;
|
||||||
border-radius: 50%;
|
border-radius: 26rpx;
|
||||||
background: rgba(255, 255, 255, 0.72);
|
background: var(--glass);
|
||||||
box-shadow: 0 8rpx 18rpx rgba(78, 56, 96, 0.10);
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
box-shadow: var(--shadow-soft);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 30rpx;
|
font-size: 28rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile-scroll { flex: 1; }
|
.profile-scroll { flex: 1; }
|
||||||
|
|
||||||
/* 用户信息区 */
|
/* 用户信息区:玻璃英雄卡 + 漂浮渐变光斑 */
|
||||||
.profile-header {
|
.profile-header {
|
||||||
padding: 16rpx 28rpx 28rpx;
|
position: relative;
|
||||||
background: linear-gradient(180deg, rgba(255, 225, 90, 0.18), transparent);
|
margin: 8rpx 28rpx 20rpx;
|
||||||
|
padding: 32rpx 28rpx 26rpx;
|
||||||
|
overflow: hidden;
|
||||||
|
border-radius: 56rpx;
|
||||||
|
background: var(--glass);
|
||||||
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
box-shadow: var(--shadow-soft), inset 0 1rpx 0 rgba(255, 255, 255, 0.65);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero-blob {
|
||||||
|
position: absolute;
|
||||||
|
border-radius: 50%;
|
||||||
|
filter: blur(70rpx);
|
||||||
|
opacity: 0.5;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hb1 { width: 260rpx; height: 260rpx; background: #ffd400; top: -100rpx; right: -60rpx; }
|
||||||
|
.hb2 { width: 200rpx; height: 200rpx; background: #00d9a0; bottom: -80rpx; left: -40rpx; }
|
||||||
|
|
||||||
.user-top {
|
.user-top {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
gap: 24rpx;
|
gap: 24rpx;
|
||||||
@@ -54,30 +78,33 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.user-avatar {
|
.user-avatar {
|
||||||
width: 128rpx;
|
width: 132rpx;
|
||||||
height: 128rpx;
|
height: 132rpx;
|
||||||
border-radius: 40rpx;
|
border-radius: 44rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
box-shadow: 0 12rpx 24rpx rgba(98, 60, 118, 0.18);
|
border: 4rpx solid rgba(255, 255, 255, 0.85);
|
||||||
|
box-shadow: 0 18rpx 36rpx rgba(120, 70, 150, 0.22);
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar-text {
|
.avatar-text {
|
||||||
font-size: 56rpx;
|
font-size: 56rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: rgba(39, 34, 53, 0.72);
|
color: rgba(43, 36, 56, 0.72);
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar-edit {
|
.avatar-edit {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -6rpx;
|
bottom: -6rpx;
|
||||||
right: -6rpx;
|
right: -6rpx;
|
||||||
width: 44rpx;
|
width: 46rpx;
|
||||||
height: 44rpx;
|
height: 46rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: #fff;
|
background: rgba(255, 255, 255, 0.85);
|
||||||
box-shadow: 0 4rpx 10rpx rgba(78, 56, 96, 0.16);
|
backdrop-filter: blur(16rpx);
|
||||||
|
-webkit-backdrop-filter: blur(16rpx);
|
||||||
|
box-shadow: 0 8rpx 18rpx rgba(120, 70, 150, 0.18);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -98,40 +125,41 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.user-name {
|
.user-name {
|
||||||
font-size: 36rpx;
|
font-size: 34rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-handle {
|
.user-handle {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-bio {
|
.user-bio {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 26rpx;
|
font-size: 24rpx;
|
||||||
color: #6a6178;
|
color: #6e6480;
|
||||||
line-height: 1.5;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-profile-btn {
|
.edit-profile-btn {
|
||||||
background: rgba(255, 255, 255, 0.80);
|
background: rgba(255, 255, 255, 0.55);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
border: 1.5rpx solid #8b5cf6;
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 14rpx 28rpx;
|
padding: 14rpx 28rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #8b5cf6;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
box-shadow: 0 8rpx 18rpx rgba(78, 56, 96, 0.08);
|
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 数据统计 */
|
/* 数据统计 */
|
||||||
.stats-row {
|
.stats-row {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 16rpx;
|
gap: 16rpx;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -139,26 +167,29 @@
|
|||||||
|
|
||||||
.stat-item {
|
.stat-item {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 24rpx 0;
|
padding: 22rpx 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: rgba(255, 255, 255, 0.78);
|
background: var(--glass-strong);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
border-radius: 30rpx;
|
-webkit-backdrop-filter: blur(34rpx) saturate(180%);
|
||||||
box-shadow: 0 10rpx 22rpx rgba(78, 56, 96, 0.07);
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 36rpx;
|
||||||
|
box-shadow: var(--shadow-soft), inset 0 1rpx 0 rgba(255, 255, 255, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-num {
|
.stat-num {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 40rpx;
|
font-size: 38rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #ff4f91;
|
color: #ff2d6e;
|
||||||
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-label {
|
.stat-label {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 22rpx;
|
font-size: 21rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
margin-top: 4rpx;
|
margin-top: 4rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -175,18 +206,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
font-size: 26rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
letter-spacing: 0.5rpx;
|
letter-spacing: 0.6rpx;
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.add-pet-btn {
|
.add-pet-btn {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #ff4f91;
|
color: #ff2d6e;
|
||||||
background: #ffe5f0;
|
background: rgba(255, 45, 110, 0.12);
|
||||||
border-radius: 999rpx;
|
border-radius: 999rpx;
|
||||||
padding: 8rpx 20rpx;
|
padding: 8rpx 20rpx;
|
||||||
}
|
}
|
||||||
@@ -201,33 +231,37 @@
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 18rpx;
|
gap: 18rpx;
|
||||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(201, 247, 223, 0.72));
|
background: var(--glass);
|
||||||
border: 1rpx solid rgba(255, 255, 255, 0.72);
|
backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
border-radius: 36rpx;
|
-webkit-backdrop-filter: blur(28rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 40rpx;
|
||||||
padding: 20rpx 24rpx;
|
padding: 20rpx 24rpx;
|
||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
box-shadow: 0 12rpx 26rpx rgba(78, 56, 96, 0.09);
|
box-shadow: var(--shadow-soft), inset 0 1rpx 0 rgba(255, 255, 255, 0.6);
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
max-width: 560rpx;
|
max-width: 560rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pet-card-empty {
|
.pet-card-empty {
|
||||||
background: rgba(255, 255, 255, 0.60);
|
background: rgba(255, 255, 255, 0.40);
|
||||||
border: 3rpx dashed rgba(43, 37, 61, 0.16);
|
border: 3rpx dashed rgba(43, 36, 56, 0.18);
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pet-avatar {
|
.pet-avatar {
|
||||||
width: 84rpx;
|
width: 84rpx;
|
||||||
height: 84rpx;
|
height: 84rpx;
|
||||||
border-radius: 28rpx;
|
border-radius: 30rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
border: 2.5rpx solid rgba(255, 255, 255, 0.8);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pet-avatar-add { background: rgba(255, 255, 255, 0.60); color: #9b8fa8; }
|
.pet-avatar-add { background: rgba(255, 255, 255, 0.55); border-style: dashed; color: #a59cb5; }
|
||||||
|
|
||||||
.pet-emoji { font-size: 44rpx; line-height: 1; }
|
.pet-emoji { font-size: 44rpx; line-height: 1; }
|
||||||
|
|
||||||
@@ -236,45 +270,49 @@
|
|||||||
.pet-name {
|
.pet-name {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
color: #272235;
|
color: #2b2438;
|
||||||
margin-bottom: 6rpx;
|
margin-bottom: 6rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pet-breed {
|
.pet-breed {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pet-badge {
|
.pet-badge {
|
||||||
background: #ffe5f0;
|
background: linear-gradient(135deg, #ff2d6e, #8b5cf6);
|
||||||
border-radius: 999rpx;
|
color: #fff;
|
||||||
padding: 8rpx 16rpx;
|
border-radius: 24rpx;
|
||||||
|
padding: 10rpx 18rpx;
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
color: #a91d5b;
|
font-weight: 800;
|
||||||
font-weight: 900;
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
transform: rotate(3deg);
|
||||||
|
box-shadow: 0 12rpx 24rpx rgba(139, 92, 246, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 视图切换 */
|
/* 视图切换 */
|
||||||
.view-toggle {
|
.view-toggle {
|
||||||
display: flex;
|
display: flex;
|
||||||
background: rgba(255, 255, 255, 0.60);
|
background: var(--glass);
|
||||||
border: 1rpx solid rgba(43, 37, 61, 0.10);
|
backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
border-radius: 14rpx;
|
-webkit-backdrop-filter: blur(24rpx) saturate(170%);
|
||||||
|
border: 1rpx solid var(--glass-edge);
|
||||||
|
border-radius: 18rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-item {
|
.toggle-item {
|
||||||
padding: 10rpx 20rpx;
|
padding: 10rpx 20rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-item.active {
|
.toggle-item.active {
|
||||||
background: rgba(255, 79, 145, 0.12);
|
background: rgba(255, 45, 110, 0.14);
|
||||||
color: #ff4f91;
|
color: #ff2d6e;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -282,15 +320,16 @@
|
|||||||
.post-grid {
|
.post-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
gap: 6rpx;
|
gap: 9rpx;
|
||||||
padding: 0 28rpx 20rpx;
|
padding: 0 28rpx 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-item {
|
.grid-item {
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
border-radius: 28rpx;
|
border-radius: 26rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #f0eef5;
|
background: rgba(255, 255, 255, 0.45);
|
||||||
|
border: 1rpx solid rgba(255, 255, 255, 0.6);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -301,7 +340,7 @@
|
|||||||
.grid-no-img {
|
.grid-no-img {
|
||||||
padding: 12rpx;
|
padding: 12rpx;
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
color: #9b8fa8;
|
color: #a59cb5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
@@ -317,6 +356,6 @@
|
|||||||
|
|
||||||
.empty-emoji { font-size: 72rpx; }
|
.empty-emoji { font-size: 72rpx; }
|
||||||
|
|
||||||
.empty-tip { font-size: 26rpx; color: #9b8fa8; }
|
.empty-tip { font-size: 26rpx; color: #a59cb5; }
|
||||||
|
|
||||||
.post-btn { padding: 18rpx 48rpx; font-size: 26rpx; font-weight: 800; margin-top: 8rpx; }
|
.post-btn { padding: 18rpx 48rpx; font-size: 26rpx; font-weight: 800; margin-top: 8rpx; }
|
||||||
|
|||||||
Reference in New Issue
Block a user