feat: 🌈🐈

This commit is contained in:
qier222 2020-10-30 14:58:56 +08:00
parent fda5f99c15
commit d828ee79e9
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
4 changed files with 66 additions and 1 deletions

View file

@ -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() {