PhoneValidation.vue 25 KB

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