feat(order): 新增订单 tab,支持未分配与我的订单分栏

This commit is contained in:
lik
2026-11-10 15:51:22 +08:00
parent 541611eaad
commit 5848d181a6
9 changed files with 149 additions and 76 deletions
+39 -39
View File
@@ -92,59 +92,59 @@ page {
border-radius: 32rpx;
}
/* === 筛选栏 === */
.filter-bar {
padding: 24rpx 0 0;
}
.filter-scroll {
white-space: nowrap;
}
.filter-list {
display: inline-flex;
padding: 0 24rpx;
gap: 16rpx;
}
.filter-tag {
display: inline-flex;
align-items: center;
padding: 12rpx 28rpx;
background: #ffffff;
border-radius: 28rpx;
font-size: 24rpx;
color: @muted;
/* === 接单分栏(未分配 / 我的) === */
.scope-bar {
display: flex;
gap: 8rpx;
margin-top: 24rpx;
padding: 8rpx;
background: @card;
border-radius: 32rpx;
border: 1rpx solid rgba(90, 62, 42, 0.06);
box-shadow: 0 4rpx 12rpx rgba(90, 62, 42, 0.05);
}
.scope-tab {
flex: 1;
padding: 16rpx 0;
text-align: center;
border-radius: 26rpx;
font-size: 26rpx;
color: @muted;
transition: all 0.25s;
&.active {
background: @accent;
color: #fff;
border-color: transparent;
font-weight: 600;
box-shadow: 0 4rpx 16rpx rgba(180, 85, 42, 0.3);
.filter-count {
background: rgba(255, 255, 255, 0.25);
color: #fff;
}
}
}
.filter-count {
min-width: 32rpx;
height: 32rpx;
padding: 0 8rpx;
margin-left: 8rpx;
background: rgba(0, 0, 0, 0.06);
border-radius: 16rpx;
font-size: 20rpx;
/* === 状态筛选下拉 === */
.filter-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 24rpx 0 0;
}
.filter-label {
font-size: 24rpx;
color: @muted;
}
.status-pill {
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 600;
gap: 8rpx;
padding: 12rpx 24rpx;
background: @card;
border-radius: 28rpx;
font-size: 24rpx;
color: @text;
border: 1rpx solid rgba(90, 62, 42, 0.06);
box-shadow: 0 4rpx 12rpx rgba(90, 62, 42, 0.05);
}
/* === 列表区域 === */