|
13 | 13 | @scroll="scrollToBottom($event)" |
14 | 14 | :style="'height:' + listHeight + 'px; overflow: auto;margin-right: 14px;'" |
15 | 15 | > |
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"> |
17 | 17 | <a-grid-item |
18 | 18 | v-for="item in listData[activeKey]" |
19 | 19 | :key="item.vod_id" |
20 | 20 | class="video_list_hover" |
21 | 21 | > |
22 | | - <div style="margin: 10px" class="video_list_item"> |
| 22 | + <div class="video_list_item"> |
23 | 23 | <div class="video_list_item_img"> |
24 | 24 | <a-image |
25 | 25 | :preview="false" |
|
46 | 46 | @scroll="scrollToBottom($event)" |
47 | 47 | :style="'height:' + listHeight + 'px; overflow: auto;margin-right: 14px;'" |
48 | 48 | > |
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"> |
50 | 50 | <a-grid-item |
51 | 51 | v-for="item in listData[item.type_id]" |
52 | 52 | :key="item.vod_id" |
53 | 53 | class="video_list_hover" |
54 | 54 | > |
55 | | - <div style="margin: 10px" class="video_list_item"> |
| 55 | + <div class="video_list_item"> |
56 | 56 | <div class="video_list_item_img"> |
57 | 57 | <a-image |
58 | 58 | :preview="false" |
@@ -146,6 +146,7 @@ onMounted(() => { |
146 | 146 | box-shadow: 0 2px 12px 0 rgb(190, 190, 190); |
147 | 147 | border: 1px solid rgb(207, 207, 207); |
148 | 148 | border-radius: 8px; |
| 149 | + margin: 10px 10px 0 10px; |
149 | 150 | } |
150 | 151 | .video_list_hover { |
151 | 152 | cursor: pointer; |
|
0 commit comments