Commit 346e86df by xuzhenghua

vip

parent 43675094
...@@ -409,7 +409,15 @@ class NewVip extends Component { ...@@ -409,7 +409,15 @@ class NewVip extends Component {
> >
<div className="type">{item.bag_name}</div> <div className="type">{item.bag_name}</div>
<div className='center'> <div className='center'>
<div className="discounts-reason">{item.discounts_reason}</div> {
item.discounts_reason === '首购特惠' &&
<div className="discounts-reason">{item.discounts_reason}</div>
}
{
item.discounts_reason !== '首购特惠' &&
<div className="discounts-reason discounts-reason2">{item.discounts_reason}</div>
}
<div className="price"> <div className="price">
¥ ¥
<span className={'new-price'}>{item.price1}</span> <span className={'new-price'}>{item.price1}</span>
......
...@@ -333,6 +333,10 @@ ...@@ -333,6 +333,10 @@
margin-right: 10px; margin-right: 10px;
} }
.discounts-reason2 {
background:rgba(255,155,5,1);
}
.price { .price {
color: #FF0002; color: #FF0002;
font-size: 12px; font-size: 12px;
......
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