library懒加载
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
<my-list v-model:loading="loading" v-model:finish="finish" @load="onLoad">
|
||||
<div class="item" v-for="(v, i) in list" :key="v.visitRecordId">
|
||||
<div class="image">
|
||||
<img :src="v.defaultImageUrl" />
|
||||
<img v-lazy="v.defaultImageUrl" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<!-- <span class="userID">User ID: {{ v.userID }}</span> -->
|
||||
@@ -155,6 +155,7 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
> .content {
|
||||
|
||||
Reference in New Issue
Block a user