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

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
@@ -630,685 +630,4 @@ function goBack() {
</section>
</template>
<style scoped>
.detail-back-bar {
/* 吸顶固定:始终显示在顶部导航栏(64px)下方,滚动时不跟随页面移走 */
position: sticky;
top: 78px;
z-index: 20;
display: flex;
align-items: center;
margin-bottom: 14px;
}
.detail-back-btn {
display: inline-flex;
align-items: center;
gap: 6px;
height: 36px;
padding: 0 14px;
border: 1px solid #eef1f5;
border-radius: 10px;
background: #ffffff;
color: #475569;
font-size: 13px;
font-weight: 700;
cursor: pointer;
box-shadow: 0 2px 8px rgba(23, 35, 61, 0.08);
transition:
border-color 0.2s ease,
color 0.2s ease,
background 0.2s ease,
box-shadow 0.2s ease;
}
.detail-back-btn:hover {
border-color: #ff6a00;
background: #fff7ed;
color: #ff6a00;
box-shadow: 0 4px 12px rgba(255, 106, 0, 0.12);
}
.pc-detail-layout {
grid-template-columns: minmax(0, 1fr) 420px;
align-items: start;
}
.pc-detail-main {
overflow: hidden;
}
.detail-hero-card {
position: relative;
display: grid;
height: 340px;
overflow: hidden;
background: #111827;
color: #ffffff;
}
.detail-hero-card img {
width: 100%;
height: 100%;
object-fit: cover;
}
.detail-hero-card > span {
display: grid;
height: 340px;
place-items: center;
font-size: 32px;
font-weight: 900;
}
.detail-hero-card::after {
position: absolute;
inset: 0;
content: '';
background:
linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.58)),
linear-gradient(90deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.08) 62%);
}
.detail-hero-overlay {
position: absolute;
inset: auto 0 0;
z-index: 1;
max-width: 860px;
padding: 28px;
}
.detail-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 14px;
}
.detail-tags span {
display: inline-flex;
align-items: center;
min-height: 30px;
padding: 0 10px;
border: 1px solid rgba(255, 255, 255, 0.34);
border-radius: 999px;
background: rgba(255, 255, 255, 0.14);
color: #ffffff;
font-size: 13px;
font-weight: 900;
}
.detail-code-chip {
width: fit-content;
margin-top: 10px;
padding: 5px 10px;
border: 1px solid rgba(147, 197, 253, 0.6);
border-radius: 999px;
background: rgba(239, 246, 255, 0.92);
color: #2563eb;
font-size: 12px;
font-weight: 900;
cursor: pointer;
}
.detail-favorite-chip {
display: inline-flex;
align-items: center;
gap: 6px;
width: fit-content;
margin-top: 8px;
padding: 7px 12px;
border: 1px solid rgba(255, 106, 0, 0.42);
border-radius: 999px;
background: rgba(255, 106, 0, 0.18);
color: #fff7ed;
font-size: 12px;
font-weight: 900;
cursor: pointer;
}
.detail-hero-overlay h1 {
margin: 0;
color: #ffffff;
font-size: 30px;
line-height: 1.25;
}
.detail-hero-overlay p {
margin: 8px 0 0;
color: rgba(255, 255, 255, 0.82);
font-size: 16px;
font-weight: 800;
}
.detail-body {
display: grid;
gap: 18px;
padding: 24px;
}
.detail-summary-row {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 14px;
}
.detail-metric,
.detail-section {
border: 1px solid #edf0f4;
border-radius: 16px;
background: #ffffff;
}
.detail-metric {
padding: 18px;
background: #f8fafc;
}
.detail-metric span {
display: block;
color: #8b9cb5;
font-size: 13px;
font-weight: 900;
}
.detail-metric strong {
display: block;
margin-top: 8px;
color: #17233d;
font-size: 28px;
line-height: 1.1;
}
.detail-metric.is-coin strong {
color: #1477ff;
}
.detail-metric.is-price strong {
color: #ef4444;
}
.detail-section {
padding: 22px;
}
.detail-section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 16px;
}
.detail-section-head h2 {
margin: 0;
color: #17233d;
font-size: 20px;
}
.detail-section-head span {
color: #8b9cb5;
font-size: 13px;
font-weight: 900;
}
.detail-chip-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.detail-chip-row span {
display: inline-flex;
align-items: center;
min-height: 32px;
padding: 0 10px;
border: 1px solid rgba(255, 106, 0, 0.28);
border-radius: 8px;
background: #fff7ed;
color: #ea580c;
font-size: 13px;
font-weight: 900;
}
.detail-info-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
margin: 18px 0 0;
}
.detail-info-grid div {
min-width: 0;
border-radius: 12px;
background: #f8fafc;
padding: 14px;
}
.detail-info-grid dt {
color: #8b9cb5;
font-size: 12px;
font-weight: 900;
}
.detail-info-grid dd {
margin: 8px 0 0;
overflow-wrap: anywhere;
color: #17233d;
font-size: 15px;
font-weight: 900;
}
.detail-resource-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.detail-resource-card {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px 12px;
border-radius: 12px;
background: #f8fafc;
padding: 14px;
}
.detail-resource-card span {
min-width: 0;
color: #475569;
font-size: 14px;
font-weight: 900;
}
.detail-resource-card strong {
color: #17233d;
font-size: 18px;
}
.detail-resource-card em {
display: flex;
align-items: center;
justify-content: space-between;
grid-column: 1 / -1;
font-size: 12px;
font-style: normal;
font-weight: 900;
}
.detail-resource-card em b {
color: #ff6a00;
}
.detail-resource-card em small {
color: #17233d;
font-size: 13px;
font-weight: 900;
}
.skin-groups {
display: grid;
gap: 16px;
}
.skin-group h3 {
margin: 0 0 10px;
color: #475569;
font-size: 15px;
}
.detail-description {
margin: 0;
color: #52616f;
font-size: 15px;
line-height: 1.8;
}
.detail-screenshot-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.detail-screenshot {
margin: 0;
}
.detail-screenshot-image {
width: 100%;
aspect-ratio: 16 / 10;
overflow: hidden;
border-radius: 12px;
border: 1px solid #edf0f4;
background: #f8fafc;
cursor: zoom-in;
}
.detail-screenshot-image :deep(.el-image__inner) {
width: 100%;
height: 100%;
object-fit: cover;
}
.detail-screenshot figcaption {
margin-top: 8px;
color: #64748b;
font-size: 13px;
font-weight: 800;
text-align: center;
}
.pc-order-card {
max-width: none;
border-radius: 20px;
padding: 24px;
overflow: hidden;
}
.order-card-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
margin-bottom: 10px;
}
.order-card-head h2 {
margin: 4px 0 0;
color: #17233d;
font-size: 22px;
line-height: 1.2;
}
.order-eyebrow {
display: inline-flex;
align-items: center;
min-height: 24px;
border-radius: 999px;
background: #f1f5f9;
padding: 0 10px;
color: #64748b;
font-size: 12px;
font-weight: 900;
}
.order-state {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 58px;
min-height: 28px;
border-radius: 999px;
background: #ecfdf5;
color: #16a34a;
font-size: 12px;
font-weight: 900;
white-space: nowrap;
}
.order-state.is-busy {
background: #fff7ed;
color: #ea580c;
}
.order-form {
display: grid;
gap: 14px;
}
.order-safe-text {
margin-bottom: 18px;
color: #7a89a5;
font-size: 15px;
font-weight: 700;
}
.order-total-box {
position: relative;
display: grid;
gap: 12px;
margin-bottom: 0;
border: 1px solid rgba(245, 158, 11, 0.2);
background:
linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.92)), #fffbeb;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}
.order-total-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
padding-bottom: 14px;
border-bottom: 1px solid rgba(217, 119, 6, 0.14);
}
.order-total-head span {
color: #9a5a16;
font-size: 14px;
font-weight: 900;
}
.order-total-head strong {
margin: 0;
color: #ef4444;
font-size: 34px;
line-height: 1;
text-align: right;
}
.order-price-breakdown {
display: grid;
gap: 10px;
padding: 0;
}
.order-price-breakdown div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.order-price-breakdown span,
.order-deposit-row span {
color: #8a5a12;
font-size: 13px;
font-weight: 900;
}
.order-price-breakdown strong,
.order-deposit-row strong {
margin: 0;
color: #17233d;
font-size: 16px;
line-height: 1.2;
}
.order-deposit-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding-top: 12px;
border-top: 1px solid rgba(217, 119, 6, 0.14);
}
.order-deposit-row strong {
color: #92400e;
font-size: 18px;
}
.order-check-list {
display: grid;
gap: 10px;
margin: 0;
}
.order-check-list div {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 16px;
min-height: 44px;
border: 1px solid #eef2f7;
border-radius: 12px;
background: #f8fafc;
padding: 0 14px;
}
.order-check-list dt {
color: #8b9cb5;
font-size: 13px;
font-weight: 900;
}
.order-check-list dd {
margin: 0;
color: #17233d;
font-size: 14px;
font-weight: 900;
text-align: right;
overflow-wrap: anywhere;
}
.full-control {
width: 100%;
}
.order-action-group {
display: grid;
gap: 10px;
padding-top: 2px;
}
.order-primary-btn {
min-height: 48px;
border: 0;
background: #ff8a00;
color: #ffffff;
font-size: 15px;
font-weight: 900;
box-shadow: 0 12px 24px rgba(255, 106, 0, 0.24);
}
.order-primary-btn:hover,
.order-primary-btn:focus {
background: #ff7a00;
color: #ffffff;
}
.order-primary-btn.is-disabled,
.order-primary-btn.is-disabled:hover {
background: #f3a94a;
color: rgba(255, 255, 255, 0.86);
box-shadow: none;
}
.favorite-order-btn {
min-height: 46px;
margin-left: 0;
border-color: #ff6a00;
background: #ffffff;
color: #ff6a00;
font-size: 15px;
font-weight: 900;
}
.favorite-order-btn:hover,
.favorite-order-btn:focus {
border-color: #ff6a00;
background: #fff7ed;
color: #ea580c;
}
.agreement-dialog-body {
display: grid;
gap: 14px;
}
.agreement-tip {
margin: 0;
color: #64748b;
font-size: 14px;
font-weight: 700;
}
.agreement-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.agreement-panel {
display: grid;
gap: 10px;
min-width: 0;
}
.agreement-panel h3 {
margin: 0;
color: #17233d;
font-size: 16px;
font-weight: 900;
}
.agreement-content {
height: 260px;
overflow: auto;
border: 1px solid #d8dee9;
border-radius: 8px;
background: #f8fafc;
padding: 14px;
color: #1f2937;
font-size: 13px;
font-weight: 700;
line-height: 1.75;
white-space: pre-wrap;
}
.agreement-read-hint {
color: #f97316;
font-size: 12px;
font-weight: 800;
}
@media (max-width: 1180px) {
.pc-detail-layout,
.detail-screenshot-grid {
grid-template-columns: 1fr;
}
.detail-summary-row,
.detail-info-grid,
.detail-resource-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-hero-card,
.detail-hero-card img,
.detail-hero-card > span {
height: 300px;
}
.detail-hero-overlay {
padding: 24px;
}
.detail-hero-overlay h1 {
font-size: 26px;
}
}
@media (max-width: 720px) {
.detail-summary-row,
.detail-info-grid,
.detail-resource-grid {
grid-template-columns: 1fr;
}
.agreement-grid {
grid-template-columns: 1fr;
}
}
</style>
<style scoped src="./ListingDetailView.css"></style>