PasswordRestAppeal.vue 22 KB

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