去除签到功能、邮箱和登录入口

This commit is contained in:
GiriNeko 2025-06-14 12:36:22 +08:00
parent 70ab357799
commit 708a1a8eb8
3 changed files with 3 additions and 6 deletions

View file

@ -7,7 +7,6 @@ import i18n from '@/locale';
import '@/assets/icons'; import '@/assets/icons';
import '@/utils/filters'; import '@/utils/filters';
import './registerServiceWorker'; import './registerServiceWorker';
import { dailyTask } from '@/utils/common';
import '@/assets/css/global.scss'; import '@/assets/css/global.scss';
import NProgress from 'nprogress'; import NProgress from 'nprogress';
import '@/assets/css/nprogress.css'; import '@/assets/css/nprogress.css';
@ -38,7 +37,6 @@ Vue.use(
Vue.config.productionTip = false; Vue.config.productionTip = false;
NProgress.configure({ showSpinner: false, trickleSpeed: 100 }); NProgress.configure({ showSpinner: false, trickleSpeed: 100 });
dailyTask();
new Vue({ new Vue({
i18n, i18n,

View file

@ -215,7 +215,7 @@
<script> <script>
import { mapActions, mapMutations, mapState } from 'vuex'; import { mapActions, mapMutations, mapState } from 'vuex';
import { randomNum, dailyTask } from '@/utils/common'; import { randomNum } from '@/utils/common';
import { isAccountLoggedIn } from '@/utils/auth'; import { isAccountLoggedIn } from '@/utils/auth';
import { uploadSong } from '@/api/user'; import { uploadSong } from '@/api/user';
import { getLyric } from '@/api/track'; import { getLyric } from '@/api/track';
@ -310,7 +310,6 @@ export default {
activated() { activated() {
this.$parent.$refs.scrollbar.restorePosition(); this.$parent.$refs.scrollbar.restorePosition();
this.loadData(); this.loadData();
dailyTask();
}, },
methods: { methods: {
...mapActions(['showToast']), ...mapActions(['showToast']),

View file

@ -90,14 +90,14 @@
</button> </button>
</div> </div>
<div class="other-login"> <div class="other-login">
<a v-show="mode !== 'email'" @click="changeMode('email')">{{ <!-- <a v-show="mode !== 'email'" @click="changeMode('email')">{{
$t('login.loginWithEmail') $t('login.loginWithEmail')
}}</a> }}</a>
<span v-show="mode === 'qrCode'">|</span> <span v-show="mode === 'qrCode'">|</span>
<a v-show="mode !== 'phone'" @click="changeMode('phone')">{{ <a v-show="mode !== 'phone'" @click="changeMode('phone')">{{
$t('login.loginWithPhone') $t('login.loginWithPhone')
}}</a> }}</a>
<span v-show="mode !== 'qrCode'">|</span> <span v-show="mode !== 'qrCode'">|</span> -->
<a v-show="mode !== 'qrCode'" @click="changeMode('qrCode')"> <a v-show="mode !== 'qrCode'" @click="changeMode('qrCode')">
二维码登录 二维码登录
</a> </a>