Browse Source

ui更改

zyh
w-R 3 years ago
parent
commit
de4c0e34fc
  1. 14
      lib/store/store_order.dart
  2. 5
      lib/union/union_list.dart
  3. 2
      pubspec.yaml

14
lib/store/store_order.dart

@ -203,7 +203,17 @@ class _StoreOrderPage extends State<StoreOrderPage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return WillPopScope(
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: [
@ -522,7 +532,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
), ),
], ],
), ),
); ));
} }
/// ///

5
lib/union/union_list.dart

@ -142,8 +142,7 @@ class _UnionList extends State<UnionList> {
Widget buildStoreItem(Store store, position) { Widget buildStoreItem(Store store, position) {
return Container( return Container(
margin: EdgeInsets.fromLTRB(16.w, 8.h, 16.w, 8.h), margin: EdgeInsets.fromLTRB(16.w, 8.h, 16.w, 12.h),
// padding: EdgeInsets.fromLTRB(20.w, 20.h, 20.w, 20.h),
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.white, color: Colors.white,
borderRadius: BorderRadius.all(Radius.circular(8)), borderRadius: BorderRadius.all(Radius.circular(8)),
@ -186,7 +185,7 @@ class _UnionList extends State<UnionList> {
Positioned( Positioned(
bottom: 16.h, bottom: 16.h,
left: 12.w, left: 12.w,
right: 0, right: 12.w,
child: Container( child: Container(
height: 100.h, height: 100.h,
child: Row( child: Row(

2
pubspec.yaml

@ -3,7 +3,7 @@ description: 一心回乡.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 2.0.8+7 version: 2.0.9+8
environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save