Browse Source

dart3 修改。调整接口返回

dart3_last
fff 2 weeks ago
parent
commit
5d0d91828e
  1. 26
      lib/store/store_order.dart

26
lib/store/store_order.dart

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

Loading…
Cancel
Save