PersonalRegistration.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721
  1. <template>
  2. <div class="register">
  3. <div class="container">
  4. <div class="content">
  5. <div class="content-top">
  6. <h3>个人注册</h3>
  7. <a class="go" @click="goRegister"><i class="fa fa-long-arrow-right"></i>企业注册</a>
  8. </div>
  9. <div>
  10. <el-form :model="item" :rules="rules2" ref="item" label-width="100px" class="demo-ruleForm">
  11. <el-form-item prop="vipName">
  12. <el-input type="text" v-model="item.vipName" auto-complete="off" placeholder="会员名"></el-input>
  13. </el-form-item>
  14. <el-form-item prop="password">
  15. <el-input type="password" v-model="item.password" auto-complete="new-password" placeholder="登录密码"></el-input>
  16. <div class="pwd sm" v-show="showMsgTip1">密码强度 <em></em><em></em><em></em><span>弱</span></div>
  17. <div class="pwd md" v-show="showMsgTip2">密码强度 <em></em><em></em><em></em><span>中</span></div>
  18. <div class="pwd lar" v-show="showMsgTip3">密码强度 <em></em><em></em><em></em><span>强</span></div>
  19. <div class="pwd low" v-show="showMsgTip4">密码强度 <em></em><em></em><em></em></div>
  20. </el-form-item>
  21. <el-form-item prop="confirm">
  22. <el-input type="password"
  23. v-model="item.confirm"
  24. v-bind:class="{active: showPasswordError}"
  25. auto-complete="new-password"
  26. placeholder="密码确认"></el-input>
  27. <span class="tip passwordError" v-show="showPasswordError">两次输入密码不一致</span>
  28. </el-form-item>
  29. <el-form-item prop="mobile">
  30. <el-input v-model="item.mobile"
  31. v-bind:class="{active: mobileRegister}"
  32. placeholder="手机号码"></el-input>
  33. <span class="tip" v-show="showMsgTip">单个手机号只能注册一个用户</span>
  34. <span class="tip tip-mobile" v-show="mobileRegister">该手机号已被注册</span>
  35. </el-form-item>
  36. <el-form-item prop="code">
  37. <el-input type="text" v-model="item.code"
  38. v-bind:class="{ active: codeErrorChecked }" auto-complete="off" class="msg" placeholder="短信验证码"></el-input>
  39. <el-button type="primary" class="code"
  40. v-show="sendPersonalCode"
  41. @click="getCheckCode"
  42. :disabled="this.checkMobile">获取验证码</el-button>
  43. <el-button type="primary" v-show="!sendPersonalCode" class="code code-send">已发送({{personal_time}}s)</el-button>
  44. <span v-show="codeErrorChecked" class="codeError-tip">{{codeErrorMsg}}</span>
  45. </el-form-item>
  46. <el-form-item>
  47. <a class="btn finish" @click="submit">确认注册</a>
  48. </el-form-item>
  49. <el-form-item>
  50. <el-checkbox name="type" v-model="checked" @click="checkboxChecked"></el-checkbox>
  51. <span class="agree">我已阅读并同意 <a href="/common/agreement">《优软云服务条款》</a></span>
  52. </el-form-item>
  53. </el-form>
  54. </div>
  55. </div>
  56. <div class="login">已有账号?<a :href="returnLogin">立即登录</a></div>
  57. <loading v-show="isShowLoading"/>
  58. </div>
  59. <!--尾部-->
  60. <div v-html="loginStyle.footUrl" class="footer"></div>
  61. </div>
  62. </template>
  63. <script>
  64. import Loading from '~components/common/loading/Loading.vue'
  65. export default {
  66. name: 'PersonalRegistration',
  67. components: {
  68. Loading
  69. },
  70. data () {
  71. var validateName = (rule, value, callback) => {
  72. if (value === '') {
  73. callback(new Error('会员名不能为空'))
  74. this.vipNameChecked = false
  75. } else {
  76. if (this.item.vipName !== '') {
  77. if (value.length < 2 || value.length > 20) {
  78. callback(new Error('请填写合适的会员名称,2~20个字符'))
  79. this.vipNameChecked = false
  80. } else {
  81. this.vipNameChecked = true
  82. }
  83. }
  84. }
  85. callback()
  86. }
  87. var validatePass = (rule, value, callback) => {
  88. if (this.item.password !== '') {
  89. if (value.length <= 20 && value.length >= 8) {
  90. var reg1 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]))|((?=.*[0-9])((?=.*[a-zA-Z]))(?=.*[^a-zA-Z0-9]))).*$/
  91. var reg2 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z]))|((?=.*[0-9])(?=.*[A-Z]))).*$/
  92. if (reg1.test(value)) {
  93. // callback(new Error('密码强度强'))
  94. this.showMsgTip3 = true
  95. this.showMsgTip2 = false
  96. this.showMsgTip1 = false
  97. this.showMsgTip4 = false
  98. this.passwordChecked = true
  99. } else if (reg2.test(value)) {
  100. // callback(new Error('密码强度中'))
  101. this.showMsgTip2 = true
  102. this.showMsgTip3 = false
  103. this.showMsgTip1 = false
  104. this.showMsgTip4 = false
  105. this.passwordChecked = true
  106. } else {
  107. this.showMsgTip1 = true
  108. this.showMsgTip3 = false
  109. this.showMsgTip2 = false
  110. this.showMsgTip4 = false
  111. this.passwordChecked = false
  112. }
  113. } else {
  114. this.showMsgTip3 = false
  115. this.showMsgTip2 = false
  116. this.showMsgTip1 = false
  117. this.showMsgTip4 = true
  118. this.passwordChecked = false
  119. }
  120. }
  121. callback()
  122. }
  123. var validatePassTip = (rule, value, callback) => {
  124. if (value === '') {
  125. callback(new Error('请输入密码'))
  126. this.passwordChecked = false
  127. } else {
  128. if (this.item.password !== '') {
  129. if (value.length <= 20 && value.length >= 8) {
  130. var reg1 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]))|((?=.*[0-9])((?=.*[a-zA-Z]))(?=.*[^a-zA-Z0-9]))).*$/
  131. var reg2 = /^(?=.{8,20})(((?=.*[0-9])(?=.*[a-z]))|((?=.*[0-9])(?=.*[A-Z]))).*$/
  132. if (reg1.test(value)) {
  133. this.passwordChecked = true
  134. } else if (reg2.test(value)) {
  135. this.passwordChecked = true
  136. } else {
  137. callback(new Error('密码须为8-20字符的英文、数字混合'))
  138. this.passwordChecked = false
  139. }
  140. } else {
  141. callback(new Error('密码须为8-20字符的英文、数字混合'))
  142. this.passwordChecked = false
  143. }
  144. if (this.item.confirm !== '') {
  145. if (value !== this.item.confirm) {
  146. this.showPasswordError = true
  147. // callback(new Error('两次输入密码不一致!'))
  148. this.confirmChecked = false
  149. } else {
  150. this.confirmChecked = true
  151. this.showPasswordError = false
  152. callback()
  153. }
  154. }
  155. }
  156. callback()
  157. }
  158. }
  159. var validatePass2 = (rule, value, callback) => {
  160. if (value === '') {
  161. callback(new Error('请再次输入密码'))
  162. this.confirmChecked = false
  163. this.showPasswordError = false
  164. } else if (value !== this.item.password) {
  165. // callback(new Error('两次输入密码不一致!'))
  166. this.showPasswordError = true
  167. this.confirmChecked = false
  168. } else {
  169. this.confirmChecked = true
  170. this.showPasswordError = false
  171. callback()
  172. }
  173. }
  174. var validateMobile = (rule, value, callback) => {
  175. if (value === '') {
  176. callback(new Error('请填写正确的手机号'))
  177. this.showMsgTip = false
  178. this.checkMobile = true
  179. this.mobileRegister = false
  180. this.mobileChecked = false
  181. } else {
  182. if (this.item.mobile !== '') {
  183. var reg = /^1([0-9]{10})$/
  184. if (!reg.test(value)) {
  185. callback(new Error('请填写正确的手机号'))
  186. this.showMsgTip = false
  187. this.checkMobile = true
  188. this.mobileRegister = false
  189. this.mobileChecked = false
  190. } else {
  191. this.$http.get(`/api/user/checkMobile`, {params: {mobile: this.item.mobile, mobileArea: ''}})
  192. .then(response => {
  193. if (response.data.hasRegister) {
  194. this.mobileRegister = true
  195. this.showMsgTip = false
  196. this.checkMobile = true
  197. this.mobileChecked = false
  198. } else {
  199. this.showMsgTip = false
  200. this.checkMobile = false
  201. this.mobileRegister = false
  202. this.mobileChecked = true
  203. }
  204. })
  205. }
  206. }
  207. callback()
  208. }
  209. }
  210. var validateCode = (rule, value, callback) => {
  211. if (value === '') {
  212. callback(new Error('请填写正确的验证码'))
  213. this.codeErrorChecked = false
  214. this.codeChecked = false
  215. } else {
  216. if (this.item.mobile === '') {
  217. callback(new Error('请先填写正确的手机号'))
  218. } else {
  219. if (this.token) {
  220. if (this.item.code.length === 6) {
  221. let param = new FormData()
  222. param.append('mobile', this.item.mobile)
  223. param.append('code', this.item.code)
  224. param.append('token', this.token)
  225. let config = {
  226. headers: {'Content-Type': 'multipart/form-data'}
  227. }
  228. this.$http.post(`/sso/personal/register/checkCode`, param, config)
  229. .then(response => {
  230. if (response.data.success) {
  231. this.codeChecked = true
  232. this.codeErrorChecked = false
  233. } else {
  234. this.codeErrorChecked = true
  235. this.codeChecked = false
  236. // callback(new Error('验证码输入错误'))
  237. return Promise.reject(response.data)
  238. }
  239. }).catch(err => {
  240. this.codeErrorMsg = err.errMsg
  241. // this.$message.error(err.errMsg)
  242. })
  243. } else {
  244. callback(new Error('请输入正确的验证码'))
  245. this.codeChecked = false
  246. this.codeErrorChecked = false
  247. }
  248. } else {
  249. callback(new Error('请先获取验证码'))
  250. this.codeChecked = false
  251. this.codeErrorChecked = false
  252. }
  253. }
  254. callback()
  255. }
  256. }
  257. var validateCodeIsEmpty = (rule, value, callback) => {
  258. if (value === '') {
  259. callback(new Error('请填写正确的验证码'))
  260. this.codeErrorChecked = false
  261. this.codeChecked = false
  262. } else {
  263. if (this.item.mobile === '') {
  264. callback(new Error('请先填写正确的手机号'))
  265. } else {
  266. if (this.token) {
  267. if (this.item.code.length === 6) {
  268. let param = new FormData()
  269. param.append('mobile', this.item.mobile)
  270. param.append('code', this.item.code)
  271. param.append('token', this.token)
  272. let config = {
  273. headers: {'Content-Type': 'multipart/form-data'}
  274. }
  275. this.$http.post(`/sso/personal/register/checkCode`, param, config)
  276. .then(response => {
  277. if (response.data.success) {
  278. this.codeChecked = true
  279. this.codeErrorChecked = false
  280. } else {
  281. this.codeErrorChecked = true
  282. this.codeChecked = false
  283. return Promise.reject(response.data)
  284. }
  285. }).catch(err => {
  286. this.codeErrorMsg = err.errMsg
  287. })
  288. } else {
  289. callback(new Error('请输入正确的验证码'))
  290. this.codeChecked = false
  291. this.codeErrorChecked = false
  292. }
  293. } else {
  294. callback(new Error('请先获取验证码'))
  295. this.codeChecked = false
  296. this.codeErrorChecked = false
  297. }
  298. }
  299. callback()
  300. }
  301. }
  302. return {
  303. item: {
  304. vipName: '',
  305. password: '',
  306. confirm: '',
  307. mobile: '',
  308. code: ''
  309. },
  310. isShowLoading: false,
  311. showPasswordError: false,
  312. vipNameChecked: false,
  313. passwordChecked: false,
  314. confirmChecked: false,
  315. mobileChecked: false,
  316. codeChecked: false,
  317. codeErrorChecked: false,
  318. showMsgTip: true,
  319. showMsgTip1: false,
  320. showMsgTip2: false,
  321. showMsgTip3: false,
  322. showMsgTip4: false,
  323. checkMobile: true,
  324. checked: true,
  325. token: '',
  326. mobileRegister: false,
  327. sendPersonalCode: true,
  328. codeErrorMsg: '',
  329. personal_time: 0,
  330. queryLink: '',
  331. appId: '',
  332. returnLogin: '',
  333. rules2: {
  334. vipName: [
  335. { validator: validateName, trigger: 'blur' }
  336. ],
  337. password: [
  338. { validator: validatePassTip, trigger: 'blur' },
  339. { validator: validatePass, trigger: 'change' }
  340. ],
  341. confirm: [
  342. { required: true, validator: validatePass2, trigger: 'blur' }
  343. ],
  344. mobile: [
  345. { validator: validateMobile, trigger: 'blur' }
  346. ],
  347. code: [
  348. { validator: validateCode, trigger: 'change' },
  349. { validator: validateCodeIsEmpty, trigger: 'blur' }
  350. ]
  351. }
  352. }
  353. },
  354. mounted () {
  355. // 获取链接
  356. this.$nextTick(() => {
  357. this.getUrl()
  358. })
  359. },
  360. computed: {
  361. loginStyle () {
  362. return this.$store.state.login.loginStyle.data.content
  363. }
  364. },
  365. methods: {
  366. // 获取链接
  367. getUrl () {
  368. var url = window.location.search
  369. var request = {}
  370. var origin = window.location.origin
  371. this.returnLogin = origin + url
  372. if (url.indexOf('?' !== -1)) {
  373. var str = url.substr(1)
  374. var strs = str.split('&')
  375. this.queryLink = str
  376. for (var i = 0; i < strs.length; i++) {
  377. request[strs[i].split('=')[0]] = decodeURI(strs[i].split('=')[1])
  378. }
  379. }
  380. this.appId = request['appId'] || ''
  381. },
  382. // 注册
  383. goRegister () {
  384. window.location.href = `/register/enterpriseRegistration?${this.queryLink}`
  385. },
  386. // 我同意是否被选中
  387. checkboxChecked () {
  388. this.checked = !this.checked
  389. },
  390. // 表单提交
  391. submit () {
  392. if (this.vipNameChecked && this.passwordChecked && this.confirmChecked && this.mobileChecked && this.codeChecked && this.checked) {
  393. if (this.item.password !== this.item.confirm) {
  394. this.$message.error('请确认两次填写密码是否一致')
  395. } else {
  396. this.isShowLoading = true
  397. let param = new FormData()
  398. param.append('vipName', this.item.vipName)
  399. param.append('password', this.item.password)
  400. param.append('mobile', this.item.mobile)
  401. // param.append('mobileArea', '')
  402. param.append('appId', this.appId)
  403. param.append('code', this.item.code)
  404. param.append('token', this.token)
  405. let config = {
  406. headers: {'Content-Type': 'multipart/form-data'}
  407. }
  408. this.$http.post('/sso/personal/register', param, config)
  409. .then(response => {
  410. this.isShowLoading = false
  411. if (response.data.success) {
  412. let userUU = response.data.content.userUU
  413. window.location.href = `/overRegister/${userUU}`
  414. } else {
  415. return Promise.reject(response.data)
  416. }
  417. }).catch(err => {
  418. this.$message.error(err.errMsg)
  419. this.isShowLoading = false
  420. this.personal_time = 0
  421. })
  422. }
  423. } else {
  424. if (!this.item.vipName) {
  425. this.$message.error('会员名不能为空')
  426. } else if (!this.vipNameChecked) {
  427. this.$message.error('会员名输入有误,请按提示重新输入')
  428. } else if (!this.item.password) {
  429. this.$message.error('密码不能为空')
  430. } else if (!this.passwordChecked) {
  431. this.$message.error('密码输入有误,请按提示重新输入')
  432. } else if (!this.item.confirm) {
  433. this.$message.error('请再次输入密码')
  434. } else if (!this.confirmChecked) {
  435. this.$message.error('请确认两次填写密码是否一致')
  436. } else if (!this.item.mobile) {
  437. this.$message.error('手机号不能为空')
  438. } else if (!this.mobileChecked) {
  439. this.$message.error('手机号输入有误,请按提示重新输入')
  440. } else if (!this.token) {
  441. this.$message.error('请先获取验证码')
  442. } else if (!this.item.code) {
  443. this.$message.error('验证码不能为空')
  444. } else if (!this.codeChecked) {
  445. this.$message.error('验证码输入有误,请按提示重新输入')
  446. } else if (!this.checked) {
  447. this.$message.error('您对阅读条款未做勾选')
  448. }
  449. }
  450. },
  451. // 获取验证码
  452. // async getCode () {
  453. // let { data } = await this.$http.get(`/sso/personal/register/checkCode`, {params: {mobile: this.item.mobile}})
  454. // this.token = data.token
  455. // },
  456. getCheckCode () {
  457. this.isShowLoading = true
  458. // this.getCode()
  459. this.$http.get(`/sso/personal/register/checkCode`, {params: {mobile: this.item.mobile}})
  460. .then(response => {
  461. this.isShowLoading = false
  462. if (response.data) {
  463. this.token = response.data.token
  464. if (this.token !== '') {
  465. this.$message({
  466. message: '验证码已经发送到您的手机,请注意查收',
  467. type: 'success'
  468. })
  469. this.sendPersonalCode = false
  470. this.personal_time = 60
  471. var personalTime = setInterval(() => {
  472. this.personal_time--
  473. if (this.personal_time <= 0) {
  474. this.sendPersonalCode = true
  475. clearInterval(personalTime)
  476. }
  477. }, 1000)
  478. }
  479. } else {
  480. return Promise.reject(response.data)
  481. }
  482. }).catch(err => {
  483. this.isShowLoading = false
  484. this.$message.error(err.errMsg)
  485. })
  486. }
  487. }
  488. }
  489. </script>
  490. <style lang="scss" scoped>
  491. .register {
  492. margin: 0 auto;
  493. width: 100%;
  494. background: #eee;
  495. .container{
  496. padding-top: 50px;
  497. margin: 0 auto;
  498. width: 980px;
  499. text-align: center;
  500. .content{
  501. padding: 0 50px;
  502. margin: 50px auto 0;
  503. width: 100%;
  504. text-align: center;
  505. background: #fff;
  506. .content-top{
  507. position: relative;
  508. height: 80px;
  509. line-height: 80px;
  510. border-bottom: 1px solid #dcdcdc;
  511. h3{
  512. font-family: 'SimHei';
  513. font-size: 24px;
  514. color: #000;
  515. }
  516. a.go{
  517. position: absolute;
  518. top: 0;
  519. right: 0;
  520. font-size: 14px;
  521. i{
  522. margin-right: 3px;
  523. }
  524. }
  525. }
  526. form {
  527. padding-bottom: 44px;
  528. margin-top: 35px;
  529. input{
  530. padding: 0 0 0 18px;
  531. width: 360px;
  532. height: 44px;
  533. line-height: 44px;
  534. font-size: 14px;
  535. color: #000;
  536. border-radius: 0;
  537. }
  538. span.help{
  539. position: absolute;
  540. right: -230px;
  541. top:0;
  542. font-size: 12px;
  543. color: #f00;
  544. }
  545. i.fa{
  546. position: absolute;
  547. top: 10px;
  548. right: 18px;
  549. font-size: 24px;
  550. color: #a0a0a0;
  551. cursor: pointer;
  552. }
  553. .pwd {
  554. margin: 6px 0 -15px 0;
  555. text-align: left;
  556. font-size: 13px;
  557. em{
  558. display: inline-block;
  559. margin: 0 8px 2px 0;
  560. width: 24px;
  561. height: 6px;
  562. &:first-child{
  563. margin-left: 10px;
  564. }
  565. }
  566. span{
  567. margin-left: 10px;
  568. font-size: 13px;
  569. }
  570. }
  571. .pwd.sm{
  572. color: #8c8c8c;
  573. em {
  574. background: #bfbfbf;
  575. &:first-child{
  576. background: #ff4e00;
  577. }
  578. }
  579. span{
  580. color: #ff4e00;
  581. }
  582. }
  583. .pwd.md{
  584. color: #8c8c8c;
  585. em {
  586. background: #22ac38;
  587. &:nth-child(3){
  588. background: #bfbfbf;
  589. }
  590. }
  591. span{
  592. color: #22ac38;
  593. }
  594. }
  595. .pwd.lar{
  596. color: #8c8c8c;
  597. em {
  598. background: #00a0e9;
  599. }
  600. span{
  601. color: #00a0e9;
  602. }
  603. }
  604. .pwd.low{
  605. color: #8c8c8c;
  606. em{
  607. background: #bfbfbf;
  608. }
  609. }
  610. span.tip{
  611. position: absolute;
  612. top: 3px;
  613. right: -190px;
  614. font-size: 13px;
  615. color: #8c8c8c;
  616. }
  617. span.tip.tip-mobile{
  618. top: 3px;
  619. right: -118px;
  620. color: #ff4949;
  621. font-size: 12px;
  622. }
  623. span.codeError-tip{
  624. position: absolute;
  625. top: 3px;
  626. left: 378px;
  627. width: 200px;
  628. text-align: left;
  629. color: #ff4949;
  630. font-size: 12px;
  631. }
  632. span.tip.passwordError{
  633. position: absolute;
  634. top: 3px;
  635. left: 380px;
  636. width: 200px;
  637. text-align: left;
  638. color: #ff4949;
  639. font-size: 12px;
  640. }
  641. input.msg{
  642. float: left;
  643. width: 210px;
  644. }
  645. button.msg{
  646. float: right;
  647. width: 130px;
  648. height: 44px;
  649. font-size: 14px;
  650. color: #5a5a5a;
  651. background: #f4f4f4;
  652. border: 1px solid #dcdcdc;
  653. cursor: pointer;
  654. &:disabled{
  655. cursor: not-allowed ;
  656. opacity: .7;
  657. }
  658. }
  659. span.msg.send{
  660. float: right;
  661. width: 130px;
  662. height: 44px;
  663. line-height: 44px;
  664. font-size: 14px;
  665. background: #d2d2d2;
  666. color: #fff;
  667. border: 1px solid #dcdcdc;
  668. }
  669. input[type='checkbox']{
  670. margin: 0 14px 0 55px;
  671. float: left;
  672. width: 16px;
  673. height: 16px;
  674. }
  675. span.agree{
  676. float: left;
  677. margin: 1px 0 0 10px;
  678. font-size: 14px;
  679. color: #8b8b8b;
  680. a{
  681. color: #0076ad;
  682. }
  683. }
  684. .form-group.agree{
  685. margin: 20px auto 0 !important;
  686. }
  687. .submitBtn {
  688. display: inline-block;
  689. margin-top: 34px;
  690. width: 360px;
  691. height: 44px;
  692. line-height: 44px;
  693. font-size: 16px;
  694. color: #fff;
  695. background: #0076AD;
  696. border-radius: 3px;
  697. border: none;
  698. &:disabled{
  699. cursor: not-allowed ;
  700. opacity: .7;
  701. }
  702. }
  703. }
  704. }
  705. .login{
  706. margin-top: 20px;
  707. font-size: 14px;
  708. color: #8c8c8c;
  709. a{
  710. font-size: 14px;
  711. color: #0076ad;
  712. }
  713. }
  714. }
  715. }
  716. .footer{
  717. padding: 50px 0;
  718. }
  719. </style>