开车管理列表

This commit is contained in:
2026-06-11 20:35:27 +08:00
parent 0f8d5f4f7d
commit c749dd6b28
9 changed files with 3781 additions and 112 deletions
+202 -19
View File
@@ -377,24 +377,24 @@
// 头部过滤区域
.filter-header {
background: #ffffff;
padding: 20rpx 24rpx;
border-bottom: 1rpx solid #f0f0f0;
padding: 24rpx;
// border-bottom: 1rpx solid #f0f0f0;
// 第一行:单位选择 + 刷新
.filter-row {
display: flex;
align-items: center;
gap: 16rpx;
margin-bottom: 16rpx;
.project-select-btn {
.project-select-btn,
.unit-select-btn {
flex: 1;
display: flex;
align-items: center;
background: #f5f6f8;
border-radius: 12rpx;
padding: 0 16rpx;
max-height: 70rpx;
height: 70rpx;
min-width: 0;
:deep(.u-input) {
@@ -518,20 +518,21 @@
// 悬浮新增按钮
.fab-btn {
position: fixed;
right: 30rpx;
right: 32rpx;
bottom: 100rpx;
width: 100rpx;
height: 100rpx;
background: $u-type-primary;
background: linear-gradient(135deg, #4a7df5 0%, #356bdb 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4rpx 20rpx rgba($color: $u-type-primary, $alpha: 0.4);
box-shadow: 0 6rpx 24rpx rgba(74, 125, 245, 0.4);
z-index: 99;
border: 4rpx solid rgba(255, 255, 255, 0.2);
&:active {
opacity: 0.8;
opacity: 0.9;
transform: scale(0.95);
}
}
@@ -570,7 +571,8 @@
}
.list-wrap {
padding: 24rpx 24rpx 60rpx;
padding: 24rpx;
padding-bottom: 160rpx;
}
// 列表项:序号 + 标题 + 箭头
@@ -686,9 +688,15 @@
.card-item {
background: #ffffff;
border-radius: 16rpx;
padding: 24rpx;
padding: 28rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
transition: transform 0.15s, box-shadow 0.15s;
&:active {
transform: scale(0.99);
box-shadow: 0 1rpx 8rpx rgba(0, 0, 0, 0.04);
}
&:last-child {
margin-bottom: 0;
@@ -698,7 +706,7 @@
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 20rpx;
padding-bottom: 24rpx;
border-bottom: 1rpx solid #f0f0f0;
.card-code {
@@ -730,22 +738,37 @@
color: #4caf50;
}
}
.card-title {
font-size: 30rpx;
font-weight: 600;
color: #333;
}
.card-status {
display: inline-flex;
align-items: center;
padding: 8rpx 20rpx;
border-radius: 24rpx;
font-size: 24rpx;
font-weight: 500;
}
}
.card-body {
padding-top: 20rpx;
padding-top: 24rpx;
.card-row {
display: flex;
align-items: center;
padding: 14rpx 0;
padding: 16rpx 0;
&:not(:last-child) {
border-bottom: 1rpx dashed #f0f0f0;
}
.row-label {
width: 200rpx;
width: 180rpx;
font-size: 26rpx;
color: #999;
flex-shrink: 0;
@@ -957,9 +980,11 @@
// 底部按钮
.bottom-btns {
position: fixed;
left: 30rpx;
right: 30rpx;
bottom: 40rpx;
left: 0;
right: 0;
bottom: 0;
background-color: #ffffff;
padding: 24rpx 32rpx;
display: flex;
justify-content: space-between;
align-items: center;
@@ -1025,4 +1050,162 @@
white-space: nowrap;
width: 100%;
}
}
}
// 发货管理列表
.page-list .deliver-card {
.card-header {
.card-status {
display: inline-flex;
align-items: center;
padding: 8rpx 20rpx;
border-radius: 24rpx;
font-size: 24rpx;
font-weight: 500;
&.status-0 {
background: rgba(153, 153, 153, 0.1);
color: #999;
}
&.status-1 {
background: rgba(255, 167, 38, 0.1);
color: #ffa726;
}
&.status-2 {
background: rgba(76, 175, 80, 0.1);
color: #4caf50;
}
}
}
}
// 发货管理详情
.page-detail {
min-height: 100vh;
background: #f5f6f8;
padding-bottom: 160rpx;
}
.info-group {
background: #ffffff;
margin: 24rpx;
border-radius: 16rpx;
overflow: hidden;
}
.info-item {
display: flex;
align-items: flex-start;
padding: 28rpx 24rpx;
border-bottom: 1rpx solid #f0f0f0;
&:last-child {
border-bottom: none;
}
}
.info-label {
flex-shrink: 0;
width: 180rpx;
font-size: 28rpx;
color: #666;
line-height: 40rpx;
.required {
color: #fa3534;
margin-right: 4rpx;
}
}
.info-value {
flex: 1;
font-size: 28rpx;
color: #333;
line-height: 40rpx;
}
// 扫码行
.scan-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 28rpx 24rpx;
border-bottom: 1rpx solid #f0f0f0;
.scan-text {
font-size: 28rpx;
color: #666;
}
.scan-btn {
width: 80rpx;
height: 80rpx;
display: flex;
align-items: center;
justify-content: center;
background: #f5f6f8;
border-radius: 50%;
}
}
// 包装列表区域
.package-section {
padding: 24rpx;
.section-title {
display: block;
font-size: 30rpx;
font-weight: 600;
color: #333;
margin-bottom: 16rpx;
}
}
// 包装表格
.package-table {
border: 1rpx solid #e5e5e5;
border-radius: 8rpx;
overflow: hidden;
}
// 表格行
.table-hd {
display: flex;
background: #f5f6f8;
.table-td {
font-size: 24rpx;
color: #666;
}
}
.table-tr {
display: flex;
border-top: 1rpx solid #e5e5e5;
&:active {
background: #fafafa;
}
}
// 表格单元格
.table-td {
flex: 1;
padding: 20rpx;
font-size: 26rpx;
color: #333;
text-align: center;
&.td-operate {
flex: 0 0 100rpx;
display: flex;
align-items: center;
justify-content: center;
}
}
// 表格空状态
.table-empty {
padding: 40rpx 0;
}