Browse Source

邀请新人更改

dart3_last
w-R 2 years ago
parent
commit
e898c95701
  1. BIN
      assets/image/2x/invite_1.webp
  2. BIN
      assets/image/2x/invite_2.webp
  3. BIN
      assets/image/2x/invite_3.webp
  4. BIN
      assets/image/2x/invite_4.webp
  5. BIN
      assets/image/2x/invite_friends.webp
  6. BIN
      assets/image/3x/invite_1.webp
  7. BIN
      assets/image/3x/invite_2.webp
  8. BIN
      assets/image/3x/invite_3.webp
  9. BIN
      assets/image/3x/invite_4.webp
  10. BIN
      assets/image/3x/invite_friends.webp
  11. BIN
      assets/image/invite_1.webp
  12. BIN
      assets/image/invite_2.webp
  13. BIN
      assets/image/invite_3.webp
  14. BIN
      assets/image/invite_4.webp
  15. BIN
      assets/image/invite_friends.webp
  16. 582
      lib/qr/invite_friends.dart
  17. 7
      lib/retrofit/data/activity_details.dart
  18. 3
      lib/retrofit/data/brand_data.dart
  19. 3
      lib/retrofit/data/miNiDetail.dart
  20. 2
      lib/store/shop__details_page.dart
  21. 4
      lib/store/shopping/shopping_goods_details.dart
  22. 492
      lib/store/shopping/shopping_home/group_details.dart
  23. 1
      lib/store/store_view/shop_goods.dart
  24. 4
      lib/web/web_page.dart

BIN
assets/image/2x/invite_1.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

BIN
assets/image/2x/invite_2.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/image/2x/invite_3.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/image/2x/invite_4.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
assets/image/2x/invite_friends.webp

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 238 KiB

BIN
assets/image/3x/invite_1.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/image/3x/invite_2.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
assets/image/3x/invite_3.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/image/3x/invite_4.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
assets/image/3x/invite_friends.webp

Binary file not shown.

Before

Width:  |  Height:  |  Size: 454 KiB

After

Width:  |  Height:  |  Size: 457 KiB

BIN
assets/image/invite_1.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 B

BIN
assets/image/invite_2.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 836 B

BIN
assets/image/invite_3.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

BIN
assets/image/invite_4.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

BIN
assets/image/invite_friends.webp

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 76 KiB

582
lib/qr/invite_friends.dart

@ -228,7 +228,7 @@ class _InviteFriends extends State<InviteFriends> {
height: 52.h,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(26),
color: Color(0xFF00E16F),
color: Color(0xFF32A060),
),
margin: EdgeInsets.symmetric(horizontal:14.w),
child: Row(
@ -263,13 +263,15 @@ class _InviteFriends extends State<InviteFriends> {
Widget activityRule(){
return Container(
width:double.infinity,
height: 173.h,decoration: BoxDecoration(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(6),
color: Color(0xFFFFFFFF),
),
margin: EdgeInsets.only(bottom:12.h,left:14.h,right: 14.h),
padding: EdgeInsets.only(top: 6.h,left: 6,right: 6),
padding: EdgeInsets.all(6),
child:Column(
// mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
decoration: BoxDecoration(
@ -291,241 +293,334 @@ class _InviteFriends extends State<InviteFriends> {
)
),
SizedBox(height: 17.h,),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/zu_tuan.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Container(
width: 51,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
IntrinsicHeight(
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/invite_wx.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width:46.w,
child:
Text(
"1.分享给微信好友",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
Container(
width: 51,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
),
Container(
width: 43,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
],
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/invite_1.webp",
width: 24,
height: 24,
fit: BoxFit.cover,
),
),
],
),
],
),
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/zt_zf.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Container(
width: 51,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
Container(
width: 43.w,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width:46.w,
child:
Text(
"2.好友注册",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width:46.w,
child:
Text(
"分享链接给好友",
style: TextStyle(
fontSize: 12.sp,
height: 1.3.h,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
),
),
),
Container(
width: 43,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
Container(
width: 43,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
),
],
),
],
),
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/yq_zt.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Container(
width: 51,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
],
),
],
),
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/yq_zt.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width: 46.w,
child:
Text(
"3.邀请完成",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
Container(
width: 51,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
),
Container(
width: 43,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
],
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/invite_2.webp",
width: 24,
height: 24,
fit: BoxFit.cover,
),
),
],
),
],
),
Column(
children: [
Image.asset(
"assets/image/zt_m.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
SizedBox(height: 8.h),
Container(
width: 46.w,
child:
Text(
"4.获得优惠券",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
Container(
width: 43.w,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
],
),
)
],
),
],
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width:46.w,
child:
Text(
"好友注册并获得10元优惠券",
style: TextStyle(
fontSize: 12.sp,
height: 1.3.h,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
),
),
Container(
width: 43,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
],
),
],
),
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/zt_m.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Container(
width: 51,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
],
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/invite_3.webp",
width: 24,
height: 24,
fit: BoxFit.cover,
),
Container(
width: 43.w,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Container(
width: 46.w,
child:
Text(
"好友完成首单",
style: TextStyle(
fontSize: 12.sp,
height: 1.3.h,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
),
),
Container(
width: 43,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
],
),
],
),
Column(
children: [
Image.asset(
"assets/image/invite_q.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Image.asset(
"assets/image/invite_4.webp",
width: 24,
height: 24,
fit: BoxFit.cover,
),
SizedBox(height: 8.h),
Container(
width: 46.w,
child:
Text(
"邀请达成获得奖励",
style: TextStyle(
fontSize: 12.sp,
height: 1.3.h,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
),
)
],
),
],
),
),
],
),
@ -664,7 +759,7 @@ class _InviteFriends extends State<InviteFriends> {
),
),
Text(
S.of(context).jiangli,
"注册时间",
style: TextStyle(
fontWeight: MyFontWeight.semi_bold,
fontSize:14.sp,
@ -707,35 +802,20 @@ class _InviteFriends extends State<InviteFriends> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
AppUtils.phoneEncode(invitationList?.phone ?? ""),
style: TextStyle(
color: Color(0xFF000000),
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
),
),
SizedBox(height:8),
Text(
"注册时间:${invitationList?.createTime ?? ""}",
style: TextStyle(
color: Color(0xFF000000),
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
),
),
],
Text(
AppUtils.phoneEncode(invitationList?.phone ?? ""),
style: TextStyle(
color: Color(0xFF000000),
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
),
),
Text(
"新人全场减30优惠券*1",
invitationList?.createTime ?? "",
style: TextStyle(
color: Color(0xFF353535),
color: Color(0xFF000000),
fontSize: 12.sp,
fontWeight: MyFontWeight.medium,
fontWeight: MyFontWeight.regular,
),
),
],

