Skip to content

Commit e3f0271

Browse files
authored
Update VideoList.vue 样式调整
1 parent 0815e4d commit e3f0271

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

dashboard/src/components/VideoList.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
@scroll="scrollToBottom($event)"
1414
:style="'height:' + listHeight + 'px; overflow: auto;margin-right: 14px;'"
1515
>
16-
<a-grid :cols="{ xs: 1, sm: 2, md: 3, lg: 4, xl: 5, xxl: 6 }" :rowGap="20">
16+
<a-grid :cols="{ xs: 1, sm: 2, md: 3, lg: 4, xl: 5, xxl: 6 }" :rowGap="10">
1717
<a-grid-item
1818
v-for="item in listData[activeKey]"
1919
:key="item.vod_id"
2020
class="video_list_hover"
2121
>
22-
<div style="margin: 10px" class="video_list_item">
22+
<div class="video_list_item">
2323
<div class="video_list_item_img">
2424
<a-image
2525
:preview="false"
@@ -46,13 +46,13 @@
4646
@scroll="scrollToBottom($event)"
4747
:style="'height:' + listHeight + 'px; overflow: auto;margin-right: 14px;'"
4848
>
49-
<a-grid :cols="{ xs: 1, sm: 2, md: 3, lg: 4, xl: 5, xxl: 6 }" :rowGap="20">
49+
<a-grid :cols="{ xs: 1, sm: 2, md: 3, lg: 4, xl: 5, xxl: 6 }" :rowGap="10">
5050
<a-grid-item
5151
v-for="item in listData[item.type_id]"
5252
:key="item.vod_id"
5353
class="video_list_hover"
5454
>
55-
<div style="margin: 10px" class="video_list_item">
55+
<div class="video_list_item">
5656
<div class="video_list_item_img">
5757
<a-image
5858
:preview="false"
@@ -146,6 +146,7 @@ onMounted(() => {
146146
box-shadow: 0 2px 12px 0 rgb(190, 190, 190);
147147
border: 1px solid rgb(207, 207, 207);
148148
border-radius: 8px;
149+
margin: 10px 10px 0 10px;
149150
}
150151
.video_list_hover {
151152
cursor: pointer;

0 commit comments

Comments
 (0)