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", withAlbums: "Albums",
artist: "Artist", artist: "Artist",
videos: "Music Videos", videos: "Music Videos",
following: "Following",
follow: "Follow"
}, },
album: { album: {
released: "Released", released: "Released",

View File

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

View File

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