perf: Reduce image load size by adjusting resolution (#1183)

* perf: Reduce image load size by adjusting resolution

* add missing
This commit is contained in:
pa
2025-03-13 05:14:05 +09:00
committed by GitHub
parent ef066bbe0e
commit f3c469e122
10 changed files with 75 additions and 34 deletions

View File

@@ -10,7 +10,7 @@
<el-popover placement="right" width="500px" trigger="click">
<img
slot="reference"
v-lazy="worldDialog.ref.thumbnailImageUrl"
:src="worldDialog.ref.thumbnailImageUrl"
class="x-link"
style="flex: none; width: 160px; height: 120px; border-radius: 12px" />
<img
@@ -392,7 +392,7 @@
@click="showUserDialog(room.$location.userId)">
<template v-if="room.$location.user">
<div class="avatar" :class="userStatusClass(room.$location.user)">
<img v-lazy="userImage(room.$location.user)" />
<img v-lazy="userImage(room.$location.user, true)" />
</div>
<div class="detail">
<span
@@ -412,7 +412,7 @@
class="x-friend-item x-friend-item-border"
@click="showUserDialog(user.id)">
<div class="avatar" :class="userStatusClass(user)">
<img v-lazy="userImage(user)" />
<img v-lazy="userImage(user, true)" />
</div>
<div class="detail">
<span