Commit f53a7bdb83b37ce0fbb16dc8f1391d498b13934a
1 parent
884bd8c8
图片懒加载
Showing
1 changed file
with
1 additions
and
0 deletions
src/components/palaceGrid/palaceGrid.vue
| @@ -8,6 +8,7 @@ | @@ -8,6 +8,7 @@ | ||
| 8 | v-if="index<9" | 8 | v-if="index<9" |
| 9 | class="img" | 9 | class="img" |
| 10 | fit="cover" | 10 | fit="cover" |
| 11 | + lazy-load | ||
| 11 | :src="item.img || item" | 12 | :src="item.img || item" |
| 12 | /> | 13 | /> |
| 13 | <div v-if="grids.list.length>9 && index == 8" class="title">共{{grids.list.length}}张</div> | 14 | <div v-if="grids.list.length>9 && index == 8" class="title">共{{grids.list.length}}张</div> |