Merge pull request #55 from hawtim/master

feat: update locale and hide eps
This commit is contained in:
Hawtim Zhang 2020-10-28 13:32:49 +08:00 committed by GitHub
commit 453a378d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -35,6 +35,8 @@ export default {
withAlbums: "Albums",
artist: "Artist",
videos: "Music Videos",
following: "Following",
follow: "Follow"
},
album: {
released: "Released",

View File

@ -32,6 +32,8 @@ export default {
withAlbums: "张专辑",
artist: "歌手",
videos: "个MV",
following: "已关注",
follow: "关注"
},
album: {
released: "发行于",

View File

@ -17,8 +17,8 @@
{{ $t("play") }}
</ButtonTwoTone>
<ButtonTwoTone @click.native="followArtist" color="grey">
<span v-if="artist.followed">Following</span>
<span v-else>Follow</span>
<span v-if="artist.followed">{{ $t("artist.following") }}</span>
<span v-else>{{ $t("artist.follow") }}</span>
</ButtonTwoTone>
</div>
</div>
@ -84,7 +84,7 @@
<div class="section-title">MVs</div>
<MvRow :mvs="mvs" subtitle="publishTime" />
</div>
<div class="eps">
<div class="eps" v-if="eps.length !== 0">
<div class="section-title">{{ $t("artist.EPsSingles") }}</div>
<CoverRow
:type="'album'"
@ -305,7 +305,6 @@ export default {
font-weight: 600;
&:hover {
opacity: 1;
// background: var(--color-primary-bg);
}
}
}