issues上bug修改

This commit is contained in:
mabo
2021-07-01 16:02:12 +08:00
parent f7167912e7
commit 6887b6c624
8 changed files with 90 additions and 60 deletions

View File

@@ -111,7 +111,7 @@
<span class="inventory"> 库存{{skuDetail.quantity}}</span>
</div>
</div>
<div class="item-select" v-if="skuDetail.goodsType !== 'VIRTUAL_GOODS' || skuDetail.weight === 0">
<div class="item-select" v-if="skuDetail.goodsType !== 'VIRTUAL_GOODS' && skuDetail.weight !== 0">
<div class="item-select-title">
<p>重量</p>
</div>
@@ -267,7 +267,6 @@ export default {
},
formatSku (list) {
// 格式化数据
console.log(list);
let arr = [{}];
list.forEach((item, index) => {
@@ -304,7 +303,7 @@ export default {
});
arr.shift();
this.formatList = arr;
console.log(this.formatList);
let cur = list.filter((i) => i.skuId === this.$route.query.skuId)[0];
if (cur) {
cur.specValues.filter((i) => i.specName !== 'images')

View File

@@ -27,7 +27,7 @@ export default {
.model-content {
width: 1200px;
margin: 0 auto;
background: #fff;
// background: #fff;
min-height: 1200px;
}
</style>

View File

@@ -123,22 +123,7 @@ export default {
.model-item {
position: relative;
margin-bottom: 20px;
&:hover {
.del-btn {
display: block;
}
}
}
.del-btn {
width: 100px;
height: 100px;
display: none;
position: absolute;
right: -100px;
top: 0;
&:hover {
display: block;
}
background-color: #fff;
}
/** 热门广告 */

View File

@@ -94,6 +94,7 @@ export default {
width: 1200px;
height: 340px;
overflow: hidden;
margin-top: -20px;
}
/* 导航主体 */