154 lines
2.0 KiB
Plaintext
154 lines
2.0 KiB
Plaintext
.page {
|
|
padding: 28rpx;
|
|
}
|
|
|
|
.task-page {
|
|
display: grid;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.custom-header {
|
|
padding: 20rpx 4rpx 0;
|
|
}
|
|
|
|
.header-title {
|
|
font-size: 44rpx;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.filter-tabs {
|
|
display: flex;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.filter-tab {
|
|
flex: 1;
|
|
text-align: center;
|
|
padding: 14rpx 0;
|
|
border-radius: 14rpx;
|
|
font-size: 26rpx;
|
|
font-weight: 600;
|
|
color: #64748b;
|
|
background: #ffffff;
|
|
border: 1rpx solid #e5eaf1;
|
|
}
|
|
|
|
.filter-tab.active {
|
|
color: #ffffff;
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.list {
|
|
display: grid;
|
|
gap: 14rpx;
|
|
}
|
|
|
|
.task-card {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.task-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20rpx 24rpx 12rpx;
|
|
}
|
|
|
|
.task-no {
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.task-addrs {
|
|
padding: 0 24rpx;
|
|
display: grid;
|
|
gap: 10rpx;
|
|
}
|
|
|
|
.addr-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10rpx;
|
|
}
|
|
|
|
.addr-dot {
|
|
width: 12rpx;
|
|
height: 12rpx;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.addr-dot.blue {
|
|
background: #2563eb;
|
|
}
|
|
|
|
.addr-dot.green {
|
|
background: #059669;
|
|
}
|
|
|
|
.addr-text {
|
|
font-size: 26rpx;
|
|
color: #475569;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.task-cargo {
|
|
padding: 10rpx 24rpx 0;
|
|
font-size: 24rpx;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.task-action-area {
|
|
margin-top: 16rpx;
|
|
padding: 16rpx 24rpx;
|
|
text-align: center;
|
|
font-size: 26rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.task-action-area.pending {
|
|
background: rgba(245, 158, 11, 0.08);
|
|
color: #d97706;
|
|
}
|
|
|
|
.task-action-area.accepted {
|
|
background: rgba(37, 99, 235, 0.08);
|
|
color: #2563eb;
|
|
}
|
|
|
|
.task-action-area.picked_up {
|
|
background: rgba(37, 99, 235, 0.08);
|
|
color: #2563eb;
|
|
}
|
|
|
|
.task-action-area.delivered {
|
|
background: rgba(16, 185, 129, 0.08);
|
|
color: #059669;
|
|
}
|
|
|
|
.message {
|
|
color: #047857;
|
|
padding: 20rpx 24rpx;
|
|
}
|
|
|
|
.empty-card {
|
|
padding: 40rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.empty-title {
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.page-subtitle {
|
|
font-size: 26rpx;
|
|
color: #64748b;
|
|
}
|