为 img 元素添加 v-lazy 指令,指令的值为图片的地址。同时需要设置图片在加载时的样式。 <ul> <li v-for="item in list"> <img v-lazy="item"> </li> ...
確定! 回上一頁