将供应商和快递负数预警统一放到应付款项下的负数预警入口,并移除供应商对账中的旧入口。 Co-authored-by: 苏木 <594326199@qq.com> Co-committed-by: 苏木 <594326199@qq.com>
177 lines
5.2 KiB
PHP
177 lines
5.2 KiB
PHP
<div class="negative-alert-page">
|
|
<style>
|
|
.negative-alert-page {
|
|
--na-warning: var(--vip-warning, #935F07);
|
|
--na-warning-soft: #FFF8EA;
|
|
--na-border: var(--vip-border, #D8D2C7);
|
|
--na-muted: var(--vip-content-muted, #595959);
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.negative-alert-page .na-card {
|
|
display: grid;
|
|
gap: 16px;
|
|
padding: 20px;
|
|
border: 1px solid var(--na-border);
|
|
border-radius: 12px;
|
|
background: var(--vip-surface, #FFFFFF);
|
|
}
|
|
|
|
.negative-alert-page .na-status {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border: 1px solid #E8D8B8;
|
|
border-radius: 8px;
|
|
background: var(--na-warning-soft);
|
|
}
|
|
|
|
.negative-alert-page .na-status-icon {
|
|
display: inline-flex;
|
|
width: 36px;
|
|
height: 36px;
|
|
flex: 0 0 36px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
background: #FFFFFF;
|
|
color: var(--na-warning);
|
|
}
|
|
|
|
.negative-alert-page .na-status-icon .material-icons-outlined {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.negative-alert-page .na-status-copy {
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.negative-alert-page .na-status-title {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0;
|
|
color: var(--vip-content-ink, #171717);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.negative-alert-page .na-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 22px;
|
|
padding: 0 8px;
|
|
border: 1px solid #DCC79F;
|
|
border-radius: 999px;
|
|
background: #FFFFFF;
|
|
color: var(--na-warning);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.negative-alert-page .na-copy {
|
|
margin: 0;
|
|
color: var(--na-muted);
|
|
font-size: 0.8125rem;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.negative-alert-page .na-scope {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.negative-alert-page .na-scope-item {
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 12px;
|
|
border: 1px solid #EEE8DC;
|
|
border-radius: 8px;
|
|
background: #FCFBF8;
|
|
}
|
|
|
|
.negative-alert-page .na-scope-item span {
|
|
color: var(--na-muted);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.negative-alert-page .na-scope-item strong {
|
|
color: var(--vip-content-ink, #171717);
|
|
font-size: 0.8125rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.negative-alert-page .na-empty {
|
|
display: grid;
|
|
place-items: center;
|
|
gap: 8px;
|
|
min-height: 220px;
|
|
padding: 32px;
|
|
border: 1px dashed var(--na-border);
|
|
border-radius: 8px;
|
|
background: #FCFBF8;
|
|
color: var(--na-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.negative-alert-page .na-empty .material-icons-outlined {
|
|
color: var(--vip-content-accent-dark, #856632);
|
|
font-size: 28px;
|
|
}
|
|
|
|
.negative-alert-page .na-empty strong {
|
|
color: var(--vip-content-ink, #171717);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.negative-alert-page .na-empty span:last-child {
|
|
max-width: 560px;
|
|
font-size: 0.8125rem;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.negative-alert-page .na-scope {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<section class="na-card" aria-labelledby="negative-alert-status-title">
|
|
<div class="na-status" role="status">
|
|
<span class="na-status-icon">
|
|
<span class="material-icons-outlined" aria-hidden="true">{{ $icon }}</span>
|
|
</span>
|
|
<div class="na-status-copy">
|
|
<p class="na-status-title" id="negative-alert-status-title">
|
|
{{ $statusTitle }}
|
|
<span class="na-badge">待接入</span>
|
|
</p>
|
|
<p class="na-copy">{{ $description }}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="na-scope" aria-label="{{ $scopeLabel }}数据接入信息">
|
|
@foreach ($scopeItems as $item)
|
|
<div class="na-scope-item">
|
|
<span>{{ $item['label'] }}</span>
|
|
<strong>{{ $item['value'] }}</strong>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
|
|
<div class="na-empty">
|
|
<span class="material-icons-outlined" aria-hidden="true">shield</span>
|
|
<strong>{{ $emptyTitle }}</strong>
|
|
<span>{{ $emptyDescription }}</span>
|
|
</div>
|
|
</section>
|
|
</div>
|