ChangeManager.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  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="goChangeManagerAppeal()">
  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(`/sso/change/admin/check/newMobile`, 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. showPhoneValid: false,
  207. showEmailValid: false,
  208. showQuestionsValid: 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('/sso/change/admin/checkType').then(response => {
  281. if (response.data.success) {
  282. // console.log(response.data)
  283. if (!response.data.content) {
  284. this.goFirstStep = true
  285. this.showManualAppeal = true
  286. this.hasValidPhoneWay = false
  287. this.hasValidQuestionsWay = false
  288. this.hasValidEmailWay = false
  289. } else {
  290. if (response.data.content.mobile) {
  291. this.hasValidPhoneWay = 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.getQuestions = response.data.content.questions
  299. this.question1 = this.getQuestions[0].question || ''
  300. this.question2 = this.getQuestions[1].question || ''
  301. this.sort1 = this.getQuestions[0].sort || ''
  302. this.sort2 = this.getQuestions[1].sort || ''
  303. }
  304. if (response.data.content.email) {
  305. this.hasValidEmailWay = true
  306. this.getEmail = response.data.content.email
  307. let getEmailIndex = this.getEmail.indexOf('@')
  308. if (getEmailIndex > 3) {
  309. let len = this.getEmail.substring(3, getEmailIndex)
  310. this.secretEmail = this.getEmail.replace(len, '*')
  311. } else {
  312. this.getEmailArr = this.getEmail.split('')
  313. this.getEmailSplit = this.getEmailArr.splice(getEmailIndex, 0, '*')
  314. this.secretEmail = this.getEmailArr.join('')
  315. }
  316. }
  317. this.goFirstStep = true
  318. this.showManualAppeal = true
  319. }
  320. }
  321. })
  322. },
  323. // 选择方式
  324. chooseWay (flag) {
  325. if (flag === 1) {
  326. this.showPhoneValid = true
  327. } else if (flag === 2) {
  328. this.showEmailValid = true
  329. } else if (flag === 3) {
  330. this.showQuestionsValid = true
  331. }
  332. this.goFirstStep = false
  333. },
  334. // 跳转到人工申诉页面
  335. goChangeManagerAppeal () {
  336. window.location.href = '/appeals/changeManagerAppeal'
  337. },
  338. // 返回上一步
  339. goPreviousStep () {
  340. this.goFirstStep = true
  341. this.showPhoneValid = false
  342. this.showEmailValid = false
  343. this.showQuestionsValid = false
  344. },
  345. // 获取第一步手机验证码
  346. getCheckCode () {
  347. this.isShowLoading = true
  348. this.$http.get(`/sso/change/admin/check/mobile`)
  349. .then(response => {
  350. this.isShowLoading = false
  351. this.token = response.data.content.token
  352. if (this.token !== '') {
  353. this.$message({
  354. message: '验证码已经发送到您的手机,请注意查收',
  355. type: 'success'
  356. })
  357. this.sendAccountCode = false
  358. this.account_time = 60
  359. var accountTime = setInterval(() => {
  360. this.account_time--
  361. if (this.account_time <= 0) {
  362. this.sendAccountCode = true
  363. clearInterval(accountTime)
  364. }
  365. }, 1000)
  366. }
  367. }).catch(err => {
  368. this.isShowLoading = false
  369. this.$message.error(err.errMsg)
  370. })
  371. },
  372. // 手机号验证下一步
  373. goNextStep () {
  374. if (this.codeChecked) {
  375. this.isShowLoading = true
  376. let param = new FormData()
  377. param.append('code', this.valid.code)
  378. param.append('token', this.token)
  379. let config = {
  380. headers: {'Content-Type': 'multipart/form-data'}
  381. }
  382. this.$http.post(`/sso/change/admin/check/mobile`, param, config)
  383. .then(response => {
  384. if (response.data.success) {
  385. this.isShowLoading = false
  386. this.$store.commit('login/GET_TOKEN', response.data.content)
  387. this.showPhoneValid = false
  388. this.$router.push({ path: '/change/changeManagerSecondStep' })
  389. } else {
  390. this.showPhoneValid = true
  391. return Promise.reject(response.data)
  392. }
  393. }).catch(err => {
  394. this.isShowLoading = false
  395. this.$message.error(err.errMsg)
  396. })
  397. }
  398. },
  399. // 第一步验证邮箱
  400. firstStepValidEmail () {
  401. this.isShowLoading = true
  402. this.$http.get(`/sso/change/admin/check/email`)
  403. .then(response => {
  404. if (response.data.success) {
  405. this.isShowLoading = false
  406. this.emailSendSuccess = true
  407. } else {
  408. this.emailSendSuccess = false
  409. return Promise.reject(response.data)
  410. }
  411. }).catch(err => {
  412. this.isShowLoading = false
  413. console.log(err)
  414. // this.$message.error(err.errMsg)
  415. })
  416. },
  417. // 第一步验证密保提交
  418. validQuestionSubmit () {
  419. if (this.answer1SecondChecked && this.answer2SecondChecked) {
  420. this.isShowLoading = true
  421. let param = new FormData()
  422. let answer = []
  423. answer.push({'answer': this.validQuestion.answer1, 'sort': this.sort1}, {'answer': this.validQuestion.answer2, 'sort': this.sort2})
  424. let answers = JSON.stringify(answer)
  425. param.append('answers', answers)
  426. let config = {
  427. headers: {'Content-Type': 'multipart/form-data'}
  428. }
  429. this.$http.post(`/sso/change/admin/check/question`, param, config)
  430. .then(response => {
  431. if (response.data.success) {
  432. this.isShowLoading = false
  433. this.$store.commit('login/GET_TOKEN', response.data.content.token)
  434. this.showQuestionsValid = false
  435. this.$router.push({ path: '/change/changeManagerSecondStep' })
  436. } else {
  437. this.showQuestionsValid = true
  438. return Promise.reject(response.data)
  439. }
  440. }).catch(err => {
  441. this.isShowLoading = false
  442. this.$message.error(err.errMsg)
  443. })
  444. }
  445. }
  446. }
  447. }
  448. </script>
  449. <style lang="scss" scoped>
  450. .validation {
  451. margin: 0 auto;
  452. width: 100%;
  453. background: #eee;
  454. .container{
  455. padding-top: 50px;
  456. margin: 0 auto;
  457. width: 980px;
  458. text-align: center;
  459. .content{
  460. padding: 0 50px;
  461. margin: 50px auto 0;
  462. width: 100%;
  463. /*height: 540px;*/
  464. text-align: center;
  465. background: #fff;
  466. .content-top{
  467. height: 80px;
  468. line-height: 80px;
  469. h3{
  470. margin-bottom: 0;
  471. font-size: 24px;
  472. color: #000;
  473. border-bottom: 1px solid #dcdcdc;
  474. }
  475. .step{
  476. position: relative;
  477. margin-top: 10px;
  478. img{
  479. width: 315px;
  480. height: 46px;
  481. }
  482. .step-item{
  483. position: absolute;
  484. top: 45px;
  485. left: 265px;
  486. span{
  487. margin-right: 57px;
  488. font-size: 14px;
  489. color: #b4b4b4;
  490. }
  491. span.active {
  492. color: #0076ad;
  493. }
  494. }
  495. }
  496. }
  497. form {
  498. margin-top: 150px;
  499. padding-bottom: 44px;
  500. input{
  501. padding: 0 0 0 18px;
  502. width: 360px;
  503. height: 44px;
  504. line-height: 44px;
  505. font-size: 14px;
  506. color: #000;
  507. border-radius: 0;
  508. }
  509. input.answer {
  510. background: url("/images/all/more.png") no-repeat 325px center;
  511. cursor: pointer;
  512. }
  513. ul{
  514. display: none;
  515. position: absolute;
  516. top: 44px;
  517. left: 0;
  518. width: 360px;
  519. background: #fff;
  520. box-shadow: 0 0 5px rgba(0,0,0,.5);
  521. -moz-box-shadow: 0 0 5px rgba(0,0,0,.5);
  522. -o-box-shadow: 0 0 5px rgba(0,0,0,.5);
  523. -webkit-box-shadow: 0 0 5px rgba(0,0,0,.5);
  524. z-index: 10;
  525. li{
  526. padding-left: 18px;
  527. width: 100%;
  528. height: 30px;
  529. line-height: 30px;
  530. text-align: left;
  531. font-size: 14px;
  532. color: #000;
  533. cursor: pointer;
  534. &:hover{
  535. background: #0076ad;
  536. color: #fff;
  537. }
  538. }
  539. }
  540. span.tip{
  541. position: absolute;
  542. top: 0;
  543. right: -238px;
  544. font-size: 13px;
  545. color: #8c8c8c;
  546. a{
  547. font-size: 13px;
  548. color: #0076ad;
  549. }
  550. }
  551. span.tip.codeError-tip{
  552. position: absolute;
  553. top: 3px;
  554. left: 378px;
  555. width: 200px;
  556. text-align: left;
  557. color: #ff4949;
  558. font-size: 12px;
  559. }
  560. i{
  561. position: absolute;
  562. top: 13px;
  563. left: 20px;
  564. font-size: 20px;
  565. color: #a0a0a0;
  566. }
  567. .btn {
  568. margin: 34px 0 16px 0;
  569. width: 360px;
  570. height: 44px;
  571. line-height: 44px;
  572. font-size: 16px;
  573. color: #fff;
  574. background: #0076AD;
  575. border-radius: 3px;
  576. }
  577. }
  578. .content-bottom{
  579. margin: 155px auto 0;
  580. padding-bottom: 50px;
  581. width: 360px;
  582. div.warp{
  583. padding-bottom: 65px;
  584. }
  585. p{
  586. font-size: 24px;
  587. color: #323232;
  588. img{
  589. margin-right: 20px;
  590. width: 30px;
  591. height: 28px;
  592. }
  593. }
  594. p.pass{
  595. font-size: 24px;
  596. color: #e77405;
  597. img{
  598. height: 30px;
  599. }
  600. }
  601. p.passed {
  602. color: #2ab300;
  603. img{
  604. height: 30px;
  605. }
  606. }
  607. span{
  608. display: inline-block;
  609. font-size: 14px;
  610. color: #8b8b8b;
  611. }
  612. span.close-tip{
  613. margin: 15px 0 140px 0;
  614. }
  615. .close-btn{
  616. margin: 0 auto;
  617. width: 200px;
  618. height: 36px;
  619. line-height: 36px;
  620. font-size: 14px;
  621. text-align: center;
  622. color: #323232;
  623. border: 1px solid #d2d2d2;
  624. border-radius: 3px;
  625. cursor: pointer ;
  626. }
  627. span.use{
  628. display: inline-block;
  629. margin-bottom: 30px;
  630. width: 360px;
  631. font-size: 14px;
  632. color: #000;
  633. text-align: left;
  634. em{
  635. font-size: 14px;
  636. font-style: normal;
  637. color: #000;
  638. }
  639. }
  640. .form-group {
  641. margin: 0 auto 16px;
  642. position: relative;
  643. width: 360px;
  644. height: 44px;
  645. line-height: 44px;
  646. input{
  647. padding: 0 0 0 18px;
  648. width: 360px;
  649. height: 44px;
  650. line-height: 44px;
  651. font-size: 14px;
  652. color: #000;
  653. border-radius: 0;
  654. }
  655. input.msg{
  656. float: left;
  657. width: 210px;
  658. padding: 0 0 0 18px;
  659. height: 44px;
  660. line-height: 44px;
  661. font-size: 14px;
  662. color: #000;
  663. border-radius: 0;
  664. }
  665. span.msg{
  666. float: right;
  667. margin: 0;
  668. width: 130px;
  669. height: 44px;
  670. line-height: 44px;
  671. text-align: center ;
  672. font-size: 14px;
  673. color: #5a5a5a;
  674. background: #f4f4f4;
  675. border: 1px solid #dcdcdc;
  676. cursor: pointer;
  677. }
  678. span.msg.send{
  679. background: #d2d2d2;
  680. color: #fff;
  681. }
  682. }
  683. .btn {
  684. margin: 34px 0 10px 0;
  685. width: 360px;
  686. height: 44px;
  687. line-height: 44px;
  688. font-size: 16px;
  689. color: #fff;
  690. background: #0076AD;
  691. border-radius: 3px;
  692. }
  693. }
  694. .choose{
  695. margin: 155px auto 0;
  696. padding-bottom: 44px;
  697. div{
  698. padding: 0 15px;
  699. margin: 0 auto 16px;
  700. width: 360px;
  701. height: 60px;
  702. line-height: 60px;
  703. text-align: left;
  704. overflow: hidden;
  705. border: 1px solid #d2d2d2;
  706. cursor: pointer;
  707. &:hover,&.active{
  708. border-color: #0076ad;
  709. span{
  710. color: #0076ad;
  711. }
  712. i.second {
  713. color: #0076ad;
  714. }
  715. }
  716. img.first{
  717. float: left;
  718. margin: 24px 20px 0 0;
  719. font-size: 20px;
  720. color: #323232;
  721. }
  722. img.first.mob{
  723. margin: 22px 20px 0 5px;
  724. font-size: 28px;
  725. }
  726. i.second {
  727. float: right;
  728. margin: 20px 0 0 5px;
  729. font-size: 20px;
  730. color: #323232;
  731. }
  732. span{
  733. float: left;
  734. font-size: 14px;
  735. color: #323232;
  736. }
  737. }
  738. }
  739. a.return{
  740. position: absolute;
  741. left: 0;
  742. top: -15px;
  743. img{
  744. width: 34px !important;
  745. height: 34px !important;
  746. }
  747. }
  748. }
  749. }
  750. }
  751. </style>