feat(ID1000835):【临】补充原单价、优惠价的价格显示;

This commit is contained in:
Haiyi 2022-12-20 17:00:45 +08:00
parent 3cd453f21e
commit f1c11737a7
2 changed files with 130 additions and 113 deletions

View File

@ -1,11 +1,9 @@
.orders_list_title {
padding: 20px 20px 10px 20px;
color: $color_font_two;
font-size: $font_size_medium;
}
.orders_list_con {
background-color: #fff;
border-radius: 20px;
padding: 20px;
@ -18,7 +16,7 @@
align-items: center;
.tag {
font-size: $font_size_min;
background-color: #CDE5FF;
background-color: #cde5ff;
padding: 5px 10px;
border-radius: 6px;
color: $color_main;
@ -69,7 +67,7 @@
height: 30px;
background: #f0f0f0;
border-radius: 6px;
color: #ABABAB;
color: #ababab;
font-size: 24px;
padding: 0 10px;
margin-left: 20px;
@ -77,16 +75,30 @@
line-height: 30px;
}
}
.order_list_item_price, .order_list_item_price_dg{
.order_list_item_price {
display: flex;
align-items: center;
font-size: 26px;
color: #000000;
.lastPrice {
margin-right: 10px;
font-size: 26px;
// font-weight: 500;
text-decoration: line-through;
color: #7f7f7f;
}
.order_list_item_price_dg {
font-size: 26px;
color: $color_font_three;
display: flex;
align-items: center;
Text {
padding-left: 13px;
}
}
}
}
.order_list_item_count {
display: flex;
flex-direction: column;

View File

@ -212,8 +212,13 @@ const KindList = ({ order, comfirm = false }: Param) => {
{colorItem?.apply_return_roll > 0 && <Text>{`待退${colorItem?.apply_return_roll}`}</Text>}
</View>
<View className={styles.order_list_item_price}>
{
order?.sale_mode === 0 && colorItem?.standard_sale_price > colorItem.sale_price && <View className={styles.lastPrice}>¥{standardPrice(colorItem.standard_sale_price)}</View>
}
<>
¥{standardPrice(colorItem.sale_price)}
{aboutWeight(colorItem.estimate_weight)}
</>
</View>
</View>
<View className={styles.order_list_item_count}>