统一店务小程序主导航视觉与信息层级
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<view class="page">
|
||||
<view class="list-heading">
|
||||
<text>美甲师</text>
|
||||
<button class="compact-btn" bindtap="addEmployee">新增</button>
|
||||
<button class="compact-btn add-employee-btn" bindtap="addEmployee">+</button>
|
||||
</view>
|
||||
|
||||
<view class="list">
|
||||
@@ -28,7 +28,7 @@
|
||||
<text class="employee-meta">本月 {{item.monthOrders}} 单 · ¥{{item.monthAmount}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="color-pill" style="background: {{item.color}};"></view>
|
||||
<view class="employee-state">{{item.scheduleSummary === '未设置' ? '待排班' : '正常'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<text class="employee-meta">本月 {{item.monthOrders}} 单 · ¥{{item.monthAmount}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="color-pill" style="background: {{item.color}};"></view>
|
||||
<view class="employee-state">{{item.scheduleSummary === '未设置' ? '待排班' : '正常'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -17,11 +17,30 @@
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.add-employee-btn {
|
||||
width: 84rpx;
|
||||
min-width: 84rpx;
|
||||
max-width: 84rpx;
|
||||
height: 84rpx;
|
||||
min-height: 84rpx;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
background: #6f8f83;
|
||||
color: #fffdf8;
|
||||
font-size: 42rpx;
|
||||
font-weight: 400;
|
||||
line-height: 84rpx;
|
||||
box-shadow: 0 10rpx 22rpx rgba(111, 143, 131, 0.2);
|
||||
}
|
||||
|
||||
.employee-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 22rpx;
|
||||
border-color: rgba(111, 143, 131, 0.1);
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
box-shadow: 0 8rpx 20rpx rgba(78, 96, 78, 0.045);
|
||||
animation: cardIn 180ms ease both;
|
||||
transition: transform 160ms ease, box-shadow 160ms ease;
|
||||
}
|
||||
@@ -48,7 +67,8 @@
|
||||
}
|
||||
|
||||
.manager-card {
|
||||
border-color: rgba(111, 143, 131, 0.22);
|
||||
border-color: rgba(111, 143, 131, 0.26);
|
||||
background: #f4faf2;
|
||||
}
|
||||
|
||||
.employee-left {
|
||||
@@ -125,9 +145,19 @@
|
||||
}
|
||||
|
||||
.color-pill {
|
||||
width: 44rpx;
|
||||
height: 18rpx;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.employee-state {
|
||||
flex: 0 0 auto;
|
||||
min-height: 34rpx;
|
||||
padding: 0 12rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #eff7ef;
|
||||
color: #5f9070;
|
||||
font-size: 19rpx;
|
||||
font-weight: 800;
|
||||
line-height: 34rpx;
|
||||
}
|
||||
|
||||
.retry-btn {
|
||||
|
||||
Reference in New Issue
Block a user