Commit 0e2fc5ea by 李伟康

feat(home): 将图片资源从PNG格式转换为WebP格式

- 将活动封面图片从PNG转换为WebP格式以优化加载性能
- 将预习入口图标从PNG转换为WebP格式以提升图片质量
- 添加新的WebP格式预习入口图标文件到资源目录
1 parent aa117040
......@@ -79,7 +79,7 @@
<script>
import Entrance from '@/components/Entrance.vue'
const GOODS_COVER = require('@/assets/images/common/goods-activity-cover.png')
const GOODS_COVER = require('@/assets/images/common/goods-activity-cover.webp')
export default {
name: 'ActivityTime',
......
......@@ -18,7 +18,7 @@
v-if="goodsInfo.isMainPush == 1"
class="prelearn-entrance"
:style="prelearnButtonStyle"
:src="require('@/assets/images/common/icon-prestudy-entrance.png')"
:src="require('@/assets/images/common/icon-prestudy-entrance.webp')"
mode="aspectFit"
@click.stop="handlePrelearnClick"
/>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!