|
|
@ -237,8 +237,8 @@ class ChatCouponItem extends StatefulWidget { |
|
|
class _ChatCouponItemState extends State<ChatCouponItem> { |
|
|
class _ChatCouponItemState extends State<ChatCouponItem> { |
|
|
@override |
|
|
@override |
|
|
Widget build(BuildContext context) { |
|
|
Widget build(BuildContext context) { |
|
|
return SizedBox( |
|
|
|
|
|
height: 70.w, |
|
|
|
|
|
|
|
|
return Container( |
|
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 15.w), |
|
|
child: Row( |
|
|
child: Row( |
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
children: [ |
|
|
children: [ |
|
|
@ -272,25 +272,28 @@ class _ChatCouponItemState extends State<ChatCouponItem> { |
|
|
) |
|
|
) |
|
|
], |
|
|
], |
|
|
), |
|
|
), |
|
|
Column( |
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end, |
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
|
children: [ |
|
|
|
|
|
Text( |
|
|
|
|
|
widget.item.type == 1 ? "主动发起聊天" : "主动发起连麦", |
|
|
|
|
|
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) |
|
|
|
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
|
|
|
], |
|
|
|
|
|
|
|
|
], |
|
|
|
|
|
), |
|
|
), |
|
|
), |
|
|
], |
|
|
], |
|
|
), |
|
|
), |
|
|
|