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

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
@@ -660,264 +660,4 @@ async function copyListingCode() {
</main>
</template>
<style scoped>
.mobile-order-detail-view {
min-height: 100dvh;
background: #f5f7fa;
padding-bottom: 40px;
}
/* ========== Header ========== */
.page-header {
position: sticky;
top: 0;
z-index: 10;
display: flex;
align-items: center;
height: 48px;
padding: 0 12px;
background: #fff;
border-bottom: 1px solid #eee;
}
.page-header h1 {
flex: 1;
margin: 0;
font-size: 17px;
font-weight: 700;
text-align: center;
}
.back-btn,
.chat-btn {
display: grid;
width: 36px;
height: 36px;
place-items: center;
border: none;
background: none;
color: #333;
cursor: pointer;
}
.chat-btn:disabled {
color: #a1a1aa;
}
.header-spacer {
width: 36px;
}
.center-loading {
display: flex;
justify-content: center;
padding: 60px 0;
}
/* ========== Card layout ========== */
.card-section {
margin: 12px;
background: #fff;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
overflow: hidden;
padding: 14px;
}
.info-card {
padding: 16px;
}
.card-header-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.order-no {
font-size: 12px;
color: #999;
font-family: monospace;
}
.listing-code-chip {
margin-bottom: 10px;
padding: 4px 9px;
border: 1px solid #dbeafe;
border-radius: 999px;
background: #eff6ff;
color: #2563eb;
font-size: 12px;
font-weight: 800;
}
.order-title {
font-size: 18px;
font-weight: 700;
color: #1a1a1a;
margin: 0 0 14px 0;
}
.order-meta-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
background: #f8f9fa;
border-radius: 8px;
padding: 10px;
}
.meta-item {
display: flex;
flex-direction: column;
align-items: center;
}
.meta-label {
font-size: 11px;
color: #8c96a0;
margin-bottom: 4px;
}
.meta-value {
font-size: 13px;
color: #2c3e50;
font-weight: 600;
}
.meta-value.accent {
color: #ff5f00;
font-weight: 700;
}
.meta-value.income {
color: #16a34a;
font-weight: 700;
}
.meta-note {
margin-top: 2px;
font-size: 10px;
color: #2563eb;
}
.action-card {
padding: 16px;
}
.section-title {
font-size: 15px;
font-weight: 700;
color: #2c3e50;
margin: 0 0 8px 0;
}
.action-hint {
font-size: 12px;
color: #7f8c8d;
line-height: 1.5;
margin: 0 0 14px 0;
}
.action-buttons {
display: flex;
flex-direction: column;
gap: 10px;
}
.action-field {
background: #f8fafc;
border-radius: 8px;
margin-bottom: 12px;
overflow: hidden;
}
.custom-inline-input {
border: none;
background: transparent;
outline: none;
/* iOS Safari:font-size < 16px 时聚焦会自动放大页面 */
font-size: 16px;
flex: 1;
}
.no-snapshot-hint {
text-align: center;
padding: 10px;
color: #cbd5e0;
font-size: 13px;
}
/* ========== Popups ========== */
.mobile-popup-form {
max-height: 85%;
padding-bottom: env(safe-area-inset-bottom);
}
.popup-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px;
border-bottom: 1px solid #edf2f7;
}
.popup-header h3 {
margin: 0;
font-size: 16px;
font-weight: 700;
}
.popup-close {
border: none;
background: transparent;
font-size: 16px;
color: #a0aec0;
cursor: pointer;
}
.popup-body {
padding: 16px;
overflow-y: auto;
}
.form-hint-info {
font-size: 12px;
color: #718096;
line-height: 1.5;
margin: 0 0 12px 0;
}
.popup-field {
background: #f7fafc;
border-radius: 8px;
margin-bottom: 12px;
}
.evidence-upload-row {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 13px;
color: #4a5568;
margin-bottom: 16px;
}
.popup-submit {
margin-top: 10px;
}
.custom-select {
border: none;
background: transparent;
width: 100%;
font-size: 14px;
color: #2d3748;
outline: none;
}
.empty-wrap {
padding: 60px 0;
}
</style>
<style scoped src="./MobileOrderDetailView.css"></style>