完善本地质量门禁与资金链路测试

This commit is contained in:
yml2213
2026-09-02 13:50:19 +08:00
parent dd2b45bd2c
commit 208f12ddb4
80 changed files with 12245 additions and 11541 deletions
@@ -1053,595 +1053,4 @@ async function openScreenshot(url: string) {
</section>
</template>
<style scoped>
.review-page {
min-height: calc(100vh - 128px);
}
.review-header {
margin-bottom: 18px;
}
.review-summary {
display: grid;
grid-template-columns: repeat(4, minmax(120px, 1fr));
gap: 12px;
margin-bottom: 14px;
}
.summary-card {
min-width: 0;
border: 1px solid #e8edf4;
border-radius: 8px;
background: #ffffff;
padding: 14px 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
text-align: left;
cursor: pointer;
transition: all 0.2s ease;
}
.summary-card:hover {
border-color: #1477ff;
box-shadow: 0 2px 8px rgba(20, 119, 255, 0.15);
transform: translateY(-1px);
}
.summary-card.active {
border-color: #1477ff;
background: #1477ff;
box-shadow: 0 2px 8px rgba(20, 119, 255, 0.25);
}
.summary-card.active span {
color: #ffffff;
}
.summary-card.active strong {
color: #ffffff;
}
.review-summary span,
.queue-footer span,
.panel-title span,
.inventory-grid span,
.resource-table span,
.price-decision-card span,
.adjust-current span,
.adjust-field span {
color: #8f9bba;
font-size: 12px;
font-weight: 600;
}
.review-summary strong {
display: block;
margin-top: 5px;
color: #1b2559;
font-size: 24px;
font-weight: 800;
}
.review-workbench {
display: grid;
grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
gap: 16px;
align-items: start;
}
.review-queue,
.review-detail,
.review-panel,
.review-hero-panel {
min-width: 0;
}
.review-queue {
position: sticky;
top: 16px;
border-radius: 8px;
background: #ffffff;
padding: 14px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.queue-toolbar {
display: grid;
grid-template-columns: minmax(0, 1fr) 120px;
gap: 10px;
margin-bottom: 12px;
}
.queue-list {
display: flex;
flex-direction: column;
gap: 8px;
max-height: calc(100vh - 300px);
overflow: auto;
padding-right: 2px;
}
.queue-item {
width: 100%;
min-height: 112px;
border: 1px solid #e8ecf1;
border-radius: 8px;
background: #ffffff;
padding: 12px;
text-align: left;
cursor: pointer;
transition:
border-color 0.2s,
box-shadow 0.2s,
background 0.2s;
}
.queue-item:hover,
.queue-item.active {
border-color: #4f7cff;
background: #f8faff;
box-shadow: 0 6px 18px rgba(79, 124, 255, 0.1);
}
.queue-title-row,
.queue-footer,
.panel-title,
.hero-title {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.queue-title-row strong {
display: block;
min-width: 0;
color: #1b2559;
font-size: 14px;
font-weight: 800;
line-height: 1.4;
}
.queue-title-row span {
flex-shrink: 0;
color: #4f7cff;
font-weight: 800;
}
.queue-title-row .queue-code {
display: inline-flex;
margin-bottom: 4px;
padding: 2px 7px;
border-radius: 999px;
background: #eff6ff;
font-size: 12px;
}
.queue-meta,
.risk-strip,
.skin-list,
.reject-reasons {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.queue-meta {
margin: 10px 0;
}
.queue-meta span {
border-radius: 6px;
background: #f0f2f5;
padding: 4px 7px;
color: #4b5563;
font-size: 12px;
font-weight: 700;
}
.queue-footer {
align-items: center;
}
.queue-tags,
.panel-tags {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 6px;
}
.review-detail {
display: flex;
flex-direction: column;
gap: 14px;
}
.review-hero-panel,
.review-panel {
border-radius: 8px;
background: #ffffff;
padding: 18px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.hero-title h2,
.panel-title h3 {
margin: 0;
color: #1b2559;
font-size: 18px;
font-weight: 800;
line-height: 1.35;
}
.hero-title p {
margin: 0 0 6px;
color: #8f9bba;
font-size: 12px;
font-weight: 700;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
.risk-strip {
margin-top: 14px;
}
.review-metrics {
grid-template-columns: repeat(5, minmax(132px, 1fr));
gap: 12px;
margin-bottom: 0;
}
.review-metrics .metric-card {
border-radius: 8px;
padding: 16px;
}
.review-metrics .metric-card strong {
font-size: 20px;
}
.review-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.panel-title {
align-items: center;
margin-bottom: 14px;
}
.price-panel-title p {
margin: 5px 0 0;
color: #8f9bba;
font-size: 12px;
font-weight: 600;
}
.price-decision-grid {
display: grid;
grid-template-columns: repeat(4, minmax(150px, 1fr));
gap: 12px;
}
.price-decision-card {
display: grid;
gap: 7px;
min-width: 0;
min-height: 128px;
border: 1px solid #e8ecf1;
border-radius: 8px;
background: #f8f9fe;
padding: 14px;
}
.price-decision-card strong {
color: #1b2559;
font-size: 24px;
font-weight: 900;
line-height: 1.1;
}
.price-decision-card p,
.price-decision-card small {
margin: 0;
color: #4b5563;
font-size: 12px;
font-weight: 700;
line-height: 1.45;
}
.price-decision-card small {
color: #8f9bba;
}
.price-decision-card.buyer {
border-color: #bfdbfe;
background: #eff6ff;
}
.price-decision-card.buyer strong {
color: #2563eb;
}
.price-decision-card.rule {
border-color: #fed7aa;
background: #fff7ed;
}
.price-decision-card.rule strong {
color: #ea580c;
}
.price-decision-card.deposit {
border-color: #e0e7ff;
background: #f5f7ff;
}
.detail-list {
display: grid;
gap: 10px;
margin: 0;
}
.detail-list div {
display: grid;
grid-template-columns: 86px minmax(0, 1fr);
gap: 10px;
align-items: start;
}
.detail-list dt {
color: #8f9bba;
font-size: 12px;
font-weight: 700;
}
.detail-list dd {
min-width: 0;
margin: 0;
color: #1f2937;
font-size: 13px;
font-weight: 700;
line-height: 1.45;
overflow-wrap: anywhere;
}
.inventory-grid {
display: grid;
grid-template-columns: repeat(3, minmax(110px, 1fr));
gap: 10px;
margin-bottom: 12px;
}
.inventory-grid div {
border-radius: 8px;
background: #f8f9fe;
padding: 12px;
}
.inventory-grid strong {
display: block;
margin-top: 4px;
color: #1b2559;
font-size: 22px;
font-weight: 900;
}
.resource-table {
display: grid;
gap: 8px;
margin-bottom: 12px;
}
.resource-table div {
display: grid;
grid-template-columns: minmax(120px, 1fr) 72px minmax(120px, 1fr);
gap: 10px;
align-items: center;
border-bottom: 1px solid #f0f2f5;
padding-bottom: 8px;
}
.resource-table strong {
color: #1f2937;
font-size: 13px;
font-weight: 800;
}
.resource-table em {
color: #8f9bba;
font-size: 12px;
font-style: normal;
font-weight: 600;
}
.skin-list {
align-items: center;
}
.skin-list > span {
color: #8f9bba;
font-size: 13px;
}
.screenshot-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 12px;
}
.screenshot-tile {
position: relative;
display: block;
width: 100%;
aspect-ratio: 16 / 9;
overflow: hidden;
border: 1px solid #e8ecf1;
border-radius: 8px;
background: #f8f9fe;
padding: 0;
cursor: pointer;
}
.screenshot-tile img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.screenshot-tile span {
position: absolute;
top: 8px;
left: 8px;
border-radius: 6px;
background: rgba(245, 158, 11, 0.95);
padding: 3px 7px;
color: #ffffff;
font-size: 12px;
font-weight: 800;
}
.empty-warning {
display: flex;
align-items: center;
gap: 8px;
min-height: 84px;
border-radius: 8px;
background: #fff7ed;
padding: 16px;
color: #c2410c;
font-weight: 700;
}
.dialog-screenshots {
max-height: 540px;
overflow: auto;
}
.reject-dialog p {
margin-top: 0;
}
.reject-reasons {
margin: 12px 0;
}
.price-adjust-dialog {
display: grid;
gap: 14px;
}
.adjust-current {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.adjust-current div {
display: grid;
gap: 5px;
border-radius: 8px;
background: #f8f9fe;
padding: 12px;
}
.adjust-current strong {
color: #1b2559;
font-size: 18px;
font-weight: 900;
}
.adjust-current .preview-value {
color: #2563eb;
}
.adjust-mode {
width: 100%;
}
.adjust-mode :deep(.el-radio-button) {
width: 50%;
}
.adjust-mode :deep(.el-radio-button__inner) {
width: 100%;
border-color: #d7deea;
font-weight: 800;
}
.adjust-mode :deep(.el-radio-button__original-radio:checked + .el-radio-button__inner) {
border-color: #2563eb;
background: #2563eb;
box-shadow: -1px 0 0 0 #2563eb;
}
.adjust-field {
display: grid;
gap: 8px;
}
.adjust-field > span {
color: #52607a;
font-size: 12px;
font-weight: 800;
}
.adjust-field :deep(.el-input-number) {
width: 100%;
}
.empty-detail {
min-height: 420px;
display: grid;
place-items: center;
border-radius: 8px;
background: #ffffff;
}
@media (max-width: 1280px) {
.review-workbench {
grid-template-columns: 1fr;
}
.review-queue {
position: static;
}
.queue-list {
max-height: none;
}
}
@media (max-width: 900px) {
.review-summary,
.price-decision-grid,
.review-grid {
grid-template-columns: 1fr;
}
.adjust-current {
grid-template-columns: 1fr;
}
.hero-title {
flex-direction: column;
}
.hero-actions {
justify-content: flex-start;
}
.queue-toolbar {
grid-template-columns: 1fr;
}
}
</style>
<style scoped src="./AdminListingReviewView.css"></style>