This commit is contained in:
wuzilong committed 2026-09-13 13:08:52 +08:00
1 parent 499896b29c
commit 8c96de2c0c
64 files changed
+35711 -30445

No files matched your search

+41 -6
View File
@@ -81,9 +81,12 @@
height: var(--sq-header-height, calc(44px + 44px));
padding: var(--sq-safe-top, 44px) 12px 0 8px;
box-sizing: border-box;
background: #fff;
border-bottom: 1px solid #eee;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
/* 对齐首页 mp-header:绿渐变 + 下缘左右圆角;高度保持业务顶栏原值 */
background: var(--mp-header-gradient, linear-gradient(145deg, #087f57 0%, #0a9f6d 72%, #d6a343 165%));
border-bottom-left-radius: var(--mp-radius-xl, 44rpx);
border-bottom-right-radius: var(--mp-radius-xl, 44rpx);
box-shadow: 0 16rpx 40rpx rgba(10, 159, 109, 0.12);
color: #fff;
}
.bx-page .topbar-left {
@@ -96,7 +99,7 @@
.bx-page .topbar-back {
font-size: 20px;
color: #333;
color: #fff;
padding: 4px 8px;
flex-shrink: 0;
line-height: 1;
@@ -110,7 +113,7 @@
text-align: left;
font-size: 17px;
font-weight: 700;
color: #111827;
color: #fff;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
@@ -544,7 +547,8 @@
}
.bx-page .form-input.error,
.bx-page .form-textarea.error {
.bx-page .form-textarea.error,
.bx-page .picker-trigger.error {
border-color: var(--danger);
}
@@ -1159,6 +1163,37 @@
text-align: center;
}
.bx-page .bx-sheet__search {
position: relative;
padding: 10px 16px 8px;
border-bottom: 1px solid var(--border);
}
.bx-page .bx-sheet__search-input {
width: 100%;
height: 40px;
padding: 0 36px 0 12px;
border: 1.5px solid var(--border);
border-radius: var(--rs);
font-size: 14px;
color: var(--text);
background: var(--bg);
box-sizing: border-box;
}
.bx-page .bx-sheet__search-clear {
position: absolute;
right: 24px;
top: 50%;
transform: translateY(-50%);
width: 28px;
height: 28px;
line-height: 28px;
text-align: center;
color: var(--text-muted);
font-size: 18px;
}
.bx-page .bx-sheet__body {
flex: 1;
overflow-y: auto;
+12 -3
View File
@@ -11,9 +11,12 @@
position: sticky;
top: 0;
z-index: 50;
background: #fff;
border-bottom: 1px solid #eee;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
/* 对齐首页 mp-header:绿渐变 + 下缘左右圆角;高度保持业务顶栏原值 */
background: var(--mp-header-gradient, linear-gradient(145deg, #087f57 0%, #0a9f6d 72%, #d6a343 165%));
border-bottom-left-radius: var(--mp-radius-xl, 44rpx);
border-bottom-right-radius: var(--mp-radius-xl, 44rpx);
box-shadow: 0 16rpx 40rpx rgba(10, 159, 109, 0.12);
color: #fff;
height: var(--sq-header-height, calc(44px + 44px));
padding-top: var(--sq-safe-top, 44px);
box-sizing: border-box;
@@ -54,6 +57,12 @@
white-space: nowrap;
}
/* 仅顶栏内为白字;弹层等复用 __title 时仍保持深色 */
.db-header .db-header__back,
.db-header .db-header__title {
color: #fff;
}
.db-search-wrap {
padding: 8px 12px 0;
background: #fff;
+316
View File
@@ -0,0 +1,316 @@
/* 运输计划单 · 现场记录/回传正文(三墙绿;顶栏样式见 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;
}
+14 -12
View File
@@ -1,13 +1,15 @@
// 统一页顶栏(对齐地磅「仪表盘」白底顶栏)
// 统一页顶栏(对齐首页 mp-header:绿渐变 + 下缘左右圆角;高度保持业务顶栏)
// 结构:safe-top + nav 行;左侧返回←/标题;右侧预留胶囊;工作台可加用户区
.sq-nav-header {
position: sticky;
top: 0;
z-index: 50;
background: #fff;
border-bottom: 1px solid #eee;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
background: var(--mp-header-gradient, linear-gradient(145deg, #087f57 0%, #0a9f6d 72%, #d6a343 165%));
border-bottom-left-radius: var(--mp-radius-xl, 44rpx);
border-bottom-right-radius: var(--mp-radius-xl, 44rpx);
box-shadow: 0 16rpx 40rpx rgba(10, 159, 109, 0.12);
color: #fff;
height: var(--sq-header-height, calc(44px + 44px));
padding-top: var(--sq-safe-top, 44px);
box-sizing: border-box;
@@ -60,7 +62,7 @@
.sq-nav-header__back {
font-size: 20px;
color: #333;
color: #fff;
padding: 4px 8px;
flex-shrink: 0;
line-height: 1;
@@ -69,7 +71,7 @@
.sq-nav-header__title {
font-size: 17px;
font-weight: 700;
color: #111827;
color: #fff;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
@@ -79,7 +81,7 @@
.sq-nav-header__meta {
font-size: 12px;
color: #6b7280;
color: rgba(255, 255, 255, 0.9);
line-height: 1.4;
text-align: left;
}
@@ -109,7 +111,7 @@
.sq-nav-header__user-name {
font-size: 13px;
font-weight: 600;
color: #111827;
color: #fff;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
@@ -121,13 +123,13 @@
line-height: 1.3;
padding: 4px 10px;
border-radius: 999px;
border: 1px solid #d1d5db;
color: #374151;
background: #fff;
border: 1px solid rgba(255, 255, 255, 0.65);
color: #fff;
background: rgba(255, 255, 255, 0.12);
}
.sq-nav-header__logout:active {
background: #f3f4f6;
background: rgba(255, 255, 255, 0.22);
}
.sq-nav-header__logout--disabled {