ID1001088购物车价格样式取值反过来了
This commit is contained in:
parent
edf5d72f45
commit
a89f357e63
@ -14,6 +14,7 @@
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.shop_header {
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
|
||||
@ -85,8 +85,8 @@ const Index = memo((props: IndexItemType) => {
|
||||
<View className={styles.name_price}>
|
||||
<Text>{colorItem.product_color_code + colorItem.product_color_name}</Text>
|
||||
<View className={styles.price}>
|
||||
<Text>{colorItem.standard_price > colorItem.sale_price && `¥${formatPriceDiv(colorItem.sale_price)}`}</Text>
|
||||
<Text>¥{formatPriceDiv(colorItem.standard_price)}/kg</Text>
|
||||
<Text>{colorItem.standard_price > colorItem.sale_price && `¥${formatPriceDiv(colorItem.standard_price)}`}</Text>
|
||||
<Text>¥{formatPriceDiv(colorItem.sale_price)}/kg</Text>
|
||||
</View>
|
||||
</View>
|
||||
<View className={styles.count_con}>
|
||||
|
||||
@ -82,8 +82,8 @@ const Index = memo((props: ProductType) => {
|
||||
<View className={styles.name_price}>
|
||||
<Text>{colorItem?.screw_color_code + colorItem?.screw_color_name}</Text>
|
||||
<View className={styles.price}>
|
||||
<Text>{(colorItem?.standard_price > colorItem?.sale_price) && `¥${formatPriceDiv(colorItem?.sale_price)}`}</Text>
|
||||
<Text>¥{formatPriceDiv(colorItem?.standard_price)}/kg</Text>
|
||||
<Text>{(colorItem?.standard_price > colorItem?.sale_price) && `¥${formatPriceDiv(colorItem?.standard_price)}`}</Text>
|
||||
<Text>¥{formatPriceDiv(colorItem?.sale_price)}/kg</Text>
|
||||
</View>
|
||||
</View>
|
||||
<View className={styles.count}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user