mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 06:16:05 +02:00
perf: Reduce image load size by adjusting resolution (#1183)
* perf: Reduce image load size by adjusting resolution * add missing
This commit is contained in:
@@ -87,7 +87,7 @@ mixin notificationsTab
|
||||
el-popover(placement='right' width='500px' trigger='click')
|
||||
img.x-link(
|
||||
slot='reference'
|
||||
v-lazy='scope.row.details.imageUrl'
|
||||
:src='getSmallThumbnailUrl(scope.row.details.imageUrl)'
|
||||
style='flex: none; height: 50px; border-radius: 4px')
|
||||
img.x-link(
|
||||
v-lazy='scope.row.details.imageUrl'
|
||||
@@ -97,7 +97,7 @@ mixin notificationsTab
|
||||
el-popover(placement='right' width='500px' trigger='click')
|
||||
img.x-link(
|
||||
slot='reference'
|
||||
v-lazy='scope.row.imageUrl'
|
||||
:src='getSmallThumbnailUrl(scope.row.imageUrl)'
|
||||
style='flex: none; height: 50px; border-radius: 4px')
|
||||
img.x-link(
|
||||
v-lazy='scope.row.imageUrl'
|
||||
|
||||
@@ -24,7 +24,7 @@ mixin searchTab
|
||||
.x-friend-item(v-for='user in searchUserResults' :key='user.id' @click='showUserDialog(user.id)')
|
||||
template
|
||||
.avatar
|
||||
img(v-lazy='userImage(user)')
|
||||
img(v-lazy='userImage(user, true)')
|
||||
.detail
|
||||
span.name(v-text='user.displayName')
|
||||
span.extra(
|
||||
@@ -184,7 +184,7 @@ mixin searchTab
|
||||
@click='showGroupDialog(group.id)')
|
||||
template
|
||||
.avatar
|
||||
img(v-lazy='group.iconUrl')
|
||||
img(v-lazy='getSmallThumbnailUrl(group.iconUrl)')
|
||||
.detail
|
||||
span.name
|
||||
span(v-text='group.name')
|
||||
|
||||
Reference in New Issue
Block a user