revert(listings): 首页卡片恢复使用原生 img 与公开缩略图链路 (16KB秒开)
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user