PhoneValidation.vue 24 KB

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