mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
feat: 🌈🐈️
This commit is contained in:
parent
fda5f99c15
commit
d828ee79e9
4 changed files with 66 additions and 1 deletions
|
|
@ -106,6 +106,22 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<div class="title" style="transform: scaleX(-1)">🐈️ 🏳️🌈</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="toggle">
|
||||
<input
|
||||
type="checkbox"
|
||||
name="nyancat-style"
|
||||
id="nyancat-style"
|
||||
v-model="nyancatStyle"
|
||||
/>
|
||||
<label for="nyancat-style"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -174,6 +190,18 @@ export default {
|
|||
});
|
||||
},
|
||||
},
|
||||
nyancatStyle: {
|
||||
get() {
|
||||
if (this.settings.nyancatStyle === undefined) return false;
|
||||
return this.settings.nyancatStyle;
|
||||
},
|
||||
set(value) {
|
||||
this.$store.commit("updateSettings", {
|
||||
key: "nyancatStyle",
|
||||
value,
|
||||
});
|
||||
},
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
logout() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue