Browse Source

safety

master
fmk 3 years ago
parent
commit
e999d111f8
  1. 20
      lib/store/store_view/product_sku.dart

20
lib/store/store_view/product_sku.dart

@ -1,9 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart'; import 'package:huixiang/generated/l10n.dart';
import 'package:huixiang/retrofit/data/findMiNiGroupList.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:huixiang/retrofit/data/miNiDetail.dart'; import 'package:huixiang/retrofit/data/miNiDetail.dart';
import 'package:huixiang/store/store_view/store_order_list.dart';
import 'package:huixiang/utils/font_weight.dart'; import 'package:huixiang/utils/font_weight.dart';
import 'package:huixiang/view_widget/custom_image.dart'; import 'package:huixiang/view_widget/custom_image.dart';
import 'package:huixiang/view_widget/round_button.dart'; import 'package:huixiang/view_widget/round_button.dart';
@ -52,7 +50,9 @@ class _ProductSku extends State<ProductSku> {
errorSrc: "assets/image/default_1.png", errorSrc: "assets/image/default_1.png",
fadeSrc: "assets/image/default_1.png", fadeSrc: "assets/image/default_1.png",
), ),
SizedBox(width: 10), SizedBox(
width: 10,
),
Column( Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
@ -92,7 +92,7 @@ class _ProductSku extends State<ProductSku> {
fontSize: 14.sp, fontSize: 14.sp,
fontWeight: MyFontWeight.medium, fontWeight: MyFontWeight.medium,
), ),
) ),
], ],
), ),
], ],
@ -139,7 +139,8 @@ class _ProductSku extends State<ProductSku> {
widget.miNiDetail.attrList[position], widget.miNiDetail.attrList[position],
); );
}, },
)), ),
),
SizedBox( SizedBox(
height: 24, height: 24,
), ),
@ -154,7 +155,8 @@ class _ProductSku extends State<ProductSku> {
fontSize: 14.sp, fontSize: 14.sp,
fontWeight: MyFontWeight.regular, fontWeight: MyFontWeight.regular,
), ),
)), ),
),
InkWell( InkWell(
onTap: () {}, onTap: () {},
child: Image.asset( child: Image.asset(
@ -187,9 +189,7 @@ class _ProductSku extends State<ProductSku> {
SizedBox( SizedBox(
height: 24, height: 24,
), ),
GestureDetector( RoundButton(
onTap: () {},
child: RoundButton(
width: double.infinity, width: double.infinity,
height: 54.h, height: 54.h,
text: "加入购物车", text: "加入购物车",
@ -199,7 +199,7 @@ class _ProductSku extends State<ProductSku> {
backgroup: Color(0xFF32A060), backgroup: Color(0xFF32A060),
fontSize: 16.sp, fontSize: 16.sp,
// padding: EdgeInsets.symmetric(vertical: 5.h), // padding: EdgeInsets.symmetric(vertical: 5.h),
), callback: () { },
), ),
], ],
), ),

Loading…
Cancel
Save