|
|
|
@ -207,17 +207,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
Widget build(BuildContext context) { |
|
|
|
|
return WillPopScope( |
|
|
|
|
onWillPop: () async { |
|
|
|
|
if (dialogShowing) { |
|
|
|
|
debugPrint("ssssasdadsasdadasd"); |
|
|
|
|
SmartDialog.dismiss(); |
|
|
|
|
return false; |
|
|
|
|
} else { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
child:Container( |
|
|
|
|
return Container( |
|
|
|
|
color: Colors.white, |
|
|
|
|
child: Stack( |
|
|
|
|
children: [ |
|
|
|
@ -373,36 +363,36 @@ class _StoreOrderPage extends State<StoreOrderPage>
|
|
|
|
|
EdgeInsets.symmetric(horizontal: 10.w), |
|
|
|
|
width: MediaQuery.of(context).size.width, |
|
|
|
|
child: Theme( |
|
|
|
|
data: ThemeData( |
|
|
|
|
splashColor: Colors.transparent, // 点击时的水波纹颜色设置为透明 |
|
|
|
|
highlightColor: Colors.transparent, // 点击时的背景高亮颜色设置为透明 |
|
|
|
|
), |
|
|
|
|
child: TabBar( |
|
|
|
|
controller: tabcontroller, |
|
|
|
|
automaticIndicatorColorAdjustment: true, |
|
|
|
|
isScrollable: true, |
|
|
|
|
indicatorWeight: 3, |
|
|
|
|
indicatorColor: Color(0xFF32A060), |
|
|
|
|
labelPadding: EdgeInsets.only( |
|
|
|
|
left: 8.w, |
|
|
|
|
right: 8.w, |
|
|
|
|
), |
|
|
|
|
indicatorSize: TabBarIndicatorSize.label, |
|
|
|
|
unselectedLabelStyle: TextStyle( |
|
|
|
|
fontSize: 15.sp, |
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
|
), |
|
|
|
|
labelStyle: TextStyle( |
|
|
|
|
color: Colors.black, |
|
|
|
|
fontSize: 18.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
), |
|
|
|
|
labelColor: Colors.black, |
|
|
|
|
tabs: [ |
|
|
|
|
MyTab(text: S.of(context).diandan), |
|
|
|
|
// MyTab(text: ""), |
|
|
|
|
], |
|
|
|
|
)), |
|
|
|
|
data: ThemeData( |
|
|
|
|
splashColor: Colors.transparent, // 点击时的水波纹颜色设置为透明 |
|
|
|
|
highlightColor: Colors.transparent, // 点击时的背景高亮颜色设置为透明 |
|
|
|
|
), |
|
|
|
|
child: TabBar( |
|
|
|
|
controller: tabcontroller, |
|
|
|
|
automaticIndicatorColorAdjustment: true, |
|
|
|
|
isScrollable: true, |
|
|
|
|
indicatorWeight: 3, |
|
|
|
|
indicatorColor: Color(0xFF32A060), |
|
|
|
|
labelPadding: EdgeInsets.only( |
|
|
|
|
left: 8.w, |
|
|
|
|
right: 8.w, |
|
|
|
|
), |
|
|
|
|
indicatorSize: TabBarIndicatorSize.label, |
|
|
|
|
unselectedLabelStyle: TextStyle( |
|
|
|
|
fontSize: 15.sp, |
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
|
), |
|
|
|
|
labelStyle: TextStyle( |
|
|
|
|
color: Colors.black, |
|
|
|
|
fontSize: 18.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
), |
|
|
|
|
labelColor: Colors.black, |
|
|
|
|
tabs: [ |
|
|
|
|
MyTab(text: S.of(context).diandan), |
|
|
|
|
// MyTab(text: ""), |
|
|
|
|
], |
|
|
|
|
)), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -550,7 +540,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
))); |
|
|
|
|
)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
///领取优惠券 |
|
|
|
|