Commit c8ab52ff by 李嘉林

优化

parent c7b9fa88
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<span>({{list.length}})</span> <span>({{list.length}})</span>
</div> </div>
<div class="list"> <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)"> <div class="img" @click="toGoodsInfo(item)">
<img :src="item.productImgUrl" alt /> <img :src="item.productImgUrl" alt />
</div> </div>
...@@ -269,7 +269,6 @@ export default { ...@@ -269,7 +269,6 @@ export default {
overflow-y: auto; overflow-y: auto;
.item { .item {
padding: 14px 4px; padding: 14px 4px;
border-bottom: 1px solid #eeeeed;
display: flex; display: flex;
.img { .img {
width: 100px; width: 100px;
...@@ -309,6 +308,9 @@ export default { ...@@ -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