| | |
| | | <div class="web-site"> |
| | | <a href="http://www.smartai.com" target="_blank">www.smartai.com</a> |
| | | </div> |
| | | |
| | | <!-- 授权信息 --> |
| | | <lang-select class="lang-select"/> |
| | | <licence /> |
| | | <div class="right-bg" style> |
| | | <particle-network /> |
| | |
| | | <img src="/images/login-logo.png" alt width="105px" height="105px" /> |
| | | </div> |
| | | <div class="login-com"> |
| | | <span>北京贝思科技术有限公司</span> |
| | | <span>{{ $t('login.company') }}</span> |
| | | </div> |
| | | <div class="login-form"> |
| | | <el-form |
| | |
| | | class="demo-ruleForm" |
| | | > |
| | | <el-form-item prop="loginName"> |
| | | <el-input v-model="user.loginName" style="width:280px" placeholder="请输入用户名"> |
| | | <el-input v-model="user.loginName" style="width:280px" :placeholder="$t('placeholder.enterUsername')"> |
| | | <i slot="prefix" class="iconfont iconyonghu1"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | |
| | | v-model="user.password" |
| | | autocomplete="off" |
| | | style="width:280px" |
| | | placeholder="请输入密码" |
| | | :placeholder="$t('placeholder.enterPassword')" |
| | | > |
| | | <i slot="prefix" class="iconfont iconmima"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button ref="submit" type="warning" @click="systemLogin()" style="width:280px">登录</el-button> |
| | | <el-button ref="submit" type="warning" @click="systemLogin()" style="width:280px">{{ $t('button.login') }}</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <!-- <p class="gradient-text gradient-text-one">——— {{serverTitle || 'SmartAI — ReID'}} ———</p> --> |
| | | <p class="gradient-text gradient-text-one"> |
| | | —— |
| | | <b>SmartAI</b> 人工智能操作系统 —— |
| | | <b>SmartAI</b> {{ $t('login.aios') }} —— |
| | | </p> |
| | | <p |
| | | class="gradient-text gradient-text-one" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { tologin, getLoginUserData, getServerName } from './api.ts' |
| | | import { tologin, getLoginUserData, getServerName } from './api.ts'; |
| | | import ParticleNetwork from './ParticleNetwork' |
| | | import Licence from '@/components/licence' |
| | | import LangSelect from '@/components/langSelect' |
| | | import { getMenuListData } from "@/api/utils"; |
| | | |
| | | export default { |
| | |
| | | }, |
| | | components: { |
| | | ParticleNetwork, |
| | | Licence |
| | | Licence, |
| | | LangSelect |
| | | }, |
| | | computed: { |
| | | rules() { |
| | | return { |
| | | loginName: [{ required: true, message: this.$t('placeholder.enterUsername'), trigger: 'change' } ], |
| | | password: [{ required: true, message: this.$t('placeholder.enterPassword'), trigger: 'change' }] |
| | | } |
| | | }, |
| | | }, |
| | | data: () => ({ |
| | | serverTitle: "", |
| | |
| | | rememberMe: false |
| | | }, |
| | | nullRule: {}, |
| | | rules: { |
| | | loginName: [ |
| | | { required: true, message: '请输入用户名', trigger: 'change' } |
| | | ], |
| | | password: [{ required: true, message: '请输入密码', trigger: 'change' }] |
| | | }, |
| | | |
| | | loading: '', |
| | | vLoading: false, |
| | | currentHeight: 1057, |
| | |
| | | color: #6170e1; |
| | | letter-spacing: 6.15px; |
| | | } |
| | | .lang-select { |
| | | float: right; |
| | | color: white !important; |
| | | font-size: 14px; |
| | | margin: 13px; |
| | | cursor: pointer; |
| | | } |
| | | .left-bg { |
| | | position: absolute; |
| | | top: 29%; |