!17 增加批发商品的标识

Merge pull request !17 from OceansDeep/dev-gl
master
OceansDeep 2022-05-27 10:28:17 +00:00 committed by Gitee
commit 66143deb0d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 32 additions and 2 deletions

View File

@ -122,7 +122,16 @@
"
/>
<div>
<p>{{ goods.goodsSku.goodsName }}</p>
<p>
{{ goods.goodsSku.goodsName }}
</p>
<p><Tag
v-if="goods.goodsSku.salesModel === 'WHOLESALE'"
class="goods-show-tag"
color="purple"
>
批发商品
</Tag></p>
<template
v-for="(promotion, promotionIndex) in goods.promotions"
>

View File

@ -62,6 +62,13 @@
</span>
</div>
<div class="goods-show-detail">
<Tag
v-if="item.content.salesModel === 'WHOLESALE'"
class="goods-show-tag"
color="purple"
>
批发
</Tag>
<span>{{ item.content.goodsName }}</span>
</div>
<div class="goods-show-num">
@ -85,7 +92,9 @@
</div>
<div
class="goods-show-middle"
v-else-if="goodsListType.content.goodsType == 'PHYSICAL_GOODS'"
v-else-if="
goodsListType.content.goodsType == 'PHYSICAL_GOODS'
"
>
实物
</div>
@ -203,6 +212,7 @@ export default {
this.params.pageSize = val;
this.getGoodsList();
},
//
getGoodsList() {
this.loading = true;
@ -255,6 +265,17 @@ export default {
padding: 0 3px;
background-color: #e23a3a;
}
.goods-show-tag {
height: 18px;
width: 32px;
line-height: 14px;
white-space: nowrap;
text-align: center;
align-items: center;
padding: 0 3px;
}
.goods-show-seller {
// padding:3px 0;
vertical-align: middle;