商品选择器显示零售商品批发商品

master
lemon橪 2022-06-17 18:50:30 +08:00
parent 92d58ea7e5
commit f930d73a6a
4 changed files with 7 additions and 5 deletions

View File

@ -23,6 +23,7 @@
<div class="wap-content-desc">
<div class="wap-content-desc-title">{{ item.goodsName }}</div>
<div class="wap-sku">{{ item.goodsUnit }}</div>
<div class="wap-sku"><Tag :color="item.salesModel === 'RETAIL' ? 'default' : 'geekblue'">{{item.salesModel === "RETAIL" ? "零售型" : "批发型"}}</Tag></div>
<div class="wap-content-desc-bottom">
<div>{{ item.price | unitPrice }}</div>
</div>
@ -54,6 +55,7 @@ export default {
categoryPath: "",
marketEnable: "UPPER",
authFlag: "PASS",
sort:"createTime"
},
category: [], //
goodsData: [], //

View File

@ -71,7 +71,7 @@
cursor: pointer;
display: flex;
height: 80px;
height: 100px;
padding: 2px;
overflow: hidden;
align-items: center;

View File

@ -24,6 +24,7 @@
<div class="wap-content-desc">
<div class="wap-content-desc-title">{{ item.goodsName }}</div>
<div class="wap-sku">{{ item.goodsUnit }}</div>
<div class="wap-sku"><Tag :color="item.salesModel === 'RETAIL' ? 'default' : 'geekblue'">{{item.salesModel === "RETAIL" ? "零售型" : "批发型"}}</Tag></div>
<div class="wap-content-desc-bottom">
<div>{{ item.price | unitPrice }}</div>
</div>
@ -65,6 +66,7 @@ export default {
categoryPath: "",
marketEnable: "UPPER",
authFlag: "PASS",
sort:"createTime"
},
category: [], //
goodsData: [], //
@ -244,9 +246,7 @@ export default {
margin: 10px 7px;
padding: 6px 0;
}
// .wap-content-item{
// }
.active {
background: url("../../assets/selected.png") no-repeat;
background-position: right;

View File

@ -65,7 +65,7 @@
cursor: pointer;
display: flex;
height: 80px;
height: 100px;
padding: 2px;
overflow: hidden;
align-items: center;