w-R 3 years ago
parent
commit
aec15cb48a
  1. 8
      lib/community/new_community_details.dart
  2. 6
      lib/home/home_view/shortcut_operation.dart
  3. 20
      lib/message/system_details.dart
  4. 4
      lib/order/bargain_group_order.dart
  5. 6
      lib/settlement/settlement_view/distribution.dart
  6. 28
      lib/store/shopping/shopping_goods_details.dart
  7. 4
      lib/store/shopping/shopping_home/classify_list.dart
  8. 16
      lib/store/shopping/shopping_home/group_details.dart
  9. 4
      lib/store/shopping/shopping_home/recommend_goods_list_view.dart
  10. 8
      lib/store/shopping/shopping_home/search_page.dart
  11. 12
      lib/store/shopping/shopping_home/shopping_acticvity.dart
  12. 4
      lib/store/shopping/shopping_home/shopping_home_banner.dart
  13. 4
      lib/store/shopping/shopping_home/shopping_home_page.dart

8
lib/community/new_community_details.dart

@ -357,8 +357,8 @@ class _NewCommunityDetails extends State<NewCommunityDetails> with WidgetsBindin
fit: BoxFit.contain, fit: BoxFit.contain,
width: MediaQuery.of(context).size.width / 1.5, width: MediaQuery.of(context).size.width / 1.5,
height: MediaQuery.of(context).size.width, height: MediaQuery.of(context).size.width,
errorSrc: "assets/image/default_2_1.png", errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.png", fadeSrc: "assets/image/default_2_1.webp",
)), )),
); );
} else { } else {
@ -395,8 +395,8 @@ class _NewCommunityDetails extends State<NewCommunityDetails> with WidgetsBindin
fit: BoxFit.cover, fit: BoxFit.cover,
aspectRatio: 1, aspectRatio: 1,
radius: BorderRadius.circular(1), radius: BorderRadius.circular(1),
errorSrc: "assets/image/default_2_1.png", errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.png", fadeSrc: "assets/image/default_2_1.webp",
), ),
), ),
); );

6
lib/home/home_view/shortcut_operation.dart

