Login.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731
  1. <template>
  2. <div>
  3. <!--头部-->
  4. <nav class="x-navbar">
  5. <div class="container">
  6. <div class="navbar-header">
  7. <input type="hidden" name="iconUrl" value="">
  8. <a class="navbar-brand" :href="JSON.parse(loginStyle.returnHomeUrl).url || ''">
  9. <img :src="loginStyle.logoUrl" alt="">
  10. <span>{{loginStyle.title || ''}}</span>
  11. </a>
  12. </div>
  13. <div class="collapse navbar-collapse navbar-right">
  14. <a :href="JSON.parse(loginStyle.returnHomeUrl).url || ''">{{JSON.parse(loginStyle.returnHomeUrl).name || ''}}</a>
  15. <a href="http://uas.ubtob.com/serve#/" v-if="JSON.parse(loginStyle.returnHomeUrl).needHelp">帮助</a>
  16. </div>
  17. </div>
  18. </nav>
  19. <div class="x-container">
  20. <!-- background slider -->
  21. <div class="x-banner-wrap">
  22. <div class="x-banner">
  23. <ul class="list-unstyled">
  24. <li id="bgStyle" v-bind:style="{ background: `url(${loginStyle.bgUrl}) center center/auto 100% no-repeat ${loginStyle.bgColor}` }">
  25. <a :href="loginStyle.bgLink" v-if="loginStyle.bgLink">
  26. <div class="inner">
  27. <div class="x-title x-text-0"></div>
  28. <div class="x-subtitle x-text-0"></div>
  29. <div class="x-btn-group">
  30. </div>
  31. </div>
  32. </a>
  33. <a v-else style="cursor: default">
  34. <div class="inner">
  35. <div class="x-title x-text-0"></div>
  36. <div class="x-subtitle x-text-0"></div>
  37. <div class="x-btn-group">
  38. </div>
  39. </div>
  40. </a>
  41. </li>
  42. </ul>
  43. </div>
  44. </div>
  45. <div class="x-login-wrap">
  46. <div class="x-login">
  47. <!-- user & pwd login wrap -->
  48. <div id="form-wrap" class="x-login-form">
  49. <div>
  50. <el-form :model="login" :rules="rules2" ref="login" class="demo-ruleForm login-form">
  51. <el-form-item prop="username">
  52. <el-input type="text" v-model="login.username" auto-complete="new-password" placeholder="手机号/邮箱/账号ID"></el-input>
  53. <i class="fa fa-user"></i>
  54. </el-form-item>
  55. <el-form-item prop="password">
  56. <input autocomplete="new-password"
  57. type="password" style="display: none;width:0;height:0;">
  58. <el-input type="password"
  59. v-model="login.password"
  60. auto-complete="new-password"
  61. placeholder="密码"
  62. @keyup.enter.native="isLogin(true)"></el-input>
  63. <i class="fa fa-lock"></i>
  64. </el-form-item>
  65. <el-form-item prop="captcha" class="captcha" v-show="showCheckCode">
  66. <el-input type="text"
  67. v-model="login.captcha"
  68. auto-complete="off"
  69. class="code-input"
  70. @keyup.enter.native="isLogin(true)"></el-input>
  71. <img id="captchaImage" class="code-img" src="/sso/login/checkCode"/>
  72. <a class="code-click" @click="getCode">看不清换一张</a>
  73. </el-form-item>
  74. <el-form-item class="text-position">
  75. <div class="page-part" v-if="checkedRemember">
  76. <el-checkbox v-model="checked">记住密码</el-checkbox>
  77. </div>
  78. <a class="forget" id='forget' @click="goForgetPassword">忘记密码?</a>
  79. </el-form-item>
  80. <el-form-item>
  81. <a class="btn login"
  82. @click="isLogin(true)"
  83. :disabled="isLoginDisabled">登录</a>
  84. </el-form-item>
  85. </el-form>
  86. </div>
  87. <div class="warn-text-area">
  88. 为确保您账户的安全及正常使用,依《网络安全法》相关要求,6月1日起会员账户需绑定手机、设置密码保护。感谢您的理解和支持!
  89. </div>
  90. <div class="link-go">
  91. <a @click="changeManage" class="first">更换管理员</a>
  92. <a id="register" @click="goRegister" class="second">
  93. <i class="fa fa-arrow-circle-o-right"></i>免费注册</a>
  94. </div>
  95. </div>
  96. <!-- qrcode login wrap -->
  97. <div id="qrcode-wrap" class="x-login-qrcode">
  98. <div class="x-qrcode-help">
  99. <span>打开手机客户端,扫描下面的二维码</span>
  100. </div>
  101. <div class="x-qrcode-img">
  102. <img src="/images/all/qrcode.jpg">
  103. </div>
  104. <div class="x-qrcode-ex">
  105. <ul class="list-unstyled list-inline">
  106. <li><i class="iconfont icon-left icon-input"></i><span>免输入</span></li>
  107. <li><i class="iconfont icon-left icon-fast"></i><span>更快捷</span></li>
  108. <li><i class="iconfont icon-left icon-safe"></i><span>更安全</span></li>
  109. </ul>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. <!--选择企业弹出框-->
  115. <div>
  116. <el-dialog class="dialog"
  117. :visible.sync="dialogVisible"
  118. size="tiny">
  119. <div class="x-floating x-list" v-show="dialogVisible">
  120. <div class="x-list-header">您要登录的公司是:</div>
  121. <div class="x-list-content">
  122. <ul class="list-unstyled" >
  123. <template v-for="space in this.enterprise">
  124. <li v-text="space.name" @click="chooseOneEnterprise(false, space.id)">华商龙科技有限公司</li>
  125. </template>
  126. </ul>
  127. </div>
  128. </div>
  129. </el-dialog>
  130. </div>
  131. <loading v-show="isShowLoading"/>
  132. </div>
  133. <!--尾部-->
  134. <div v-html="loginStyle.footUrl || ''" class="footer"></div>
  135. </div>
  136. </template>
  137. <script>
  138. import Loading from '~components/common/loading/Loading.vue'
  139. export default {
  140. name: 'login',
  141. components: {
  142. Loading
  143. },
  144. data () {
  145. var validateUsername = (rule, value, callback) => {
  146. if (value === '') {
  147. this.checkUsername = false
  148. this.showCheckCode = false
  149. } else {
  150. if (this.login.username !== '') {
  151. // 获取密码输错次数
  152. this.$http.get(`/sso/login/getPwdErrorCount`, {params: {username: this.login.username}})
  153. .then(response => {
  154. if (response.data.success) {
  155. this.showCheckCode = false
  156. let getPasswordErrorCount = response.data.content || ''
  157. if (getPasswordErrorCount >= 5) {
  158. this.$message.error('密码错误次数已达上限,今日无法登陆')
  159. this.isLoginDisabled = true
  160. this.showCheckCode = false
  161. } else if (getPasswordErrorCount < 3) {
  162. this.isLoginDisabled = false
  163. this.checkUsername = true
  164. this.showCheckCode = false
  165. } else if (getPasswordErrorCount >= 3 && getPasswordErrorCount < 5) {
  166. if (getPasswordErrorCount === 3) {
  167. this.$message.error('当前已输错密码3次,若达到5次今日将无法登陆')
  168. }
  169. if (getPasswordErrorCount === 4) {
  170. this.$message.error('当前已输错密码4次,若达到5次今日将无法登陆')
  171. }
  172. this.isLoginDisabled = false
  173. this.checkUsername = true
  174. this.showCheckCode = true
  175. } else {
  176. this.checkUsername = false
  177. this.showCheckCode = false
  178. }
  179. } else {
  180. return Promise.reject(response.data)
  181. }
  182. }).catch(err => {
  183. this.isShowLoading = false
  184. console.log(err)
  185. // this.$message.error(err.errMsg)
  186. })
  187. }
  188. callback()
  189. }
  190. }
  191. var validatePassword = (rule, value, callback) => {
  192. if (value === '') {
  193. this.checkPassword = false
  194. } else {
  195. if (this.login.password !== '') {
  196. this.checkPassword = true
  197. }
  198. callback()
  199. }
  200. }
  201. return {
  202. login: {
  203. username: '',
  204. password: '',
  205. captcha: '',
  206. spaceUU: ''
  207. },
  208. checked: false,
  209. checkedRemember: false,
  210. isShowLoading: false,
  211. checkUsername: false,
  212. checkPassword: false,
  213. showCheckCode: false,
  214. isLoginDisabled: false,
  215. dialogVisible: false,
  216. queryLink: '',
  217. rules2: {
  218. username: [
  219. {validator: validateUsername, trigger: 'blur'}
  220. ],
  221. password: [
  222. {validator: validatePassword, trigger: 'blur'}
  223. ]
  224. }
  225. }
  226. },
  227. mounted () {
  228. this.$nextTick(() => {
  229. this.getUrl()
  230. if (this.appId === 'mall' || this.appId === 'home') {
  231. this.getCookie()
  232. }
  233. this.validUserName()
  234. })
  235. },
  236. computed: {
  237. enterprise () {
  238. let chooseEnterprise = this.$store.state.login.chooseRegisterEnterprise.choose.data
  239. return chooseEnterprise
  240. },
  241. loginStyle () {
  242. return this.$store.state.login.loginStyle.data.content ? this.$store.state.login.loginStyle.data.content : ''
  243. }
  244. },
  245. methods: {
  246. // 获取用户错误次数
  247. validUserName () {
  248. if (this.login.username) {
  249. // 获取密码输错次数
  250. this.$http.get(`/sso/login/getPwdErrorCount`, {params: {username: this.login.username}})
  251. .then(response => {
  252. if (response.data.success) {
  253. let getPasswordErrorCount = response.data.content || ''
  254. if (getPasswordErrorCount >= 5) {
  255. this.$message.error('密码错误次数已达上限,今日无法登陆')
  256. this.isLoginDisabled = true
  257. this.showCheckCode = false
  258. } else if (getPasswordErrorCount < 3) {
  259. this.isLoginDisabled = false
  260. this.checkUsername = true
  261. this.showCheckCode = false
  262. } else if (getPasswordErrorCount >= 3 && getPasswordErrorCount < 5) {
  263. if (getPasswordErrorCount === 3) {
  264. this.$message.error('当前已输错密码3次,若达到5次今日将无法登陆')
  265. }
  266. if (getPasswordErrorCount === 4) {
  267. this.$message.error('当前已输错密码4次,若达到5次今日将无法登陆')
  268. }
  269. this.isLoginDisabled = false
  270. this.checkUsername = true
  271. this.showCheckCode = true
  272. } else {
  273. this.checkUsername = false
  274. this.showCheckCode = false
  275. }
  276. } else {
  277. return Promise.reject(response.data)
  278. }
  279. }).catch(err => {
  280. this.$message.error(err.errMsg)
  281. })
  282. }
  283. },
  284. // 更换管理员
  285. changeManage () {
  286. window.location.href = `appeals/changeManagerAppeal${this.$store.state.option.fullPath}`
  287. },
  288. // 获取url参数
  289. getUrl () {
  290. var url = window.location.search
  291. var request = {}
  292. if (url.indexOf('?' !== -1)) {
  293. var str = url.substr(1)
  294. var strs = str.split('&')
  295. this.queryLink = str
  296. for (var i = 0; i < strs.length; i++) {
  297. request[strs[i].split('=')[0]] = decodeURI(strs[i].split('=')[1])
  298. }
  299. }
  300. this.appId = request['appId'] || ''
  301. this.returnUrl = request['returnURL'] || ''
  302. this.baseUrl = request['baseUrl'] || ''
  303. if (this.appId === 'home' || this.appId === 'mall') {
  304. this.checkedRemember = true
  305. }
  306. },
  307. goForgetPassword () {
  308. let url = `/reset/forgetPasswordValidationAccount?${this.queryLink}`
  309. document.getElementById('forget').href = url
  310. },
  311. // 去注册
  312. goRegister () {
  313. document.getElementById('register').href = `/register/enterpriseRegistration?${this.queryLink}`
  314. },
  315. // 获取验证码
  316. getCode () {
  317. var imgSrc = document.getElementById('captchaImage')
  318. imgSrc.setAttribute('src', '/sso/login/checkCode?timestamp=' + (new Date()).valueOf())
  319. },
  320. // 登录
  321. isLogin (flag) {
  322. this.isShowLoading = true
  323. if (!this.login.username) {
  324. this.isShowLoading = false
  325. this.$message.error('请填写账号')
  326. } else if (!this.login.password) {
  327. this.isShowLoading = false
  328. this.$message.error('请填写密码')
  329. } else {
  330. let param = new FormData()
  331. param.append('username', this.login.username)
  332. param.append('password', this.login.password)
  333. param.append('captcha', this.login.captcha)
  334. param.append('spaceUU', this.login.spaceUU)
  335. param.append('appId', this.appId)
  336. param.append('returnUrl', this.returnUrl)
  337. param.append('baseUrl', this.baseUrl)
  338. let config = {
  339. headers: {'Content-Type': 'multipart/form-data'}
  340. }
  341. this.$http.post('/sso/login', param, config)
  342. .then(response => {
  343. this.isShowLoading = false
  344. if (response.data.success) {
  345. if (response.data.content.spaces) {
  346. // 弹框让用户选择企业
  347. this.$store.commit('login/chooseRegisterEnterprise/GET_ENTERPRISE_SUCCESS', response.data.content.spaces)
  348. this.dialogVisible = flag
  349. } else if (response.data.content.loginUrls) {
  350. // 遍历登录url循环让各应用登录(需要跨域)
  351. let param = response.data.content.data
  352. let a = ''
  353. for (let n in param) {
  354. a += (n + '=' + encodeURIComponent(param[n]) + '&')
  355. }
  356. let params = a.substr(0, a.length - 1)
  357. this.isShowLoading = true
  358. if (response.data.content.currentUrl) {
  359. console.log(params)
  360. this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
  361. name: 'successCallback',
  362. timeout: 3000
  363. }, (err, data) => {
  364. if (err) {
  365. this.$message.error('登录超时,请重试')
  366. this.isShowLoading = false
  367. throw err
  368. } else {
  369. this.loginOther(response, params)
  370. }
  371. })
  372. } else {
  373. this.loginOther(response, params, 3000)
  374. }
  375. }
  376. } else {
  377. this.$message.error(response.data)
  378. var count = response.data.errorCount
  379. if (count < 3) {
  380. this.showCheckCode = false
  381. this.isLoginDisabled = false
  382. } else if (count >= 5) {
  383. this.$message.error('密码错误次数已达上限,今日无法登陆')
  384. this.isLoginDisabled = true
  385. this.showCheckCode = false
  386. } else if (count >= 3 && count < 5) {
  387. this.getCode()
  388. if (count === 3) {
  389. this.$message.error('当前已输错密码3次,若达到5次今日将无法登陆')
  390. }
  391. this.showCheckCode = true
  392. this.isLoginDisabled = false
  393. }
  394. return Promise.reject(response.data)
  395. }
  396. }).catch(err => {
  397. this.isShowLoading = false
  398. let _this = this
  399. setTimeout(function () {
  400. _this.getCode()
  401. }, 100)
  402. this.$message.error(err.errMsg)
  403. })
  404. }
  405. },
  406. chooseOneEnterprise (flag, spaceUU) {
  407. this.login.spaceUU = spaceUU
  408. this.dialogVisible = false
  409. this.isLogin(flag)
  410. if (this.appId === 'mall' || this.appId === 'home') {
  411. if (this.checked) {
  412. this.setCookie(this.login.username, this.login.password, 7)
  413. } else {
  414. this.clearCookie()
  415. }
  416. }
  417. },
  418. getJsonp: function (url, timeout = 500) {
  419. return new Promise((resolve, reject) => {
  420. this.$jsonp(url, {
  421. name: 'successCallback',
  422. timeout: timeout
  423. }, function (err, data) {
  424. if (err) {
  425. reject(err)
  426. throw err
  427. } else {
  428. resolve(data)
  429. }
  430. })
  431. })
  432. },
  433. crossAfter (url) {
  434. try {
  435. window.location.href = url
  436. } catch (err) {
  437. console.log(err)
  438. }
  439. },
  440. loginOther (response, a, timeout) {
  441. const crossAfter = this.crossAfter
  442. let promises = []
  443. for (let i in response.data.content.loginUrls) {
  444. promises.push(this.getJsonp(`${response.data.content.loginUrls[i]}?${a}`))
  445. }
  446. Promise.all(promises).then(() => {
  447. crossAfter(response.data.content.returnUrl || 'http://www.ubtob.com', timeout)
  448. }).catch(() => {
  449. crossAfter(response.data.content.returnUrl || 'http://www.ubtob.com', timeout)
  450. })
  451. },
  452. // 设置cookie
  453. setCookie (cName, cPwd, exdays) {
  454. let exdate = new Date()
  455. exdate.setTime(exdate.getTime() + 24 * 60 * 60 * 1000 * exdays)
  456. window.document.cookie = 'userName' + '=' + cName + ';path=/;expires=' + exdate.toGMTString()
  457. window.document.cookie = 'userPwd' + '=' + cPwd + ';path=/;expires=' + exdate.toGMTString()
  458. },
  459. // 读取cookies
  460. getCookie () {
  461. if (document.cookie.length > 0) {
  462. let arr = document.cookie.split(';')
  463. for (var i = 0; i < arr.length; i++) {
  464. let arr2 = arr[i].split('=')
  465. if (arr2[0].trim() === 'userName') {
  466. this.login.username = arr2[1]
  467. }
  468. if (arr2[0].trim() === 'userPwd') {
  469. this.login.password = arr2[1]
  470. }
  471. if (this.login.username && this.login.username) {
  472. this.checked = true
  473. }
  474. }
  475. }
  476. },
  477. // 清除cookie
  478. clearCookie () {
  479. this.setCookie('', '', -1)
  480. }
  481. }
  482. }
  483. </script>
  484. <style lang="scss" scoped type="text/scss">
  485. @import '~assets/scss/mixins';
  486. @import '~assets/scss/variables';
  487. .x-navbar{
  488. height: 80px;
  489. line-height: 80px;
  490. margin: 0;
  491. .container{
  492. position: relative;
  493. width: 990px!important;
  494. height: 80px;
  495. .navbar-header{
  496. height: 80px;
  497. line-height: 80px;
  498. }
  499. a.navbar-brand{
  500. overflow: hidden;
  501. padding: 0px;
  502. height: inherit;
  503. line-height: inherit;
  504. font-family: "\5FAE\8F6F\96C5\9ED1";
  505. font-size: 24px;
  506. font-weight: 400;
  507. color: #888;
  508. img{
  509. margin: 28px 8px 0 0;
  510. max-width: 80px;
  511. max-height: 27px;
  512. vertical-align: middle;
  513. float: left;
  514. }
  515. span{
  516. float: left;
  517. }
  518. }
  519. .collapse{
  520. a{
  521. padding-left: 12px;
  522. margin-right: 10px;
  523. color: #666;
  524. outline: 0;
  525. border-left: 1px solid #ddd;
  526. &:first-child{
  527. border-width: 0;
  528. }
  529. }
  530. }
  531. }
  532. }
  533. .x-container{
  534. position: relative;
  535. height: 475px;
  536. div.link-go {
  537. text-align: right;
  538. margin-top: 7px;
  539. a{
  540. color: #2d8cf0;
  541. background: 0 0;
  542. text-decoration: none;
  543. outline: 0;
  544. cursor: pointer;
  545. transition: color .2s ease;
  546. }
  547. a.first{
  548. float: left;
  549. margin-top: 3px;
  550. font-size: 12px;
  551. }
  552. }
  553. /*登录弹出框*/
  554. .x-floating {
  555. position: fixed;
  556. top: 80px;
  557. left: 50%;
  558. z-index: 100000;
  559. opacity: 1;
  560. -webkit-transition: all .5s;
  561. -moz-transition: all .5s;
  562. transition: all .5s;
  563. }
  564. .x-list {
  565. width: 60%;
  566. height:420px;
  567. margin-left: -30%;
  568. background: #fff;
  569. border-top: 1px solid #e7e7e7;
  570. cursor: pointer;
  571. .x-list-header {
  572. padding: 10px 20px;
  573. background: #e0e0e0;
  574. height: 42px;
  575. line-height: 21px;
  576. font-size: 14px;
  577. font-weight: 700;
  578. color: #505050;
  579. }
  580. .x-list-content{
  581. overflow-y: auto;
  582. height:375px;
  583. ul{
  584. margin-bottom: 0;
  585. li{
  586. display:inline-block;
  587. padding: 10px 20px;
  588. width: 33%;
  589. overflow: hidden;
  590. white-space: nowrap;
  591. text-overflow: ellipsis;
  592. height: 42px;
  593. line-height: 21px;
  594. font-size: 12px;
  595. color: #505050;
  596. border-bottom: 1px solid #e7e7e7;
  597. &:hover{
  598. background: #e7e7e7;
  599. }
  600. }
  601. }
  602. }
  603. .x-list .x-list-header, .x-list li {
  604. padding: 10px 20px;
  605. border-bottom: 1px solid #e7e7e7;
  606. }
  607. }
  608. .x-floating.in {
  609. top: 80px;
  610. opacity: 1;
  611. }
  612. .x-banner-wrap {
  613. position: absolute;
  614. left: 0;
  615. top: 0;
  616. width: 100%;
  617. height: 475px;
  618. .x-banner {
  619. position: relative;
  620. overflow: auto;
  621. height: 475px;
  622. text-align: center;
  623. li{
  624. width: 100%;
  625. height: 475px;
  626. .inner{
  627. height: 100%;
  628. }
  629. }
  630. }
  631. }
  632. .x-login-wrap{
  633. position: absolute;
  634. top: 10px;
  635. right: 50%;
  636. margin-right: -495px;
  637. height: 475px;
  638. z-index: 5;
  639. .x-login {
  640. position: relative;
  641. top: 40px;
  642. width: 346px;
  643. background: #fff;
  644. overflow: visible;
  645. z-index: 4;
  646. .x-login-form, .x-login-qrcode {
  647. padding: 20px;
  648. .btn{
  649. background: #5078cb;
  650. color: #fff;
  651. font-weight: 700;
  652. letter-spacing: 4px;
  653. border-radius: 0;
  654. }
  655. .x-has-feedback-right {
  656. float: right;
  657. display: inline-block;
  658. a{
  659. color: #5078cb;
  660. }
  661. }
  662. .x-has-feedback-left {
  663. position: relative;
  664. .x-input {
  665. padding-left: 30px;
  666. line-height: 18px;
  667. color: #555;
  668. border-color: #ccc;
  669. border-radius: 0;
  670. box-shadow: none;
  671. }
  672. i.fa{
  673. position: absolute;
  674. top: 2px;
  675. left: 0;
  676. z-index: 2;
  677. display: block;
  678. width: 30px;
  679. height: 34px;
  680. line-height: 34px;
  681. text-align: center;
  682. pointer-events: none;
  683. color: #999;
  684. font-size: 18px;
  685. }
  686. }
  687. i.fa-keyboard-o{
  688. position: absolute;
  689. right: 10px;
  690. top: 10px;
  691. }
  692. i.fa-arrow-circle-o-right{
  693. margin-right: 5px;
  694. font-size: 14px;
  695. color: #5078cb;
  696. }
  697. .warn-text-area{
  698. margin-top: 5px;
  699. font-size: 13px;
  700. color: #000;
  701. }
  702. .text-position {
  703. overflow: hidden;
  704. .page-part {
  705. float: left;
  706. margin-bottom: 0;
  707. .el-checkbox {
  708. margin: 0;
  709. span.el-checkbox__inner{
  710. width: 14px;
  711. height: 14px;
  712. }
  713. }
  714. }
  715. .forget {
  716. float: right;
  717. color: #2d8cf0;
  718. }
  719. }
  720. }
  721. .x-login-qrcode{
  722. display: none;
  723. }
  724. }
  725. }
  726. }
  727. .footer{
  728. padding: 50px 0;
  729. }
  730. </style>