mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 09:20:11 +08:00
fix: bugs
This commit is contained in:
parent
3bbab6ba27
commit
849f67d335
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "YesPlayMusic",
|
||||
"name": "yesplaymusic",
|
||||
"version": "0.3.4",
|
||||
"private": true,
|
||||
"description": "A third party music application for Netease Music",
|
||||
"description": "A third party music player for Netease Music",
|
||||
"author": "hawtim<hawtimzhang@gmail.com>",
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
|
|
|
@ -160,6 +160,9 @@ export default {
|
|||
toGitHub() {
|
||||
window.open("https://github.com/qier222/YesPlayMusic");
|
||||
},
|
||||
toLogin() {
|
||||
this.$router.push({ name: "login" });
|
||||
},
|
||||
windowMinimize() {
|
||||
win.minimize();
|
||||
},
|
||||
|
|
|
@ -9,7 +9,6 @@ let localStorage = {
|
|||
musicQuality: 320000,
|
||||
lyricFontSize: 28,
|
||||
outputDevice: "default",
|
||||
showGithubIcon: true,
|
||||
showPlaylistsByAppleMusic: true,
|
||||
showUnavailableSongInGreyStyle: true,
|
||||
automaticallyCacheSongs: false,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div v-show="show">
|
||||
<div class="special-playlist">
|
||||
<div class="title gradient-red"> 每日歌曲推荐 </div>
|
||||
<div class="title gradient"> 每日歌曲推荐 </div>
|
||||
<div class="subtitle">根据你的音乐口味生成 · 每天6:00更新</div>
|
||||
</div>
|
||||
|
||||
|
@ -122,7 +122,8 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
.gradient-red {
|
||||
background-image: linear-gradient(213deg, #ff0844 0%, #ffb199 100%);
|
||||
|
||||
.gradient {
|
||||
background: linear-gradient(to left, #dd2476, #ff512f);
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -74,27 +74,6 @@
|
|||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item" v-if="isElectron">
|
||||
<div class="left">
|
||||
<div class="title"> {{ $t("settings.lyricFontSize.text") }} </div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<select v-model="lyricFontSize">
|
||||
<option value="14">
|
||||
{{ $t("settings.lyricFontSize.small") }} - 14px
|
||||
</option>
|
||||
<option value="22">
|
||||
{{ $t("settings.lyricFontSize.medium") }} - 22px
|
||||
</option>
|
||||
<option value="28">
|
||||
{{ $t("settings.lyricFontSize.large") }} - 28px
|
||||
</option>
|
||||
<option value="36">
|
||||
{{ $t("settings.lyricFontSize.xlarge") }} - 36px
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<div class="title"> {{ $t("settings.deviceSelector") }} </div>
|
||||
|
@ -181,6 +160,27 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<div class="title"> {{ $t("settings.lyricFontSize.text") }} </div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<select v-model="lyricFontSize">
|
||||
<option value="16">
|
||||
{{ $t("settings.lyricFontSize.small") }} - 16px
|
||||
</option>
|
||||
<option value="22">
|
||||
{{ $t("settings.lyricFontSize.medium") }} - 22px
|
||||
</option>
|
||||
<option value="28">
|
||||
{{ $t("settings.lyricFontSize.large") }} - 28px
|
||||
</option>
|
||||
<option value="36">
|
||||
{{ $t("settings.lyricFontSize.xlarge") }} - 36px
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item" v-if="isElectron && !isMac">
|
||||
<div class="left">
|
||||
<div class="title">{{ $t("settings.minimizeToTray") }}</div>
|
||||
|
@ -197,22 +197,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<div class="title"> {{ $t("settings.showGitHubIcon") }} </div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="toggle">
|
||||
<input
|
||||
type="checkbox"
|
||||
name="show-github-icon"
|
||||
id="show-github-icon"
|
||||
v-model="showGithubIcon"
|
||||
/>
|
||||
<label for="show-github-icon"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<div class="title">
|
||||
|
@ -392,18 +376,6 @@ export default {
|
|||
this.player.setOutputDevice();
|
||||
},
|
||||
},
|
||||
showGithubIcon: {
|
||||
get() {
|
||||
if (this.settings.showGithubIcon === undefined) return true;
|
||||
return this.settings.showGithubIcon;
|
||||
},
|
||||
set(value) {
|
||||
this.$store.commit("updateSettings", {
|
||||
key: "showGithubIcon",
|
||||
value,
|
||||
});
|
||||
},
|
||||
},
|
||||
showUnavailableSongInGreyStyle: {
|
||||
get() {
|
||||
return this.settings.showUnavailableSongInGreyStyle;
|
||||
|
|
Loading…
Reference in New Issue
Block a user