317 lines
5.6 KiB
SCSS
317 lines
5.6 KiB
SCSS
/* 运输计划单 · 现场记录/回传正文(三墙绿;顶栏样式见 bx-theme) */
|
|
.pl-site-plan-page {
|
|
--pl-site-primary: #059669;
|
|
--pl-site-brand: #0a9f6d;
|
|
padding-bottom: 24px;
|
|
background: #f8fafc;
|
|
min-height: 100vh;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pl-site-plan-page .filters {
|
|
margin: 12px 16px;
|
|
padding: 4px 4px 10px;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
border: 1px solid #e2e8f0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pl-site-plan-page .search-input {
|
|
display: block;
|
|
width: calc(100% - 8px);
|
|
height: 36px;
|
|
margin: 8px 4px 0;
|
|
padding: 0 12px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
color: #0f172a;
|
|
background: #fff;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pl-site-plan-page .list-body {
|
|
padding: 0 16px 24px;
|
|
}
|
|
|
|
.pl-site-plan-page .record-card {
|
|
position: relative;
|
|
margin-bottom: 10px;
|
|
padding: 16px 14px 14px;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
border: 1px solid #e2e8f0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pl-site-plan-page .index-tag {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
min-width: 24px;
|
|
height: 22px;
|
|
padding: 0 8px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px 0 10px 0;
|
|
background: var(--pl-site-primary);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.pl-site-plan-page .record-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.pl-site-plan-page .card-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.pl-site-plan-page .tag {
|
|
flex-shrink: 0;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.pl-site-plan-page .tag--success {
|
|
background: #ecfdf5;
|
|
color: #047857;
|
|
}
|
|
|
|
.pl-site-plan-page .tag--danger {
|
|
background: #fef2f2;
|
|
color: #dc2626;
|
|
}
|
|
|
|
.pl-site-plan-page .tag--muted {
|
|
background: #f1f5f9;
|
|
color: #64748b;
|
|
}
|
|
|
|
.pl-site-plan-page .meta {
|
|
font-size: 13px;
|
|
color: #475569;
|
|
line-height: 1.5;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.pl-site-plan-page .plate-hl {
|
|
color: var(--pl-site-primary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.pl-site-plan-page .stop-block {
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px dashed #e2e8f0;
|
|
}
|
|
|
|
.pl-site-plan-page .stop-block__title {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.pl-site-plan-page .page-loading,
|
|
.pl-site-plan-page .empty-hint {
|
|
text-align: center;
|
|
color: #94a3b8;
|
|
padding: 48px 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* detail */
|
|
.pl-site-plan-detail {
|
|
padding-bottom: 100px;
|
|
}
|
|
|
|
.pl-site-plan-detail .section-card {
|
|
margin: 12px 16px;
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.pl-site-plan-detail .kv-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid #f1f5f9;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.pl-site-plan-detail .kv-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.pl-site-plan-detail .kv-k {
|
|
color: #64748b;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.pl-site-plan-detail .kv-v {
|
|
color: #0f172a;
|
|
text-align: right;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.pl-site-plan-detail .stop-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.pl-site-plan-detail .addr-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
.pl-site-plan-detail .nav-btn {
|
|
flex-shrink: 0;
|
|
font-size: 12px;
|
|
color: #fff;
|
|
background: var(--pl-site-primary);
|
|
border-radius: 999px;
|
|
padding: 4px 10px;
|
|
}
|
|
|
|
.pl-site-plan-detail .product-card {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.pl-site-plan-detail .product-name {
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.pl-site-plan-detail .actual-box {
|
|
margin-top: 12px;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
background: #ecfdf5;
|
|
}
|
|
|
|
.pl-site-plan-detail .actual-label {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #047857;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.pl-site-plan-detail .actual-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.pl-site-plan-detail .actual-input {
|
|
flex: 1;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
border: 1px solid #a7f3d0;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.pl-site-plan-detail .remark-input {
|
|
width: 100%;
|
|
min-height: 64px;
|
|
margin-top: 10px;
|
|
padding: 10px 12px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pl-site-plan-detail .attach-label {
|
|
margin-top: 12px;
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.pl-site-plan-detail .attach-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.pl-site-plan-detail .attach-thumb {
|
|
width: 72px;
|
|
height: 72px;
|
|
border-radius: 8px;
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
.pl-site-plan-detail .attach-add {
|
|
width: 72px;
|
|
height: 72px;
|
|
border-radius: 8px;
|
|
border: 1px dashed #a7f3d0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--pl-site-primary);
|
|
font-size: 28px;
|
|
}
|
|
|
|
.pl-site-plan-detail .page-footer {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
|
|
background: #fff;
|
|
border-top: 1px solid #e2e8f0;
|
|
display: flex;
|
|
gap: 10px;
|
|
z-index: 20;
|
|
}
|
|
|
|
.pl-site-plan-detail .footer-btn {
|
|
flex: 1;
|
|
height: 44px;
|
|
border-radius: 999px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.pl-site-plan-detail .footer-btn--ghost {
|
|
background: #ecfdf5;
|
|
color: #047857;
|
|
}
|
|
|
|
.pl-site-plan-detail .footer-btn--primary {
|
|
background: var(--pl-site-primary);
|
|
color: #fff;
|
|
}
|