Commit d0c65621 authored by XieZhiXiong's avatar XieZhiXiong

feat: 添加适用商城溢出效果

parent 0b925212
......@@ -57,6 +57,10 @@
font-size: @font-size-sm * 2;
color: @error-color;
}
&-webs {
.textOverflow();
}
&-actions {
margin-top: @margin-xss;
......
......@@ -140,10 +140,12 @@ const CouponCard: React.FC<CouponCardProps> = (props: CouponCardProps) => {
券码:
{data.code}
</div>
<div className={styles['coupon-card-webs']}>
适用商城:
{data.shopList.map((item) => item.shopName).join('、')}
</div>
<Tooltip title={data.shopList.map((item) => item.shopName).join('、')}>
<div className={styles['coupon-card-webs']}>
适用商城:
{data.shopList.map((item) => item.shopName).join('、')}
</div>
</Tooltip>
</div>
<div className={styles['coupon-card-right']}>
<div className={styles['coupon-card-yuanWrap']}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment