From 8036db12004776a3dff8b7a8297007f0d05e7959 Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Fri, 30 Jul 2021 16:08:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/home/huixiang_brand_page.dart | 2 +- lib/home/points_mall_page.dart | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/lib/home/huixiang_brand_page.dart b/lib/home/huixiang_brand_page.dart index d237689e..f729718a 100644 --- a/lib/home/huixiang_brand_page.dart +++ b/lib/home/huixiang_brand_page.dart @@ -586,7 +586,7 @@ class _BrandPage extends State child: BorderText( padding: EdgeInsets.only( top: 10.h, bottom: 10.h, left: 36.w, right: 36.w), - text: "不同意", + text: "拒绝", fontSize: 12.sp, textColor: Color(0xFF32A060), borderColor: Color(0xFF32A060), diff --git a/lib/home/points_mall_page.dart b/lib/home/points_mall_page.dart index 6cf6441e..d06879cc 100644 --- a/lib/home/points_mall_page.dart +++ b/lib/home/points_mall_page.dart @@ -74,7 +74,9 @@ class _PointsMallPage extends State refreshUserInfo() { SharedPreferences.getInstance().then((value) => { client = ApiService(Dio(), - context: context, token: value.getString('token'), showLoading: false), + context: context, + token: value.getString('token'), + showLoading: false), SmartDialog.showLoading(msg: S.current.zhengzaijiazai), creditGoods(categoryId), queryUser(), @@ -134,7 +136,8 @@ class _PointsMallPage extends State PageInfo pageInfo = PageInfo.fromJson(dataCategory.data); gooodsCategorys.clear(); gooodsCategorys.add(GoodsCategory(name: S.of(context).quanbu)); - gooodsCategorys.addAll(pageInfo.records.map((e) => GoodsCategory.fromJson(e)).toList()); + gooodsCategorys.addAll( + pageInfo.records.map((e) => GoodsCategory.fromJson(e)).toList()); } var param = { @@ -222,8 +225,7 @@ class _PointsMallPage extends State Container( alignment: Alignment.centerLeft, child: DefaultTabController( - length: gooodsCategorys == null - ? 0 : gooodsCategorys.length, + length: gooodsCategorys == null ? 0 : gooodsCategorys.length, child: TabBar( isScrollable: true, //可滚动 @@ -499,6 +501,9 @@ class _PointsMallPage extends State fontWeight: FontWeight.bold, color: Color(0xFF353535)), ), + SizedBox( + height: 8.h, + ), Row( children: [ Image.asset( @@ -537,6 +542,9 @@ class _PointsMallPage extends State fontWeight: FontWeight.bold, color: Color(0xFF4C4C4C)), ), + SizedBox( + height: 4.h, + ), Text( (userinfo != null) ? "${userinfo.points}" : "", style: TextStyle(