|
|
@ -265,7 +265,7 @@ class _StoreOrderPage extends State<StoreOrderPage> |
|
|
|
background: Container( |
|
|
|
background: Container( |
|
|
|
child: Stack( |
|
|
|
child: Stack( |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
Positioned( |
|
|
|
Positioned.fill( |
|
|
|
child: Column( |
|
|
|
child: Column( |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
buildSwiper(), |
|
|
|
buildSwiper(), |
|
|
@ -277,12 +277,30 @@ class _StoreOrderPage extends State<StoreOrderPage> |
|
|
|
left: 0, |
|
|
|
left: 0, |
|
|
|
right: 0, |
|
|
|
right: 0, |
|
|
|
), |
|
|
|
), |
|
|
|
|
|
|
|
Positioned( |
|
|
|
|
|
|
|
top: 0, |
|
|
|
|
|
|
|
left: 0, |
|
|
|
|
|
|
|
right: 0, |
|
|
|
|
|
|
|
child: Container( |
|
|
|
|
|
|
|
height: kToolbarHeight, |
|
|
|
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
|
|
|
gradient: LinearGradient( |
|
|
|
|
|
|
|
colors: [ |
|
|
|
|
|
|
|
Colors.white.withAlpha(60), |
|
|
|
|
|
|
|
Colors.white.withAlpha(30), |
|
|
|
|
|
|
|
Colors.transparent, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
begin: Alignment.topCenter, |
|
|
|
|
|
|
|
end: Alignment.bottomCenter, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
Positioned( |
|
|
|
Positioned( |
|
|
|
child: Container( |
|
|
|
child: Container( |
|
|
|
decoration: BoxDecoration( |
|
|
|
decoration: BoxDecoration( |
|
|
|
color: Colors.white, |
|
|
|
|
|
|
|
borderRadius: BorderRadius.vertical( |
|
|
|
borderRadius: BorderRadius.vertical( |
|
|
|
top: Radius.circular(8), |
|
|
|
top: Radius.circular(18), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
child: StoreInfoView( |
|
|
|
child: StoreInfoView( |
|
|
@ -610,7 +628,7 @@ class _StoreOrderPage extends State<StoreOrderPage> |
|
|
|
Widget buildSwiper() { |
|
|
|
Widget buildSwiper() { |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
width: double.infinity, |
|
|
|
width: double.infinity, |
|
|
|
height: 235.h, |
|
|
|
height: 240.h, |
|
|
|
child: Swiper( |
|
|
|
child: Swiper( |
|
|
|
pagination: SwiperPagination( |
|
|
|
pagination: SwiperPagination( |
|
|
|
alignment: Alignment.bottomCenter, |
|
|
|
alignment: Alignment.bottomCenter, |
|
|
|