Browse Source

ios更改

zyh
fmk 3 years ago
parent
commit
4ed7d56725
  1. 6
      lib/home/home_view/home_recommend_goods.dart
  2. 1
      lib/union/union_list.dart
  3. 15
      lib/union/union_page.dart

6
lib/home/home_view/home_recommend_goods.dart

@ -41,7 +41,7 @@ class _HomeRecommendGoods extends State<HomeRecommendGoods> {
mainAxisAlignment: MainAxisAlignment.start,
children: [
Container(
height: 235.h,
height: 240.h,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(6),
color: Colors.white,
@ -92,8 +92,8 @@ class _HomeRecommendGoods extends State<HomeRecommendGoods> {
commodityZone?.productImg ?? "",
fit: BoxFit.contain,
radius: BorderRadius.circular(4.r),
width: 158,
height: 158,
width: 158.w,
height: 158.h,
errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.webp",
),

1
lib/union/union_list.dart

@ -238,6 +238,7 @@ class _UnionList extends State<UnionList> {
],
)),
if(store.distance != null)
Container(
width: 59.w,
height: 18.h,

15
lib/union/union_page.dart

@ -243,9 +243,9 @@ class UnionPageState extends State<UnionPage>
}
BaseData<List<Store>> baseData = await apiService.queryStore({
"city": city,
"district": district,
"province": province,
"latitude": latitude,
// "district": district,
// "province": province,
// "latitude": latitude,
"longitude": longitude,
"searchKey": searchKey,
"serviceType": (tabController.index == 0 && index == -1) || index == 0
@ -287,7 +287,12 @@ class UnionPageState extends State<UnionPage>
@override
Widget build(BuildContext context) {
super.build(context);
return Scaffold(
return GestureDetector(
behavior: HitTestBehavior.translucent,
onTap: (){
FocusScope.of(context).requestFocus(FocusNode());
},
child:Scaffold(
appBar: MyAppBar(
title: "",
leading: false,
@ -330,7 +335,7 @@ class UnionPageState extends State<UnionPage>
UnionList(refreshController3, storeList3,(){startLocation(true);}),
],
),
);
));
// GestureDetector(
// onTap: () {
// FocusScope.of(context).requestFocus(FocusNode());

Loading…
Cancel
Save