@ -1,15 +1,9 @@
import 'package:dio/dio.dart'; import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/activity.dart';
import 'package:huixiang/retrofit/data/base_data.dart';
import 'package:huixiang/retrofit/data/page.dart';
import 'package:huixiang/retrofit/retrofit_api.dart'; import 'package:huixiang/retrofit/retrofit_api.dart';
import 'package:huixiang/utils/font_weight.dart'; import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/item_title.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:shared_preferences/shared_preferences.dart';
class ShortcutOperation extends StatefulWidget { class ShortcutOperation extends StatefulWidget {
final Function goToOrder; final Function goToOrder;

20
lib/message/system_details.dart

@ -502,8 +502,8 @@ class _SystemDetails extends State<SystemDetails> {
height: 44, height: 44,
isCircle: true, isCircle: true,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
SizedBox(width: 8,), SizedBox(width: 8,),
Expanded(child:Column( Expanded(child:Column(
@ -563,8 +563,8 @@ class _SystemDetails extends State<SystemDetails> {
isCircle: true, isCircle: true,
fit: BoxFit.cover, fit: BoxFit.cover,
radius: BorderRadius.circular(2), radius: BorderRadius.circular(2),
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
SizedBox(width:2.w), SizedBox(width:2.w),
Expanded(child:Text( Expanded(child:Text(
@ -649,8 +649,8 @@ class _SystemDetails extends State<SystemDetails> {
height: 44, height: 44,
isCircle: true, isCircle: true,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
SizedBox(width: 8,), SizedBox(width: 8,),
Expanded(child:Column( Expanded(child:Column(
@ -807,8 +807,8 @@ class _SystemDetails extends State<SystemDetails> {
isCircle: true, isCircle: true,
fit: BoxFit.cover, fit: BoxFit.cover,
radius: BorderRadius.circular(2), radius: BorderRadius.circular(2),
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
SizedBox(width:2.w), SizedBox(width:2.w),
Expanded(child:Text( Expanded(child:Text(
@ -892,8 +892,8 @@ class _SystemDetails extends State<SystemDetails> {
height: 44, height: 44,
isCircle: true, isCircle: true,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
SizedBox(width: 8,), SizedBox(width: 8,),
Expanded(child:Column( Expanded(child:Column(

4
lib/order/bargain_group_order.dart

@ -344,8 +344,8 @@ class _ExchangeHistoryList extends State<ExchangeHistoryList> {
width: 81.w, width: 81.w,
height: 81.h, height: 81.h,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
SizedBox( SizedBox(
width: 10, width: 10,

6
lib/settlement/settlement_view/distribution.dart

@ -258,7 +258,7 @@ class _DistributionMode extends State<DistributionMode> {
Column( Column(
children: [ children: [
Image.asset( Image.asset(
"assets/image/map.png", "assets/image/map.webp",
height: 61.h, height: 61.h,
width: 61.w, width: 61.w,
), ),
@ -279,7 +279,7 @@ class _DistributionMode extends State<DistributionMode> {
fontSize: 7.sp, fontSize: 7.sp,
), ),
Image.asset( Image.asset(
"assets/image/landmark.png", "assets/image/landmark.webp",
height: 24.h, height: 24.h,
width: 24.w, width: 24.w,
), ),
@ -322,7 +322,7 @@ class _DistributionMode extends State<DistributionMode> {
color: Color(0xFF727272), color: Color(0xFF727272),
size: 24, size: 24,
):Image.asset( ):Image.asset(
"assets/image/icon_permission_location.png", "assets/image/icon_permission_location.webp",
height: 24.h, height: 24.h,
width: 24.w, width: 24.w,
), ),

28
lib/store/shopping/shopping_goods_details.dart

@ -622,7 +622,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Image.asset( Image.asset(
"assets/image/goods_cart.png", "assets/image/goods_cart.webp",
width: 24, width: 24,
height: 24, height: 24,
), ),
@ -648,7 +648,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Image.asset( Image.asset(
"assets/image/goods_phone.png", "assets/image/goods_phone.webp",
width: 24, width: 24,
height: 24, height: 24,
), ),
@ -1317,8 +1317,8 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
width: 72, width: 72,
height: 30.h, height: 30.h,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
Container( Container(
width: 91, width: 91,
@ -1482,8 +1482,8 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
width: 72, width: 72,
height: 30.h, height: 30.h,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
)) ))
: Container(), : Container(),
@ -1592,8 +1592,8 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
width: double.infinity, width: double.infinity,
height: double.infinity, height: double.infinity,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
), ),
GestureDetector( GestureDetector(
@ -1858,8 +1858,8 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
height: 30, height: 30,
fit: BoxFit.cover, fit: BoxFit.cover,
isCircle: true, isCircle: true,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
SizedBox(width: 4.w), SizedBox(width: 4.w),
Expanded( Expanded(
@ -2012,7 +2012,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Image.asset( Image.asset(
"assets/image/zu_tuan.png", "assets/image/zu_tuan.webp",
width: 42, width: 42,
height: 42, height: 42,
fit: BoxFit.cover, fit: BoxFit.cover,
@ -2088,7 +2088,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Image.asset( Image.asset(
"assets/image/zt_zf.png", "assets/image/zt_zf.webp",
width: 42, width: 42,
height: 42, height: 42,
fit: BoxFit.cover, fit: BoxFit.cover,
@ -2164,7 +2164,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Image.asset( Image.asset(
"assets/image/yq_zt.png", "assets/image/yq_zt.webp",
width: 42, width: 42,
height: 42, height: 42,
fit: BoxFit.cover, fit: BoxFit.cover,
@ -2236,7 +2236,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
Column( Column(
children: [ children: [
Image.asset( Image.asset(
"assets/image/zt_m.png", "assets/image/zt_m.webp",
width: 42, width: 42,
height: 42, height: 42,
fit: BoxFit.cover, fit: BoxFit.cover,

4
lib/store/shopping/shopping_home/classify_list.dart

@ -83,8 +83,8 @@ class _ClassifyList extends State<ClassifyList> {
width: 48, width: 48,
height: 48, height: 48,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
SizedBox(height: 4,), SizedBox(height: 4,),
Text( Text(

16
lib/store/shopping/shopping_home/group_details.dart

@ -586,7 +586,7 @@ class _GroupDetails extends State<GroupDetails> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Image.asset( Image.asset(
"assets/image/wx.png", "assets/image/wx.webp",
width: 24, width: 24,
height: 24, height: 24,
fit: BoxFit.cover, fit: BoxFit.cover,
@ -662,8 +662,8 @@ class _GroupDetails extends State<GroupDetails> {
height: 60, height: 60,
fit: BoxFit.cover, fit: BoxFit.cover,
isCircle: true, isCircle: true,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
), ),
activityActRecordDetails.actRecordJoinList[position].isLeader activityActRecordDetails.actRecordJoinList[position].isLeader
@ -698,7 +698,7 @@ class _GroupDetails extends State<GroupDetails> {
height: 67, height: 67,
margin: EdgeInsets.only(left: 20), margin: EdgeInsets.only(left: 20),
child: Image.asset( child: Image.asset(
"assets/image/pin_t.png", "assets/image/pin_t.webp",
width: 60.w, width: 60.w,
height: 60.h, height: 60.h,
fit: BoxFit.cover, fit: BoxFit.cover,
@ -750,7 +750,7 @@ class _GroupDetails extends State<GroupDetails> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Image.asset( Image.asset(
"assets/image/zu_tuan.png", "assets/image/zu_tuan.webp",
width: 42, width: 42,
height: 42, height: 42,
fit: BoxFit.cover, fit: BoxFit.cover,
@ -827,7 +827,7 @@ class _GroupDetails extends State<GroupDetails> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Image.asset( Image.asset(
"assets/image/zt_zf.png", "assets/image/zt_zf.webp",
width: 42, width: 42,
height: 42, height: 42,
fit: BoxFit.cover, fit: BoxFit.cover,
@ -904,7 +904,7 @@ class _GroupDetails extends State<GroupDetails> {
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Image.asset( Image.asset(
"assets/image/yq_zt.png", "assets/image/yq_zt.webp",
width: 42, width: 42,
height: 42, height: 42,
fit: BoxFit.cover, fit: BoxFit.cover,
@ -977,7 +977,7 @@ class _GroupDetails extends State<GroupDetails> {
Column( Column(
children: [ children: [
Image.asset( Image.asset(
"assets/image/zt_m.png", "assets/image/zt_m.webp",
width: 42, width: 42,
height: 42, height: 42,
fit: BoxFit.cover, fit: BoxFit.cover,

4
lib/store/shopping/shopping_home/recommend_goods_list_view.dart

@ -128,8 +128,8 @@ class _RecommendGoodsListView extends State<RecommendGoodsListView> {
width: double.infinity, width: double.infinity,
height: 166, height: 166,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
), ),
Expanded( Expanded(

8
lib/store/shopping/shopping_home/search_page.dart

@ -459,7 +459,7 @@ class _SearchPage extends State<SearchPage>
), ),
)), )),
Image.asset( Image.asset(
"assets/image/icon_delete.png", "assets/image/icon_delete.webp",
width: 22.w, width: 22.w,
height: 20.h, height: 20.h,
), ),
@ -681,7 +681,7 @@ class _SearchPage extends State<SearchPage>
SizedBox(height: 16.h), SizedBox(height: 16.h),
(productListBeans == null || productListBeans?.length == 0) (productListBeans == null || productListBeans?.length == 0)
? NoDataView( ? NoDataView(
src: "assets/image/ding_dan.png", src: "assets/image/ding_dan.webp",
isShowBtn: false, isShowBtn: false,
text: "该关键词未搜索到相关商品~", text: "该关键词未搜索到相关商品~",
fontSize: 16.sp, fontSize: 16.sp,
@ -760,8 +760,8 @@ class _SearchPage extends State<SearchPage>
width: double.infinity, width: double.infinity,
height: 166, height: 166,
fit: BoxFit.cover, fit: BoxFit.cover,
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.webp",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.webp",
), ),
), ),
Expanded( Expanded(

12
lib/store/shopping/shopping_home/shopping_acticvity.dart

@ -83,8 +83,8 @@ class _ShoppingActivity extends State<ShoppingActivity> {
widget?.quickEntry[0]?.img ?? "", widget?.quickEntry[0]?.img ?? "",
width:double.infinity, width:double.infinity,
fit: BoxFit.contain, fit: BoxFit.contain,
errorSrc: "assets/image/default_2_1.png", errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.png", fadeSrc: "assets/image/default_2_1.webp",
), ),
// Column( // Column(
// mainAxisAlignment: MainAxisAlignment.spaceAround, // mainAxisAlignment: MainAxisAlignment.spaceAround,
@ -178,8 +178,8 @@ class _ShoppingActivity extends State<ShoppingActivity> {
widget?.quickEntry[1]?.img ?? "", widget?.quickEntry[1]?.img ?? "",
width:double.infinity, width:double.infinity,
fit: BoxFit.contain, fit: BoxFit.contain,
errorSrc: "assets/image/default_2_1.png", errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.png", fadeSrc: "assets/image/default_2_1.webp",
), ),
// Row( // Row(
// mainAxisAlignment: MainAxisAlignment.spaceEvenly, // mainAxisAlignment: MainAxisAlignment.spaceEvenly,
@ -279,8 +279,8 @@ class _ShoppingActivity extends State<ShoppingActivity> {
widget?.quickEntry[2]?.img ?? "", widget?.quickEntry[2]?.img ?? "",
width:double.infinity, width:double.infinity,
fit: BoxFit.contain, fit: BoxFit.contain,
errorSrc: "assets/image/default_2_1.png", errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.png", fadeSrc: "assets/image/default_2_1.webp",
), ),
// Row( // Row(
// mainAxisAlignment: MainAxisAlignment.spaceEvenly, // mainAxisAlignment: MainAxisAlignment.spaceEvenly,

4
lib/store/shopping/shopping_home/shopping_home_banner.dart

@ -60,8 +60,8 @@ class _ShoppingHomeBanner extends State<ShoppingHomeBanner> {
: "", : "",
fit: BoxFit.cover, fit: BoxFit.cover,
radius: BorderRadius.circular(8), radius: BorderRadius.circular(8),
errorSrc: "assets/image/default_2_1.png", errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.png", fadeSrc: "assets/image/default_2_1.webp",
), ),
); );
}, },

4
lib/store/shopping/shopping_home/shopping_home_page.dart

@ -271,8 +271,8 @@ class _ShoppingHomePage extends State<ShoppingHomePage>
: "", : "",
fit: BoxFit.cover, fit: BoxFit.cover,
radius: BorderRadius.circular(8), radius: BorderRadius.circular(8),
errorSrc: "assets/image/default_2_1.png", errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.png", fadeSrc: "assets/image/default_2_1.webp",
), ),
); );
}, },

Loading…
Cancel
Save