PhoneValidation.vue 25 KB

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