Commit 719a98be authored by 张洋's avatar 张洋

修改样式

parent c7ed24ab
Pipeline #72456 passed with stage
......@@ -12,6 +12,7 @@
<li
v-for="(item, index) in data"
:key="'card_' + index"
:class="index==3||index==7?'shop_cards_li2':''"
>
<shop-card
:data="item"
......@@ -101,9 +102,13 @@ export default {
list-style: none;
}
.shop_cards > li {
width: calc((100% - 80px) / 4);
width: calc((100% - 60px) / 4);
display: block;
float: left;
margin: 10px 10px;
margin-bottom: 20px;
margin-right: 20px;
}
.shop_cards_li2 {
margin-right: 0px !important;
}
</style>
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