feat(boxing): update detail page quantity display and paichan_no style

- Change quantity display from "数量:N" to "N/total" format (boxed/total)
- Enlarge paichan_no font to 18px bold and right-align

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Misaka_Company
2026-05-13 15:51:41 +08:00
parent 396a19ff43
commit 42a9cc7204

View File

@@ -22,9 +22,10 @@ class BoxingDetailPage extends StatelessWidget {
Expanded( Expanded(
child: Text( child: Text(
paichanNo, paichanNo,
textAlign: TextAlign.end,
style: const TextStyle( style: const TextStyle(
fontSize: 14, fontSize: 18,
fontWeight: FontWeight.normal, fontWeight: FontWeight.bold,
), ),
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
@@ -102,7 +103,7 @@ class BoxingDetailPage extends StatelessWidget {
), ),
const SizedBox(width: 8), const SizedBox(width: 8),
Text( Text(
'数量:${item.quantity}', '${item.quantity}/${item.totalQuantity ?? '--'}',
style: const TextStyle(fontSize: 14), style: const TextStyle(fontSize: 14),
), ),
], ],