Showing
1 changed file
with
8 additions
and
5 deletions
| @@ -160,7 +160,8 @@ class _RechargeItemState extends State<RechargeItem> { | @@ -160,7 +160,8 @@ class _RechargeItemState extends State<RechargeItem> { | ||
| 160 | mainAxisAlignment: | 160 | mainAxisAlignment: |
| 161 | MainAxisAlignment.spaceBetween, | 161 | MainAxisAlignment.spaceBetween, |
| 162 | children: [ | 162 | children: [ |
| 163 | - Column( | 163 | + Expanded( |
| 164 | + child: Column( | ||
| 164 | crossAxisAlignment: | 165 | crossAxisAlignment: |
| 165 | CrossAxisAlignment.start, | 166 | CrossAxisAlignment.start, |
| 166 | children: [ | 167 | children: [ |
| @@ -170,11 +171,13 @@ class _RechargeItemState extends State<RechargeItem> { | @@ -170,11 +171,13 @@ class _RechargeItemState extends State<RechargeItem> { | ||
| 170 | Container( | 171 | Container( |
| 171 | // height: ScreenUtil().setWidth(14 * 2), | 172 | // height: ScreenUtil().setWidth(14 * 2), |
| 172 | // width: ScreenUtil().setWidth(232 * 2), | 173 | // width: ScreenUtil().setWidth(232 * 2), |
| 174 | + constraints: BoxConstraints( | ||
| 175 | + maxWidth: w(180)), | ||
| 173 | margin: | 176 | margin: |
| 174 | EdgeInsets.only(bottom: w(5)), | 177 | EdgeInsets.only(bottom: w(5)), |
| 175 | child: Text( | 178 | child: Text( |
| 176 | '会员充值满${widget.rechargeListSunModel.rechargeMoney}元赠余额${widget.rechargeListSunModel.rechargeList.price}元;', | 179 | '会员充值满${widget.rechargeListSunModel.rechargeMoney}元赠余额${widget.rechargeListSunModel.rechargeList.price}元;', |
| 177 | - maxLines: 1, | 180 | + maxLines: 10, |
| 178 | overflow: TextOverflow.ellipsis, | 181 | overflow: TextOverflow.ellipsis, |
| 179 | style: TextStyle( | 182 | style: TextStyle( |
| 180 | color: MyColours.color_999999, | 183 | color: MyColours.color_999999, |
| @@ -192,7 +195,7 @@ class _RechargeItemState extends State<RechargeItem> { | @@ -192,7 +195,7 @@ class _RechargeItemState extends State<RechargeItem> { | ||
| 192 | EdgeInsets.only(bottom: w(5)), | 195 | EdgeInsets.only(bottom: w(5)), |
| 193 | child: Text( | 196 | child: Text( |
| 194 | '会员充值满${widget.rechargeListSunModel.rechargeMoney}元赠送${widget.rechargeListSunModel.rechargeList.score}积分;', | 197 | '会员充值满${widget.rechargeListSunModel.rechargeMoney}元赠送${widget.rechargeListSunModel.rechargeList.score}积分;', |
| 195 | - maxLines: 1, | 198 | + maxLines: 10, |
| 196 | overflow: TextOverflow.ellipsis, | 199 | overflow: TextOverflow.ellipsis, |
| 197 | style: TextStyle( | 200 | style: TextStyle( |
| 198 | color: MyColours.color_999999, | 201 | color: MyColours.color_999999, |
| @@ -208,7 +211,7 @@ class _RechargeItemState extends State<RechargeItem> { | @@ -208,7 +211,7 @@ class _RechargeItemState extends State<RechargeItem> { | ||
| 208 | // width: ScreenUtil().setWidth(232 * 2), | 211 | // width: ScreenUtil().setWidth(232 * 2), |
| 209 | child: Text( | 212 | child: Text( |
| 210 | '会员充值满${widget.rechargeListSunModel.rechargeMoney}元赠送${Utils.listToStringEnglish3(widget.rechargeListSunModel.rechargeList.couponsNames)}。', | 213 | '会员充值满${widget.rechargeListSunModel.rechargeMoney}元赠送${Utils.listToStringEnglish3(widget.rechargeListSunModel.rechargeList.couponsNames)}。', |
| 211 | - maxLines: 1, | 214 | + maxLines: 10, |
| 212 | overflow: TextOverflow.ellipsis, | 215 | overflow: TextOverflow.ellipsis, |
| 213 | style: TextStyle( | 216 | style: TextStyle( |
| 214 | color: MyColours.color_999999, | 217 | color: MyColours.color_999999, |
| @@ -217,7 +220,7 @@ class _RechargeItemState extends State<RechargeItem> { | @@ -217,7 +220,7 @@ class _RechargeItemState extends State<RechargeItem> { | ||
| 217 | )), | 220 | )), |
| 218 | ), | 221 | ), |
| 219 | ], | 222 | ], |
| 220 | - ), | 223 | + )), |
| 221 | if (widget.rechargeListSunModel.qrcode != | 224 | if (widget.rechargeListSunModel.qrcode != |
| 222 | null) | 225 | null) |
| 223 | Column( | 226 | Column( |
-
Please register or login to post a comment