Showing
1 changed file
with
38 additions
and
33 deletions
| @@ -415,40 +415,45 @@ class HandleOnlinePageState extends State<HandleOnlinePage> { | @@ -415,40 +415,45 @@ class HandleOnlinePageState extends State<HandleOnlinePage> { | ||
| 415 | )), | 415 | )), |
| 416 | Offstage( | 416 | Offstage( |
| 417 | offstage: !isCallTel, | 417 | offstage: !isCallTel, |
| 418 | - child: Row( | ||
| 419 | - mainAxisSize: MainAxisSize.min, | ||
| 420 | - children: [ | ||
| 421 | - MyDivider( | ||
| 422 | - ScreenUtil().setWidth(2), | ||
| 423 | - ScreenUtil().setHeight(52), | ||
| 424 | - color: MyColours.color_199095, | ||
| 425 | - ), | ||
| 426 | - Expanded( | ||
| 427 | - child: GestureDetector( | ||
| 428 | - child: Center( | ||
| 429 | - child: Text( | ||
| 430 | - "联系顾客", | ||
| 431 | - style: TextStyle( | ||
| 432 | - color: MyColours | ||
| 433 | - .color_199095, | ||
| 434 | - fontSize: ScreenUtil() | ||
| 435 | - .setSp(34)), | ||
| 436 | - ), | 418 | + child: SizedBox( |
| 419 | + width: ScreenUtil().setWidth(335), | ||
| 420 | + height: ScreenUtil().setWidth(84), | ||
| 421 | + child: Row( | ||
| 422 | + children: [ | ||
| 423 | + MyDivider( | ||
| 424 | + ScreenUtil().setWidth(2), | ||
| 425 | + ScreenUtil().setHeight(52), | ||
| 426 | + color: | ||
| 427 | + MyColours.color_199095, | ||
| 437 | ), | 428 | ), |
| 438 | - onTap: () { | ||
| 439 | - if (detailEntity.phone != | ||
| 440 | - null && | ||
| 441 | - detailEntity | ||
| 442 | - .phone.isNotEmpty) { | ||
| 443 | - Utils.goPhone( | ||
| 444 | - detailEntity.phone); | ||
| 445 | - } else { | ||
| 446 | - Utils.showToast( | ||
| 447 | - "没有客户电话!"); | ||
| 448 | - } | ||
| 449 | - }, | ||
| 450 | - )), | ||
| 451 | - ], | 429 | + Expanded( |
| 430 | + child: GestureDetector( | ||
| 431 | + child: Center( | ||
| 432 | + child: Text( | ||
| 433 | + "联系顾客", | ||
| 434 | + style: TextStyle( | ||
| 435 | + color: MyColours | ||
| 436 | + .color_199095, | ||
| 437 | + fontSize: | ||
| 438 | + ScreenUtil() | ||
| 439 | + .setSp(34)), | ||
| 440 | + ), | ||
| 441 | + ), | ||
| 442 | + onTap: () { | ||
| 443 | + if (detailEntity.phone != | ||
| 444 | + null && | ||
| 445 | + detailEntity.phone | ||
| 446 | + .isNotEmpty) { | ||
| 447 | + Utils.goPhone( | ||
| 448 | + detailEntity.phone); | ||
| 449 | + } else { | ||
| 450 | + Utils.showToast( | ||
| 451 | + "没有客户电话!"); | ||
| 452 | + } | ||
| 453 | + }, | ||
| 454 | + )), | ||
| 455 | + ], | ||
| 456 | + ), | ||
| 452 | ), | 457 | ), |
| 453 | ) | 458 | ) |
| 454 | ], | 459 | ], |
-
Please register or login to post a comment