提交 5f8f1d44 authored 作者: yueweilu's avatar yueweilu

筛选添加蒙层 点击消失

上级 50a79473
...@@ -26,12 +26,18 @@ class _FilterPageState extends State<FilterPage> { ...@@ -26,12 +26,18 @@ class _FilterPageState extends State<FilterPage> {
// return FilterModel(id: model.labelId.toString(), name: model.name??''); // return FilterModel(id: model.labelId.toString(), name: model.name??'');
// }).toList(); // }).toList();
return Container( return GestureDetector(
onTap: (){
widget.controller.setShow(widget.controller.show);
},
child: Container(
color: const Color(0xFF000000).withOpacity(0.5), color: const Color(0xFF000000).withOpacity(0.5),
child: SingleChildScrollView(
child: Column( child: Column(
children: [ children: [
Container( GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: (){},
child: Container(
color: Colors.white, color: Colors.white,
width: double.infinity, width: double.infinity,
padding: EdgeInsets.only(bottom: 10.w), padding: EdgeInsets.only(bottom: 10.w),
...@@ -51,6 +57,7 @@ class _FilterPageState extends State<FilterPage> { ...@@ -51,6 +57,7 @@ class _FilterPageState extends State<FilterPage> {
), ),
), ),
),
Container( Container(
padding: EdgeInsets.only(left:10.w,right:10.w,top:30.w,bottom:10.w), padding: EdgeInsets.only(left:10.w,right:10.w,top:30.w,bottom:10.w),
color: Colors.white, color: Colors.white,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论