Commit 40e3c18cff221dc2b6f0424426c7b9eafa552868

Authored by gaiyaguang
1 parent 9ffa252c

ui优化

@@ -412,40 +412,44 @@ class HandleOnlinePageState extends State<HandleOnlinePage> { @@ -412,40 +412,44 @@ class HandleOnlinePageState extends State<HandleOnlinePage> {
412 _showRefuseDialog(); 412 _showRefuseDialog();
413 }, 413 },
414 )), 414 )),
  415 +
415 Offstage( 416 Offstage(
416 offstage: !isCallTel, 417 offstage: !isCallTel,
417 - child: Row(  
418 - mainAxisSize: MainAxisSize.min,  
419 - children: [  
420 - MyDivider(  
421 - ScreenUtil().setWidth(2),  
422 - ScreenUtil().setHeight(52),  
423 - color: MyColours.color_199095,  
424 - ),  
425 - Expanded(  
426 - child: GestureDetector(  
427 - child: Center(  
428 - child: Text(  
429 - "联系顾客",  
430 - style: TextStyle(  
431 - color:  
432 - MyColours.color_199095,  
433 - fontSize:  
434 - ScreenUtil().setSp(34)), 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: MyColours.color_199095,
  427 + ),
  428 + Expanded(
  429 + child: GestureDetector(
  430 + child: Center(
  431 + child: Text(
  432 + "联系顾客",
  433 + style: TextStyle(
  434 + color:
  435 + MyColours.color_199095,
  436 + fontSize:
  437 + ScreenUtil().setSp(34)),
  438 + ),
435 ), 439 ),
436 - ),  
437 - onTap: () {  
438 - if (detailEntity.phone != null &&  
439 - detailEntity  
440 - .phone.isNotEmpty) {  
441 - Utils.goPhone(  
442 - detailEntity.phone);  
443 - } else {  
444 - Utils.showToast("没有客户电话!");  
445 - }  
446 - },  
447 - )),  
448 - ], 440 + onTap: () {
  441 + if (detailEntity.phone != null &&
  442 + detailEntity
  443 + .phone.isNotEmpty) {
  444 + Utils.goPhone(
  445 + detailEntity.phone);
  446 + } else {
  447 + Utils.showToast("没有客户电话!");
  448 + }
  449 + },
  450 + )),
  451 + ],
  452 + ),
449 ), 453 ),
450 ) 454 )
451 ], 455 ],