每周提交更新
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
<el-tab-pane label="订单已完成" name="8">
|
||||
<order-list :items="orders[8]" :show-checkout="false" :show-end-time="true" empty-text="暂无已完成的订单" />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="订单生成失败" name="11">
|
||||
<div class="order-fail-reason">失败原因:无法连接矿池,导致生成订单失败</div>
|
||||
<order-list :items="orders[11]" :show-checkout="false" :show-end-time="false" empty-text="暂无订单生成失败记录" />
|
||||
</el-tab-pane>
|
||||
<!-- <el-tab-pane label="余额不足,订单已取消" name="9">
|
||||
<order-list :items="orders[9]" :show-checkout="false" empty-text="暂无因余额不足取消的订单" />
|
||||
</el-tab-pane> -->
|
||||
@@ -33,7 +37,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
active: '7', // 默认值改为 '7'(订单进行中)
|
||||
orders: { 7: [], 8: [], 9: [] },
|
||||
orders: { 7: [], 8: [], 9: [], 11: [] },
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
@@ -103,6 +107,7 @@ export default {
|
||||
.orders-page { padding: 12px; }
|
||||
.title { margin: 0 0 12px 0; font-weight: 600; color: #2c3e50; }
|
||||
.empty { color: #888; padding: 24px; text-align: center; }
|
||||
.order-fail-reason { margin: 8px 0 12px; color: #f56c6c; font-size: 13px; }
|
||||
.order-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
||||
.order-card { border: 1px solid #eee; border-radius: 8px; padding: 0; background: #fff; overflow: hidden; }
|
||||
.order-header { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 12px; cursor: pointer; position: relative; }
|
||||
|
||||
Reference in New Issue
Block a user