feat: 精简登录页面

- 使用纯色背景替代背景图片 (#28273a)
- 隐藏第三方登录入口 (使用v-if保留逻辑)
- 修改底部 Copyright 为 NJCQ Tech

参考项目: otc-boot/plus-ui-ts
This commit is contained in:
2025-12-02 15:12:20 +08:00
parent 07f8ef90bb
commit 891bffba3b

View File

@@ -44,7 +44,7 @@
</div> </div>
</el-form-item> </el-form-item>
<el-checkbox v-model="loginForm.rememberMe" style="margin: 0 0 25px 0">{{ proxy.$t('login.rememberPassword') }}</el-checkbox> <el-checkbox v-model="loginForm.rememberMe" style="margin: 0 0 25px 0">{{ proxy.$t('login.rememberPassword') }}</el-checkbox>
<el-form-item style="float: right"> <el-form-item v-if="false" style="float: right">
<el-button circle :title="proxy.$t('login.social.wechat')" @click="doSocialLogin('wechat')"> <el-button circle :title="proxy.$t('login.social.wechat')" @click="doSocialLogin('wechat')">
<svg-icon icon-class="wechat" /> <svg-icon icon-class="wechat" />
</el-button> </el-button>
@@ -73,7 +73,7 @@
</el-form> </el-form>
<!-- 底部 --> <!-- 底部 -->
<div class="el-login-footer"> <div class="el-login-footer">
<span>Copyright © 2018-2025 疯狂的狮子Li All Rights Reserved.</span> <span>Copyright © 2021-2025 NJCQ Tech All Rights Reserved.</span>
</div> </div>
</div> </div>
</template> </template>
@@ -236,8 +236,9 @@ onMounted(() => {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 100%; height: 100%;
background-image: url('../assets/images/login-background.jpg'); // background-image: url('../assets/images/login-background.jpg');
background-size: cover; background-color: #28273a;
// background-size: cover;
} }
.title-box { .title-box {