Browse Source

选规格样式更改

remove_uniapp
w-R 3 years ago
parent
commit
8d5ea5ca1a
  1. 16
      lib/store/store_view/product_sku.dart

16
lib/store/store_view/product_sku.dart

@ -139,7 +139,7 @@ class _ProductSku extends State<ProductSku> {
Padding( Padding(
padding: EdgeInsets.only(top: 4, bottom: 7), padding: EdgeInsets.only(top: 4, bottom: 7),
child: Text( child: Text(
": " + "已选: " +
(selectSkus.map((e) => "$e").toList().toString()), (selectSkus.map((e) => "$e").toList().toString()),
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
@ -369,12 +369,12 @@ class _ProductSku extends State<ProductSku> {
return Container( return Container(
padding: const EdgeInsets.symmetric(vertical:5.0,horizontal: 12.0), padding: const EdgeInsets.symmetric(vertical:5.0,horizontal: 12.0),
decoration: BoxDecoration( decoration: BoxDecoration(
color: !isCheck ? Color(0xFFF2F2F2) : Color(0xFFF0FAF4), color: !isCheck ? Color(0xFFE5E5E5) : Color(0xFF32A060),
border: Border.all( // border: Border.all(
width: !isCheck ? 0:1, // width: !isCheck ? 0:1,
color: !isCheck ? Color(0xFFF2F2F2):Color(0xFF32A060), // color: !isCheck ? Color(0xFFF2F2F2):Color(0xFF32A060),
style: BorderStyle.solid, // style: BorderStyle.solid,
), // ),
borderRadius: const BorderRadius.all( borderRadius: const BorderRadius.all(
Radius.circular(4.0), Radius.circular(4.0),
), ),
@ -383,7 +383,7 @@ class _ProductSku extends State<ProductSku> {
name, name,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
color:!isCheck ? Color(0xFF4D4D4D) : Color(0xFF32A060), color:!isCheck ? Color(0xFF727272) : Color(0xFFFFFFFF),
fontSize: 14.sp, fontSize: 14.sp,
fontWeight: MyFontWeight.regular, fontWeight: MyFontWeight.regular,
), ),

Loading…
Cancel
Save