fix: bugs

This commit is contained in:
qier222 2021-05-18 15:54:51 +08:00
parent ad0c585371
commit 41a30a25c0
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
11 changed files with 315 additions and 33 deletions

View file

@ -323,8 +323,8 @@ export default {
margin-bottom: 26px;
color: var(--color-text);
img {
height: 192px;
width: 192px;
height: 248px;
width: 248px;
border-radius: 50%;
margin-right: 56px;
box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 16px -8px;
@ -364,7 +364,7 @@ export default {
margin-top: 24px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
-webkit-line-clamp: 2;
overflow: hidden;
cursor: pointer;
white-space: pre-line;

View file

@ -238,6 +238,7 @@ export default {
this.$router.push({ path: '/library/liked-songs' });
},
getRandomLyric() {
if (this.liked.songs.length === 0) return;
getLyric(
this.liked.songs[randomNum(0, this.liked.songs.length - 1)]
).then(data => {

View file

@ -283,7 +283,7 @@
</div>
</div>
<div class="item">
<div v-if="isElectron" class="item">
<div class="left">
<div class="title"> {{ $t('settings.showLibraryDefault') }}</div>
</div>