Files
SupplierSystem/miniprogram/components/admin-preparations-panel/index.wxss
T
Ubuntu deb3e72750
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
chore: 以 AI 生鲜配送系统 当前版本作为 SupplierSystem 起点
来源仓库:jxc/ai-fresh-delivery
来源提交:f0b1a180e2deb7e4673b9d1c8542619f7bc0f73d
快照树:  09f679334ff38f0ff25e907961c94a8223bcaedd(与来源 HEAD 工作树逐字节一致,3801 个文件)

按约定本仓库不带任何历史提交:来源仓库的历史中含真实凭据
(生产 SSH 私钥 deploy/id_rsa_tencent、server/.env、.env.tencent/.env.production/.env.gitea、
deploy/小程序AppSecret.txt,其中 MP_APPSECRET / S3 AccessKey 经哈希比对与线上同值),
整包推送会把这些凭据永久带入本仓库,故只取「当前版本」的单提交快照。
供应商系统后续开发自本提交开始。
2026-10-08 17:35:43 +08:00

318 lines
6.3 KiB
Plaintext

.page { padding-bottom: 48rpx; }
.toolbar { margin-bottom: 8rpx; }
.toolbar-head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12rpx;
}
.section-title { font-size: 32rpx; font-weight: 700; }
.refresh { color: #059669; font-size: 26rpx; }
.refresh-end { margin-left: auto; }
.chip-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12rpx;
margin-bottom: 16rpx;
}
.filter-bar-one {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 12rpx;
margin-bottom: 16rpx;
}
.filter-bar-one .chip {
flex-shrink: 0;
}
.filter-bar-one .axis-pick {
background: #ecfdf5;
color: #047857;
}
.filter-bar-one .date-pick {
padding: 10rpx 12rpx;
font-size: 22rpx;
}
.chip {
padding: 10rpx 20rpx;
border-radius: 999rpx;
background: #f1f5f9;
color: #475569;
font-size: 24rpx;
}
.chip.active { background: #059669; color: #fff; }
.search-row { display: flex; gap: 12rpx; align-items: center; }
.search-input {
flex: 1;
background: #f8fafc;
border-radius: 12rpx;
padding: 12rpx 16rpx;
font-size: 24rpx;
}
.search-btn {
margin: 0;
background: #059669;
color: #fff;
font-size: 24rpx;
line-height: 1.6;
padding: 0 16rpx;
min-height: 0;
}
.search-btn::after { border: none; }
.stats {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
margin-top: 16rpx;
}
.stat-pill {
font-size: 24rpx;
color: #64748b;
background: #f8fafc;
padding: 8rpx 14rpx;
border-radius: 999rpx;
}
.group-card { margin-top: 0; padding: 0; overflow: hidden; }
.group-header {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8rpx 12rpx;
padding: 20rpx 20rpx 12rpx;
}
.group-title {
font-weight: 700;
font-size: 32rpx;
min-width: 0;
flex: 1 1 160rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.group-header-btns {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8rpx;
flex: 0 1 auto;
}
.group-badge {
background: #ecfdf5;
color: #047857;
font-size: 24rpx;
padding: 10rpx 20rpx;
border-radius: 999rpx;
white-space: nowrap;
margin-left: auto;
}
.group-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8rpx;
padding: 0 20rpx 12rpx;
border-bottom: 1rpx solid #f1f5f9;
}
.action-chip {
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
height: auto;
min-height: 0;
padding: 10rpx 20rpx;
border-radius: 999rpx;
background: #f1f5f9;
color: #475569;
font-size: 22rpx;
line-height: 1.4;
white-space: nowrap;
}
.action-chip.primary { background: #059669; color: #fff; }
.action-chip.warn { background: #fff7ed; color: #c2410c; }
.action-chip.is-disabled { opacity: 0.45; pointer-events: none; }
.day-block { padding: 0 0 8rpx; }
.day-label {
padding: 8rpx 20rpx 4rpx;
font-size: 22rpx;
font-weight: 700;
color: #047857;
}
.item {
padding: 12rpx 20rpx;
border-bottom: 1rpx solid #f8fafc;
overflow: hidden;
}
.day-block .item:last-child { border-bottom: none; }
.item-row {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 8rpx;
min-width: 0;
}
.item-row .action-chip {
flex-shrink: 0;
padding: 8rpx 14rpx;
}
.item-row .action-chip--stockout {
margin-left: auto;
}
.item-name {
flex: 0 0 96rpx;
width: 96rpx;
min-width: 96rpx;
overflow: hidden;
font-size: 32rpx;
line-height: 1.35;
word-break: break-all;
white-space: normal;
}
.item-title {
font-weight: 700;
font-size: 32rpx;
line-height: 1.35;
color: #0f172a;
}
.item-process {
flex: 0 0 64rpx;
width: 64rpx;
min-width: 64rpx;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
margin-left: 0;
padding: 4rpx 4rpx;
border-radius: 8rpx;
background: #ecfeff;
color: #0e7490;
font-size: 22rpx;
line-height: 1.3;
}
.item-process.is-empty {
background: transparent;
color: transparent;
}
.item-status {
display: inline-block;
margin-top: 4rpx;
font-size: 18rpx;
font-weight: 600;
padding: 2rpx 6rpx;
border-radius: 999rpx;
background: #f1f5f9;
color: #475569;
}
.item-status.status-10 { background: #fff7ed; color: #c2410c; }
.item-status.status-20 { background: #eff6ff; color: #1d4ed8; }
.item-status.status-30 { background: #ecfdf5; color: #047857; }
.item-status.status-40 { background: #fef2f2; color: #b91c1c; }
.tag {
display: inline-block;
margin-top: 4rpx;
font-size: 18rpx;
padding: 2rpx 6rpx;
border-radius: 999rpx;
background: #e2e8f0;
color: #334155;
}
.tag.stockout { background: #ffedd5; color: #c2410c; }
.tag.transferred { background: #ede9fe; color: #6d28d9; }
.unit-picker {
flex-shrink: 0;
height: 48rpx;
padding: 0 6rpx;
border-radius: 8rpx;
background: #f1f5f9;
font-size: 24rpx;
font-weight: 600;
line-height: 48rpx;
color: #0f172a;
white-space: nowrap;
}
.num-box {
flex: 0 0 96rpx;
width: 96rpx;
min-width: 96rpx;
max-width: 96rpx;
height: 48rpx;
display: flex;
align-items: center;
overflow: hidden;
background: #f8fafc;
border-radius: 8rpx;
padding: 0 6rpx 0 8rpx;
box-sizing: border-box;
}
.num-box--price {
flex: 0 0 108rpx;
width: 108rpx;
min-width: 108rpx;
max-width: 108rpx;
}
.num-input {
flex: 1;
min-width: 0;
width: 0;
height: 48rpx;
padding-right: 8rpx;
font-size: 16px;
line-height: 48rpx;
}
.num-unit {
flex-shrink: 0;
padding: 0 0 0 4rpx;
font-size: 24rpx;
color: #64748b;
}
.item-readonly {
flex: 1;
min-width: 0;
font-size: 32rpx;
color: #64748b;
}
.empty { padding: 80rpx 0; text-align: center; color: #94a3b8; }
.modal-mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(15, 23, 42, 0.45);
z-index: 10000;
display: flex;
align-items: flex-end;
}
.modal-sheet {
width: 100%;
background: #fff;
border-radius: 28rpx 28rpx 0 0;
padding: 32rpx 32rpx calc(32rpx + env(safe-area-inset-bottom));
box-sizing: border-box;
}
.modal-title { font-size: 32rpx; font-weight: 700; margin-bottom: 20rpx; }
.reason-item {
padding: 24rpx 0;
border-bottom: 1rpx solid #f1f5f9;
font-size: 28rpx;
}
.reason-item.active { color: #059669; font-weight: 600; }
.remark-input {
margin-top: 16rpx;
background: #f8fafc;
border-radius: 12rpx;
padding: 16rpx;
min-height: 80rpx;
}
.modal-actions {
display: flex;
gap: 16rpx;
margin-top: 24rpx;
}
.modal-actions button { flex: 1; margin: 0; }