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

Loading…
Cancel
Save