mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix season link (#3166)
This commit is contained in:
parent
1b1afd0484
commit
4a3e80fc7b
@ -82,7 +82,7 @@ export default Vue.extend({
|
||||
id: item.season_id,
|
||||
title: item.title,
|
||||
playCount: item.stat.view,
|
||||
points: item.pts,
|
||||
points: item.stat.follow,
|
||||
upHref: item.url,
|
||||
upName,
|
||||
dynamic: upName,
|
||||
|
||||
@ -41,12 +41,15 @@
|
||||
class="fresh-home-categories-bangumi-timeline-seasons"
|
||||
:class="{ today: index === todayIndex }"
|
||||
>
|
||||
<div
|
||||
<VEmpty v-if="item.seasons.length === 0" />
|
||||
<a
|
||||
v-for="season of item.seasons"
|
||||
:key="season.season_id"
|
||||
:data-season="season.season_id"
|
||||
class="fresh-home-categories-bangumi-timeline-season"
|
||||
:class="{ today: index === todayIndex }"
|
||||
target="_blank"
|
||||
:href="season.url"
|
||||
>
|
||||
<div
|
||||
class="fresh-home-categories-bangumi-timeline-season-cover"
|
||||
@ -91,7 +94,7 @@
|
||||
{{ season.pub_time }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -456,6 +459,7 @@ export default Vue.extend({
|
||||
img {
|
||||
width: var(--cover-size);
|
||||
height: var(--cover-size);
|
||||
transition: .2s ease-out;
|
||||
}
|
||||
&.follow {
|
||||
box-shadow: 0 0 0 2px var(--theme-color);
|
||||
@ -469,6 +473,7 @@ export default Vue.extend({
|
||||
}
|
||||
&-title {
|
||||
grid-area: title;
|
||||
transition: color .2s ease-out;
|
||||
@include semi-bold();
|
||||
@include single-line();
|
||||
&.today {
|
||||
@ -503,6 +508,13 @@ export default Vue.extend({
|
||||
}
|
||||
}
|
||||
|
||||
&:hover &-title {
|
||||
color: var(--theme-color) !important;
|
||||
}
|
||||
&:hover &-cover img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
&.today {
|
||||
width: var(--season-today-width);
|
||||
height: var(--timeline-today-height);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user