From e403d9e2304b7fb58e8c8be2f6b53754e5794cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AD=90=E8=B4=A4?= Date: Mon, 12 Jan 2026 16:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=8E=AB=E7=91=B0=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/mine/rose_history_page.dart | 41 ++++++++++++++------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/lib/pages/mine/rose_history_page.dart b/lib/pages/mine/rose_history_page.dart index da3aea6..2ee79b4 100644 --- a/lib/pages/mine/rose_history_page.dart +++ b/lib/pages/mine/rose_history_page.dart @@ -237,8 +237,8 @@ class ChatCouponItem extends StatefulWidget { class _ChatCouponItemState extends State { @override Widget build(BuildContext context) { - return SizedBox( - height: 70.w, + return Container( + padding: EdgeInsets.symmetric(vertical: 15.w), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ @@ -272,25 +272,28 @@ class _ChatCouponItemState extends State { ) ], ), - Column( - crossAxisAlignment: CrossAxisAlignment.end, - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text( - widget.item.remark ?? "", - style: TextStyle( - fontSize: 13.w, - color: const Color.fromRGBO(144, 144, 144, 1) + SizedBox(width: 10.w,), + Expanded( + child: Column( + crossAxisAlignment: CrossAxisAlignment.end, + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + widget.item.remark ?? "", + style: TextStyle( + fontSize: 13.w, + color: const Color.fromRGBO(144, 144, 144, 1) + ), ), - ), - Text( - "-${widget.item.num}张", - style: TextStyle( - fontSize: 13.w, - color: const Color.fromRGBO(227, 84, 84, 1) + Text( + "-${widget.item.num}张", + style: TextStyle( + fontSize: 13.w, + color: const Color.fromRGBO(227, 84, 84, 1) + ), ), - ), - ], + ], + ), ), ], ),