统一店务小程序主导航视觉与信息层级

This commit is contained in:
2026-07-25 16:47:12 +08:00
parent 67d493be85
commit 87862a3c36
9 changed files with 161 additions and 30 deletions
+4 -4
View File
@@ -31,7 +31,7 @@
</view>
<view class="menu-section">
<text class="section-title">我的管理</text>
<text class="section-title">店铺经营</text>
<view class="menu-card">
<view class="menu-row" data-url="/pages/shop-settings/index" bindtap="go">
<view class="menu-mark">店</view>
@@ -50,7 +50,7 @@
<text class="arrow">›</text>
</view>
<view class="menu-row" data-url="/pages/customers/index" bindtap="go">
<view class="menu-mark">会</view>
<view class="menu-mark customer-mark">会</view>
<view class="menu-copy">
<text class="menu-title">会员管理</text>
<text class="menu-desc">客户管理、会员等级</text>
@@ -58,7 +58,7 @@
<text class="arrow">›</text>
</view>
<view class="menu-row" data-url="/pages/export/index" bindtap="go">
<view class="menu-mark">数</view>
<view class="menu-mark data-mark">数</view>
<view class="menu-copy">
<text class="menu-title">经营数据</text>
<text class="menu-desc">营业统计、数据分析</text>
@@ -69,7 +69,7 @@
</view>
<view class="menu-section">
<text class="section-title">设置与帮助</text>
<text class="section-title">账号与帮助</text>
<view class="menu-card">
<view class="menu-row" data-url="/pages/profile-settings/index" bindtap="go">
<view class="menu-mark">人</view>
+22 -14
View File
@@ -1,18 +1,15 @@
.profile-page {
min-height: 100vh;
padding: 18rpx 24rpx 156rpx;
background:
linear-gradient(180deg, rgba(253, 249, 242, 0.98), rgba(248, 244, 237, 0.98)),
linear-gradient(135deg, rgba(116, 148, 130, 0.12), rgba(230, 205, 160, 0.1));
background: #f8f5ef;
}
.profile-hero {
overflow: hidden;
border-radius: 8px;
background:
radial-gradient(circle at 92% 4%, rgba(255, 255, 255, 0.72), transparent 32%),
linear-gradient(135deg, #eef8eb, #fffaf2);
box-shadow: 0 16rpx 40rpx rgba(77, 91, 72, 0.1);
border: 1rpx solid rgba(91, 132, 102, 0.14);
border-radius: 24rpx;
background: #f1f8ee;
box-shadow: 0 12rpx 28rpx rgba(77, 91, 72, 0.06);
}
.hero-main {
@@ -218,23 +215,24 @@
}
.menu-section {
margin-top: 32rpx;
margin-top: 28rpx;
}
.section-title {
display: block;
margin: 0 8rpx 18rpx;
color: #302b26;
font-size: 28rpx;
font-size: 26rpx;
font-weight: 900;
line-height: 1.2;
}
.menu-card {
overflow: hidden;
border-radius: 8px;
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 12rpx 30rpx rgba(65, 54, 42, 0.06);
border: 1rpx solid rgba(111, 143, 131, 0.08);
border-radius: 18rpx;
background: rgba(255, 255, 255, 0.86);
box-shadow: 0 8rpx 22rpx rgba(65, 54, 42, 0.04);
}
.menu-row {
@@ -257,7 +255,7 @@
flex: 0 0 auto;
width: 50rpx;
height: 50rpx;
border-radius: 14rpx;
border-radius: 50%;
background: #e6f3e8;
color: #5f936d;
font-size: 23rpx;
@@ -265,6 +263,16 @@
line-height: 1;
}
.customer-mark {
background: #fff2dc;
color: #b38343;
}
.data-mark {
background: #e9e6f5;
color: #7569a5;
}
.menu-copy {
flex: 1;
min-width: 0;