feat(listings): 订单和账号详情展示可租时长与每日消耗

租客在订单列表和详情标题能看到每个号的租期、消耗。账号详情把这两项拆成独立格子。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yml2213
2026-10-05 16:32:08 +08:00
co-authored by Cursor
parent c559287ee4
commit f2060c19cf
18 changed files with 393 additions and 71 deletions
@@ -30,6 +30,30 @@
line-height: 1.25;
}
.order-terms {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 8px 0 0;
}
.order-terms span {
padding: 3px 10px;
border-radius: 999px;
font-size: 13px;
font-weight: 800;
}
.order-terms .term-rental {
background: #16a34a;
color: #fff;
}
.order-terms .term-loss {
background: #f97316;
color: #fff;
}
.order-meta {
color: #64748b;
margin: 6px 0 10px;