This commit is contained in:
2026-02-12 23:40:26 +08:00
parent 55e335ea06
commit d8506c383c
4 changed files with 68 additions and 49 deletions

View File

@@ -0,0 +1,3 @@
export default definePageConfig({
navigationBarTitleText: '订单详情'
})

View File

@@ -1,65 +1,77 @@
.page-container {
min-height: 100vh;
background-color: #f7f8fa;
background-color: var(--bg-dark);
padding: 15px;
}
.card {
background: #fff;
border-radius: 8px;
padding: 15px;
margin-bottom: 15px;
background: var(--card-bg);
border: 1px solid var(--glass-border);
border-radius: 12px;
padding: 20px;
margin-bottom: 20px;
.header {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #f5f5f5;
padding-bottom: 10px;
margin-bottom: 10px;
font-size: 12px;
color: #999;
border-bottom: 1px solid var(--glass-border);
padding-bottom: 15px;
margin-bottom: 15px;
font-size: 14px;
color: var(--text-secondary);
.status {
&.pending { color: #faad14; }
&.paid { color: #52c41a; }
&.pending { color: var(--primary-cyan); }
&.paid { color: var(--primary-green); }
}
}
.body {
display: flex;
align-items: center;
.img {
width: 80px;
height: 80px;
border-radius: 4px;
background: #eee;
margin-right: 10px;
width: 100px;
height: 100px;
border-radius: 8px;
background: #333;
margin-right: 15px;
}
.info {
flex: 1;
.name { font-size: 14px; color: #333; display: block; margin-bottom: 5px; }
.qty { font-size: 12px; color: #999; }
.name {
font-size: 18px;
color: var(--text-main);
display: block;
margin-bottom: 8px;
font-weight: 500;
}
.qty {
font-size: 14px;
color: var(--text-secondary);
}
}
.price {
font-size: 16px;
font-size: 20px;
font-weight: bold;
color: #333;
color: var(--text-main);
}
}
.footer {
display: flex;
justify-content: flex-end;
margin-top: 10px;
margin-top: 15px;
.btn-pay {
border: 1px solid #00b96b;
color: #00b96b;
padding: 4px 12px;
border-radius: 14px;
font-size: 12px;
border: 1px solid var(--primary-green);
color: var(--primary-green);
padding: 6px 18px;
border-radius: 20px;
font-size: 14px;
background: rgba(0, 185, 107, 0.1);
}
}
}
@@ -67,6 +79,6 @@
.empty {
text-align: center;
padding-top: 100px;
color: #999;
font-size: 14px;
color: var(--text-secondary);
font-size: 16px;
}

View File

@@ -1,58 +1,62 @@
.page-container {
min-height: 100vh;
background-color: #f7f8fa;
background-color: var(--bg-dark);
padding: 20px;
}
.status-header {
text-align: center;
padding: 40px 0;
padding: 50px 0;
.amount {
font-size: 40px;
font-size: 48px;
font-weight: bold;
color: #333;
color: var(--primary-green);
display: block;
text-shadow: 0 0 20px rgba(0, 185, 107, 0.3);
}
.desc {
font-size: 14px;
color: #999;
margin-top: 10px;
font-size: 16px;
color: var(--text-secondary);
margin-top: 15px;
display: block;
}
}
.info-card {
background: #fff;
border-radius: 12px;
padding: 20px;
margin-bottom: 30px;
background: var(--card-bg);
border: 1px solid var(--glass-border);
border-radius: 16px;
padding: 25px;
margin-bottom: 40px;
.row {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
margin-bottom: 20px;
&:last-child { margin-bottom: 0; }
.label { color: #999; font-size: 14px; }
.value { color: #333; font-size: 14px; font-weight: 500; }
.label { color: var(--text-secondary); font-size: 16px; }
.value { color: var(--text-main); font-size: 16px; font-weight: 500; }
}
}
.btn-area {
.btn-pay {
background: #07c160;
background: var(--primary-green);
color: #fff;
border: none;
border-radius: 8px;
font-size: 16px;
height: 48px;
line-height: 48px;
border-radius: 12px;
font-size: 18px;
height: 56px;
line-height: 56px;
box-shadow: 0 4px 20px rgba(0, 185, 107, 0.4);
&:active {
opacity: 0.8;
transform: scale(0.98);
}
}
}