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) + ), ), - ), - ], + ], + ), ), ], ),