index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991
  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?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. debugger
  426. let _src = ''
  427. if (type == 'zx') {
  428. _src = "/pages/index/zxDetail?id=" + id
  429. } else {
  430. _src = "/pages/index/infoDetail?id=" + id + '&type=' + type
  431. }
  432. uni.navigateTo({
  433. url: _src
  434. })
  435. },
  436. showText() {
  437. this.isShowText = true
  438. },
  439. toZXPage() {
  440. uni.navigateTo({
  441. url: "/pages/index/zx"
  442. })
  443. },
  444. toPage(type) {
  445. uni.navigateTo({
  446. url: "/pages/index/info?type=" + type
  447. })
  448. },
  449. smClick(type) {
  450. if (type == 1) {
  451. this.isSM = true
  452. this.loadQrCode()
  453. } else {
  454. clearInterval(this.checkLogin)
  455. this.isSM = false
  456. }
  457. },
  458. onClickItem(e) {
  459. if (this.current !== e.currentIndex) {
  460. this.current = e.currentIndex
  461. }
  462. },
  463. codeChange(text) {
  464. this.tips = text;
  465. },
  466. getCode() {
  467. if (this.phone.length == 11 && /^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.phone)) {} else if (this.phone
  468. .length == 0) {
  469. uni.showToast({
  470. title: '手机号不能为空',
  471. icon: 'none'
  472. })
  473. return
  474. } else {
  475. uni.showToast({
  476. title: '请输入正确的手机号',
  477. icon: 'none'
  478. })
  479. return
  480. }
  481. if (this.$refs.uCode.canGetCode) {
  482. // 模拟向后端请求验证码
  483. uni.showLoading({
  484. title: '正在获取验证码'
  485. })
  486. this.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
  487. phone: this.phone
  488. }).then(res => {
  489. uni.hideLoading();
  490. uni.$u.toast('验证码已发送');
  491. this.$refs.uCode.start()
  492. console.log(res);
  493. })
  494. .catch(res => {
  495. uni.hideLoading();
  496. uni.showToast({
  497. title: res.errMsg,
  498. icon: 'none',
  499. duration: 2000
  500. })
  501. });
  502. // setTimeout(() => {
  503. // uni.hideLoading();
  504. // // 这里此提示会被this.start()方法中的提示覆盖
  505. // uni.$u.toast('验证码已发送');
  506. // // 通知验证码组件内部开始倒计时
  507. // this.$refs.uCode.start();
  508. // }, 2000);
  509. } else {
  510. uni.$u.toast('倒计时结束后再发送');
  511. }
  512. },
  513. end() {
  514. uni.$u.toast('倒计时结束');
  515. },
  516. start() {
  517. uni.$u.toast('倒计时开始');
  518. }
  519. }
  520. }
  521. </script>
  522. <style scoped lang="scss">
  523. body {
  524. overflow: auto;
  525. }
  526. .bgc-sm {
  527. background: url('@/static/bgc-sm.png') center no-repeat !important;
  528. background-size: cover !important;
  529. }
  530. .content1 {
  531. width: 100%;
  532. height: 840px;
  533. background: url('@/static/bgc1.png') center no-repeat;
  534. background-size: cover;
  535. position: relative;
  536. min-width: 1200px;
  537. .text-active {
  538. color: #2F54EF !important;
  539. }
  540. .bgc1 {
  541. width: 100vw;
  542. }
  543. .get-code {
  544. color: #2F54EF;
  545. position: absolute;
  546. right: 13px;
  547. top: 30%;
  548. }
  549. .bottom-view {
  550. margin: 28px;
  551. }
  552. .login {
  553. position: absolute;
  554. right: 20%;
  555. top: 26%;
  556. background: white;
  557. width: 388px;
  558. height: 450px;
  559. box-sizing: border-box;
  560. border-radius: 20px;
  561. .row1,
  562. .row2 {
  563. display: flex;
  564. }
  565. .row1 {
  566. border-radius: 10px 10px 0 0;
  567. position: relative;
  568. background: #F6F6F6;
  569. height: 86px;
  570. box-sizing: border-box;
  571. font-size: 22px;
  572. display: flex;
  573. align-items: center;
  574. padding-left: 20px;
  575. }
  576. .line {
  577. margin: 0 27px 0 20px;
  578. width: 1px;
  579. height: 34px;
  580. background: #BBBBBB;
  581. }
  582. .sm {
  583. margin-right: 20px;
  584. color: #999999;
  585. font-size: 18px;
  586. }
  587. .dx {
  588. color: #999999;
  589. font-size: 18px;
  590. }
  591. }
  592. .row2 {
  593. margin-top: 20rpx;
  594. position: relative;
  595. }
  596. .row3 {
  597. margin-top: 65px;
  598. .btn {
  599. height: 56px;
  600. background: #2828FF;
  601. border-radius: 6px;
  602. }
  603. }
  604. .row4-text {
  605. margin-top: 37px;
  606. padding: 0 28px;
  607. font-size: 14px;
  608. }
  609. .row4 {
  610. display: flex;
  611. justify-content: center;
  612. margin-top: 53px;
  613. }
  614. }
  615. .ewm-style {
  616. width: 167px;
  617. height: 167px;
  618. background: #FFFFFF;
  619. border-radius: 10px;
  620. border: 1px solid #979797;
  621. overflow: hidden;
  622. padding: 5px;
  623. margin: 40px auto;
  624. .img {
  625. width: 100%;
  626. height: 100%;
  627. }
  628. }
  629. .content2-bgc {
  630. background: #fff;
  631. padding: 100rpx 400rpx;
  632. min-width: 1200px;
  633. box-sizing: border-box;
  634. }
  635. .title {
  636. font-size: 56rpx;
  637. font-weight: 500;
  638. color: #0B0B0B;
  639. display: flex;
  640. align-items: center;
  641. .img {
  642. width: 48rpx;
  643. margin-left: 40rpx;
  644. }
  645. }
  646. .content2 {
  647. // width: 1600px;
  648. // min-width: 1200px;
  649. margin: auto;
  650. .zx-content {
  651. display: flex;
  652. justify-content: space-between;
  653. margin-top: 86rpx;
  654. .left,
  655. .right {
  656. width: 49%;
  657. }
  658. .left {
  659. .row1 {
  660. position: relative;
  661. .img {
  662. width: 100%;
  663. height: 880rpx !important;
  664. }
  665. .date {
  666. position: absolute;
  667. top: 0;
  668. left: 0;
  669. width: 214rpx;
  670. height: 214rpx;
  671. background: #2F54EF;
  672. display: flex;
  673. flex-direction: column;
  674. justify-content: center;
  675. align-items: center;
  676. color: white;
  677. .day {
  678. font-size: 92rpx;
  679. font-weight: bold;
  680. color: #FFFFFF;
  681. }
  682. .year {
  683. font-size: 36rpx;
  684. font-weight: 500;
  685. margin-top: 30rpx;
  686. }
  687. }
  688. }
  689. .row2 {
  690. font-size: 52rpx;
  691. font-weight: 500;
  692. color: #333333;
  693. position: relative;
  694. margin-top: 40rpx;
  695. }
  696. .row2::after {
  697. position: absolute;
  698. content: "";
  699. bottom: -20px;
  700. left: 0;
  701. width: 35px;
  702. height: 4px;
  703. background: #333333;
  704. }
  705. .row3 {
  706. margin-top: 60rpx;
  707. font-size: 32rpx;
  708. color: #7A8189;
  709. }
  710. .row4 {
  711. margin-top: 68rpx;
  712. display: flex;
  713. justify-content: space-between;
  714. .right-text {
  715. font-size: 36rpx;
  716. color: #90969B;
  717. }
  718. .detaiil {
  719. display: flex;
  720. align-items: center;
  721. font-size: 36rpx;
  722. color: #2F54EF;
  723. .img {
  724. width: 28rpx;
  725. margin-left: 20rpx;
  726. }
  727. }
  728. }
  729. }
  730. .right {
  731. .row {
  732. display: flex;
  733. border-bottom: 1px solid #F5F5F5;
  734. padding-bottom: 62rpx;
  735. margin-top: 62rpx;
  736. .left-view {
  737. width: 148rpx;
  738. height: 148rpx;
  739. background: #F5F6F9;
  740. border-radius: 4px;
  741. margin-right: 20rpx;
  742. display: flex;
  743. align-items: center;
  744. justify-content: center;
  745. padding: 10rpx 20rpx;
  746. .date {
  747. display: flex;
  748. flex-direction: column;
  749. align-items: center;
  750. justify-content: center;
  751. .day {
  752. font-size: 68rpx;
  753. font-weight: bold;
  754. color: #ADB1B5;
  755. }
  756. .year {
  757. margin-top: 20rpx;
  758. font-size: 24rpx;
  759. font-weight: 500;
  760. color: #ADB1B5;
  761. }
  762. }
  763. }
  764. .right-view {
  765. .row1 {
  766. color: #333333;
  767. font-size: 36rpx
  768. }
  769. .row2 {
  770. font-size: 32rpx;
  771. color: #969CA1;
  772. line-height: 64rpx;
  773. margin-top: 20rpx;
  774. }
  775. .row3 {
  776. display: flex;
  777. justify-content: space-between;
  778. margin-top: 64rpx;
  779. .text-left {
  780. font-size: 36rpx;
  781. color: #90969B;
  782. }
  783. .text-right {
  784. display: flex;
  785. align-items: center;
  786. font-size: 36rpx;
  787. font-weight: 500;
  788. color: #2F54EF;
  789. .img {
  790. width: 28rpx;
  791. margin-left: 20rpx;
  792. }
  793. }
  794. }
  795. }
  796. }
  797. .row:nth-of-type(1) {
  798. margin-top: 0;
  799. }
  800. .row:last-of-type {
  801. border-bottom: 0;
  802. }
  803. }
  804. }
  805. }
  806. .content3-bgc {
  807. background-color: #FAFAFB;
  808. padding: 198rpx 400rpx;
  809. .content3 {
  810. display: flex;
  811. .point {
  812. width: 6px;
  813. height: 6px;
  814. background: #D8D8D8;
  815. margin-right: 40rpx;
  816. }
  817. .left {
  818. .gg-content {
  819. margin-top: 56rpx;
  820. width: 2010rpx;
  821. height: 1404rpx;
  822. background: #FFFFFF;
  823. box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.06);
  824. border-radius: 4px;
  825. padding: 30rpx 72rpx 88rpx 72rpx;
  826. box-sizing: border-box;
  827. .item {
  828. display: flex;
  829. justify-content: space-between;
  830. border-bottom: 1px solid #F5F5F5;
  831. line-height: 160rpx;
  832. .left {
  833. display: flex;
  834. align-items: center;
  835. }
  836. .text {
  837. font-size: 18px;
  838. color: #333333;
  839. }
  840. }
  841. .item:last-of-type {
  842. border-bottom: 0;
  843. }
  844. }
  845. }
  846. .right {
  847. padding-left: 96rpx;
  848. .gs-content {
  849. margin-top: 56rpx;
  850. width: 984rpx;
  851. height: 1404rpx;
  852. background: #FFFFFF;
  853. box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.06);
  854. border-radius: 4px;
  855. .item {
  856. display: flex;
  857. align-items: center;
  858. padding: 0 46rpx;
  859. font-size: 36rpx;
  860. font-weight: 500;
  861. border-bottom: 1px solid #F5F5F5;
  862. line-height: 60rpx;
  863. padding: 20px 0;
  864. margin: 0 20px;
  865. .text {
  866. color: #333333;
  867. }
  868. .date {
  869. color: #90969B;
  870. line-height: 25px;
  871. margin-top: 20rpx;
  872. }
  873. }
  874. .item:last-of-type {
  875. border-bottom: 0;
  876. }
  877. }
  878. }
  879. }
  880. }
  881. .erm-img {
  882. width: 100%;
  883. }
  884. .swidth {
  885. width: 80% !important;
  886. }
  887. .qcode-img {
  888. display: flex;
  889. flex-direction: column;
  890. justify-content: center;
  891. align-items: center;
  892. background: white;
  893. }
  894. .qcode-tips {
  895. margin-top: 10px;
  896. }
  897. </style>