Browse Source

Merge remote-tracking branch 'origin/dev' into dev

new_revision_app
fmk 2 years ago
parent
commit
e8cb20d435
  1. 4
      lib/home/home_page.dart
  2. 2
      lib/home/points_mall_view/points_goods_view.dart
  3. 6
      lib/home/welfare_exchange.dart
  4. 1
      lib/integral_store/integral_store_details_page.dart

4
lib/home/home_page.dart

@ -200,7 +200,7 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
"orderDesc": true, "orderDesc": true,
"orderType": 1, "orderType": 1,
"pageNum": 1, "pageNum": 1,
"pageSize": 10, "pageSize": 100,
"state": 1 "state": 1
}).catchError((onError) { }).catchError((onError) {
refreshController.refreshFailed(); refreshController.refreshFailed();
@ -238,7 +238,7 @@ class HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin {
"orderDesc": orderDesc, "orderDesc": orderDesc,
"orderType": orderType, "orderType": orderType,
"pageNum": pageNum, "pageNum": pageNum,
"pageSize": 10, "pageSize": 100,
"state": 1 "state": 1
}; };
BaseData<PageInfo<Goods>> pageGoods = BaseData<PageInfo<Goods>> pageGoods =

2
lib/home/points_mall_view/points_goods_view.dart

@ -38,6 +38,8 @@ class _PointGoods extends State<PointGoods> {
: " + ${AppUtils.calculateDouble(double.tryParse(goods?.money) ?? 0)}"); : " + ${AppUtils.calculateDouble(double.tryParse(goods?.money) ?? 0)}");
} else if (goods.oneMoney != null && goods.oneMoney != "0.00") { } else if (goods.oneMoney != null && goods.oneMoney != "0.00") {
return "${AppUtils.calculateDouble(double.tryParse(goods.oneMoney) ?? 0)}"; return "${AppUtils.calculateDouble(double.tryParse(goods.oneMoney) ?? 0)}";
} else {
return "";
} }
} }

6
lib/home/welfare_exchange.dart

@ -88,7 +88,7 @@ class _WelfareExchange extends State<WelfareExchange>
"orderDesc": true, "orderDesc": true,
"orderType": 1, "orderType": 1,
"pageNum": 1, "pageNum": 1,
"pageSize": 10, "pageSize": 100,
"state": 1 "state": 1
}).catchError((onError) { }).catchError((onError) {
refreshController.refreshFailed(); refreshController.refreshFailed();
@ -126,7 +126,7 @@ class _WelfareExchange extends State<WelfareExchange>
"orderDesc": orderDesc, "orderDesc": orderDesc,
"orderType": orderType, "orderType": orderType,
"pageNum": pageNum, "pageNum": pageNum,
"pageSize": 10, "pageSize": 100,
"state": 1 "state": 1
}; };
BaseData<PageInfo<Goods>> pageGoods = BaseData<PageInfo<Goods>> pageGoods =
@ -260,7 +260,7 @@ class _WelfareExchange extends State<WelfareExchange>
body: SmartRefresher( body: SmartRefresher(
controller: refreshController, controller: refreshController,
enablePullDown: true, enablePullDown: true,
enablePullUp: true, enablePullUp: false,
physics: ClampingScrollPhysics(), physics: ClampingScrollPhysics(),
header: MyHeader(), header: MyHeader(),
footer: CustomFooter( footer: CustomFooter(

1
lib/integral_store/integral_store_details_page.dart

@ -96,6 +96,7 @@ class _IntegralStoreDetailsPage extends State<IntegralStoreDetailsPage> {
}else if(goods.oneMoney != null && goods.oneMoney != "0.00"){ }else if(goods.oneMoney != null && goods.oneMoney != "0.00"){
return "${AppUtils.calculateDouble(double.tryParse(goods?.oneMoney) ?? 0)}"; return "${AppUtils.calculateDouble(double.tryParse(goods?.oneMoney) ?? 0)}";
} }
return "";
} }
@override @override

Loading…
Cancel
Save