🐞 fix(ID1000942):订单详情的合计金额进位规则,应与应收单一致

This commit is contained in:
Haiyi 2022-12-08 20:00:44 +08:00
parent e68b97e104
commit c2335d5d73
3 changed files with 622 additions and 639 deletions

View File

@ -34,7 +34,7 @@ page {
.productBox {
// width: 702px;
margin-right: 24px;
background: #FFFFFF;
background: #ffffff;
border-radius: 16px;
margin-left: 24px;
padding-bottom: 36px;
@ -66,18 +66,17 @@ page {
.shoudPay {
font-size: 28px;
font-weight: 500;
color: #F64861;
color: #f64861;
margin-right: 32px;
}
}
}
}
.defaltBox {
margin: 24px;
padding: 24px 32px 24px 24px;
background: #FFFFFF;
background: #ffffff;
border-radius: 16px;
.titleBox {
@ -97,7 +96,7 @@ page {
.modeName {
font-size: 28px;
font-weight: 500;
color: #337FFF;
color: #337fff;
}
}
@ -110,13 +109,12 @@ page {
background: #000000;
opacity: 0.1;
}
}
.goodsBox {
margin-top: 24px;
overflow: hidden;
border-bottom: 8px solid #F7F7F7;
border-bottom: 8px solid #f7f7f7;
.goodsProduct {
font-size: 28px;
@ -145,7 +143,7 @@ page {
margin-right: 42px;
width: 108px;
height: 108px;
background: #322F2F;
// background: #322F2F;
border-radius: 8px;
}
@ -192,8 +190,6 @@ page {
}
}
}
}
.itemGoods:last-child {
@ -205,7 +201,7 @@ page {
margin-right: 42px;
width: 108px;
height: 108px;
background: #322F2F;
// background: #322F2F;
border-radius: 8px;
}
@ -251,8 +247,6 @@ page {
}
}
}
}
}
@ -271,7 +265,6 @@ page {
align-items: center;
.detailRight {
font-size: 28px;
font-weight: 400;
color: #000000;
@ -282,10 +275,10 @@ page {
width: 65px;
height: 32px;
border-radius: 8px;
border: 1PX solid #337FFF;
border: 1px solid #337fff;
font-size: 24px;
font-weight: 400;
color: #337FFF;
color: #337fff;
text-align: center;
line-height: 32px;
}
@ -316,7 +309,7 @@ page {
// width: 750px;
width: 100%;
height: 160px;
background: #FFFFFF;
background: #ffffff;
position: fixed;
bottom: 0;
padding-bottom: 24px;
@ -333,8 +326,6 @@ page {
}
}
.posssBox {
position: absolute;
left: 32px;

View File

@ -104,7 +104,7 @@ const GoodsItem = (porps: PropGoods) => {
<View className={styles.itemNums}>x{obj?.sale_mode === 0 ? it.roll : it.length / 100}{obj?.sale_mode === 0 ? '条' : 'm'}</View>
</View>
<View className={styles.item_right_Bottom}>
<View className={styles.itemMoney}>¥{it.sale_price / 100}/{obj?.sale_mode === 1 ? 'm' : 'kg'}</View>
<View className={styles.itemMoney}>¥{formatPriceDiv(it.sale_price)}/{obj?.sale_mode === 1 ? 'm' : 'kg'}</View>
<View className={styles.itemMoneyOne}>¥{formatPriceDiv(it.total_sale_price)}</View>
</View>
</View>

View File

@ -36,7 +36,7 @@ page {
.productBox {
width: 702px;
background: #FFFFFF;
background: #ffffff;
border-radius: 16px;
margin-left: 24px;
padding-bottom: 36px;
@ -70,18 +70,17 @@ page {
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #F64861;
color: #f64861;
margin-right: 32px;
}
}
}
}
.defaltBox {
margin: 24px;
padding: 24px 32px 24px 24px;
background: #FFFFFF;
background: #ffffff;
border-radius: 16px;
.titleBox {
@ -101,7 +100,7 @@ page {
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #337FFF;
color: #337fff;
}
}
@ -112,13 +111,12 @@ page {
background: #000000;
opacity: 0.1;
}
}
.goodsBox {
margin-top: 24px;
overflow: hidden;
border-bottom: 8px solid #F7F7F7;
border-bottom: 8px solid #f7f7f7;
.goodsProduct {
font-size: 28px;
@ -146,7 +144,7 @@ page {
margin-right: 42px;
width: 108px;
height: 108px;
background: #322F2F;
// background: #322F2F;
border-radius: 8px;
}
@ -196,8 +194,6 @@ page {
}
}
}
}
.itemGoods:last-child {
@ -209,7 +205,7 @@ page {
margin-right: 42px;
width: 108px;
height: 108px;
background: #322F2F;
// background: #322F2F;
border-radius: 8px;
}
@ -259,8 +255,6 @@ page {
}
}
}
}
}
@ -279,7 +273,6 @@ page {
align-items: center;
.detailRight {
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
@ -291,11 +284,11 @@ page {
width: 65px;
height: 32px;
border-radius: 8px;
border: 1PX solid #337FFF;
border: 1px solid #337fff;
font-size: 24px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #337FFF;
color: #337fff;
text-align: center;
line-height: 32px;
}
@ -324,7 +317,7 @@ page {
.bottomBox {
width: 750px;
height: 160px;
background: #FFFFFF;
background: #ffffff;
display: flex;
// padding-top: 16px;
position: fixed;
@ -352,7 +345,7 @@ page {
font-size: 24px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #F64861;
color: #f64861;
}
}
@ -365,17 +358,16 @@ page {
}
}
.rightBottom {
margin-top: 16px;
width: 224px;
height: 80px;
background: #4581FF;
background: #4581ff;
border-radius: 40px;
font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
color: #ffffff;
text-align: center;
line-height: 80px;
margin-right: 24px;