PersonalRegistration.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  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. console.log('22222', this.$store.state.login.loginStyle.data)
  363. return this.$store.state.login.loginStyle.data.content
  364. }
  365. },
  366. methods: {
  367. // 获取链接
  368. getUrl () {
  369. var url = window.location.search
  370. var request = {}
  371. var origin = window.location.origin
  372. this.returnLogin = origin + url
  373. if (url.indexOf('?' !== -1)) {
  374. var str = url.substr(1)
  375. var strs = str.split('&')
  376. this.queryLink = str
  377. for (var i = 0; i < strs.length; i++) {
  378. request[strs[i].split('=')[0]] = decodeURI(strs[i].split('=')[1])
  379. }
  380. }
  381. this.appId = request['appId'] || ''
  382. },
  383. // 注册
  384. goRegister () {
  385. window.location.href = `/register/enterpriseRegistration?${this.queryLink}`
  386. },
  387. // 我同意是否被选中
  388. checkboxChecked () {
  389. this.checked = !this.checked
  390. },
  391. // 表单提交
  392. submit () {
  393. if (this.vipNameChecked && this.passwordChecked && this.confirmChecked && this.mobileChecked && this.codeChecked && this.checked) {
  394. if (this.item.password !== this.item.confirm) {
  395. this.$message.error('请确认两次填写密码是否一致')
  396. } else {
  397. this.isShowLoading = true
  398. let param = new FormData()
  399. param.append('vipName', this.item.vipName)
  400. param.append('password', this.item.password)
  401. param.append('mobile', this.item.mobile)
  402. // param.append('mobileArea', '')
  403. param.append('appId', this.appId)
  404. param.append('code', this.item.code)
  405. param.append('token', this.token)
  406. let config = {
  407. headers: {'Content-Type': 'multipart/form-data'}
  408. }
  409. this.$http.post('/sso/personal/register', param, config)
  410. .then(response => {
  411. this.isShowLoading = false
  412. if (response.data.success) {
  413. let userUU = response.data.content.userUU
  414. window.location.href = `/overRegister/${userUU}`
  415. } else {
  416. return Promise.reject(response.data)
  417. }
  418. }).catch(err => {
  419. this.$message.error(err.errMsg)
  420. this.isShowLoading = false
  421. this.personal_time = 0
  422. })
  423. }
  424. } else {
  425. if (!this.item.vipName) {
  426. this.$message.error('会员名不能为空')
  427. } else if (!this.vipNameChecked) {
  428. this.$message.error('会员名输入有误,请按提示重新输入')
  429. } else if (!this.item.password) {
  430. this.$message.error('密码不能为空')
  431. } else if (!this.passwordChecked) {
  432. this.$message.error('密码输入有误,请按提示重新输入')
  433. } else if (!this.item.confirm) {
  434. this.$message.error('请再次输入密码')
  435. } else if (!this.confirmChecked) {
  436. this.$message.error('请确认两次填写密码是否一致')
  437. } else if (!this.item.mobile) {
  438. this.$message.error('手机号不能为空')
  439. } else if (!this.mobileChecked) {
  440. this.$message.error('手机号输入有误,请按提示重新输入')
  441. } else if (!this.token) {
  442. this.$message.error('请先获取验证码')
  443. } else if (!this.item.code) {
  444. this.$message.error('验证码不能为空')
  445. } else if (!this.codeChecked) {
  446. this.$message.error('验证码输入有误,请按提示重新输入')
  447. } else if (!this.checked) {
  448. this.$message.error('您对阅读条款未做勾选')
  449. }
  450. }
  451. },
  452. // 获取验证码
  453. // async getCode () {
  454. // let { data } = await this.$http.get(`/sso/personal/register/checkCode`, {params: {mobile: this.item.mobile}})
  455. // this.token = data.token
  456. // },
  457. getCheckCode () {
  458. this.isShowLoading = true
  459. // this.getCode()
  460. this.$http.get(`/sso/personal/register/checkCode`, {params: {mobile: this.item.mobile}})
  461. .then(response => {
  462. this.isShowLoading = false
  463. if (response.data) {
  464. this.token = response.data.token
  465. if (this.token !== '') {
  466. this.$message({
  467. message: '验证码已经发送到您的手机,请注意查收',
  468. type: 'success'
  469. })
  470. this.sendPersonalCode = false
  471. this.personal_time = 60
  472. var personalTime = setInterval(() => {
  473. this.personal_time--
  474. if (this.personal_time <= 0) {
  475. this.sendPersonalCode = true
  476. clearInterval(personalTime)
  477. }
  478. }, 1000)
  479. }
  480. } else {
  481. return Promise.reject(response.data)
  482. }
  483. }).catch(err => {
  484. this.isShowLoading = false
  485. this.$message.error(err.errMsg)
  486. })
  487. }
  488. }
  489. }
  490. </script>
  491. <style lang="scss" scoped>
  492. .register {
  493. margin: 0 auto;
  494. width: 100%;
  495. background: #eee;
  496. .container{
  497. padding-top: 50px;
  498. margin: 0 auto;
  499. width: 980px;
  500. text-align: center;
  501. .content{
  502. padding: 0 50px;
  503. margin: 50px auto 0;
  504. width: 100%;
  505. text-align: center;
  506. background: #fff;
  507. .content-top{
  508. position: relative;
  509. height: 80px;
  510. line-height: 80px;
  511. border-bottom: 1px solid #dcdcdc;
  512. h3{
  513. font-family: 'SimHei';
  514. font-size: 24px;
  515. color: #000;
  516. }
  517. a.go{
  518. position: absolute;
  519. top: 0;
  520. right: 0;
  521. font-size: 14px;
  522. i{
  523. margin-right: 3px;
  524. }
  525. }
  526. }
  527. form {
  528. padding-bottom: 44px;
  529. margin-top: 35px;
  530. input{
  531. padding: 0 0 0 18px;
  532. width: 360px;
  533. height: 44px;
  534. line-height: 44px;
  535. font-size: 14px;
  536. color: #000;
  537. border-radius: 0;
  538. }
  539. span.help{
  540. position: absolute;
  541. right: -230px;
  542. top:0;
  543. font-size: 12px;
  544. color: #f00;
  545. }
  546. i.fa{
  547. position: absolute;
  548. top: 10px;
  549. right: 18px;
  550. font-size: 24px;
  551. color: #a0a0a0;
  552. cursor: pointer;
  553. }
  554. .pwd {
  555. margin: 6px 0 -15px 0;
  556. text-align: left;
  557. font-size: 13px;
  558. em{
  559. display: inline-block;
  560. margin: 0 8px 2px 0;
  561. width: 24px;
  562. height: 6px;
  563. &:first-child{
  564. margin-left: 10px;
  565. }
  566. }
  567. span{
  568. margin-left: 10px;
  569. font-size: 13px;
  570. }
  571. }
  572. .pwd.sm{
  573. color: #8c8c8c;
  574. em {
  575. background: #bfbfbf;
  576. &:first-child{
  577. background: #ff4e00;
  578. }
  579. }
  580. span{
  581. color: #ff4e00;
  582. }
  583. }
  584. .pwd.md{
  585. color: #8c8c8c;
  586. em {
  587. background: #22ac38;
  588. &:nth-child(3){
  589. background: #bfbfbf;
  590. }
  591. }
  592. span{
  593. color: #22ac38;
  594. }
  595. }
  596. .pwd.lar{
  597. color: #8c8c8c;
  598. em {
  599. background: #00a0e9;
  600. }
  601. span{
  602. color: #00a0e9;
  603. }
  604. }
  605. .pwd.low{
  606. color: #8c8c8c;
  607. em{
  608. background: #bfbfbf;
  609. }
  610. }
  611. span.tip{
  612. position: absolute;
  613. top: 3px;
  614. right: -190px;
  615. font-size: 13px;
  616. color: #8c8c8c;
  617. }
  618. span.tip.tip-mobile{
  619. top: 3px;
  620. right: -118px;
  621. color: #ff4949;
  622. font-size: 12px;
  623. }
  624. span.codeError-tip{
  625. position: absolute;
  626. top: 3px;
  627. left: 378px;
  628. width: 200px;
  629. text-align: left;
  630. color: #ff4949;
  631. font-size: 12px;
  632. }
  633. span.tip.passwordError{
  634. position: absolute;
  635. top: 3px;
  636. left: 380px;
  637. width: 200px;
  638. text-align: left;
  639. color: #ff4949;
  640. font-size: 12px;
  641. }
  642. input.msg{
  643. float: left;
  644. width: 210px;
  645. }
  646. button.msg{
  647. float: right;
  648. width: 130px;
  649. height: 44px;
  650. font-size: 14px;
  651. color: #5a5a5a;
  652. background: #f4f4f4;
  653. border: 1px solid #dcdcdc;
  654. cursor: pointer;
  655. &:disabled{
  656. cursor: not-allowed ;
  657. opacity: .7;
  658. }
  659. }
  660. span.msg.send{
  661. float: right;
  662. width: 130px;
  663. height: 44px;
  664. line-height: 44px;
  665. font-size: 14px;
  666. background: #d2d2d2;
  667. color: #fff;
  668. border: 1px solid #dcdcdc;
  669. }
  670. input[type='checkbox']{
  671. margin: 0 14px 0 55px;
  672. float: left;
  673. width: 16px;
  674. height: 16px;
  675. }
  676. span.agree{
  677. float: left;
  678. margin: 1px 0 0 10px;
  679. font-size: 14px;
  680. color: #8b8b8b;
  681. a{
  682. color: #0076ad;
  683. }
  684. }
  685. .form-group.agree{
  686. margin: 20px auto 0 !important;
  687. }
  688. .submitBtn {
  689. display: inline-block;
  690. margin-top: 34px;
  691. width: 360px;
  692. height: 44px;
  693. line-height: 44px;
  694. font-size: 16px;
  695. color: #fff;
  696. background: #0076AD;
  697. border-radius: 3px;
  698. border: none;
  699. &:disabled{
  700. cursor: not-allowed ;
  701. opacity: .7;
  702. }
  703. }
  704. }
  705. }
  706. .login{
  707. margin-top: 20px;
  708. font-size: 14px;
  709. color: #8c8c8c;
  710. a{
  711. font-size: 14px;
  712. color: #0076ad;
  713. }
  714. }
  715. }
  716. }
  717. .footer{
  718. padding: 50px 0;
  719. }
  720. </style>