提交 21a2bd71 authored 作者: yueweilu's avatar yueweilu

add

上级 513231a2
assets/images/2.0x/check_box_select.png

528 Bytes | W: | H:

assets/images/2.0x/check_box_select.png

900 Bytes | W: | H:

assets/images/2.0x/check_box_select.png
assets/images/2.0x/check_box_select.png
assets/images/2.0x/check_box_select.png
assets/images/2.0x/check_box_select.png
  • 2-up
  • Swipe
  • Onion skin
assets/images/check_box_select.png

249 Bytes | W: | H:

assets/images/check_box_select.png

432 Bytes | W: | H:

assets/images/check_box_select.png
assets/images/check_box_select.png
assets/images/check_box_select.png
assets/images/check_box_select.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -108,36 +108,39 @@ class _BookPayPageState extends State<BookPayPage> { ...@@ -108,36 +108,39 @@ class _BookPayPageState extends State<BookPayPage> {
], ],
), ),
), ),
bottomNavigationBar: SafeArea(child:BuildPayCount( bottomNavigationBar: SafeArea(
payTap: (){ child:BuildPayCount(
Console.log('--------------支付------------------'); payTap: (){
controller.createOrder(); Console.log('--------------支付------------------');
}, controller.createOrder();
showTap: (){ },
controller.show(); showTap: (){
Console.log('--------------展示优惠详情------------------'); controller.show();
}, controller: controller, Console.log('--------------展示优惠详情------------------');
}, controller: controller,
)), )),
), ),
controller.showDetail?Positioned( controller.showDetail?SafeArea(
left: 0.w, child: Positioned(
bottom: 50.w, left: 0.w,
right: 0.w, bottom: 50.w,
top: 0.w, right: 0.w,
child: GestureDetector( top: 0.w,
onTap: (){ child: GestureDetector(
controller.show(); onTap: (){
}, controller.show();
child: Container( },
color:const Color(0xFF000000).withOpacity(0.5), child: Container(
child: Align( color:const Color(0xFF000000).withOpacity(0.5),
alignment: Alignment.bottomCenter, child: Align(
child: ClipRRect( alignment: Alignment.bottomCenter,
borderRadius: BorderRadius.only(topRight: Radius.circular(8.w),topLeft: Radius.circular(8.w)), child: ClipRRect(
child: Container( borderRadius: BorderRadius.only(topRight: Radius.circular(8.w),topLeft: Radius.circular(8.w)),
height: 210.w, child: Container(
color: Colors.white, height: 210.w,
child: _buildPayDetail(controller), color: Colors.white,
child: _buildPayDetail(controller),
),
), ),
), ),
), ),
......
...@@ -34,7 +34,7 @@ class _BookShopPageState extends State<BookShopPage> { ...@@ -34,7 +34,7 @@ class _BookShopPageState extends State<BookShopPage> {
itemCount: controller.carts.length, itemCount: controller.carts.length,
), ),
), ),
BuildCounter(controller: controller,) SafeArea(child: BuildCounter(controller: controller,))
], ],
), ),
), ),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论