Files
SupplierSystem/miniprogram/components/product-trace-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

262 lines
3.6 KiB
Plaintext

.product-trace-panel {
min-height: 100vh;
background: #ecfdf5;
padding: 24rpx;
box-sizing: border-box;
}
.product-trace-panel.is-embedded {
min-height: 0;
background: transparent;
padding: 8rpx var(--xd-module-grid-side, 16rpx) calc(120rpx + env(safe-area-inset-bottom));
}
.card {
background: #fff;
border-radius: 16rpx;
padding: 24rpx;
margin-bottom: 20rpx;
}
.search-row {
display: flex;
gap: 12rpx;
align-items: center;
}
.chip-row {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
margin-bottom: 16rpx;
}
.filter-row {
flex-wrap: nowrap;
align-items: center;
}
.chip {
flex-shrink: 0;
padding: 12rpx 20rpx;
border-radius: 999rpx;
font-size: 24rpx;
color: #52525b;
background: #fff;
border: 1px solid #e4e4e7;
}
.chip.active {
background: #059669;
color: #fff;
border-color: #059669;
}
.input {
flex: 1;
border: 1px solid #cbd5e1;
border-radius: 12rpx;
padding: 16rpx;
font-size: 28rpx;
}
.btn {
background: #059669;
color: #fff;
border-radius: 12rpx;
padding: 0 24rpx;
height: 72rpx;
line-height: 72rpx;
font-size: 26rpx;
}
.btn-scan {
background: #0f766e;
}
.title {
font-size: 32rpx;
font-weight: 600;
color: #0f172a;
}
.sub-title {
font-size: 28rpx;
}
.hint {
margin-top: 12rpx;
}
.timeline {
margin-top: 24rpx;
}
.mono {
font-family: monospace;
font-size: 22rpx;
color: #64748b;
margin-top: 8rpx;
}
.meta {
margin-top: 16rpx;
font-size: 26rpx;
color: #334155;
line-height: 1.6;
}
.hit {
padding: 16rpx 0;
border-bottom: 1px solid #e2e8f0;
}
.hit.is-open {
background: #f0fdf4;
margin: 0 -16rpx;
padding: 16rpx;
border-radius: 12rpx;
}
.hit-head {
padding: 0;
}
.hit-detail {
margin-top: 16rpx;
padding-top: 12rpx;
border-top: 1px solid #d1fae5;
}
.hit:last-child {
border-bottom: none;
}
.step {
border-left: 4rpx solid #10b981;
padding-left: 16rpx;
margin-bottom: 16rpx;
}
.photos {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
margin-top: 12rpx;
}
.photo-section {
margin-top: 24rpx;
}
.photo {
width: 160rpx;
height: 160rpx;
border-radius: 12rpx;
}
.photo-item {
display: flex;
flex-direction: column;
align-items: center;
width: 160rpx;
}
.photo-time {
margin-top: 6rpx;
font-size: 20rpx;
line-height: 1.3;
color: #64748b;
text-align: center;
}
.muted {
color: #64748b;
font-size: 24rpx;
}
.error {
color: #b91c1c;
font-size: 26rpx;
}
.chip-custom {
display: flex;
align-items: center;
gap: 8rpx;
min-width: 0;
}
.chip-range {
font-size: 22rpx;
opacity: 0.92;
}
.sheet-mask {
position: fixed;
inset: 0;
z-index: 10000;
display: flex;
align-items: flex-end;
justify-content: center;
background: rgba(15, 23, 42, 0.48);
}
.sheet-card {
width: 100%;
padding: 32rpx 24rpx calc(24rpx + env(safe-area-inset-bottom));
border-radius: 28rpx 28rpx 0 0;
background: #fff;
box-sizing: border-box;
}
.sheet-title {
font-size: 32rpx;
font-weight: 600;
color: #0f172a;
margin-bottom: 24rpx;
}
.range-fields {
display: flex;
gap: 16rpx;
}
.range-field {
flex: 1;
display: flex;
align-items: center;
gap: 12rpx;
padding: 20rpx 20rpx;
border-radius: 16rpx;
border: 1px solid #e4e4e7;
font-size: 28rpx;
color: #0f172a;
}
.range-label {
color: #64748b;
font-size: 24rpx;
}
.sheet-actions {
display: flex;
justify-content: flex-end;
gap: 16rpx;
margin-top: 28rpx;
}
.sheet-btn {
background: #059669;
color: #fff;
border-radius: 12rpx;
padding: 0 32rpx;
height: 72rpx;
line-height: 72rpx;
font-size: 28rpx;
}
.sheet-btn::after {
border: none;
}