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

修改样式

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