7
lib/retrofit/data/activity_details.dart

@ -469,6 +469,7 @@ class ActProduct {
String shortName,
String supplierName,
String detail,
String details,
String rightImg,
}) {
_id = id;
@ -491,6 +492,7 @@ class ActProduct {
_shortName = shortName;
_supplierName =supplierName;
_detail = detail;
_details = details;
_rightImg = rightImg;
}
@ -520,6 +522,7 @@ class ActProduct {
_shortName = json['shortName'];
_supplierName = json['supplierName'];
_detail = json['detail'];
_details = json['details'];
_rightImg = json['rightImg'];
}
@ -543,6 +546,7 @@ class ActProduct {
String _shortName;
String _supplierName;
String _detail;
String _details;
String _rightImg;
String get id => _id;
@ -585,6 +589,8 @@ class ActProduct {
String get detail => _detail;
String get details => _details;
String get rightImg => _rightImg;
Map<String, dynamic> toJson() {
@ -611,6 +617,7 @@ class ActProduct {
map['shortName'] = _shortName;
map['supplierName'] = _supplierName;
map['detail'] = _detail;
map['details'] = _details;
map['rightImg'] = _rightImg;
return map;
}

3
lib/retrofit/data/brand_data.dart

@ -11,6 +11,7 @@ class BrandData {
String originAvatar;
String originDesc;
String originator;
bool inviteNewShow;
dynamic contents;
dynamic ideals;
@ -24,6 +25,7 @@ class BrandData {
..originAvatar = json['originAvatar'] as String
..originDesc = json['originDesc'] as String
..originator = json['originator'] as String
..inviteNewShow = json['inviteNewShow'] as bool
..contents = json['contents']
..ideals = json['ideals'];
@ -34,6 +36,7 @@ class BrandData {
'originAvatar': this.originAvatar,
'originDesc': this.originDesc,
'originator': this.originator,
'inviteNewShow': this.inviteNewShow,
'contents': this.contents,
'ideals': this.ideals,
};

3
lib/retrofit/data/miNiDetail.dart

@ -69,6 +69,7 @@ class MiNiDetail {
int setMeal;
int attrStyle;
String detail;
String details;
int isDelete;
String printerFlag;
String thumbnailImg;
@ -117,6 +118,7 @@ class MiNiDetail {
miNiDetailBean.setMeal = map['setMeal'];
miNiDetailBean.attrStyle = map['attrStyle'];
miNiDetailBean.detail = map['detail'];
miNiDetailBean.details = map['details'];
miNiDetailBean.isDelete = map['isDelete'];
miNiDetailBean.printerFlag = map['printerFlag'];
miNiDetailBean.thumbnailImg = map['thumbnailImg'];
@ -171,6 +173,7 @@ class MiNiDetail {
"setMeal": setMeal,
"attrStyle": attrStyle,
"detail" :detail,
"details" :details,
"isDelete": isDelete,
"printerFlag": printerFlag,
"thumbnailImg": thumbnailImg,

2
lib/store/shop__details_page.dart

@ -593,7 +593,7 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
Container(
color: Colors.white,
child: Html(
data: miNiDetail?.detail ?? "",
data: miNiDetail?.details ?? "",
customImageRenders: {
networkSourceMatcher(): networkImageRender(
loadingWidget: () {

4
lib/store/shopping/shopping_goods_details.dart

@ -565,8 +565,8 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
margin: EdgeInsets.only(bottom: 72.h),
child: Html(
data: pageType != null
? (activityDetails?.actProduct?.detail ?? "")
: (miNiDetail?.detail ?? ""),
? (activityDetails?.actProduct?.details ?? "")
: (miNiDetail?.details ?? ""),
customImageRenders: {
networkSourceMatcher(): networkImageRender(
loadingWidget: () {

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

@ -736,269 +736,271 @@ class _GroupDetails extends State<GroupDetails> {
),
),
SizedBox(height: 12.h),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/zu_tuan.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Container(
width: 45,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
IntrinsicHeight(
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/zu_tuan.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
Text(
"开团/参团",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
Container(
width: 45,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
Text(
"拼团享低价",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF5F5F5F),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
Text(
"开团/参团",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
),
),
],
),
Container(
width: 35,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Colors.white),
Text(
"拼团享低价",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF5F5F5F),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
],
),
),
],
),
],
),
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/zt_zf.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Container(
width: 45,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
Container(
width: 35,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
Text(
"成功支付",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
],
),
],
),
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/zt_zf.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Container(
width: 45,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
Text(
"下单可开团",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF5F5F5F),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
Text(
"成功支付",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
),
),
],
),
Container(
width: 35,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Colors.white),
Text(
"下单可开团",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF5F5F5F),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
],
),
),
],
),
],
),
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/yq_zt.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Container(
width: 45,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
Container(
width: 35,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
Text(
"邀请参团",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
],
),
],
),
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Image.asset(
"assets/image/yq_zt.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
Container(
width: 45,
child: Flex(
children: List.generate(8, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Color(0xFF32A060)),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
Text(
"一起享优惠",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF5F5F5F),
),
],
),
SizedBox(height: 8.h),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Column(
children: [
Text(
"邀请参团",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
),
),
],
),
Container(
width: 35,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Colors.white),
Text(
"一起享优惠",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF5F5F5F),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
],
),
Container(
width: 35,
child: Flex(
children: List.generate(0, (_) {
return SizedBox(
width: 3,
height: 1,
child: DecoratedBox(
decoration:
BoxDecoration(color: Colors.white),
),
);
}),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
direction: Axis.horizontal,
),
),
],
)
],
),
Column(
children: [
Image.asset(
"assets/image/zt_m.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
SizedBox(height: 8.h),
Text(
"人满成团",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
],
)
],
),
Column(
children: [
Image.asset(
"assets/image/zt_m.webp",
width: 42,
height: 42,
fit: BoxFit.cover,
),
SizedBox(height: 8.h),
Text(
"人满成团",
style: TextStyle(
fontSize: 12.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF181818),
),
),
Text(
"人不满退款",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF5F5F5F),
Text(
"人不满退款",
style: TextStyle(
fontSize: 10.sp,
fontWeight: MyFontWeight.regular,
color: Color(0xFF5F5F5F),
),
),
),
],
),
],
],
),
],
),
),
],
));

1
lib/store/store_view/shop_goods.dart

@ -237,6 +237,7 @@ class _ShopGoods extends State<ShopGoods> {
(widget.productListBean?.attrStyle ?? 0) == 0)
GestureDetector(
onTap: () {
widget.add(widget.shoppingCartSkuItemListBean);
},
child: Image.asset(

4
lib/web/web_page.dart

@ -277,7 +277,7 @@ class _WebPage extends State<WebPage> with WidgetsBindingObserver {
),
///
if(Platform.isAndroid&&!ExamineInstance.instance.isExamine)
if(!ExamineInstance.instance.isExamine)
CommentList(
commentKey,
article?.likes ?? activity?.likes ?? 0,
@ -302,7 +302,7 @@ class _WebPage extends State<WebPage> with WidgetsBindingObserver {
),
///
if(Platform.isAndroid&&!ExamineInstance.instance.isExamine)
if(!ExamineInstance.instance.isExamine)
InputComment(
inputKey,
hintText,

Loading…
Cancel
Save