index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990
  1. <template>
  2. <view class="">
  3. <top :type="pageType"></top>
  4. <view class="index-page">
  5. <view class="content1" :class="isSM?'bgc-sm':''">
  6. <view class="login" v-if="!isHaveUser||!hasLogin">
  7. <view class="row1">
  8. <view class="">
  9. 登录
  10. </view>
  11. <view class="line">
  12. </view>
  13. <view class="sm" @click="smClick(1)" :class="isSM?'text-active':''">
  14. 扫码登录
  15. </view>
  16. <view class="dx" @click="smClick(2)" :class="!isSM?'text-active':''">
  17. 短信登录
  18. </view>
  19. <!-- <view class="left">
  20. {{isSM?'扫码登录':'短信登录'}}
  21. </view>
  22. <u-icon name="photo" color="#2979ff" size="60" class='ewm' @click="smClick"></u-icon> -->
  23. </view>
  24. <view class="bottom-view" v-if="!isSM">
  25. <view class="row2">
  26. <input placeholder="请输入手机号" v-model="phone" @change="change" maxlength="11"
  27. style="border: 1px solid #EBEBEB;height: 52px;font-size: 16px;padding:0 20px;width: 100%;">
  28. </input>
  29. </view>
  30. <view class="row2">
  31. <input placeholder="请输入验证码" v-model="verifyCode" @change="change"
  32. style="border: 1px solid #EBEBEB;height: 52px;font-size: 16px;padding:0 20px;width: 100%;">
  33. </input>
  34. <view class="wrap">
  35. <u-toast ref="uToast"></u-toast>
  36. <u-code :seconds="seconds" @end="end" @start="start" ref="uCode" @change="codeChange">
  37. </u-code>
  38. <view @tap="getCode" class="get-code">{{tips}}</view>
  39. </view>
  40. </view>
  41. <view class="row3">
  42. <u-button type="primary" text="确定" color="#2F54EF" class='btn' @click="submit"></u-button>
  43. </view>
  44. </view>
  45. <view class="ewm-style" v-if="isSM">
  46. <!-- <image src="../../static/ewm.png" mode="widthFix" class="img"></image> -->
  47. <div class="q-login">
  48. <div class="success-login" v-if="sessionStatus==3">
  49. √&nbsp;登录成功,{{username}}
  50. </div>
  51. <div class="qcode-img" v-else>
  52. <template v-if="sessionStatus==-2">
  53. <div class="qr-expire" @click="resetRefresh()">
  54. 二维码过期,重新刷新
  55. </div>
  56. </template>
  57. <template v-else>
  58. <img :src="base64Code" class='erm-img' :class="sessionStatus==1?'swidth':''" />
  59. <div v-if="sessionStatus==1" class="qcode-tips">手机已扫描,等待确认</div>
  60. </template>
  61. </div>
  62. </div>
  63. </view>
  64. <view class="row4-text" v-show="isShowText" v-if="!isSM">
  65. 下载畅运通货主端,注册并完成身份认证,认证通过后可使用注册的账号登录本网站
  66. </view>
  67. <view class="row4" @click="showText" v-show="!isShowText">
  68. {{isSM?'请使用畅运通货主端APP扫码登录':'获取账号'}}
  69. </view>
  70. </view>
  71. </view>
  72. <view class="content2-bgc">
  73. <view class="content2">
  74. <view class="title" @click="toZXPage" style="cursor: pointer;">
  75. <view class="">
  76. 行业资讯
  77. <image src="../../static/jt2.png" mode="widthFix" class="img"></image>
  78. </view>
  79. </view>
  80. <view class="zx-content">
  81. <view class="left">
  82. <view class="row1">
  83. <image :src="zxList[0].cover" mode="widthFix" class="img"></image>
  84. <view class="date">
  85. <view class="day">
  86. {{zxList[0].date2}}
  87. </view>
  88. <view class="year">
  89. {{zxList[0].date1}}
  90. </view>
  91. </view>
  92. </view>
  93. <view class="title row2">
  94. {{zxList[0].title}}
  95. </view>
  96. <view class="row3">
  97. {{zxList[0].content}}
  98. </view>
  99. <view class="row4">
  100. <view class="detaiil" style="cursor: pointer;" @click="toDetail(zxList[0].id,'zx')">
  101. 了解详情 <image src="../../static/jt1.png" mode="widthFix" class="img"></image>
  102. </view>
  103. <view class="right-text">
  104. 来源:{{zxList[0].issuingAgency}}
  105. </view>
  106. </view>
  107. </view>
  108. <view class="right">
  109. <!-- zxLixt -->
  110. <view class="row" v-for="item in zxRightList">
  111. <view class="left-view">
  112. <view class="date">
  113. <view class="day">
  114. {{item.date2}}
  115. </view>
  116. <view class="year">
  117. {{item.date1}}
  118. </view>
  119. </view>
  120. </view>
  121. <view class="right-view">
  122. <view class="row1">
  123. {{item.title}}
  124. </view>
  125. <view class="row2">
  126. {{item.content}}
  127. </view>
  128. <view class="row3">
  129. <view class="text-left">
  130. 来源:{{item.issuingAgency}}
  131. </view>
  132. <view class="text-right" @click="toDetail(item.id,'zx')">
  133. 了解详情<image src="../../static/jt1.png" mode="widthFix" class="img"></image>
  134. </view>
  135. </view>
  136. </view>
  137. </view>
  138. </view>
  139. </view>
  140. </view>
  141. </view>
  142. <view class="content3-bgc">
  143. <view class="content3">
  144. <view class="left">
  145. <view class="title" @click="toPage(1)" style="cursor: pointer;">
  146. 平台公告
  147. <image src="../../static/jt2.png" mode="widthFix" class="img"></image>
  148. </view>
  149. <!-- ggList -->
  150. <view class="gg-content">
  151. <view class="item" v-for="item in ggList" @click="toDetail(item.id,'公告')">
  152. <view class="left">
  153. <view class="point">
  154. </view>
  155. <view class="text">
  156. {{item.title}}
  157. </view>
  158. </view>
  159. <view class="date">
  160. {{item.issuingDate}}
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. <view class="right">
  166. <view class="title" @click="toPage(2)" style="cursor: pointer;">
  167. 处理公示
  168. <image src="../../static/jt2.png" mode="widthFix" class="img"></image>
  169. </view>
  170. <view class="gs-content">
  171. <view class="item" v-for="item in gsList" @click="toDetail(item.id,'公示')">
  172. <view class="point"></view>
  173. <view class="right-view">
  174. <view class="text">
  175. {{item.title}}
  176. </view>
  177. <view class="date">
  178. {{item.issuingDate}}
  179. </view>
  180. </view>
  181. </view>
  182. </view>
  183. </view>
  184. </view>
  185. </view>
  186. </view>
  187. <bottom></bottom>
  188. </view>
  189. </template>
  190. <script>
  191. import {
  192. mapState
  193. } from 'vuex';
  194. import top from '@/components/top.vue'
  195. import bottom from '@/components/bottom.vue'
  196. export default {
  197. components: {
  198. top,
  199. bottom
  200. },
  201. data() {
  202. return {
  203. pageType: 'index',
  204. requestIp: 'http://localhost',
  205. base64Code: '',
  206. sessionId: '',
  207. sessionStatus: 0,
  208. username: '',
  209. isShowText: false,
  210. isSM: false,
  211. items1: ['行业资讯'],
  212. items: ['平台公告', '处理公示'],
  213. styles: [{
  214. value: 'button',
  215. text: '按钮',
  216. checked: true
  217. },
  218. {
  219. value: 'text',
  220. text: '文字'
  221. }
  222. ],
  223. colors: ['#2F54EF', '#4cd964', '#dd524d'],
  224. current: 0,
  225. colorIndex: 0,
  226. activeColor: '#2F54EF',
  227. styleType: 'button',
  228. show: false,
  229. title: '获取账号',
  230. content: '下载畅运通货主端,注册并完成身份认证,认证通过后可使用注册的账号登录本网站',
  231. value: '',
  232. tips: '',
  233. // refCode: null,
  234. seconds: 10,
  235. count: 0,
  236. checkLogin: null,
  237. user: {},
  238. isHaveUser: false,
  239. verifyCode: null,
  240. phone: '',
  241. zxList: [{
  242. cover: ''
  243. }],
  244. zxRightList: [],
  245. ggList: [],
  246. gsList: []
  247. }
  248. },
  249. onLoad() {
  250. this.user = uni.getStorageSync('userInfo');
  251. if (this.user) {
  252. this.isHaveUser = true
  253. this.$store.commit('login', this.user)
  254. } else {}
  255. this.getNews()
  256. },
  257. computed: {
  258. ...mapState(['hasLogin', 'userInfo']),
  259. },
  260. methods: {
  261. // 获取富文本的纯文字内容
  262. convertIdeogramToNormalCharacter(val) {
  263. const arrEntities = {
  264. 'lt': '<',
  265. 'gt': '>',
  266. 'nbsp': ' ',
  267. 'amp': '&',
  268. 'quot': '"'
  269. };
  270. return val.replace(/&(lt|gt|nbsp|amp|quot);/ig, function(all, t) {
  271. return arrEntities[t];
  272. });
  273. },
  274. getPlainText(richCont) {
  275. const str = richCont;
  276. let value = richCont;
  277. if (richCont) {
  278. // 方法一:
  279. value = value.replace(/\s*/g, ""); //去掉空格
  280. value = value.replace(/<[^>]+>/g, ""); //去掉所有的html标记
  281. value = value.replace(/↵/g, ""); //去掉所有的↵符号
  282. value = value.replace(/[\r\n]/g, "") //去掉回车换行
  283. value = value.replace(/&nbsp;/g, "") //去掉空格
  284. value = this.convertIdeogramToNormalCharacter(value);
  285. return value;
  286. } else {
  287. return null;
  288. }
  289. },
  290. getNews() {
  291. this.$request.baseRequest('get', '/hyPublicConsultation/selectHyPublicConsultationList').then(res => {
  292. if (res.code == 200) {
  293. console.log("res", res)
  294. // this.$store.commit('login', res.data)
  295. // this.isHaveUser = true
  296. this.zxList = res.data.publicConsultations1
  297. this.ggList = res.data.publicConsultations
  298. this.gsList = res.data.publicConsultations2
  299. for (let i = 0; i < this.zxList.length; i++) {
  300. this.zxList[i].date1 = this.zxList[i].issuingDate.substring(0, this.zxList[i]
  301. .issuingDate
  302. .lastIndexOf('-'))
  303. this.zxList[i].date2 = this.zxList[i].issuingDate.substring(this.zxList[i].issuingDate
  304. .lastIndexOf('-') + 1, this.zxList[i].issuingDate.length)
  305. this.zxList[i].content = this.getPlainText(this.zxList[i].releaseContent)
  306. }
  307. console.log('this.zxListt', this.zxList)
  308. this.zxRightList = this.zxList.splice(1)
  309. console.log('this.zxRightList', this.zxRightList)
  310. uni.hideLoading()
  311. } else {
  312. uni.hideLoading()
  313. uni.showToast({
  314. title: res.message,
  315. icon: 'none',
  316. duration: 2000
  317. })
  318. }
  319. })
  320. .catch(res => {
  321. uni.showToast({
  322. title: res.message,
  323. icon: 'none',
  324. duration: 2000
  325. })
  326. });
  327. },
  328. submit() {
  329. this.$request.baseRequest('get', '/commonUser/loginVerifyCode', {
  330. phone: this.phone,
  331. verifyCode: this.verifyCode,
  332. loginFlag: 1,
  333. identification: 2
  334. }).then(res => {
  335. console.log("res", res)
  336. if (res.code == 200) {
  337. console.log("res", res)
  338. this.$store.commit('login', res.data)
  339. this.isHaveUser = true
  340. uni.hideLoading()
  341. } else {
  342. uni.hideLoading()
  343. uni.showToast({
  344. title: res.message,
  345. icon: 'none',
  346. duration: 2000
  347. })
  348. }
  349. })
  350. .catch(res => {
  351. uni.showToast({
  352. title: res.message,
  353. icon: 'none',
  354. duration: 2000
  355. })
  356. });
  357. },
  358. //加载
  359. loadQrCode() {
  360. this.$request.baseRequest('get', '/login/loginQrCode').then(res => {
  361. this.base64Code = res.data.src;
  362. this.sessionId = res.data.token;
  363. this.startQrCodeListener();
  364. })
  365. .catch(res => {
  366. uni.$u.toast(res.message);
  367. });
  368. },
  369. //开启sse长连接
  370. startQrCodeListener() {
  371. let that = this
  372. this.checkLogin = setInterval(() => {
  373. that.$request.baseRequest('get', '/login/getLoginStatus', {
  374. token: that.sessionId
  375. }).then(res => {
  376. that.count++;
  377. console.log(that.count)
  378. if (res.message == '扫描成功!') {
  379. this.sessionStatus = 1
  380. } else if (res.message == '未登录!') {
  381. this.sessionStatus = 0
  382. } else if (res.message == '二维码失效!') {
  383. this.sessionStatus = 2
  384. } else if (typeof(res.message) == 'object') {
  385. this.sessionStatus = 3
  386. clearInterval(this.checkLogin)
  387. this.isHaveUser = true
  388. that.username = res.message.userName
  389. that.$store.commit('login', res.message)
  390. }
  391. })
  392. .catch(res => {
  393. uni.$u.toast(res.message);
  394. });
  395. }, 5000)
  396. // let sseObj = null
  397. // //发送Http长连接
  398. // sseObj = new EventSource('http://192.168.110.82:8099' + "/login/getLoginStatus?token=" + this.sessionId);
  399. // //回调方法
  400. // sseObj.onmessage = (evt) => {
  401. // let resultJson = JSON.parse(evt.data);
  402. // //session状态
  403. // this.sessionStatus = resultJson.data.status;
  404. // //等于-1表示sessionId过期
  405. // if (this.sessionStatus == -1) {
  406. // sseObj.close();
  407. // return;
  408. // } else if (this.sessionStatus == 2) {
  409. // this.username = resultJson.data.username;
  410. // sseObj.close();
  411. // }
  412. // console.log(evt.data);
  413. // }
  414. // sseObj.error = (evt) => {
  415. // sseObj.close();
  416. // }
  417. },
  418. //重新刷新二维码
  419. resetRefresh() {
  420. // sseObj.close();
  421. clearInterval(this.checkLogin)
  422. this.loadQrCode();
  423. },
  424. toDetail(id, type) {
  425. let _src = ''
  426. if (type == 'zx') {
  427. _src = "/pages/index/zxDetail?id=" + id
  428. } else {
  429. _src = "/pages/index/infoDetail?id=" + id + '&type=' + type
  430. }
  431. uni.navigateTo({
  432. url: _src
  433. })
  434. },
  435. showText() {
  436. this.isShowText = true
  437. },
  438. toZXPage() {
  439. uni.navigateTo({
  440. url: "/pages/index/zx"
  441. })
  442. },
  443. toPage(type) {
  444. uni.navigateTo({
  445. url: "/pages/index/info?type=" + type
  446. })
  447. },
  448. smClick(type) {
  449. if (type == 1) {
  450. this.isSM = true
  451. this.loadQrCode()
  452. } else {
  453. clearInterval(this.checkLogin)
  454. this.isSM = false
  455. }
  456. },
  457. onClickItem(e) {
  458. if (this.current !== e.currentIndex) {
  459. this.current = e.currentIndex
  460. }
  461. },
  462. codeChange(text) {
  463. this.tips = text;
  464. },
  465. getCode() {
  466. if (this.phone.length == 11 && /^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.phone)) {} else if (this.phone
  467. .length == 0) {
  468. uni.showToast({
  469. title: '手机号不能为空',
  470. icon: 'none'
  471. })
  472. return
  473. } else {
  474. uni.showToast({
  475. title: '请输入正确的手机号',
  476. icon: 'none'
  477. })
  478. return
  479. }
  480. if (this.$refs.uCode.canGetCode) {
  481. // 模拟向后端请求验证码
  482. uni.showLoading({
  483. title: '正在获取验证码'
  484. })
  485. this.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
  486. phone: this.phone
  487. }).then(res => {
  488. uni.hideLoading();
  489. uni.$u.toast('验证码已发送');
  490. this.$refs.uCode.start()
  491. console.log(res);
  492. })
  493. .catch(res => {
  494. uni.hideLoading();
  495. uni.showToast({
  496. title: res.errMsg,
  497. icon: 'none',
  498. duration: 2000
  499. })
  500. });
  501. // setTimeout(() => {
  502. // uni.hideLoading();
  503. // // 这里此提示会被this.start()方法中的提示覆盖
  504. // uni.$u.toast('验证码已发送');
  505. // // 通知验证码组件内部开始倒计时
  506. // this.$refs.uCode.start();
  507. // }, 2000);
  508. } else {
  509. uni.$u.toast('倒计时结束后再发送');
  510. }
  511. },
  512. end() {
  513. uni.$u.toast('倒计时结束');
  514. },
  515. start() {
  516. uni.$u.toast('倒计时开始');
  517. }
  518. }
  519. }
  520. </script>
  521. <style scoped lang="scss">
  522. body {
  523. overflow: auto;
  524. }
  525. .bgc-sm {
  526. background: url('@/static/bgc-sm.png') center no-repeat !important;
  527. background-size: cover !important;
  528. }
  529. .content1 {
  530. width: 100%;
  531. height: 840px;
  532. background: url('@/static/bgc1.png') center no-repeat;
  533. background-size: cover;
  534. position: relative;
  535. min-width: 1200px;
  536. .text-active {
  537. color: #2F54EF !important;
  538. }
  539. .bgc1 {
  540. width: 100vw;
  541. }
  542. .get-code {
  543. color: #2F54EF;
  544. position: absolute;
  545. right: 13px;
  546. top: 30%;
  547. }
  548. .bottom-view {
  549. margin: 28px;
  550. }
  551. .login {
  552. position: absolute;
  553. right: 20%;
  554. top: 26%;
  555. background: white;
  556. width: 388px;
  557. height: 450px;
  558. box-sizing: border-box;
  559. border-radius: 20px;
  560. .row1,
  561. .row2 {
  562. display: flex;
  563. }
  564. .row1 {
  565. border-radius: 10px 10px 0 0;
  566. position: relative;
  567. background: #F6F6F6;
  568. height: 86px;
  569. box-sizing: border-box;
  570. font-size: 22px;
  571. display: flex;
  572. align-items: center;
  573. padding-left: 20px;
  574. }
  575. .line {
  576. margin: 0 27px 0 20px;
  577. width: 1px;
  578. height: 34px;
  579. background: #BBBBBB;
  580. }
  581. .sm {
  582. margin-right: 20px;
  583. color: #999999;
  584. font-size: 18px;
  585. }
  586. .dx {
  587. color: #999999;
  588. font-size: 18px;
  589. }
  590. }
  591. .row2 {
  592. margin-top: 20rpx;
  593. position: relative;
  594. }
  595. .row3 {
  596. margin-top: 65px;
  597. .btn {
  598. height: 56px;
  599. background: #2828FF;
  600. border-radius: 6px;
  601. }
  602. }
  603. .row4-text {
  604. margin-top: 37px;
  605. padding: 0 28px;
  606. font-size: 14px;
  607. }
  608. .row4 {
  609. display: flex;
  610. justify-content: center;
  611. margin-top: 53px;
  612. }
  613. }
  614. .ewm-style {
  615. width: 167px;
  616. height: 167px;
  617. background: #FFFFFF;
  618. border-radius: 10px;
  619. border: 1px solid #979797;
  620. overflow: hidden;
  621. padding: 5px;
  622. margin: 40px auto;
  623. .img {
  624. width: 100%;
  625. height: 100%;
  626. }
  627. }
  628. .content2-bgc {
  629. background: #fff;
  630. padding: 100rpx 400rpx;
  631. min-width: 1200px;
  632. box-sizing: border-box;
  633. }
  634. .title {
  635. font-size: 56rpx;
  636. font-weight: 500;
  637. color: #0B0B0B;
  638. display: flex;
  639. align-items: center;
  640. .img {
  641. width: 48rpx;
  642. margin-left: 40rpx;
  643. }
  644. }
  645. .content2 {
  646. // width: 1600px;
  647. // min-width: 1200px;
  648. margin: auto;
  649. .zx-content {
  650. display: flex;
  651. justify-content: space-between;
  652. margin-top: 86rpx;
  653. .left,
  654. .right {
  655. width: 49%;
  656. }
  657. .left {
  658. .row1 {
  659. position: relative;
  660. .img {
  661. width: 100%;
  662. height: 880rpx !important;
  663. }
  664. .date {
  665. position: absolute;
  666. top: 0;
  667. left: 0;
  668. width: 214rpx;
  669. height: 214rpx;
  670. background: #2F54EF;
  671. display: flex;
  672. flex-direction: column;
  673. justify-content: center;
  674. align-items: center;
  675. color: white;
  676. .day {
  677. font-size: 92rpx;
  678. font-weight: bold;
  679. color: #FFFFFF;
  680. }
  681. .year {
  682. font-size: 36rpx;
  683. font-weight: 500;
  684. margin-top: 30rpx;
  685. }
  686. }
  687. }
  688. .row2 {
  689. font-size: 52rpx;
  690. font-weight: 500;
  691. color: #333333;
  692. position: relative;
  693. margin-top: 40rpx;
  694. }
  695. .row2::after {
  696. position: absolute;
  697. content: "";
  698. bottom: -20px;
  699. left: 0;
  700. width: 35px;
  701. height: 4px;
  702. background: #333333;
  703. }
  704. .row3 {
  705. margin-top: 60rpx;
  706. font-size: 32rpx;
  707. color: #7A8189;
  708. }
  709. .row4 {
  710. margin-top: 68rpx;
  711. display: flex;
  712. justify-content: space-between;
  713. .right-text {
  714. font-size: 36rpx;
  715. color: #90969B;
  716. }
  717. .detaiil {
  718. display: flex;
  719. align-items: center;
  720. font-size: 36rpx;
  721. color: #2F54EF;
  722. .img {
  723. width: 28rpx;
  724. margin-left: 20rpx;
  725. }
  726. }
  727. }
  728. }
  729. .right {
  730. .row {
  731. display: flex;
  732. border-bottom: 1px solid #F5F5F5;
  733. padding-bottom: 62rpx;
  734. margin-top: 62rpx;
  735. .left-view {
  736. width: 148rpx;
  737. height: 148rpx;
  738. background: #F5F6F9;
  739. border-radius: 4px;
  740. margin-right: 20rpx;
  741. display: flex;
  742. align-items: center;
  743. justify-content: center;
  744. padding: 10rpx 20rpx;
  745. .date {
  746. display: flex;
  747. flex-direction: column;
  748. align-items: center;
  749. justify-content: center;
  750. .day {
  751. font-size: 68rpx;
  752. font-weight: bold;
  753. color: #ADB1B5;
  754. }
  755. .year {
  756. margin-top: 20rpx;
  757. font-size: 24rpx;
  758. font-weight: 500;
  759. color: #ADB1B5;
  760. }
  761. }
  762. }
  763. .right-view {
  764. .row1 {
  765. color: #333333;
  766. font-size: 36rpx
  767. }
  768. .row2 {
  769. font-size: 32rpx;
  770. color: #969CA1;
  771. line-height: 64rpx;
  772. margin-top: 20rpx;
  773. }
  774. .row3 {
  775. display: flex;
  776. justify-content: space-between;
  777. margin-top: 64rpx;
  778. .text-left {
  779. font-size: 36rpx;
  780. color: #90969B;
  781. }
  782. .text-right {
  783. display: flex;
  784. align-items: center;
  785. font-size: 36rpx;
  786. font-weight: 500;
  787. color: #2F54EF;
  788. .img {
  789. width: 28rpx;
  790. margin-left: 20rpx;
  791. }
  792. }
  793. }
  794. }
  795. }
  796. .row:nth-of-type(1) {
  797. margin-top: 0;
  798. }
  799. .row:last-of-type {
  800. border-bottom: 0;
  801. }
  802. }
  803. }
  804. }
  805. .content3-bgc {
  806. background-color: #FAFAFB;
  807. padding: 198rpx 400rpx;
  808. .content3 {
  809. display: flex;
  810. .point {
  811. width: 6px;
  812. height: 6px;
  813. background: #D8D8D8;
  814. margin-right: 40rpx;
  815. }
  816. .left {
  817. .gg-content {
  818. margin-top: 56rpx;
  819. width: 2010rpx;
  820. height: 1404rpx;
  821. background: #FFFFFF;
  822. box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.06);
  823. border-radius: 4px;
  824. padding: 30rpx 72rpx 88rpx 72rpx;
  825. box-sizing: border-box;
  826. .item {
  827. display: flex;
  828. justify-content: space-between;
  829. border-bottom: 1px solid #F5F5F5;
  830. line-height: 160rpx;
  831. .left {
  832. display: flex;
  833. align-items: center;
  834. }
  835. .text {
  836. font-size: 18px;
  837. color: #333333;
  838. }
  839. }
  840. .item:last-of-type {
  841. border-bottom: 0;
  842. }
  843. }
  844. }
  845. .right {
  846. padding-left: 96rpx;
  847. .gs-content {
  848. margin-top: 56rpx;
  849. width: 984rpx;
  850. height: 1404rpx;
  851. background: #FFFFFF;
  852. box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.06);
  853. border-radius: 4px;
  854. .item {
  855. display: flex;
  856. align-items: center;
  857. padding: 0 46rpx;
  858. font-size: 36rpx;
  859. font-weight: 500;
  860. border-bottom: 1px solid #F5F5F5;
  861. line-height: 60rpx;
  862. padding: 20px 0;
  863. margin: 0 20px;
  864. .text {
  865. color: #333333;
  866. }
  867. .date {
  868. color: #90969B;
  869. line-height: 25px;
  870. margin-top: 20rpx;
  871. }
  872. }
  873. .item:last-of-type {
  874. border-bottom: 0;
  875. }
  876. }
  877. }
  878. }
  879. }
  880. .erm-img {
  881. width: 100%;
  882. }
  883. .swidth {
  884. width: 80% !important;
  885. }
  886. .qcode-img {
  887. display: flex;
  888. flex-direction: column;
  889. justify-content: center;
  890. align-items: center;
  891. background: white;
  892. }
  893. .qcode-tips {
  894. margin-top: 10px;
  895. }
  896. </style>