|
|
@@ -47,6 +47,7 @@
|
|
|
<tr v-for="commodity in commodities.content" @click="goBatchDetail(commodity.batchCode)">
|
|
|
<td class="brand-code">
|
|
|
<img class="sellout-store-commodity" v-if="commodity.status === 602" src="/images/search/sellout-search.png" alt="">
|
|
|
+ <img class="specific-price-tag" v-if="isSpecificPriceTag(commodity.tag) && isConsignment" src="/images/floor/specificPrice-store.png" alt="">
|
|
|
<div class="brand" v-if="commodity.brandNameEn || commodity.brandEn">
|
|
|
<a v-if="commodity.brandNameEn && commodity.branduuid" @click="goBrandDetail('/product/brand/' + commodity.branduuid, $event)" v-text="commodity.brandNameEn"></a>
|
|
|
<span v-if="commodity.brandNameEn && !commodity.branduuid" v-text="commodity.brandNameEn"></span>
|
|
|
@@ -220,9 +221,15 @@ export default {
|
|
|
},
|
|
|
tab () {
|
|
|
return this.$store.state.chat.tab.tab.data
|
|
|
+ },
|
|
|
+ isConsignment () {
|
|
|
+ return this.storeInfo.type === 'CONSIGNMENT'
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ isSpecificPriceTag: function (tag) {
|
|
|
+ return tag && tag.indexOf('特价') !== -1
|
|
|
+ },
|
|
|
handlerCurrentNode (data, node) {
|
|
|
this.searchCode = ''
|
|
|
if (this.parentKindId === data.id) {
|
|
|
@@ -555,6 +562,11 @@ export default {
|
|
|
position: absolute;
|
|
|
right: 0;
|
|
|
bottom: 0;
|
|
|
+ }
|
|
|
+ #goods-list-fragment .goodslist tbody>tr td.brand-code .specific-price-tag {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
}
|
|
|
#goods-list-fragment .goodslist td {
|
|
|
font-size: 12px;
|