mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
fix(electron): update electron login page
This commit is contained in:
parent
f68ae5c078
commit
95aa6e176c
4 changed files with 20 additions and 5 deletions
|
|
@ -79,7 +79,10 @@
|
|||
$t("login.loginWithPhone")
|
||||
}}</a>
|
||||
</div>
|
||||
<div class="notice" v-html="$t('login.notice')"></div>
|
||||
<div
|
||||
class="notice"
|
||||
v-html="isElectron ? $t('login.noticeElectron') : $t('login.notice')"
|
||||
></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -104,6 +107,11 @@ export default {
|
|||
inputFocus: "",
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
isElectron() {
|
||||
return process.env.IS_ELECTRON;
|
||||
},
|
||||
},
|
||||
created() {
|
||||
if (this.$route.query.mode === "phone") {
|
||||
this.mode = "phone";
|
||||
|
|
@ -197,6 +205,7 @@ export default {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: calc(100vh - 192px);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue