Commit c8ab52ff by 李嘉林

优化

parent c7b9fa88
......@@ -28,7 +28,7 @@
<span>({{list.length}})</span>
</div>
<div class="list">
<div class="item" v-for="(item,index) in list" :key="index">
<div class="item" v-for="(item,index) in list" :key="index" :class="{'itemBorder':index!=list.length-1}">
<div class="img" @click="toGoodsInfo(item)">
<img :src="item.productImgUrl" alt />
</div>
......@@ -269,7 +269,6 @@ export default {
overflow-y: auto;
.item {
padding: 14px 4px;
border-bottom: 1px solid #eeeeed;
display: flex;
.img {
width: 100px;
......@@ -309,6 +308,9 @@ export default {
}
}
}
.itemBorder{
border-bottom: 1px solid #b8b8b8;
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment