Skip to content

Commit

Permalink
fix: 文章列表标签栏颜色太亮
Browse files Browse the repository at this point in the history
  • Loading branch information
Plumbiu committed Feb 9, 2023
1 parent cbb410f commit a87c728
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/components/ArticlesList/Navigation/Link.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
<NuxtLink
to="?"
:class="`${
$route.query.sort ? 'text-jj-navs-item-normal' : 'text-link'
$route.query.sort ? 'text-gray-500' : 'text-link'
} br text_style pl-0`"
>
推荐
</NuxtLink>
<NuxtLink
to="?sort=newest"
:class="`${
$route.query.sort === 'newest' ? 'text-link' : 'text-jj-navs-item-normal'
$route.query.sort === 'newest' ? 'text-link' : 'text-gray-500'
} br text_style`"
>
最新
</NuxtLink>
<NuxtLink
to="?sort=three_days_hottest"
:class="`${
($route.query.sort && $route.query.sort?.indexOf('hottest') !== -1) ? 'text-link' : 'text-jj-navs-item-normal'
($route.query.sort && $route.query.sort?.indexOf('hottest') !== -1) ? 'text-link' : 'text-gray-500'
} text_style`"
>
热榜
Expand Down

0 comments on commit a87c728

Please sign in to comment.