-
-
- {{ title }}
-
-
-
- {{ $t('common.view', { count: numFormatter(view) }, view) }}
- {{ $t('common.anime_follow_count', { count: numFormatter(follow) }, follow) }}
-
-
-
- {{ capsuleText }}
+
+
+
+ {{ bangumi.title }}
+
+
+
+ {{ $t('common.view', { count: numFormatter(bangumi.view) }, bangumi.view) }}
+ {{ $t('common.anime_follow_count', { count: numFormatter(bangumi.follow) }, bangumi.follow) }}
+
+
+
+ {{ bangumi.capsuleText }}
+
+
{{ bangumi.desc }}
-
{{ desc }}
-
-
+
+
+
diff --git a/src/components/LongCoverCard/LongCoverCardSkeleton.vue b/src/components/LongCoverCard/LongCoverCardSkeleton.vue
index d14970f3..8ea0c5a4 100644
--- a/src/components/LongCoverCard/LongCoverCardSkeleton.vue
+++ b/src/components/LongCoverCard/LongCoverCardSkeleton.vue
@@ -10,6 +10,7 @@ defineProps<{
display: horizontal ? 'flex' : 'block',
}"
gap-4
+ mb-6
>
-
-
@@ -161,26 +157,36 @@ function getPopularAnimeList() {
w="2xl:[calc(100%/6-1.5rem)] xl:[calc(100%/5-1.5rem)] lg:[calc(100%/4-1.5rem)] md:[calc(100%/3-1.5rem)] sm:[calc(100%/2-1.5rem)] [calc(100%-1.5rem)]"
last:w="2xl:1/6 xl:1/5 lg:1/4 md:1/3 sm:1/2 full"
shrink-0
- m="r-6"
+ mr-6 important-mb-0
last:pr-6
/>
@@ -212,7 +218,7 @@ function getPopularAnimeList() {
w="2xl:[calc(100%/6-1.5rem)] xl:[calc(100%/5-1.5rem)] lg:[calc(100%/4-1.5rem)] md:[calc(100%/3-1.5rem)] sm:[calc(100%/2-1.5rem)] [calc(100%-1.5rem)]"
last:w="2xl:1/6 xl:1/5 lg:1/4 md:1/3 sm:1/2 full"
shrink-0
- m="r-6"
+ mr-6 important-mb-0
last:pr-6
/>
@@ -222,14 +228,21 @@ function getPopularAnimeList() {
w="2xl:[calc(100%/6-1.5rem)] xl:[calc(100%/5-1.5rem)] lg:[calc(100%/4-1.5rem)] md:[calc(100%/3-1.5rem)] sm:[calc(100%/2-1.5rem)] [calc(100%-1.5rem)]"
last:w="2xl:1/6 xl:1/5 lg:1/4 md:1/3 sm:1/2 full"
shrink-0
- m="r-6"
+ mr-6 important-mb-0
last:pr-6
- :url="item.url"
- :cover="item.cover"
- :title="item.title"
- :desc="$t('anime.follow', { num: numFormatter(item.stat.series_follow) })"
- :capsule-text="item.rating.replace('分', '')"
- :rank="item.rank"
+ :bangumi="{
+ url: item.url,
+ cover: item.cover,
+ title: item.title,
+ desc: $t('anime.follow', { num: numFormatter(item.stat.series_follow) }),
+ capsuleText: item.rating.replace('分', ''),
+ rank: item.rank,
+ badge: {
+ text: item.badge_info.text || '',
+ bgColor: item.badge_info.bg_color || '',
+ bgColorDark: item.badge_info.bg_color_night || '',
+ },
+ }"
/>
@@ -255,14 +268,16 @@ function getPopularAnimeList() {
@@ -270,7 +285,6 @@ function getPopularAnimeList() {
diff --git a/src/contentScripts/views/Home/components/Ranking.vue b/src/contentScripts/views/Home/components/Ranking.vue
index a1c73805..05c07b4f 100644
--- a/src/contentScripts/views/Home/components/Ranking.vue
+++ b/src/contentScripts/views/Home/components/Ranking.vue
@@ -224,16 +224,22 @@ defineExpose({ initData })