...
|
...
|
@@ -11,6 +11,9 @@ |
|
|
<h2 class="card-label">
|
|
|
<a href="{{item | goodsUrl}}" class="line-clamp-2">{{item.product_name}}</a>
|
|
|
</h2>
|
|
|
<h2 class="card-label-desc" v-if="item.product_name1">
|
|
|
<a href="{{item | goodsUrl}}" class="line-clamp-2">{{item.product_name}}</a>
|
|
|
</h2>
|
|
|
<span class="good-price" :class="{'old-price': item.market_price}" v-if="item.market_price">¥ {{item.market_price | toFixed}}</span>
|
|
|
<span class="good-price" :class="{'sale-price': item.market_price}">¥ {{item.sales_price | toFixed}}</span>
|
|
|
</div>
|
...
|
...
|
@@ -115,6 +118,18 @@ |
|
|
height: 67.1999999999px;
|
|
|
font-weight: normal;
|
|
|
}
|
|
|
|
|
|
.card-label-desc {
|
|
|
margin: 0 0 14px;
|
|
|
font-size: 20px;
|
|
|
line-height: 1.4;
|
|
|
height: 67.1999999999px;
|
|
|
font-weight: normal;
|
|
|
|
|
|
a {
|
|
|
color: #888;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.good-price {
|
...
|
...
|
|