index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011
  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 v-if='zxList[0].cover' :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. console.log(this.zxList[i])
  301. this.zxList[i].date1 = this.zxList[i].issuingDate.substring(0, this.zxList[i]
  302. .issuingDate
  303. .lastIndexOf('-'))
  304. this.zxList[i].date2 = this.zxList[i].issuingDate.substring(this.zxList[i].issuingDate
  305. .lastIndexOf('-') + 1, this.zxList[i].issuingDate.length)
  306. this.zxList[i].content = this.getPlainText(this.zxList[i].releaseContent)
  307. }
  308. console.log('this.zxListt', this.zxList)
  309. this.zxRightList = this.zxList.splice(1,3)
  310. console.log('this.zxRightList', this.zxRightList)
  311. uni.hideLoading()
  312. } else {
  313. uni.hideLoading()
  314. uni.showToast({
  315. title: res.message,
  316. icon: 'none',
  317. duration: 2000
  318. })
  319. }
  320. })
  321. .catch(res => {
  322. uni.showToast({
  323. title: res.message,
  324. icon: 'none',
  325. duration: 2000
  326. })
  327. });
  328. },
  329. submit() {
  330. this.$request.baseRequest('get', '/commonUser/loginVerifyCode', {
  331. phone: this.phone,
  332. verifyCode: this.verifyCode,
  333. loginFlag: 1,
  334. identification: 2
  335. }).then(res => {
  336. console.log("res", res)
  337. if (res.code == 200) {
  338. console.log("res", res)
  339. this.$store.commit('login', res.data)
  340. this.isHaveUser = true
  341. uni.hideLoading()
  342. } else {
  343. console.log(res)
  344. uni.hideLoading()
  345. uni.showToast({
  346. title: res.message,
  347. icon: 'none',
  348. duration: 2000
  349. })
  350. }
  351. })
  352. .catch(res => {
  353. console.log(res)
  354. uni.showToast({
  355. title: res.message,
  356. icon: 'none',
  357. duration: 2000
  358. })
  359. });
  360. },
  361. //加载
  362. loadQrCode() {
  363. this.$request.baseRequest('get', '/login/loginQrCode').then(res => {
  364. this.base64Code = res.data.src;
  365. this.sessionId = res.data.token;
  366. this.startQrCodeListener();
  367. })
  368. .catch(res => {
  369. uni.$u.toast(res.message);
  370. });
  371. },
  372. //开启sse长连接
  373. startQrCodeListener() {
  374. let that = this
  375. this.checkLogin = setInterval(() => {
  376. that.$request.baseRequest('get', '/login/getLoginStatus', {
  377. token: that.sessionId
  378. }).then(res => {
  379. that.count++;
  380. console.log(that.count)
  381. if (res.message == '扫描成功!') {
  382. this.sessionStatus = 1
  383. } else if (res.message == '未登录!') {
  384. this.sessionStatus = 0
  385. } else if (res.message == '二维码失效!') {
  386. this.sessionStatus = 2
  387. } else if (typeof(res.message) == 'object') {
  388. this.sessionStatus = 3
  389. clearInterval(this.checkLogin)
  390. this.isHaveUser = true
  391. that.username = res.message.userName
  392. that.$store.commit('login', res.message)
  393. }
  394. })
  395. .catch(res => {
  396. uni.$u.toast(res.message);
  397. });
  398. }, 5000)
  399. // let sseObj = null
  400. // //发送Http长连接
  401. // sseObj = new EventSource('http://192.168.110.82:8099' + "/login/getLoginStatus?token=" + this.sessionId);
  402. // //回调方法
  403. // sseObj.onmessage = (evt) => {
  404. // let resultJson = JSON.parse(evt.data);
  405. // //session状态
  406. // this.sessionStatus = resultJson.data.status;
  407. // //等于-1表示sessionId过期
  408. // if (this.sessionStatus == -1) {
  409. // sseObj.close();
  410. // return;
  411. // } else if (this.sessionStatus == 2) {
  412. // this.username = resultJson.data.username;
  413. // sseObj.close();
  414. // }
  415. // console.log(evt.data);
  416. // }
  417. // sseObj.error = (evt) => {
  418. // sseObj.close();
  419. // }
  420. },
  421. //重新刷新二维码
  422. resetRefresh() {
  423. // sseObj.close();
  424. clearInterval(this.checkLogin)
  425. this.loadQrCode();
  426. },
  427. toDetail(id, type) {
  428. debugger
  429. let _src = ''
  430. if (type == 'zx') {
  431. _src = "/pages/index/zxDetail?id=" + id
  432. } else {
  433. _src = "/pages/index/infoDetail?id=" + id + '&type=' + type
  434. }
  435. uni.navigateTo({
  436. url: _src
  437. })
  438. },
  439. showText() {
  440. this.isShowText = true
  441. },
  442. toZXPage() {
  443. if(uni.getStorageSync('userInfo')){
  444. uni.navigateTo({
  445. url: "/pages/index/zx"
  446. })
  447. }else{
  448. uni.showToast({
  449. title: '请登录账号后再查看更多资讯!',
  450. icon: 'none'
  451. })
  452. }
  453. },
  454. toPage(type) {
  455. uni.navigateTo({
  456. url: "/pages/index/info?type=" + type
  457. })
  458. },
  459. smClick(type) {
  460. if (type == 1) {
  461. this.isSM = true
  462. this.loadQrCode()
  463. } else {
  464. clearInterval(this.checkLogin)
  465. this.isSM = false
  466. }
  467. },
  468. onClickItem(e) {
  469. if (this.current !== e.currentIndex) {
  470. this.current = e.currentIndex
  471. }
  472. },
  473. codeChange(text) {
  474. this.tips = text;
  475. },
  476. getCode() {
  477. if (this.phone.length == 11 && /^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.phone)) {} else if (this.phone
  478. .length == 0) {
  479. uni.showToast({
  480. title: '手机号不能为空',
  481. icon: 'none'
  482. })
  483. return
  484. } else {
  485. uni.showToast({
  486. title: '请输入正确的手机号',
  487. icon: 'none'
  488. })
  489. return
  490. }
  491. if (this.$refs.uCode.canGetCode) {
  492. // 模拟向后端请求验证码
  493. uni.showLoading({
  494. title: '正在获取验证码'
  495. })
  496. this.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
  497. phone: this.phone
  498. }).then(res => {
  499. uni.hideLoading();
  500. uni.$u.toast('验证码已发送');
  501. this.$refs.uCode.start()
  502. console.log(res);
  503. })
  504. .catch(res => {
  505. uni.hideLoading();
  506. uni.showToast({
  507. title: res.errMsg,
  508. icon: 'none',
  509. duration: 2000
  510. })
  511. });
  512. // setTimeout(() => {
  513. // uni.hideLoading();
  514. // // 这里此提示会被this.start()方法中的提示覆盖
  515. // uni.$u.toast('验证码已发送');
  516. // // 通知验证码组件内部开始倒计时
  517. // this.$refs.uCode.start();
  518. // }, 2000);
  519. } else {
  520. uni.$u.toast('倒计时结束后再发送');
  521. }
  522. },
  523. end() {
  524. uni.$u.toast('倒计时结束');
  525. },
  526. start() {
  527. uni.$u.toast('倒计时开始');
  528. }
  529. }
  530. }
  531. </script>
  532. <style scoped lang="scss">
  533. body {
  534. overflow: auto;
  535. }
  536. .bgc-sm {
  537. background: url('@/static/bgc-sm.png') center no-repeat !important;
  538. background-size: cover !important;
  539. }
  540. .content1 {
  541. width: 100%;
  542. height: 840px;
  543. background: url('@/static/bgc1.png') center no-repeat;
  544. background-size: cover;
  545. position: relative;
  546. min-width: 1200px;
  547. .text-active {
  548. color: #2F54EF !important;
  549. }
  550. .bgc1 {
  551. width: 100vw;
  552. }
  553. .get-code {
  554. color: #2F54EF;
  555. position: absolute;
  556. right: 13px;
  557. top: 30%;
  558. }
  559. .bottom-view {
  560. margin: 28px;
  561. }
  562. .login {
  563. position: absolute;
  564. right: 20%;
  565. top: 26%;
  566. background: white;
  567. width: 388px;
  568. height: 450px;
  569. box-sizing: border-box;
  570. border-radius: 20px;
  571. .row1,
  572. .row2 {
  573. display: flex;
  574. }
  575. .row1 {
  576. border-radius: 10px 10px 0 0;
  577. position: relative;
  578. background: #F6F6F6;
  579. height: 86px;
  580. box-sizing: border-box;
  581. font-size: 22px;
  582. display: flex;
  583. align-items: center;
  584. padding-left: 20px;
  585. }
  586. .line {
  587. margin: 0 27px 0 20px;
  588. width: 1px;
  589. height: 34px;
  590. background: #BBBBBB;
  591. }
  592. .sm {
  593. margin-right: 20px;
  594. color: #999999;
  595. font-size: 18px;
  596. }
  597. .dx {
  598. color: #999999;
  599. font-size: 18px;
  600. }
  601. }
  602. .row2 {
  603. margin-top: 20rpx;
  604. position: relative;
  605. }
  606. .row3 {
  607. margin-top: 65px;
  608. .btn {
  609. height: 56px;
  610. background: #2828FF;
  611. border-radius: 6px;
  612. }
  613. }
  614. .row4-text {
  615. margin-top: 37px;
  616. padding: 0 28px;
  617. font-size: 14px;
  618. }
  619. .row4 {
  620. display: flex;
  621. justify-content: center;
  622. margin-top: 53px;
  623. }
  624. }
  625. .ewm-style {
  626. width: 167px;
  627. height: 167px;
  628. background: #FFFFFF;
  629. border-radius: 10px;
  630. border: 1px solid #979797;
  631. overflow: hidden;
  632. padding: 5px;
  633. margin: 40px auto;
  634. .img {
  635. width: 100%;
  636. height: 100%;
  637. }
  638. }
  639. .content2-bgc {
  640. background: #fff;
  641. padding: 100rpx 400rpx;
  642. min-width: 1200px;
  643. box-sizing: border-box;
  644. }
  645. .title {
  646. font-size: 56rpx;
  647. font-weight: 500;
  648. color: #0B0B0B;
  649. display: flex;
  650. align-items: center;
  651. .img {
  652. width: 48rpx;
  653. margin-left: 40rpx;
  654. }
  655. }
  656. .content2 {
  657. // width: 1600px;
  658. // min-width: 1200px;
  659. margin: auto;
  660. .zx-content {
  661. display: flex;
  662. justify-content: space-between;
  663. margin-top: 86rpx;
  664. .left,
  665. .right {
  666. width: 49%;
  667. }
  668. .left {
  669. .row1 {
  670. position: relative;
  671. .img {
  672. width: 100%;
  673. height: 880rpx !important;
  674. }
  675. .date {
  676. position: absolute;
  677. top: 0;
  678. left: 0;
  679. width: 214rpx;
  680. height: 214rpx;
  681. background: #2F54EF;
  682. display: flex;
  683. flex-direction: column;
  684. justify-content: center;
  685. align-items: center;
  686. color: white;
  687. .day {
  688. font-size: 92rpx;
  689. font-weight: bold;
  690. color: #FFFFFF;
  691. }
  692. .year {
  693. font-size: 36rpx;
  694. font-weight: 500;
  695. margin-top: 30rpx;
  696. }
  697. }
  698. }
  699. .row2 {
  700. font-size: 52rpx;
  701. font-weight: 500;
  702. color: #333333;
  703. position: relative;
  704. margin-top: 40rpx;
  705. }
  706. .row2::after {
  707. position: absolute;
  708. content: "";
  709. bottom: -20px;
  710. left: 0;
  711. width: 35px;
  712. height: 4px;
  713. background: #333333;
  714. }
  715. .row3 {
  716. margin-top: 60rpx;
  717. font-size: 32rpx;
  718. color: #7A8189;
  719. overflow: hidden;
  720. text-overflow: ellipsis;
  721. display: -webkit-box;
  722. -webkit-box-orient: vertical;
  723. -webkit-line-clamp: 3;
  724. }
  725. .row4 {
  726. margin-top: 68rpx;
  727. display: flex;
  728. justify-content: space-between;
  729. .right-text {
  730. font-size: 36rpx;
  731. color: #90969B;
  732. }
  733. .detaiil {
  734. display: flex;
  735. align-items: center;
  736. font-size: 36rpx;
  737. color: #2F54EF;
  738. .img {
  739. width: 28rpx;
  740. margin-left: 20rpx;
  741. }
  742. }
  743. }
  744. }
  745. .right {
  746. .row {
  747. display: flex;
  748. border-bottom: 1px solid #F5F5F5;
  749. padding-bottom: 62rpx;
  750. margin-top: 62rpx;
  751. .left-view {
  752. width: 148rpx;
  753. height: 148rpx;
  754. background: #F5F6F9;
  755. border-radius: 4px;
  756. margin-right: 20rpx;
  757. display: flex;
  758. align-items: center;
  759. justify-content: center;
  760. padding: 10rpx 20rpx;
  761. .date {
  762. display: flex;
  763. flex-direction: column;
  764. align-items: center;
  765. justify-content: center;
  766. .day {
  767. font-size: 68rpx;
  768. font-weight: bold;
  769. color: #ADB1B5;
  770. }
  771. .year {
  772. margin-top: 20rpx;
  773. font-size: 24rpx;
  774. font-weight: 500;
  775. color: #ADB1B5;
  776. }
  777. }
  778. }
  779. .right-view {
  780. .row1 {
  781. color: #333333;
  782. font-size: 36rpx
  783. }
  784. .row2 {
  785. font-size: 32rpx;
  786. color: #969CA1;
  787. line-height: 64rpx;
  788. margin-top: 20rpx;
  789. overflow: hidden;
  790. text-overflow: ellipsis;
  791. display: -webkit-box;
  792. -webkit-box-orient: vertical;
  793. -webkit-line-clamp: 3;
  794. }
  795. .row3 {
  796. display: flex;
  797. justify-content: space-between;
  798. margin-top: 64rpx;
  799. .text-left {
  800. font-size: 36rpx;
  801. color: #90969B;
  802. }
  803. .text-right {
  804. display: flex;
  805. align-items: center;
  806. font-size: 36rpx;
  807. font-weight: 500;
  808. color: #2F54EF;
  809. .img {
  810. width: 28rpx;
  811. margin-left: 20rpx;
  812. }
  813. }
  814. }
  815. }
  816. }
  817. .row:nth-of-type(1) {
  818. margin-top: 0;
  819. }
  820. .row:last-of-type {
  821. border-bottom: 0;
  822. }
  823. }
  824. }
  825. }
  826. .content3-bgc {
  827. background-color: #FAFAFB;
  828. padding: 198rpx 400rpx;
  829. .content3 {
  830. display: flex;
  831. .point {
  832. width: 6px;
  833. height: 6px;
  834. background: #D8D8D8;
  835. margin-right: 40rpx;
  836. }
  837. .left {
  838. .gg-content {
  839. margin-top: 56rpx;
  840. width: 2010rpx;
  841. height: 1404rpx;
  842. background: #FFFFFF;
  843. box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.06);
  844. border-radius: 4px;
  845. padding: 30rpx 72rpx 88rpx 72rpx;
  846. box-sizing: border-box;
  847. .item {
  848. display: flex;
  849. justify-content: space-between;
  850. border-bottom: 1px solid #F5F5F5;
  851. line-height: 160rpx;
  852. .left {
  853. display: flex;
  854. align-items: center;
  855. }
  856. .text {
  857. font-size: 18px;
  858. color: #333333;
  859. }
  860. }
  861. .item:last-of-type {
  862. border-bottom: 0;
  863. }
  864. }
  865. }
  866. .right {
  867. padding-left: 96rpx;
  868. .gs-content {
  869. margin-top: 56rpx;
  870. width: 984rpx;
  871. height: 1404rpx;
  872. background: #FFFFFF;
  873. box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.06);
  874. border-radius: 4px;
  875. .item {
  876. display: flex;
  877. align-items: center;
  878. padding: 0 46rpx;
  879. font-size: 36rpx;
  880. font-weight: 500;
  881. border-bottom: 1px solid #F5F5F5;
  882. line-height: 60rpx;
  883. padding: 20px 0;
  884. margin: 0 20px;
  885. .text {
  886. color: #333333;
  887. }
  888. .date {
  889. color: #90969B;
  890. line-height: 25px;
  891. margin-top: 20rpx;
  892. }
  893. }
  894. .item:last-of-type {
  895. border-bottom: 0;
  896. }
  897. }
  898. }
  899. }
  900. }
  901. .erm-img {
  902. width: 100%;
  903. }
  904. .swidth {
  905. width: 80% !important;
  906. }
  907. .qcode-img {
  908. display: flex;
  909. flex-direction: column;
  910. justify-content: center;
  911. align-items: center;
  912. background: white;
  913. }
  914. .qcode-tips {
  915. margin-top: 10px;
  916. }
  917. </style>