🐛 fix: 修复立减金模板未展示到账个数

This commit is contained in:
wangsongsole 2023-12-21 17:37:36 +08:00
parent 6f925ac008
commit eac3bdc26a
4 changed files with 16 additions and 3 deletions

View File

@ -3,6 +3,12 @@
width: 0 !important
}
.send_num {
font-size: 16px;
margin-left: 5px;
color: #ee1920;
}
#reduceKnockGold {
position: fixed !important;
top: 130px !important;

View File

@ -30,7 +30,8 @@ export default ({ data }) => {
</div>
<div className="coupon-right">
<p className={data.batch_goods_name.length < 20 ? "title" : "isTitle"}>
{data.batch_goods_name ? data.batch_goods_name : "xxx"}
{data.batch_goods_name ? data.batch_goods_name : "立减金"}
{data.send_num > 1 ? <span className="send_num">x{data.send_num}</span> : null}
</p>
<p>
{data?.card_type.length > 0

View File

@ -26,7 +26,10 @@ export default ({ data }) => {
alt=""
/>
<div className="content">
<p className="title">{data.batch_goods_name || "云闪付立减金"}</p>
<p className="title">
{data.batch_goods_name || "云闪付立减金"}
{data.send_num > 1 ? <span className="send_num">x{data.send_num}</span> : null}
</p>
<div className="information">
<p className="money" style={{ fontSize: fonts().a }}>
{data.denomination ? parseFloat(data.denomination) : 100.1}元减

View File

@ -26,7 +26,10 @@ export default ({ data }) => {
alt=""
/>
<div className="content">
<p className="title">{data.batch_goods_name || "支付宝立减金"}</p>
<p className="title">
{data.batch_goods_name || "支付宝立减金"}
{data.send_num > 1 ? <span className="send_num">x{data.send_num}</span> : null}
</p>
<div className="information">
<p className="money" style={{ fontSize: fonts().a }}>
{data.denomination ? parseFloat(data.denomination) : 100.1}元减