Browse Source

ios

dart3_last
fmk 2 years ago
parent
commit
4a4c28d581
  1. 16
      lib/store/store_order.dart
  2. 2
      lib/vip/vip_view/vip_goods_discount.dart
  3. 4
      lib/vip/vip_view/vip_top.dart

16
lib/store/store_order.dart

@ -209,17 +209,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return WillPopScope( return Container(
onWillPop: () async {
if (dialogShowing) {
debugPrint("ssssasdadsasdadasd");
SmartDialog.dismiss();
return false;
} else {
return true;
}
},
child:Container(
color: Colors.white, color: Colors.white,
child: Stack( child: Stack(
children: [ children: [
@ -502,7 +492,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
onTap: () { onTap: () {
// if(AppUtils.compareTime(storeInfo.openStartTime,DateFormat('HH:mm:ss').format(DateTime.now())) // if(AppUtils.compareTime(storeInfo.openStartTime,DateFormat('HH:mm:ss').format(DateTime.now()))
// &&(!AppUtils.compareTime(storeInfo.openEndTime,DateFormat('HH:mm:ss').format(DateTime.now())))){ // &&(!AppUtils.compareTime(storeInfo.openEndTime,DateFormat('HH:mm:ss').format(DateTime.now())))){
toDownOrder(); toDownOrder();
// } // }
// else // else
// SmartDialog.showToast("营业时间:${storeInfo.openStartTime}-${storeInfo.openEndTime}", alignment: Alignment.center); // SmartDialog.showToast("营业时间:${storeInfo.openStartTime}-${storeInfo.openEndTime}", alignment: Alignment.center);
@ -557,7 +547,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
), ),
), ),
], ],
))); ));
} }
/// ///

2
lib/vip/vip_view/vip_goods_discount.dart

@ -121,7 +121,7 @@ class _VipGoodsDiscount extends State<VipGoodsDiscount> {
Widget vipGoodsRecommendList(){ Widget vipGoodsRecommendList(){
return Container( return Container(
height: 126.h, height: 136.h,
child: ListView.builder( child: ListView.builder(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
physics: BouncingScrollPhysics(), physics: BouncingScrollPhysics(),

4
lib/vip/vip_view/vip_top.dart

@ -313,7 +313,7 @@ class _VipTop extends State<VipTop> {
///VIP购买套餐 ///VIP购买套餐
Widget vipCardList() { Widget vipCardList() {
return Container( return Container(
height: 132.h, height: 136.h,
margin: EdgeInsets.symmetric(horizontal: 14.w), margin: EdgeInsets.symmetric(horizontal: 14.w),
child: ListView.builder( child: ListView.builder(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
@ -493,7 +493,7 @@ class _VipTop extends State<VipTop> {
height: 11.h, height: 11.h,
), ),
Container( Container(
height: 132.h, height: 136.h,
margin: EdgeInsets.symmetric(horizontal: 14.w), margin: EdgeInsets.symmetric(horizontal: 14.w),
child: ListView.builder( child: ListView.builder(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,

Loading…
Cancel
Save