EmailValidation.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. <template>
  2. <div class="validation">
  3. <div class="container">
  4. <div class="content" v-show="goFirstStep">
  5. <div class="content-top">
  6. <h3>验证邮箱</h3>
  7. <div class="step">
  8. <img src="/images/all/step01.png" alt=""/>
  9. <div class="step-item"><span class="active">账号验证</span><span>新邮箱地址</span><span>设置完成</span></div>
  10. </div>
  11. </div>
  12. <div class="choose">
  13. <div v-show="hasValidPhoneWay"
  14. @click="chooseWay(1)">
  15. <img src="/images/all/icon01.png" alt="" class="first mob"/>
  16. <span>通过验证手机</span><i class="fa fa-angle-right second"></i>
  17. </div>
  18. <div v-show="hasValidEmailWay"
  19. @click="chooseWay(2)">
  20. <img src="/images/all/icon02.png" alt="" class="first"/>
  21. <span>通过验证邮箱</span><i class="fa fa-angle-right second"></i>
  22. </div>
  23. <div v-show="hasValidQuestionsWay"
  24. @click="chooseWay(3)">
  25. <img src="/images/all/icon03.png" alt="" class="first"/>
  26. <span>通过验证密保</span><i class="fa fa-angle-right second"></i>
  27. </div>
  28. <div v-show="showManualAppeal"
  29. @click="goAccountAppeal()">
  30. <img src="/images/all/icon04.png" alt="" class="first"/>
  31. <span>通过人工申诉</span><i class="fa fa-angle-right second"></i>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="content" v-show="showPhoneValid">
  36. <div class="content-top">
  37. <h3>验证邮箱</h3>
  38. <div class="step">
  39. <img src="/images/all/step01.png" alt=""/>
  40. <div class="step-item"><span class="active">账号验证</span><span>新手机号码</span><span>设置完成</span></div>
  41. <a @click="goPreviousStep" class="return"><img src="/images/all/return.png" alt=""/></a>
  42. </div>
  43. </div>
  44. <div class="content-bottom">
  45. <span class="use">使用手机号<em>{{secretMobile}}</em>接收验证码</span>
  46. <div>
  47. <el-form :model="valid" :rules="rules" ref="valid" label-width="100px" class="demo-ruleForm" style="margin-top: 0;">
  48. <el-form-item prop="code">
  49. <el-input type="text" v-model="valid.code"
  50. v-bind:class="{ active: codeErrorChecked }"
  51. auto-complete="off" class="msg"
  52. placeholder="短信验证码"></el-input>
  53. <el-button type="primary" class="code"
  54. v-show="sendAccountCode"
  55. @click="getCheckCode">获取验证码</el-button>
  56. <el-button type="primary" v-show="!sendAccountCode" class="code code-send">已发送({{account_time}}s)</el-button>
  57. <span v-show="codeErrorChecked" class="tip codeError-tip" >{{codeErrorMsg}}</span>
  58. </el-form-item>
  59. <el-form-item>
  60. <a class="btn finish"
  61. :disabled="!codeChecked"
  62. @click="goNextStep">下一步</a>
  63. </el-form-item>
  64. </el-form>
  65. </div>
  66. </div>
  67. </div>
  68. <div class="content" v-show="showEmailValid">
  69. <div class="content-top">
  70. <h3>验证邮箱</h3>
  71. <div class="step">
  72. <img src="/images/all/step01.png" alt=""/>
  73. <div class="step-item"><span class="active">账号验证</span><span>新手机号码</span><span>设置完成</span></div>
  74. <a href="" class="return"><img src="/images/all/return.png" alt=""/></a>
  75. </div>
  76. </div>
  77. <div class="content-bottom">
  78. <span class="use">使用电子邮箱<em>{{secretEmail}}</em>进行验证,有效期7天</span>
  79. <div class="warp"
  80. @click="firstStepValidEmail"
  81. v-show="!emailSendSuccess">
  82. <button class="btn">发送验证请求</button>
  83. </div>
  84. <div class="warp" v-show="emailSendSuccess">
  85. <button class="btn" :disabled="emailSendSuccess">已发送验证邮件,请查收</button>
  86. </div>
  87. </div>
  88. </div>
  89. <div class="content" v-show="showQuestionsValid">
  90. <div class="content-top">
  91. <h3>验证邮箱</h3>
  92. <div class="step">
  93. <img src="/images/all/step01.png" alt=""/>
  94. <div class="step-item"><span class="active">账号验证</span><span>新手机号码</span><span>设置完成</span></div>
  95. <a href="" class="return"><img src="/images/all/return.png" alt=""/></a>
  96. </div>
  97. </div>
  98. <div>
  99. <el-form :model="validQuestion" :rules="rulesQuestion" ref="valid" label-width="100px" class="demo-ruleForm">
  100. <el-form-item class="questions">
  101. <span class="question">问题:{{question1}}</span>
  102. </el-form-item>
  103. <el-form-item prop="answer1">
  104. <el-input type="text" v-model="validQuestion.answer1"
  105. auto-complete="off"
  106. placeholder="答案一"></el-input>
  107. </el-form-item>
  108. <el-form-item class="questions">
  109. <span class="question">问题:{{question2}}</span>
  110. </el-form-item>
  111. <el-form-item prop="answer2">
  112. <el-input type="text" v-model="validQuestion.answer2"
  113. auto-complete="off"
  114. placeholder="答案二"></el-input>
  115. </el-form-item>
  116. <el-form-item>
  117. <a class="btn finish"
  118. :disabled="!answer1SecondChecked || !answer2SecondChecked"
  119. @click="validQuestionSubmit">提交</a>
  120. </el-form-item>
  121. </el-form>
  122. </div>
  123. </div>
  124. <!--未验证手机弹出框-->
  125. <div>
  126. <el-dialog class="valid-phone"
  127. :visible.sync="goValidPhone"
  128. @close="goVaildPhoneStep"
  129. size="tiny">
  130. <div class="set-tip" v-show="goValidPhone">
  131. <p>您的账号的未验证手机,请先验证手机号</p>
  132. <a href="/validation/phoneValidation">确定</a>
  133. </div>
  134. </el-dialog>
  135. </div>
  136. </div>
  137. </div>
  138. </template>
  139. <script>
  140. export default {
  141. name: 'validation',
  142. data () {
  143. // 第一步校验验证码
  144. var validateFirstCode = (rule, value, callback) => {
  145. if (value === '') {
  146. callback(new Error('请填写正确的验证码'))
  147. this.codeErrorChecked = false
  148. this.codeChecked = false
  149. } else {
  150. if (this.valid.code !== '') {
  151. if (this.token !== '') {
  152. if (this.valid.code !== '' && this.getMobile !== '') {
  153. let param = new FormData()
  154. param.append('mobile', this.getMobile)
  155. param.append('code', this.valid.code)
  156. param.append('token', this.token)
  157. let config = {
  158. headers: {'Content-Type': 'multipart/form-data'}
  159. }
  160. this.$http.post(`/update/user/checkCode/mobile`, param, config)
  161. .then(response => {
  162. if (response.data.success) {
  163. this.codeChecked = true
  164. this.codeErrorChecked = false
  165. } else {
  166. this.codeErrorChecked = true
  167. this.codeChecked = false
  168. return Promise.reject(response.data)
  169. }
  170. }).catch(err => {
  171. this.codeErrorMsg = err.errMsg
  172. })
  173. }
  174. } else {}
  175. }
  176. callback()
  177. }
  178. }
  179. // 第一步验证密保
  180. var validateSecondAnswer1 = (rule, value, callback) => {
  181. if (value === '') {
  182. callback(new Error('请填写正确的答案'))
  183. this.answer1SecondChecked = false
  184. } else {
  185. if (this.validQuestion.answer1 !== '') {
  186. this.answer1SecondChecked = true
  187. }
  188. callback()
  189. }
  190. }
  191. var validateSecondAnswer2 = (rule, value, callback) => {
  192. if (value === '') {
  193. callback(new Error('请填写正确的答案'))
  194. this.answer2SecondChecked = false
  195. } else {
  196. if (this.validQuestion.answer2 !== '') {
  197. this.answer2SecondChecked = true
  198. }
  199. callback()
  200. }
  201. }
  202. return {
  203. goFirstStep: true,
  204. hasValidPhoneWay: false,
  205. hasValidQuestionsWay: false,
  206. hasValidEmailWay: false,
  207. showManualAppeal: false,
  208. showPhoneValid: false,
  209. showEmailValid: false,
  210. showQuestionsValid: false,
  211. sendAccountCode: true,
  212. account_time: 0,
  213. codeErrorChecked: false,
  214. codeChecked: false,
  215. secretMobile: '',
  216. secretEmail: '',
  217. getMobile: '',
  218. getEmail: '',
  219. getQuestions: '',
  220. question1: '',
  221. question2: '',
  222. sort1: '',
  223. sort2: '',
  224. codeErrorMsg: '',
  225. firstStepToken: '',
  226. answer1SecondChecked: false,
  227. answer2SecondChecked: false,
  228. emailSendSuccess: false,
  229. goValidPhone: false,
  230. valid: {
  231. code: ''
  232. },
  233. validQuestion: {
  234. answer1: '',
  235. answer2: ''
  236. },
  237. rules: {
  238. code: [
  239. {validator: validateFirstCode, trigger: 'blur'}
  240. ]
  241. },
  242. rulesQuestion: {
  243. answer1: [
  244. {validator: validateSecondAnswer1, trigger: 'blur'}
  245. ],
  246. answer2: [
  247. {validator: validateSecondAnswer2, trigger: 'blur'}
  248. ]
  249. }
  250. }
  251. },
  252. computed: {
  253. logged () {
  254. // console.log(this.$store.state.option.isLogin.data.content)
  255. return this.$store.state.option.isLogin.data.content
  256. }
  257. },
  258. mounted () {
  259. // 验证是否登录
  260. this.$nextTick(() => {
  261. this.isLogin()
  262. // 刷新统计信息
  263. setInterval(() => {
  264. this.isLogin()
  265. }, 10000)
  266. })
  267. // 获取验证方式
  268. this.$nextTick(() => {
  269. this.getVerifyWay()
  270. })
  271. },
  272. methods: {
  273. // 判断用户是否登录
  274. isLogin () {
  275. if (!this.logged.isLogin) {
  276. // console.log(this.logged.isLogin)
  277. // 未登录跳到登录页面
  278. window.location.href = '/'
  279. }
  280. },
  281. // 获取验证方式
  282. getVerifyWay () {
  283. this.$http.get('/update/user/checkType').then(response => {
  284. if (response.data.success) {
  285. console.log(response.data.content)
  286. if (!response.data.content.mobile) {
  287. this.goValidPhone = true
  288. } else {
  289. if (response.data.content.mobile) {
  290. this.hasValidPhoneWay = true
  291. this.showManualAppeal = true
  292. this.getMobile = response.data.content.mobile
  293. var reg = /^(\d{3})\d{6}(\d{2})$/
  294. this.secretMobile = this.getMobile.replace(reg, '$1******$2')
  295. }
  296. if (response.data.content.questions) {
  297. this.hasValidQuestionsWay = true
  298. this.showManualAppeal = true
  299. this.getQuestions = response.data.content.questions
  300. this.question1 = this.getQuestions[0].question || ''
  301. this.question2 = this.getQuestions[1].question || ''
  302. this.sort1 = this.getQuestions[0].sort || ''
  303. this.sort2 = this.getQuestions[1].sort || ''
  304. }
  305. if (response.data.content.email) {
  306. this.hasValidEmailWay = true
  307. this.showManualAppeal = true
  308. this.getEmail = response.data.content.email
  309. let getEmailIndex = this.getEmail.indexOf('@')
  310. if (getEmailIndex > 3) {
  311. let len = this.getEmail.substring(3, getEmailIndex)
  312. this.secretEmail = this.getEmail.replace(len, '*')
  313. } else {
  314. this.getEmailArr = this.getEmail.split('')
  315. this.getEmailSplit = this.getEmailArr.splice(getEmailIndex, 0, '*')
  316. this.secretEmail = this.getEmailArr.join('')
  317. }
  318. }
  319. this.goValidPhone = false
  320. this.goFirstStep = true
  321. }
  322. }
  323. })
  324. },
  325. // 没验证手机将跳转到手机验证页面
  326. goVaildPhoneStep () {
  327. this.$router.push({ path: '/validation/phoneValidation' })
  328. },
  329. // 选择方式
  330. chooseWay (flag) {
  331. if (flag === 1) {
  332. this.showPhoneValid = true
  333. } else if (flag === 2) {
  334. this.showEmailValid = true
  335. } else if (flag === 3) {
  336. this.showQuestionsValid = true
  337. }
  338. this.goFirstStep = false
  339. },
  340. // 跳转到人工申诉页面
  341. goAccountAppeal () {
  342. window.location.href = '/appeals/accountAppeal'
  343. },
  344. // 返回上一步
  345. goPreviousStep () {
  346. this.goFirstStep = true
  347. this.showPhoneValid = false
  348. this.showEmailValid = false
  349. this.showQuestionsValid = false
  350. },
  351. // 获取第一步手机验证码
  352. getCheckCode () {
  353. this.$http.get(`/update/user/check/mobile`, {params: {mobile: this.getMobile}})
  354. .then(response => {
  355. this.token = response.data.content.token
  356. if (this.token !== '') {
  357. this.$message({
  358. message: '验证码已经发送到您的手机,请注意查收',
  359. type: 'success'
  360. })
  361. this.sendAccountCode = false
  362. this.account_time = 60
  363. var accountTime = setInterval(() => {
  364. this.account_time--
  365. if (this.account_time <= 0) {
  366. this.sendAccountCode = true
  367. clearInterval(accountTime)
  368. }
  369. }, 1000)
  370. }
  371. }).catch(err => {
  372. this.$message.error(err.errMsg)
  373. })
  374. },
  375. // 手机号验证下一步
  376. goNextStep () {
  377. if (this.codeChecked) {
  378. let param = new FormData()
  379. param.append('mobile', this.getMobile)
  380. param.append('code', this.valid.code)
  381. param.append('token', this.token)
  382. let config = {
  383. headers: {'Content-Type': 'multipart/form-data'}
  384. }
  385. this.$http.post(`/update/user/check/mobile`, param, config)
  386. .then(response => {
  387. if (response.data.success) {
  388. this.$store.commit('login/GET_TOKEN', response.data.content)
  389. this.showPhoneValid = false
  390. this.$router.push({ path: '/validation/emailValidationSecondStep' })
  391. } else {
  392. this.showPhoneValid = true
  393. return Promise.reject(response.data)
  394. }
  395. }).catch(err => {
  396. this.$message.error(err.errMsg)
  397. })
  398. }
  399. },
  400. // 第一步验证邮箱
  401. firstStepValidEmail () {
  402. this.$http.get(`/update/user/check/email`, {params: {email: this.getEmail, operate: 'email'}})
  403. .then(response => {
  404. if (response.data.success) {
  405. this.emailSendSuccess = true
  406. } else {
  407. this.emailSendSuccess = false
  408. return Promise.reject(response.data)
  409. }
  410. }).catch(err => {
  411. console.log(err)
  412. // this.$message.error(err.errMsg)
  413. })
  414. },
  415. // 第一步验证密保提交
  416. validQuestionSubmit () {
  417. if (this.answer1SecondChecked && this.answer2SecondChecked) {
  418. let param = new FormData()
  419. let answer = []
  420. answer.push({'answer': this.validQuestion.answer1, 'sort': this.sort1}, {'answer': this.validQuestion.answer2, 'sort': this.sort2})
  421. let answers = JSON.stringify(answer)
  422. param.append('answers', answers)
  423. let config = {
  424. headers: {'Content-Type': 'multipart/form-data'}
  425. }
  426. this.$http.post(`/update/user/check/question`, param, config)
  427. .then(response => {
  428. if (response.data.success) {
  429. this.$store.commit('login/GET_TOKEN', response.data.content.token)
  430. this.showQuestionsValid = false
  431. this.$router.push({ path: '/validation/emailValidationSecondStep' })
  432. } else {
  433. this.showQuestionsValid = true
  434. return Promise.reject(response.data)
  435. }
  436. }).catch(err => {
  437. this.$message.error(err.errMsg)
  438. })
  439. }
  440. }
  441. }
  442. }
  443. </script>
  444. <style lang="scss" scoped>
  445. .validation {
  446. margin: 0 auto;
  447. width: 100%;
  448. background: #eee;
  449. .container{
  450. padding-top: 50px;
  451. margin: 0 auto;
  452. width: 980px;
  453. text-align: center;
  454. .content{
  455. padding: 0 50px;
  456. margin: 50px auto 0;
  457. width: 100%;
  458. /*height: 540px;*/
  459. text-align: center;
  460. background: #fff;
  461. .content-top{
  462. height: 80px;
  463. line-height: 80px;
  464. h3{
  465. margin-bottom: 0;
  466. font-size: 24px;
  467. color: #000;
  468. border-bottom: 1px solid #dcdcdc;
  469. }
  470. .step{
  471. position: relative;
  472. margin-top: 10px;
  473. img{
  474. width: 315px;
  475. height: 46px;
  476. }
  477. .step-item{
  478. position: absolute;
  479. top: 45px;
  480. left: 265px;
  481. span{
  482. margin-right: 78px;
  483. font-size: 14px;
  484. color: #b4b4b4;
  485. }
  486. span.active {
  487. color: #0076ad;
  488. }
  489. }
  490. }
  491. }
  492. form {
  493. margin-top: 150px;
  494. padding-bottom: 44px;
  495. input{
  496. padding: 0 0 0 18px;
  497. width: 360px;
  498. height: 44px;
  499. line-height: 44px;
  500. font-size: 14px;
  501. color: #000;
  502. border-radius: 0;
  503. }
  504. input.answer {
  505. background: url("/images/all/more.png") no-repeat 325px center;
  506. cursor: pointer;
  507. }
  508. ul{
  509. display: none;
  510. position: absolute;
  511. top: 44px;
  512. left: 0;
  513. width: 360px;
  514. background: #fff;
  515. box-shadow: 0 0 5px rgba(0,0,0,.5);
  516. -moz-box-shadow: 0 0 5px rgba(0,0,0,.5);
  517. -o-box-shadow: 0 0 5px rgba(0,0,0,.5);
  518. -webkit-box-shadow: 0 0 5px rgba(0,0,0,.5);
  519. z-index: 10;
  520. li{
  521. padding-left: 18px;
  522. width: 100%;
  523. height: 30px;
  524. line-height: 30px;
  525. text-align: left;
  526. font-size: 14px;
  527. color: #000;
  528. cursor: pointer;
  529. &:hover{
  530. background: #0076ad;
  531. color: #fff;
  532. }
  533. }
  534. }
  535. span.tip{
  536. position: absolute;
  537. top: 0;
  538. right: -238px;
  539. font-size: 13px;
  540. color: #8c8c8c;
  541. a{
  542. font-size: 13px;
  543. color: #0076ad;
  544. }
  545. }
  546. span.tip.codeError-tip{
  547. position: absolute;
  548. top: 3px;
  549. left: 378px;
  550. width: 200px;
  551. text-align: left;
  552. color: #ff4949;
  553. font-size: 12px;
  554. }
  555. i{
  556. position: absolute;
  557. top: 13px;
  558. left: 20px;
  559. font-size: 20px;
  560. color: #a0a0a0;
  561. }
  562. .btn {
  563. margin: 34px 0 16px 0;
  564. width: 360px;
  565. height: 44px;
  566. line-height: 44px;
  567. font-size: 16px;
  568. color: #fff;
  569. background: #0076AD;
  570. border-radius: 3px;
  571. }
  572. }
  573. .content-bottom{
  574. margin: 155px auto 0;
  575. padding-bottom: 50px;
  576. width: 360px;
  577. div.warp{
  578. padding-bottom: 65px;
  579. }
  580. p{
  581. font-size: 24px;
  582. color: #323232;
  583. img{
  584. margin-right: 20px;
  585. width: 30px;
  586. height: 28px;
  587. }
  588. }
  589. p.pass{
  590. font-size: 24px;
  591. color: #e77405;
  592. img{
  593. height: 30px;
  594. }
  595. }
  596. p.passed {
  597. color: #2ab300;
  598. img{
  599. height: 30px;
  600. }
  601. }
  602. span{
  603. display: inline-block;
  604. font-size: 14px;
  605. color: #8b8b8b;
  606. }
  607. span.close-tip{
  608. margin: 15px 0 140px 0;
  609. }
  610. .close-btn{
  611. margin: 0 auto;
  612. width: 200px;
  613. height: 36px;
  614. line-height: 36px;
  615. font-size: 14px;
  616. text-align: center;
  617. color: #323232;
  618. border: 1px solid #d2d2d2;
  619. border-radius: 3px;
  620. cursor: pointer ;
  621. }
  622. span.use{
  623. display: inline-block;
  624. margin-bottom: 30px;
  625. width: 360px;
  626. font-size: 14px;
  627. color: #000;
  628. text-align: left;
  629. em{
  630. font-size: 14px;
  631. font-style: normal;
  632. color: #000;
  633. }
  634. }
  635. .form-group {
  636. margin: 0 auto 16px;
  637. position: relative;
  638. width: 360px;
  639. height: 44px;
  640. line-height: 44px;
  641. input{
  642. padding: 0 0 0 18px;
  643. width: 360px;
  644. height: 44px;
  645. line-height: 44px;
  646. font-size: 14px;
  647. color: #000;
  648. border-radius: 0;
  649. }
  650. input.msg{
  651. float: left;
  652. width: 210px;
  653. padding: 0 0 0 18px;
  654. height: 44px;
  655. line-height: 44px;
  656. font-size: 14px;
  657. color: #000;
  658. border-radius: 0;
  659. }
  660. span.msg{
  661. float: right;
  662. margin: 0;
  663. width: 130px;
  664. height: 44px;
  665. line-height: 44px;
  666. text-align: center ;
  667. font-size: 14px;
  668. color: #5a5a5a;
  669. background: #f4f4f4;
  670. border: 1px solid #dcdcdc;
  671. cursor: pointer;
  672. }
  673. span.msg.send{
  674. background: #d2d2d2;
  675. color: #fff;
  676. }
  677. }
  678. .btn {
  679. margin: 34px 0 10px 0;
  680. width: 360px;
  681. height: 44px;
  682. line-height: 44px;
  683. font-size: 16px;
  684. color: #fff;
  685. background: #0076AD;
  686. border-radius: 3px;
  687. }
  688. }
  689. .choose{
  690. margin: 155px auto 0;
  691. padding-bottom: 44px;
  692. div{
  693. padding: 0 15px;
  694. margin: 0 auto 16px;
  695. width: 360px;
  696. height: 60px;
  697. line-height: 60px;
  698. text-align: left;
  699. overflow: hidden;
  700. border: 1px solid #d2d2d2;
  701. cursor: pointer;
  702. &:hover,&.active{
  703. border-color: #0076ad;
  704. span{
  705. color: #0076ad;
  706. }
  707. i.second {
  708. color: #0076ad;
  709. }
  710. }
  711. img.first{
  712. float: left;
  713. margin: 24px 20px 0 0;
  714. font-size: 20px;
  715. color: #323232;
  716. }
  717. img.first.mob{
  718. margin: 22px 20px 0 5px;
  719. font-size: 28px;
  720. }
  721. i.second {
  722. float: right;
  723. margin: 20px 0 0 5px;
  724. font-size: 20px;
  725. color: #323232;
  726. }
  727. span{
  728. float: left;
  729. font-size: 14px;
  730. color: #323232;
  731. }
  732. }
  733. }
  734. a.return{
  735. position: absolute;
  736. left: 0;
  737. top: -15px;
  738. img{
  739. width: 34px !important;
  740. height: 34px !important;
  741. }
  742. }
  743. }
  744. }
  745. }
  746. </style>