|
|
@@ -1,203 +1,323 @@
|
|
|
<template>
|
|
|
<div class="login_bg">
|
|
|
- <div class="login_adv" style="background-image: url(img/auth_banner.jpg);">
|
|
|
- <div class="login_adv__title">
|
|
|
- <h2>SCUI</h2>
|
|
|
- <h4>{{ $t('login.slogan') }}</h4>
|
|
|
- <p>{{ $t('login.describe') }}</p>
|
|
|
- <div>
|
|
|
- <span>
|
|
|
- <el-icon><sc-icon-vue /></el-icon>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- <el-icon class="add"><el-icon-plus /></el-icon>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- <el-icon><el-icon-eleme-filled /></el-icon>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="login_adv__mask"></div>
|
|
|
- <div class="login_adv__bottom">
|
|
|
- © {{$CONFIG.APP_NAME}} {{$CONFIG.APP_VER}}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="login_main">
|
|
|
- <div class="login_config">
|
|
|
- <el-button :icon="config.dark?'el-icon-sunny':'el-icon-moon'" circle type="info" @click="configDark"></el-button>
|
|
|
- <el-dropdown trigger="click" placement="bottom-end" @command="configLang">
|
|
|
- <el-button circle>
|
|
|
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"><path d="M478.33 433.6l-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362L368 281.65L401.17 362z" fill="currentColor"></path><path d="M267.84 342.92a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73c39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36c-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93c.92 1.19 1.83 2.35 2.74 3.51c-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59c22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z" fill="currentColor"></path></svg>
|
|
|
- </el-button>
|
|
|
- <template #dropdown>
|
|
|
- <el-dropdown-menu>
|
|
|
- <el-dropdown-item v-for="item in lang" :key="item.value" :command="item" :class="{'selected':config.lang==item.value}">{{item.name}}</el-dropdown-item>
|
|
|
- </el-dropdown-menu>
|
|
|
- </template>
|
|
|
- </el-dropdown>
|
|
|
- </div>
|
|
|
- <div class="login-form">
|
|
|
- <div class="login-header">
|
|
|
- <div class="logo">
|
|
|
- <img :alt="$CONFIG.APP_NAME" src="img/logo.png">
|
|
|
- <label>{{$CONFIG.APP_NAME}}</label>
|
|
|
+ <main class="login-main">
|
|
|
+ <section class="login-form">
|
|
|
+ <div class="form-container">
|
|
|
+ <div class="login-for">
|
|
|
+ <div class="tab-menu">
|
|
|
+ <div :class="tabMenu==1?'tab-item active':'tab-item'" @click="menuType(1)">{{ $t('login.accountLogin') }}</div>
|
|
|
+ <div class="line"></div>
|
|
|
+ <div :class="tabMenu==2?'tab-item active':'tab-item'" @click="menuType(2)">{{ $t('login.mobileLogin') }}</div>
|
|
|
+ </div>
|
|
|
+ <phoneForm :baseData="baseData" @success="handleSuccess" v-if="tabMenu==2"></phoneForm>
|
|
|
+ <passwordForm :baseData="baseData" @success="handleSuccess" v-if="tabMenu==1"></passwordForm>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-tabs>
|
|
|
- <el-tab-pane :label="$t('login.accountLogin')" lazy>
|
|
|
- <password-form></password-form>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane :label="$t('login.mobileLogin')" lazy>
|
|
|
- <phone-form></phone-form>
|
|
|
- </el-tab-pane>
|
|
|
- </el-tabs>
|
|
|
- <template v-if="$CONFIG.MY_SHOW_LOGIN_OAUTH">
|
|
|
- <el-divider>{{ $t('login.signInOther') }}</el-divider>
|
|
|
- <div class="login-oauth">
|
|
|
- <el-button type="success" icon="sc-icon-wechat" circle @click="wechatLogin"></el-button>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </section>
|
|
|
+ </main>
|
|
|
+ <footer class="login-footer">
|
|
|
+ {{ baseData.copyright }} <span v-html="baseData.miitbeian"></span> <span v-html="baseData.beian"></span>
|
|
|
+ </footer>
|
|
|
</div>
|
|
|
- <el-dialog v-model="showWechatLogin" :title="$t('login.wechatLoginTitle')" :width="400" destroy-on-close>
|
|
|
- <div class="qrCodeLogin">
|
|
|
- <sc-qr-code class="qrCode" :text="WechatLoginCode" :size="200"></sc-qr-code>
|
|
|
- <p class="msg">{{$tc('login.wechatLoginMsg', 1)}}<br/>{{$tc('login.wechatLoginMsg', 2)}}</p>
|
|
|
- <div class="qrCodeLogin-result" v-if="isWechatLoginResult">
|
|
|
- <el-result icon="success" :title="$tc('login.wechatLoginResult', 1)" :sub-title="$tc('login.wechatLoginResult', 2)"></el-result>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </el-dialog>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import passwordForm from './components/passwordForm'
|
|
|
- import phoneForm from './components/phoneForm'
|
|
|
-
|
|
|
- export default {
|
|
|
- components: {
|
|
|
- passwordForm,
|
|
|
- phoneForm
|
|
|
- },
|
|
|
- data() {
|
|
|
- return {
|
|
|
- config: {
|
|
|
- lang: this.$TOOL.data.get('APP_LANG') || this.$CONFIG.LANG,
|
|
|
- dark: this.$TOOL.data.get('APP_DARK') || false
|
|
|
- },
|
|
|
- lang: [
|
|
|
- {
|
|
|
- name: '简体中文',
|
|
|
- value: 'zh-cn',
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'English',
|
|
|
- value: 'en',
|
|
|
- }
|
|
|
- ],
|
|
|
- WechatLoginCode: "",
|
|
|
- showWechatLogin: false,
|
|
|
- isWechatLoginResult: false
|
|
|
- }
|
|
|
+import passwordForm from './components/passwd'
|
|
|
+import phoneForm from './components/mobile'
|
|
|
+export default {
|
|
|
+ components: {
|
|
|
+ passwordForm,
|
|
|
+ phoneForm
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ form: {},
|
|
|
+ islogin: false,
|
|
|
+ isShow: false,
|
|
|
+ code: null,
|
|
|
+ baseData: {},
|
|
|
+ loginType:"zh",
|
|
|
+ tabMenu:1
|
|
|
+ }
|
|
|
+ },
|
|
|
+ created: function () {
|
|
|
+ this.$TOOL.cookie.remove("AGENT_TOKEN")
|
|
|
+ this.$TOOL.data.remove("AGENT_USER_INFO")
|
|
|
+ this.$TOOL.data.remove("AGENT_MENU")
|
|
|
+ this.$TOOL.data.remove("AGENT_PERMISSIONS")
|
|
|
+ this.$TOOL.data.remove("AGENT_DASHBOARDGRID")
|
|
|
+ this.$TOOL.data.remove("AGENT_grid")
|
|
|
+ this.$store.commit("clearViewTags")
|
|
|
+ this.$store.commit("clearKeepLive")
|
|
|
+ this.$store.commit("clearIframeList")
|
|
|
+ // this.getService();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ menuType(type){
|
|
|
+ this.tabMenu = type;
|
|
|
},
|
|
|
- watch:{
|
|
|
- 'config.dark'(val){
|
|
|
- if(val){
|
|
|
- document.documentElement.classList.add("dark")
|
|
|
- this.$TOOL.data.set("APP_DARK", val)
|
|
|
- }else{
|
|
|
- document.documentElement.classList.remove("dark")
|
|
|
- this.$TOOL.data.remove("APP_DARK")
|
|
|
- }
|
|
|
- },
|
|
|
- 'config.lang'(val){
|
|
|
- this.$i18n.locale = val
|
|
|
- this.$TOOL.data.set("APP_LANG", val)
|
|
|
+ loginChange(){
|
|
|
+ if (this.loginType == 'fs')
|
|
|
+ {
|
|
|
+ this.loginType = 'zh';
|
|
|
+ } else {
|
|
|
+ this.loginType = 'fs';
|
|
|
}
|
|
|
},
|
|
|
- created: function() {
|
|
|
- this.$TOOL.cookie.remove("TOKEN")
|
|
|
- this.$TOOL.data.remove("USER_INFO")
|
|
|
- this.$TOOL.data.remove("MENU")
|
|
|
- this.$TOOL.data.remove("PERMISSIONS")
|
|
|
- this.$TOOL.data.remove("DASHBOARDGRID")
|
|
|
- this.$TOOL.data.remove("grid")
|
|
|
- this.$store.commit("clearViewTags")
|
|
|
- this.$store.commit("clearKeepLive")
|
|
|
- this.$store.commit("clearIframeList")
|
|
|
- console.log('%c SCUI %c Gitee: https://gitee.com/lolicode/scui', 'background:#666;color:#fff;border-radius:3px;', '')
|
|
|
+ handleSuccess(){
|
|
|
+ this.islogin = true;
|
|
|
},
|
|
|
- methods: {
|
|
|
- configDark(){
|
|
|
- this.config.dark = this.config.dark ? false : true
|
|
|
- },
|
|
|
- configLang(command){
|
|
|
- this.config.lang = command.value
|
|
|
- },
|
|
|
- wechatLogin(){
|
|
|
- this.showWechatLogin = true
|
|
|
- this.WechatLoginCode = "SCUI-823677237287236-" + new Date().getTime()
|
|
|
- this.isWechatLoginResult = false
|
|
|
- setTimeout(()=>{
|
|
|
- this.isWechatLoginResult = true
|
|
|
- },3000)
|
|
|
+ async getService() {
|
|
|
+ var resp = await this.$API.auth.service.get();
|
|
|
+ if (resp.code == 0) {
|
|
|
+ return this.$message.warning(resp.msg)
|
|
|
}
|
|
|
- }
|
|
|
+ this.$TOOL.data.set("AGENT_SERVICE", resp.data)
|
|
|
+ this.baseData = resp.data;
|
|
|
+ },
|
|
|
}
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
- .login_bg {width: 100%;height: 100%;background: #fff;display: flex;}
|
|
|
- .login_adv {width: 33.33333%;background-color: #555;background-size: cover;background-position: center center;background-repeat: no-repeat;position: relative;}
|
|
|
- .login_adv__title {color: #fff;padding: 40px;position: absolute;top:0px;left:0px;right: 0px;z-index: 2;}
|
|
|
- .login_adv__title h2 {font-size: 40px;}
|
|
|
- .login_adv__title h4 {font-size: 18px;margin-top: 10px;font-weight: normal;}
|
|
|
- .login_adv__title p {font-size: 14px;margin-top:10px;line-height: 1.8;color: rgba(255,255,255,0.6);}
|
|
|
- .login_adv__title div {margin-top: 10px;display: flex;align-items: center;}
|
|
|
- .login_adv__title div span {margin-right: 15px;}
|
|
|
- .login_adv__title div i {font-size: 40px;}
|
|
|
- .login_adv__title div i.add {font-size: 20px;color: rgba(255,255,255,0.6);}
|
|
|
- .login_adv__bottom {position: absolute;left:0px;right: 0px;bottom: 0px;color: #fff;padding: 40px;background-image:linear-gradient(transparent, #000);z-index: 3;}
|
|
|
- .login_adv__mask {position: absolute;top:0px;left:0px;right: 0px;bottom: 0px;background: rgba(0,0,0,0.5);z-index: 1;}
|
|
|
-
|
|
|
- .login_main {flex: 1;overflow: auto;display:flex;}
|
|
|
- .login-form {width: 400px;margin: auto;padding:20px 0;}
|
|
|
- .login-header {margin-bottom: 40px;}
|
|
|
- .login-header .logo {display: flex;align-items: center;}
|
|
|
- .login-header .logo img {width: 40px;height: 40px;vertical-align: bottom;margin-right: 10px;}
|
|
|
- .login-header .logo label {font-size: 26px;font-weight: bold;}
|
|
|
- .login-oauth {display: flex;justify-content:space-around;}
|
|
|
- .login-form .el-divider {margin-top:40px;}
|
|
|
-
|
|
|
- .login-form {}
|
|
|
- .login-form:deep(.el-tabs) .el-tabs__header {margin-bottom: 25px;}
|
|
|
- .login-form:deep(.el-tabs) .el-tabs__header .el-tabs__item {font-size: 14px;}
|
|
|
-
|
|
|
- .login-form:deep(.login-forgot) {text-align: right;}
|
|
|
- .login-form:deep(.login-forgot) a {color: var(--el-color-primary);}
|
|
|
- .login-form:deep(.login-forgot) a:hover {color: var(--el-color-primary-light-3);}
|
|
|
- .login-form:deep(.login-reg) {font-size: 14px;color: var(--el-text-color-primary);}
|
|
|
- .login-form:deep(.login-reg) a {color: var(--el-color-primary);}
|
|
|
- .login-form:deep(.login-reg) a:hover {color: var(--el-color-primary-light-3);}
|
|
|
-
|
|
|
- .login_config {position: absolute;top:20px;right: 20px;}
|
|
|
-
|
|
|
- .login-form:deep(.login-msg-yzm) {display: flex;width: 100%;}
|
|
|
- .login-form:deep(.login-msg-yzm) .el-button {margin-left: 10px;--el-button-size:42px;}
|
|
|
-
|
|
|
- .qrCodeLogin {text-align: center;position: relative;padding: 20px 0;}
|
|
|
- .qrCodeLogin img.qrCode {background: #fff;padding:20px;border-radius:10px;}
|
|
|
- .qrCodeLogin p.msg {margin-top: 15px;}
|
|
|
- .qrCodeLogin .qrCodeLogin-result {position: absolute;top:0;left:0;right: 0;bottom: 0;text-align: center;background: var(--el-mask-color);}
|
|
|
-
|
|
|
- @media (max-width: 1200px){
|
|
|
- .login-form {width: 340px;}
|
|
|
- }
|
|
|
- @media (max-width: 1000px){
|
|
|
- .login_main {display: block;}
|
|
|
- .login_main .login_config {position: static;padding:20px 20px 0 20px;text-align: right;}
|
|
|
- .login-form {width:100%;padding:20px 40px;}
|
|
|
- .login_adv {display: none;}
|
|
|
+.privacy {
|
|
|
+ color: #333;
|
|
|
+}
|
|
|
+.tab-menu{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #b6babf;
|
|
|
+ margin-bottom: 30px;
|
|
|
+}
|
|
|
+.tab-menu .line{width: 1px;background-color: #b6babf;margin: 0 15px;height: 20px;}
|
|
|
+.tab-menu .tab-item {cursor: pointer;}
|
|
|
+.tab-menu .tab-item.active{color: #000;font-weight: bold;}
|
|
|
+.showPrivacy {
|
|
|
+ max-height: 500px;
|
|
|
+ overflow: hidden;
|
|
|
+ overflow-y: scroll;
|
|
|
+ line-height: 1.5;
|
|
|
+}
|
|
|
+.privacy span {
|
|
|
+ color: #f00;
|
|
|
+}
|
|
|
+
|
|
|
+.right-tips {
|
|
|
+ width: 143px;
|
|
|
+ height: 37px;
|
|
|
+ position: absolute;
|
|
|
+ top: -42px;
|
|
|
+ right: 0;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #2475FC;
|
|
|
+ line-height: 30px;
|
|
|
+ padding-left: 14px;
|
|
|
+}
|
|
|
+
|
|
|
+.right-tips img {
|
|
|
+ vertical-align: middle;
|
|
|
+ margin-right: 5px;
|
|
|
+ width: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.login-header-tips {
|
|
|
+ margin-bottom: 30px;
|
|
|
+ font-family: var(--font-family);
|
|
|
+}
|
|
|
+
|
|
|
+.login-header-tips h3 {
|
|
|
+ font-size: 28px;
|
|
|
+ color: #333;
|
|
|
+}
|
|
|
+
|
|
|
+.login-header-tips p {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #959595;
|
|
|
+ line-height: 32px;
|
|
|
+}
|
|
|
+
|
|
|
+.loading-box {
|
|
|
+ display: flex;
|
|
|
+ height: 230px;
|
|
|
+}
|
|
|
+
|
|
|
+.login-forgot {
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
+
|
|
|
+.oauth-logo {
|
|
|
+ width: 100px;
|
|
|
+ height: 100px;
|
|
|
+ text-align: center;
|
|
|
+ border: 1px solid var(--el-color-primary-light-2);
|
|
|
+ border-radius: 100%;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ margin: 0 auto;
|
|
|
+}
|
|
|
+
|
|
|
+.oauth-text {
|
|
|
+ margin: 20px auto;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 14px;
|
|
|
+ color: var(--el-color-primary-light-3);
|
|
|
+}
|
|
|
+
|
|
|
+.el-button--large {
|
|
|
+ --el-button-size: 50px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+}
|
|
|
+
|
|
|
+.login-footer {
|
|
|
+ text-align: center;
|
|
|
+ color: #9598a6;
|
|
|
+ font-size: 12px;
|
|
|
+ line-height: 60px;
|
|
|
+}
|
|
|
+
|
|
|
+.right-qrcode-bg {
|
|
|
+ position: absolute;
|
|
|
+ right: -1px;
|
|
|
+ top: -1px;
|
|
|
+ width: 90px;
|
|
|
+ height: 90px;
|
|
|
+ border-radius: 0 10px 0 0;
|
|
|
+ border-color: #f2f7ff #f2f7ff #fff #fff;
|
|
|
+ border-style: solid;
|
|
|
+ border-width: 50px;
|
|
|
+ -webkit-box-sizing: border-box;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+
|
|
|
+.right-qrcode-user:hover {
|
|
|
+ background-image: url(https://blue-order.oss-cn-guangzhou.aliyuncs.com/account_hover2.png);
|
|
|
+}
|
|
|
+
|
|
|
+.right-qrcode-user {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ width: 101px;
|
|
|
+ height: 101px;
|
|
|
+ display: block;
|
|
|
+ background: url(https://blue-order.oss-cn-guangzhou.aliyuncs.com/account_2.png) no-repeat 50%;
|
|
|
+ background-size: 90px;
|
|
|
+ cursor: pointer;
|
|
|
+ z-index: 9;
|
|
|
+}
|
|
|
+
|
|
|
+.right-qrcode:hover {
|
|
|
+ background-image: url(https://blue-order.oss-cn-guangzhou.aliyuncs.com/qrcode_hover2.png);
|
|
|
+}
|
|
|
+
|
|
|
+.right-qrcode {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ width: 101px;
|
|
|
+ height: 101px;
|
|
|
+ display: block;
|
|
|
+ background: url(https://blue-order.oss-cn-guangzhou.aliyuncs.com/qrcode2.png) no-repeat 50%;
|
|
|
+ background-size: 90px;
|
|
|
+ cursor: pointer;
|
|
|
+ z-index: 9;
|
|
|
+}
|
|
|
+
|
|
|
+.el-form-item__label {
|
|
|
+ color: #1e2226 !important;
|
|
|
+ font-weight: 600 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.login-main {
|
|
|
+ flex: 1;
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.login-form {
|
|
|
+ display: flex;
|
|
|
+ position: relative;
|
|
|
+ justify-content: center;
|
|
|
+ flex: 1;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.login-form .logo {
|
|
|
+ align-items: center;
|
|
|
+ display: flex;
|
|
|
+ font-family: var(--font-family);
|
|
|
+ margin-bottom: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.login-form .logo img {
|
|
|
+ height: 60px;
|
|
|
+ margin: 0 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.login-form .logo label {
|
|
|
+ font-size: 26px;
|
|
|
+ color: #333;
|
|
|
+}
|
|
|
+
|
|
|
+.login-form h3 {
|
|
|
+ line-height: 28px;
|
|
|
+ margin-top: 12px;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #1e2226;
|
|
|
+ cursor: pointer;
|
|
|
+ font-weight: 600;
|
|
|
+}
|
|
|
+
|
|
|
+.login-form .form-container {
|
|
|
+ width: 420px;
|
|
|
+ box-shadow: 0 20px 30px 0 rgb(63 63 65 / 6%);
|
|
|
+ border-radius: 10px;
|
|
|
+ border: 1px solid #fff;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 40px 40px 30px;
|
|
|
+ background: #fff;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.login_bg {
|
|
|
+ background: url(https://blue-order.oss-cn-guangzhou.aliyuncs.com/bg.png) 0 0 no-repeat;
|
|
|
+ background-size: cover;
|
|
|
+ min-height: 680px;
|
|
|
+ height: 100vh;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+}
|
|
|
+
|
|
|
+.login-header {
|
|
|
+ background: hsla(0, 0%, 100%, .3);
|
|
|
+ box-shadow: 0 2px 20px 0 rgba(140, 147, 161, .07);
|
|
|
+ height: 50px;
|
|
|
+ align-items: center;
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+
|
|
|
+.login-header img {
|
|
|
+ height: 28px;
|
|
|
+ margin: 0 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.login-header label {
|
|
|
+ font-size: 16px;
|
|
|
+ color: #333;
|
|
|
+}
|
|
|
+.login-form:deep(.login-msg-yzm) {display: flex;width: 100%;}
|
|
|
+.login-form:deep(.login-msg-yzm) .el-button {margin-left: 10px;--el-button-size:42px;}
|
|
|
+@media only screen and (max-width: 800px) {
|
|
|
+ .form-container {
|
|
|
+ width: 100% !important;
|
|
|
}
|
|
|
+}
|
|
|
</style>
|