ChangeManager.vue 22 KB

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