revert(listings): 首页卡片恢复使用原生 img 与公开缩略图链路 (16KB秒开)

This commit is contained in:
yml2213
2026-09-06 20:36:25 +08:00
parent ac909d6757
commit 823632b608
5 changed files with 19 additions and 74 deletions
@@ -53,7 +53,6 @@ import {
hasAcceleratedSaleRatio,
hasGiftResources,
isTopTierInsurance,
getCoinScreenshotURL,
getCoinWan,
formatHafCoinM,
readAssetString,
@@ -1046,13 +1045,12 @@ syncMobileHomeQuery()
<div class="mobile-card-body">
<!-- 左侧封面 -->
<div class="mobile-card-media">
<AuthImage
v-if="getCoinScreenshotURL(item)"
:source="getCoinScreenshotURL(item)"
<img
v-if="item.cover_url || item.screenshot_urls?.[0]"
:src="item.cover_url || item.screenshot_urls?.[0]"
:alt="formatListingCode(item)"
image-class="mobile-media-img"
fallback-class="mobile-media-fallback"
fit="cover"
loading="lazy"
decoding="async"
/>
<div v-else class="media-empty">HFB</div>