Commit 6a732ac3 by zhangxw

购物车样式修改

1 parent 22882961
...@@ -86,7 +86,7 @@ Page({ ...@@ -86,7 +86,7 @@ Page({
}) })
this.setData({ this.setData({
count, count,
sum: sum == 0 ? 0 : Number(sum).toFixed(2), sum: sum == 0 ? 0 : Number(sum),
allActive: goodsList?.filter(item => item.flag == null).length == goodsList?.filter(val => val.active == true && val.flag == null)?.length allActive: goodsList?.filter(item => item.flag == null).length == goodsList?.filter(val => val.active == true && val.flag == null)?.length
}) })
}, },
......
...@@ -169,7 +169,7 @@ page { ...@@ -169,7 +169,7 @@ page {
.goods-action .total .price { .goods-action .total .price {
color: #FC5B32; color: #FC5B32;
display: flex; display: flex;
max-width: 220rpx; width: 220rpx;
align-items: baseline; align-items: baseline;
.num { .num {
font-size: 40rpx; font-size: 40rpx;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!