✨ feat(ID1000835):【临】补充原单价、优惠价的价格显示;
This commit is contained in:
@@ -54,13 +54,19 @@
|
||||
font-weight: 550;
|
||||
font-size: 28px;
|
||||
}
|
||||
&--yuanPrice {
|
||||
font-size: 26px;
|
||||
font-weight: 500;
|
||||
text-decoration: line-through;
|
||||
color: #7f7f7f;
|
||||
}
|
||||
&--counter {
|
||||
}
|
||||
}
|
||||
}
|
||||
.checkbox{
|
||||
.checkbox {
|
||||
padding: 0 24px;
|
||||
}
|
||||
.selected {
|
||||
background-color: #F8FAFF;
|
||||
background-color: #f8faff;
|
||||
}
|
||||
|
||||
@@ -132,6 +132,10 @@ const ColorKindItem: FC<PropsType> = (props) => {
|
||||
</View>
|
||||
<View className={styles.colorKindItem__right}>
|
||||
<View className={styles['colorKindItem__right--price']}>¥ {formatPrice(itemData.sale_price)}/{itemData.sale_mode == EnumSaleMode.Plate ? '米' : 'kg'}</View>
|
||||
{
|
||||
itemData.sale_mode === EnumSaleMode.Bulk && itemData?.standard_sale_price !== itemData?.sale_price && <View className={styles['colorKindItem__right--yuanPrice']}>¥ {formatPrice(itemData?.standard_sale_price)}/{itemData.sale_mode == EnumSaleMode.Plate ? '米' : 'kg'}</View>
|
||||
|
||||
}
|
||||
<View className={styles['colorKindItem__right--counter']}>
|
||||
<Counter
|
||||
onBlue={getInputValue}
|
||||
|
||||
Reference in New Issue
Block a user