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,
width: MediaQuery.of(context).size.width / 1.5,
height: MediaQuery.of(context).size.width,
errorSrc: "assets/image/default_2_1.png",
fadeSrc: "assets/image/default_2_1.png",
errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.webp",
)),
);
} else {
@ -395,8 +395,8 @@ class _NewCommunityDetails extends State<NewCommunityDetails> with WidgetsBindin
fit: BoxFit.cover,
aspectRatio: 1,
radius: BorderRadius.circular(1),
errorSrc: "assets/image/default_2_1.png",
fadeSrc: "assets/image/default_2_1.png",
errorSrc: "assets/image/default_2_1.webp",
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:flutter/cupertino.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/utils/font_weight.dart';
import 'package:huixiang/view_widget/item_title.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:shared_preferences/shared_preferences.dart';
class ShortcutOperation extends StatefulWidget {
final Function goToOrder;

20
lib/message/system_details.dart

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

4
lib/order/bargain_group_order.dart

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

6
lib/settlement/settlement_view/distribution.dart

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

28
lib/store/shopping/shopping_goods_details.dart

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save