Commit a1f88142 by lijiabin

【需求 17679】 perf: 优化图片展示

parent 262f0bf7
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<!-- 图片区域 --> <!-- 图片区域 -->
<div v-show="item.faceUrl" class="relative flex-shrink-0 w-36 h-24"> <div v-show="item.faceUrl" class="relative flex-shrink-0 w-36 h-24">
<img <img
:src="item.faceUrl" :src="item.faceUrl + '?x-oss-process=image/format,webp'"
alt="文章配图" alt="文章配图"
class="w-full h-full object-cover rounded-lg sm:rounded-lg group-hover:scale-105 transition-transform duration-300" class="w-full h-full object-cover rounded-lg sm:rounded-lg group-hover:scale-105 transition-transform duration-300"
loading="lazy" loading="lazy"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment