1402 lines
24 KiB
SCSS
1402 lines
24 KiB
SCSS
.cert-module {
|
||
--el-color-primary: #0a9f6d;
|
||
--el-color-primary-light-9: #e9f9f2;
|
||
|
||
font-size: 14px;
|
||
line-height: 1.6;
|
||
color: #223b33;
|
||
overflow-wrap: anywhere;
|
||
|
||
* {
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
button,
|
||
input,
|
||
select,
|
||
summary {
|
||
font: inherit;
|
||
}
|
||
|
||
button,
|
||
summary {
|
||
min-height: 44px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
button:disabled {
|
||
cursor: not-allowed;
|
||
opacity: 0.45;
|
||
}
|
||
|
||
.cert-input {
|
||
width: 100%;
|
||
min-width: 0;
|
||
min-height: 44px;
|
||
padding: 8px;
|
||
background: white;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
h1,
|
||
h3,
|
||
h4,
|
||
p {
|
||
margin: 0 0 8px;
|
||
}
|
||
|
||
h3 {
|
||
font-size: 16px;
|
||
}
|
||
|
||
h4 {
|
||
font-size: 14px;
|
||
}
|
||
|
||
.el-select {
|
||
width: 100%;
|
||
min-width: 0;
|
||
}
|
||
|
||
.el-select__wrapper,
|
||
.el-input__wrapper {
|
||
min-height: 44px;
|
||
}
|
||
|
||
.el-form-item__content {
|
||
min-width: 0;
|
||
}
|
||
|
||
.el-tag {
|
||
height: auto;
|
||
min-height: 24px;
|
||
line-height: 20px;
|
||
white-space: normal;
|
||
}
|
||
|
||
.el-tag--success,
|
||
.el-tag--primary {
|
||
color: #087f57;
|
||
background: #e9f9f2;
|
||
border-color: rgb(10 159 109 / 20%);
|
||
}
|
||
|
||
.el-tag--warning {
|
||
color: #cf8a19;
|
||
background: #fff7e8;
|
||
border-color: rgb(207 138 25 / 25%);
|
||
}
|
||
|
||
.el-tag--danger {
|
||
color: #ef4444;
|
||
background: #fef2f2;
|
||
border-color: rgb(239 68 68 / 20%);
|
||
}
|
||
|
||
.el-tag--info {
|
||
color: #64748b;
|
||
background: #f1f5f9;
|
||
border-color: #e2e8f0;
|
||
}
|
||
|
||
.mp-wv-header .status-tabs {
|
||
display: flex;
|
||
max-width: 100%;
|
||
padding: 4px 4px 0;
|
||
margin: 2px -4px 0;
|
||
overflow-x: auto;
|
||
background: transparent;
|
||
border-bottom: 0;
|
||
-webkit-overflow-scrolling: touch;
|
||
}
|
||
|
||
.cert-search-bar {
|
||
padding: 10px 12px 8px;
|
||
background: white;
|
||
}
|
||
|
||
.cert-search-bar .mp-wv-search {
|
||
margin-top: 0;
|
||
color: #1f2a26;
|
||
background: #f3f7f5;
|
||
border: 1px solid #dcebe4;
|
||
}
|
||
|
||
.mp-wv-header .status-tabs::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
|
||
.mp-wv-header .filter-tag {
|
||
flex-shrink: 0;
|
||
min-height: 44px;
|
||
padding: 4px 12px;
|
||
margin-right: 8px;
|
||
font-size: 12px;
|
||
color: rgb(255 255 255 / 88%);
|
||
background: rgb(255 255 255 / 12%);
|
||
border: 1px solid rgb(255 255 255 / 35%);
|
||
border-radius: 22px;
|
||
}
|
||
|
||
.mp-wv-header .filter-tag.active {
|
||
font-weight: 600;
|
||
color: #087f57;
|
||
background: #fff;
|
||
border-color: #fff;
|
||
}
|
||
|
||
.filter-wrap {
|
||
position: relative;
|
||
z-index: 8;
|
||
}
|
||
|
||
.filter-bar {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
background: white;
|
||
border-bottom: 1px solid #dcebe4;
|
||
}
|
||
|
||
.filter-trig {
|
||
position: relative;
|
||
display: flex;
|
||
gap: 4px;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-width: 0;
|
||
height: 44px;
|
||
padding: 0 8px;
|
||
font-size: 13px;
|
||
color: #223b33;
|
||
background: transparent;
|
||
border: 0;
|
||
}
|
||
|
||
.filter-trig + .filter-trig::before {
|
||
position: absolute;
|
||
top: 12px;
|
||
bottom: 12px;
|
||
left: 0;
|
||
width: 1px;
|
||
content: '';
|
||
background: #dcebe4;
|
||
}
|
||
|
||
.filter-trig .val {
|
||
max-width: 7em;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.filter-trig .arrow {
|
||
font-size: 9px;
|
||
color: #71857b;
|
||
transition: transform 0.15s;
|
||
}
|
||
|
||
.filter-trig.open,
|
||
.filter-trig.has-extra {
|
||
font-weight: 600;
|
||
color: #087f57;
|
||
}
|
||
|
||
.filter-trig.open .arrow {
|
||
color: #0a9f6d;
|
||
transform: rotate(180deg);
|
||
}
|
||
|
||
.filter-trig .dot {
|
||
display: none;
|
||
width: 6px;
|
||
height: 6px;
|
||
background: #dc2626;
|
||
border-radius: 50%;
|
||
}
|
||
|
||
.filter-trig.has-extra .dot {
|
||
display: inline-block;
|
||
}
|
||
|
||
.filter-panel {
|
||
position: absolute;
|
||
top: 100%;
|
||
right: 0;
|
||
left: 0;
|
||
z-index: 10;
|
||
max-height: 280px;
|
||
overflow-y: auto;
|
||
background: white;
|
||
border-bottom: 1px solid #dcebe4;
|
||
box-shadow: 0 10px 20px rgb(15 30 24 / 8%);
|
||
}
|
||
|
||
.filter-opt {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
width: 100%;
|
||
padding: 12px 16px;
|
||
color: #223b33;
|
||
text-align: left;
|
||
background: white;
|
||
border: 0;
|
||
border-bottom: 1px solid #f0f4f2;
|
||
}
|
||
|
||
.filter-opt.active {
|
||
font-weight: 600;
|
||
color: #087f57;
|
||
}
|
||
|
||
.filter-opt .check {
|
||
color: #0a9f6d;
|
||
visibility: hidden;
|
||
}
|
||
|
||
.filter-opt.active .check {
|
||
visibility: visible;
|
||
}
|
||
|
||
.filter-mask {
|
||
position: absolute;
|
||
top: 100%;
|
||
right: 0;
|
||
left: 0;
|
||
z-index: 9;
|
||
height: 100vh;
|
||
background: rgb(15 30 24 / 35%);
|
||
}
|
||
|
||
.cert-body {
|
||
padding: 12px;
|
||
margin: 0 -10px;
|
||
}
|
||
|
||
.cert-body > .cert-hint,
|
||
.cert-body > .cert-error,
|
||
.cert-body > [role='status'] {
|
||
margin-right: 0;
|
||
margin-left: 0;
|
||
}
|
||
|
||
.cert-btn {
|
||
padding: 8px 12px;
|
||
color: #34584a;
|
||
background: white;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 9px;
|
||
}
|
||
|
||
.cert-btn--primary {
|
||
color: white;
|
||
background: #0a9f6d;
|
||
border-color: #0a9f6d;
|
||
}
|
||
|
||
.cert-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
align-items: center;
|
||
}
|
||
|
||
.cert-count {
|
||
font-size: 12px;
|
||
color: #63776f;
|
||
}
|
||
|
||
.cert-total,
|
||
.cert-meta,
|
||
.cert-hint {
|
||
font-size: 12px;
|
||
color: #63776f;
|
||
}
|
||
|
||
.cert-total {
|
||
padding: 8px;
|
||
text-align: center;
|
||
}
|
||
|
||
.expense-card {
|
||
min-width: 0;
|
||
padding: 16px;
|
||
margin-bottom: 10px;
|
||
background: white;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 14px;
|
||
box-shadow: 0 6px 18px rgb(19 58 44 / 6%);
|
||
}
|
||
|
||
.ec-top {
|
||
display: flex;
|
||
gap: 10px;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
min-width: 0;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.ec-check-wrap {
|
||
display: flex;
|
||
flex-shrink: 0;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 44px;
|
||
height: 44px;
|
||
}
|
||
|
||
.ec-check {
|
||
width: 18px;
|
||
height: 18px;
|
||
accent-color: #0a9f6d;
|
||
}
|
||
|
||
.ec-type {
|
||
flex: 1;
|
||
min-width: 0;
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ec-type__title {
|
||
display: block;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.cert-plan-link {
|
||
color: #223b33;
|
||
text-align: left;
|
||
overflow-wrap: anywhere;
|
||
background: none;
|
||
border: none;
|
||
}
|
||
|
||
.status-tag {
|
||
display: inline-flex;
|
||
flex-shrink: 0;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 2px 10px;
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
line-height: 1.25;
|
||
color: #64748b;
|
||
white-space: nowrap;
|
||
background: #f1f5f9;
|
||
border: 1px solid #e2e8f0;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.status-tag.s-pending {
|
||
color: #cf8a19;
|
||
background: #fff7e8;
|
||
border-color: rgb(207 138 25 / 25%);
|
||
}
|
||
|
||
.status-tag.s-ok {
|
||
color: #087f57;
|
||
background: #e9f9f2;
|
||
border-color: rgb(10 159 109 / 20%);
|
||
}
|
||
|
||
.status-tag.s-danger {
|
||
color: #ef4444;
|
||
background: #fef2f2;
|
||
border-color: rgb(239 68 68 / 20%);
|
||
}
|
||
|
||
.status-tag.s-info {
|
||
color: #6366f1;
|
||
background: #eef2ff;
|
||
border-color: rgb(99 102 241 / 25%);
|
||
}
|
||
|
||
.card-subs {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
padding: 8px 0 2px;
|
||
margin-bottom: 8px;
|
||
border-top: 1px solid #dcebe4;
|
||
}
|
||
|
||
.card-sub-row,
|
||
.list-card-kv__row {
|
||
display: flex;
|
||
gap: 10px;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.card-sub-row {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.card-sub-row .k,
|
||
.list-card-kv__k {
|
||
flex-shrink: 0;
|
||
color: #71857b;
|
||
}
|
||
|
||
.card-sub-row .v,
|
||
.list-card-kv__v {
|
||
min-width: 0;
|
||
font-weight: 500;
|
||
color: #223b33;
|
||
text-align: right;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.list-card-kv {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
padding: 10px 12px;
|
||
margin-top: 10px;
|
||
font-size: 12px;
|
||
background: #f3f7f5;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.list-card-kv__k {
|
||
max-width: 42%;
|
||
font-size: 11px;
|
||
}
|
||
|
||
.ec-meta {
|
||
margin-top: 8px;
|
||
font-size: 12px;
|
||
color: #71857b;
|
||
}
|
||
|
||
.ec-bottom {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
padding-top: 10px;
|
||
margin-top: 10px;
|
||
border-top: 1px dashed #dcebe4;
|
||
}
|
||
|
||
.op-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
/* 卡片底栏对齐标准 mp-wv-btn(Demo btn-sm / 30px),覆盖模块级 button min-height:44 */
|
||
.expense-card .op-actions .mp-wv-btn {
|
||
height: 30px;
|
||
min-height: 30px;
|
||
padding: 0 10px;
|
||
font-size: 12px;
|
||
line-height: 1;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.cert-tags {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
margin: 4px 0 10px;
|
||
}
|
||
|
||
.mp-wv-flat-card__toggle {
|
||
min-height: 0;
|
||
background: none;
|
||
border: 0;
|
||
}
|
||
|
||
.mp-wv-card__kv-row .cert-link + .cert-link,
|
||
.mp-wv-card__kv-row .cert-link + span,
|
||
.mp-wv-card__kv-row span + .cert-link {
|
||
margin-left: 8px;
|
||
}
|
||
|
||
.cert-expand {
|
||
margin-top: 8px;
|
||
}
|
||
|
||
.cert-expand summary {
|
||
display: flex;
|
||
align-items: center;
|
||
min-height: 36px;
|
||
font-size: 13px;
|
||
color: #087f57;
|
||
}
|
||
|
||
.cert-expand summary::before {
|
||
margin-right: 6px;
|
||
content: '+';
|
||
}
|
||
|
||
.cert-expand[open] summary::before {
|
||
content: '−';
|
||
}
|
||
|
||
.cert-expand__meta {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px 14px;
|
||
padding: 4px 0 8px;
|
||
font-size: 12px;
|
||
color: #71857b;
|
||
}
|
||
|
||
.cert-expand__seg {
|
||
padding: 10px 12px;
|
||
margin: 0 0 8px;
|
||
background: #f5faf7;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.cert-expand__seg:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.cert-expand__seg-hd {
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.cert-expand__tag {
|
||
display: inline-block;
|
||
padding: 2px 8px;
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
line-height: 18px;
|
||
color: #087f57;
|
||
background: #e9f9f2;
|
||
border-radius: 6px;
|
||
}
|
||
|
||
.cert-expand__tag--out {
|
||
color: #b45309;
|
||
background: #fff7e8;
|
||
}
|
||
|
||
.cert-expand__customer {
|
||
display: block;
|
||
margin-bottom: 2px;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
color: #223b33;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.cert-expand__line {
|
||
margin: 0 0 6px;
|
||
font-size: 12px;
|
||
line-height: 1.45;
|
||
color: #71857b;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.cert-expand__empty {
|
||
margin: 0;
|
||
font-size: 12px;
|
||
color: #94a3b8;
|
||
}
|
||
|
||
.cert-expand__contracts {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px 10px;
|
||
margin: 0 0 6px;
|
||
}
|
||
|
||
.cert-expand__contract-text,
|
||
.cert-link {
|
||
padding: 0;
|
||
font-size: 12px;
|
||
color: #087f57;
|
||
text-align: left;
|
||
overflow-wrap: anywhere;
|
||
background: none;
|
||
border: none;
|
||
}
|
||
|
||
.cert-link {
|
||
min-height: 0;
|
||
text-decoration: underline;
|
||
text-underline-offset: 2px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.cert-expand__products {
|
||
padding: 0;
|
||
margin: 0;
|
||
list-style: none;
|
||
}
|
||
|
||
.cert-expand__products li {
|
||
padding: 4px 0;
|
||
font-size: 12px;
|
||
line-height: 1.45;
|
||
color: #34584a;
|
||
overflow-wrap: anywhere;
|
||
border-top: 1px dashed #dcebe4;
|
||
}
|
||
|
||
.cert-expand__products li:first-child {
|
||
border-top: 0;
|
||
}
|
||
|
||
.cert-stop,
|
||
.cert-product {
|
||
padding: 12px;
|
||
margin: 8px 0;
|
||
background: #f5faf7;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.cert-kv {
|
||
display: flex;
|
||
gap: 10px;
|
||
align-items: flex-start;
|
||
padding: 5px 0;
|
||
}
|
||
|
||
.cert-kv > :first-child {
|
||
flex: 0 0 88px;
|
||
font-weight: normal;
|
||
color: #71857b;
|
||
}
|
||
|
||
.cert-kv > :last-child {
|
||
flex: 1;
|
||
min-width: 0;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.cert-contract {
|
||
display: flex;
|
||
align-items: center;
|
||
min-width: 0;
|
||
}
|
||
|
||
.cert-error {
|
||
padding: 12px;
|
||
color: #b42318;
|
||
background: #fff1f0;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.cert-empty {
|
||
padding: 64px 16px;
|
||
color: #71857b;
|
||
text-align: center;
|
||
}
|
||
|
||
.cert-load {
|
||
display: block;
|
||
width: 100%;
|
||
}
|
||
|
||
.cert-section {
|
||
padding: 12px;
|
||
margin-bottom: 12px;
|
||
background: white;
|
||
border: 1px solid #e5eee9;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.cert-section h3 {
|
||
padding-left: 8px;
|
||
border-left: 3px solid #0a9f6d;
|
||
}
|
||
|
||
.cert-range,
|
||
.cert-number {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
width: 100%;
|
||
min-width: 0;
|
||
}
|
||
|
||
.cert-range label {
|
||
display: block;
|
||
width: 100%;
|
||
}
|
||
|
||
.cert-link-block {
|
||
margin: 10px 0;
|
||
}
|
||
|
||
.filter-chips {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.filter-chip {
|
||
min-height: 44px;
|
||
padding: 7px 12px;
|
||
font-size: 12px;
|
||
color: #223b33;
|
||
background: #f7faf8;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.filter-chip.on {
|
||
font-weight: 600;
|
||
color: #087f57;
|
||
background: #e9f9f2;
|
||
border-color: #b7ebce;
|
||
}
|
||
|
||
/* 详情 Tab:对齐客户详情 .mp-customer-detail-tabs(灰底、短下划线、按文字宽度) */
|
||
.mp-customer-detail-tabs {
|
||
margin: 0 -10px 12px;
|
||
background: transparent !important;
|
||
|
||
--van-tabs-line-height: 44px;
|
||
--van-tabs-nav-background: transparent;
|
||
--van-tab-text-color: #6b7b74;
|
||
--van-tab-active-text-color: #087f57;
|
||
--van-tab-font-size: 13px;
|
||
--van-tabs-bottom-bar-color: #0a9f6d;
|
||
--van-tabs-bottom-bar-height: 2px;
|
||
--van-sticky-z-index: 40;
|
||
|
||
.van-sticky,
|
||
.van-sticky--fixed {
|
||
z-index: 40 !important;
|
||
}
|
||
|
||
.van-tabs__wrap {
|
||
background: #f5f8f7 !important;
|
||
border-bottom: 1px solid #dcebe4;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.van-tabs__nav {
|
||
padding: 0 6px;
|
||
background: #f5f8f7 !important;
|
||
}
|
||
|
||
.van-tab {
|
||
flex: 0 0 auto !important;
|
||
min-width: 72px;
|
||
min-height: 44px;
|
||
padding: 0 14px;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
color: #6b7b74;
|
||
}
|
||
|
||
.van-tab--active {
|
||
font-weight: 700;
|
||
color: #087f57;
|
||
}
|
||
|
||
.van-tabs__line {
|
||
bottom: 2px;
|
||
width: 28px !important;
|
||
height: 2px !important;
|
||
background: #0a9f6d !important;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.van-tabs__content {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
.detail-tabs {
|
||
display: flex;
|
||
background: white;
|
||
border-bottom: 1px solid #dcebe4;
|
||
}
|
||
|
||
.detail-tab {
|
||
position: relative;
|
||
flex: 1;
|
||
padding: 12px 6px;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
color: #63776f;
|
||
background: transparent;
|
||
border: 0;
|
||
}
|
||
|
||
.detail-tab.active {
|
||
color: #087f57;
|
||
}
|
||
|
||
.detail-tab.active::after {
|
||
position: absolute;
|
||
right: 20%;
|
||
bottom: 0;
|
||
left: 20%;
|
||
height: 2px;
|
||
content: '';
|
||
background: #0a9f6d;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.cert-detail-scroll {
|
||
background: #f3f7f5;
|
||
}
|
||
|
||
.detail-pane {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
padding: 12px 12px 16px;
|
||
}
|
||
|
||
.detail-info-card {
|
||
padding: 6px 16px 10px;
|
||
background: white;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 14px;
|
||
box-shadow: 0 6px 18px rgb(19 58 44 / 6%);
|
||
}
|
||
|
||
.detail-info-card__title {
|
||
padding-bottom: 12px;
|
||
margin: 6px 0 14px;
|
||
border-bottom: 1px solid #dcebe4;
|
||
}
|
||
|
||
.adv-field {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
padding: 12px 0;
|
||
}
|
||
|
||
.adv-field + .adv-field {
|
||
border-top: 1px solid #dcebe4;
|
||
}
|
||
|
||
.adv-field__label {
|
||
font-size: 12px;
|
||
color: #71857b;
|
||
}
|
||
|
||
.adv-field__value {
|
||
font-size: 15px;
|
||
font-weight: 500;
|
||
color: #223b33;
|
||
word-break: break-word;
|
||
}
|
||
}
|
||
|
||
.cert-sheet-actions {
|
||
display: flex;
|
||
gap: 12px;
|
||
justify-content: center;
|
||
width: 100%;
|
||
}
|
||
|
||
.cert-sheet-actions .cert-btn {
|
||
flex: 0 0 96px;
|
||
width: 96px;
|
||
min-height: 44px;
|
||
padding: 8px 10px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.cert-page {
|
||
max-width: 100vw;
|
||
min-height: 100vh;
|
||
padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
|
||
background: #f3f7f5;
|
||
}
|
||
|
||
.cert-page > .mp-wv-header {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.cert-page > .cert-search-bar,
|
||
.cert-page > .filter-wrap {
|
||
width: calc(100% + 20px);
|
||
max-width: none;
|
||
margin-left: -10px;
|
||
}
|
||
|
||
.cert-detail-page {
|
||
width: calc(100% + 20px);
|
||
max-width: 100vw;
|
||
min-height: 100vh;
|
||
padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
|
||
margin: 0 -10px;
|
||
overflow-x: clip;
|
||
background: #f3f7f5;
|
||
}
|
||
|
||
.cert-detail-page .cert-detail-shell,
|
||
.cert-detail-page .cert-detail-scroll,
|
||
.cert-detail-page .detail-pane {
|
||
min-width: 0;
|
||
max-width: 100%;
|
||
}
|
||
|
||
/* Keep the document as the sticky scroll ancestor; Vant's tabs contain no sections. */
|
||
.cert-detail-page .cert-detail-shell > .mp-customer-detail-tabs {
|
||
position: sticky;
|
||
top: var(--cert-detail-sticky-top, 56px);
|
||
z-index: 40;
|
||
margin: 0 0 12px;
|
||
|
||
.van-tabs__wrap,
|
||
.van-tabs__nav {
|
||
max-width: 100%;
|
||
}
|
||
|
||
.van-tabs__nav {
|
||
overflow-x: auto;
|
||
scrollbar-width: none;
|
||
}
|
||
|
||
.van-tab {
|
||
min-height: 44px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.van-tab__text {
|
||
white-space: nowrap;
|
||
}
|
||
}
|
||
|
||
/* 对齐运输计划详情中度美化:白底圆角卡 + 绿竖条标题 */
|
||
.cert-detail-page .cert-detail-scroll {
|
||
color: #1f2a26;
|
||
background: #f5f8f7;
|
||
|
||
.detail-pane {
|
||
gap: 10px;
|
||
padding: 0 12px 10px;
|
||
}
|
||
|
||
.detail-info-card,
|
||
.cert-section {
|
||
min-width: 0;
|
||
margin: 0;
|
||
padding: 12px 14px;
|
||
background: #fff;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 14px;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.detail-info-card__title,
|
||
.cert-section > h3 {
|
||
position: relative;
|
||
padding: 0 0 0 8px;
|
||
margin: 0 0 12px;
|
||
font-size: 15px;
|
||
font-weight: 650;
|
||
line-height: 1.2;
|
||
color: #1f2a26;
|
||
border: 0;
|
||
|
||
&::before {
|
||
position: absolute;
|
||
top: 0.12em;
|
||
bottom: 0.12em;
|
||
left: 0;
|
||
width: 3px;
|
||
content: '';
|
||
background: #0a9f6d;
|
||
border-radius: 2px;
|
||
}
|
||
}
|
||
|
||
.status-tag {
|
||
min-height: 24px;
|
||
padding: 2px 8px;
|
||
line-height: 1.2;
|
||
border-radius: 999px;
|
||
}
|
||
|
||
.status-tag--success,
|
||
.status-tag--primary {
|
||
color: #087f57;
|
||
background: #e9f9f2;
|
||
border-color: #b7ebce;
|
||
}
|
||
|
||
.status-tag--warning {
|
||
color: #a16207;
|
||
background: #fffbeb;
|
||
border-color: #fde68a;
|
||
}
|
||
|
||
.status-tag--danger {
|
||
color: #b91c1c;
|
||
background: #fef2f2;
|
||
border-color: #fecaca;
|
||
}
|
||
|
||
.status-tag--info {
|
||
color: #475569;
|
||
background: #f1f5f9;
|
||
border-color: #dbe4ee;
|
||
}
|
||
|
||
.cert-base-grid,
|
||
.cert-field-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 0 16px;
|
||
}
|
||
|
||
.cert-base-info__wide,
|
||
.cert-field-wide {
|
||
grid-column: 1 / -1;
|
||
}
|
||
|
||
.adv-field,
|
||
.cert-kv {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 2px;
|
||
align-items: flex-start;
|
||
min-width: 0;
|
||
padding: 8px 0;
|
||
font-size: 13px;
|
||
line-height: 1.4;
|
||
border-top: 0;
|
||
border-bottom: 1px solid #eef4f1;
|
||
}
|
||
|
||
.adv-field__label,
|
||
.cert-kv > :first-child {
|
||
font-size: 11px;
|
||
font-weight: 400;
|
||
line-height: 1.3;
|
||
color: #8a9a93;
|
||
}
|
||
|
||
.adv-field__value,
|
||
.cert-kv > :last-child:not(.el-tag):not(.cert-link) {
|
||
min-width: 0;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
color: #1f2a26;
|
||
text-align: left;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
@media (max-width: 359px) {
|
||
.cert-base-grid,
|
||
.cert-field-grid {
|
||
grid-template-columns: minmax(0, 1fr);
|
||
}
|
||
}
|
||
|
||
.cert-product-heading {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 6px;
|
||
|
||
.cert-hazard-tags {
|
||
margin: 0;
|
||
}
|
||
}
|
||
|
||
.plan-transport-fields {
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.cert-kv > .el-tag {
|
||
align-self: flex-start;
|
||
}
|
||
|
||
.plan-vehicle-card {
|
||
display: flex;
|
||
gap: 10px;
|
||
align-items: flex-start;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.plan-vehicle-card__plate {
|
||
flex: 0 0 auto;
|
||
min-width: 88px;
|
||
max-width: 42%;
|
||
padding: 10px 8px;
|
||
font-size: 15px;
|
||
font-weight: 700;
|
||
line-height: 1.25;
|
||
color: #087f57;
|
||
text-align: center;
|
||
overflow-wrap: anywhere;
|
||
background: #e9f9f2;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.plan-vehicle-card__body {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.plan-vehicle-card__line {
|
||
font-size: 13px;
|
||
color: #1f2a26;
|
||
}
|
||
|
||
.plan-vehicle-card__meta {
|
||
margin: 4px 0 0;
|
||
font-size: 12px;
|
||
line-height: 1.45;
|
||
color: #6b7b74;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.plan-empty-hint {
|
||
margin: 0;
|
||
font-size: 12px;
|
||
color: #6b7b74;
|
||
}
|
||
|
||
.plan-chip-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
margin: 0;
|
||
}
|
||
|
||
.plan-chip {
|
||
min-height: 36px;
|
||
padding: 6px 12px;
|
||
font-size: 12px;
|
||
color: #087f57;
|
||
background: #fff;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.plan-chip--primary {
|
||
color: #fff;
|
||
font-weight: 600;
|
||
background: #0a9f6d;
|
||
border-color: #0a9f6d;
|
||
}
|
||
|
||
.plan-chip:disabled {
|
||
opacity: 0.55;
|
||
}
|
||
|
||
.plan-subcard {
|
||
margin-top: 8px;
|
||
padding: 10px 12px;
|
||
background: #f7faf8;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.plan-subcard__label {
|
||
margin: 0 0 6px;
|
||
font-size: 12px;
|
||
font-weight: 650;
|
||
color: #087f57;
|
||
}
|
||
|
||
.mp-wv-link-row {
|
||
display: flex;
|
||
gap: 8px;
|
||
align-items: center;
|
||
}
|
||
|
||
.mp-wv-link-input {
|
||
flex: 1;
|
||
min-width: 0;
|
||
height: 40px;
|
||
padding: 0 10px;
|
||
font-size: 12px;
|
||
background: #fff;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.mp-wv-link-row .cert-btn {
|
||
flex: 0 0 auto;
|
||
min-width: 56px;
|
||
min-height: 40px;
|
||
height: 40px;
|
||
padding: 0 12px;
|
||
}
|
||
|
||
.mp-wv-site-link + .mp-wv-site-link {
|
||
margin-top: 8px;
|
||
}
|
||
|
||
.mp-plan-delivery-tabs {
|
||
margin: 0 -6px 8px;
|
||
background: transparent;
|
||
|
||
--van-tabs-line-height: 44px;
|
||
--van-tabs-nav-background: transparent;
|
||
--van-tab-font-size: 13px;
|
||
--van-tabs-bottom-bar-color: #0a9f6d;
|
||
--van-tabs-bottom-bar-height: 2px;
|
||
|
||
.van-tabs__content {
|
||
display: none;
|
||
}
|
||
|
||
.van-tab {
|
||
flex: 0 0 auto;
|
||
padding: 0 12px;
|
||
}
|
||
}
|
||
|
||
.plan-cert-product {
|
||
margin-top: 8px;
|
||
padding: 10px 12px;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 12px;
|
||
|
||
h4 {
|
||
margin: 0 0 6px;
|
||
font-size: 14px;
|
||
font-weight: 650;
|
||
color: #1f2a26;
|
||
}
|
||
}
|
||
|
||
.plan-person-head {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
align-items: center;
|
||
margin-bottom: 4px;
|
||
}
|
||
|
||
.cert-expand {
|
||
summary {
|
||
cursor: pointer;
|
||
list-style: none;
|
||
}
|
||
|
||
summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
.cert-hazard-tags {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
margin: 0;
|
||
}
|
||
|
||
.cert-slot + .cert-slot {
|
||
margin-top: 12px;
|
||
}
|
||
|
||
.cert-contract {
|
||
display: flex;
|
||
gap: 8px;
|
||
align-items: center;
|
||
padding: 8px 0;
|
||
}
|
||
}
|
||
|
||
.cert-detail-page > .mp-wv-header {
|
||
margin-right: 0;
|
||
margin-left: 0;
|
||
}
|
||
|
||
.cert-detail-notice {
|
||
padding: 8px 12px;
|
||
margin: 0 12px 8px;
|
||
background: #fff;
|
||
border: 1px solid #dcebe4;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.cert-detail-actions {
|
||
position: fixed;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
z-index: 20;
|
||
display: flex;
|
||
gap: 8px;
|
||
align-items: center;
|
||
justify-content: stretch;
|
||
padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
|
||
background: rgba(255, 255, 255, 0.96);
|
||
border-top: 1px solid #dcebe4;
|
||
box-shadow: 0 -6px 20px rgb(34 64 52 / 8%);
|
||
|
||
.cert-btn {
|
||
flex: 1 1 0;
|
||
height: 44px;
|
||
min-height: 44px;
|
||
border-radius: 10px;
|
||
}
|
||
}
|
||
|
||
.cert-sheet-content {
|
||
padding: 8px;
|
||
}
|
||
|
||
.cert-batch {
|
||
position: fixed;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
z-index: 20;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
align-items: center;
|
||
padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
|
||
background: white;
|
||
border-top: 1px solid #dcebe4;
|
||
}
|
||
|
||
/* Shared primitives teleport overlays; constrain only overlays belonging to this mounted module. */
|
||
body:has(.cert-page),
|
||
body:has(.cert-detail-page) {
|
||
.pound-qr-panel__close,
|
||
.el-dialog__headerbtn {
|
||
min-width: 44px;
|
||
min-height: 44px;
|
||
}
|
||
|
||
.mp-sheet-close {
|
||
min-width: 44px;
|
||
min-height: 44px;
|
||
}
|
||
|
||
.mp-sheet {
|
||
max-height: 88dvh;
|
||
}
|
||
|
||
.el-message-box {
|
||
max-width: calc(100vw - 32px);
|
||
}
|
||
|
||
.el-dialog {
|
||
max-width: calc(100vw - 24px);
|
||
}
|
||
|
||
.el-dialog .preview-toolbar {
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.el-dialog .preview-toolbar .el-button {
|
||
height: 44px !important;
|
||
min-width: 44px !important;
|
||
min-height: 44px !important;
|
||
}
|
||
|
||
.el-dialog .el-dialog__body {
|
||
overflow-wrap: anywhere;
|
||
}
|
||
}
|