earlyWarningDetail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. <!-- 预案报警信息 -->
  2. <template>
  3. <view class="earlyWarning">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <!-- 预案报警 -->
  6. <view class="header" v-if="form.warningType==4">{{form.warningContent}}</view>
  7. <!-- 化学品 -->
  8. <view class="header_tow" v-if="form.warningType==2">{{form.warningContent}}</view>
  9. <!-- 气瓶 -->
  10. <view class="header_three" v-if="form.warningType==3">{{form.warningContent}}</view>
  11. <!-- 算法识别 -->
  12. <view class="header_four" v-if="form.warningType==1">{{form.warningContent}}</view>
  13. <!-- 预案报警 -->
  14. <view class="site" v-if="form.warningType==4">
  15. <img src="@/images/basicsModules/icon_wtzg_xx.png"/>
  16. <view>{{form.subName}}</view>
  17. <view></view>
  18. <view>{{form.buildName}}{{form.floorName}}{{form.roomNum}}</view>
  19. </view>
  20. <!-- 化学品 -->
  21. <view class="site_tow" v-if="form.warningType==2 || form.warningType==3 || form.warningType==1">
  22. <view class="site_tow_t">
  23. <img src="@/images/basicsModules/icon_hxpyj_sj.png"/>
  24. <text>{{form.warningTime}}</text>
  25. </view>
  26. <view class="site_tow_b">
  27. <img src="@/images/basicsModules/icon_wtzg_xx.png"/>
  28. <text>{{form.subName}}</text>
  29. <text></text>
  30. <text>{{form.buildName}}{{form.floorName}}{{form.roomNum}}</text>
  31. </view>
  32. </view>
  33. <!-- 预案报警 -->
  34. <view class="basics" v-if="form.warningType==4">
  35. <view class="small_title"><text></text><text>风险概况</text></view>
  36. <view class="basics_li" style="margin-top:20rpx;">
  37. <text>发生时间:</text>
  38. <text v-if="form.everyDay" style="position: absolute;right: 10rpx;top:-33rpx;">+{{form.everyDayNum}}</text>
  39. <text>{{form.startTime}}-{{form.endTime?form.endTime:'-'}}</text>
  40. </view>
  41. <view class="basics_li">
  42. <text>持续时间:</text>
  43. <text>{{form.riskDuration?form.riskDuration:'-'}}秒</text>
  44. </view>
  45. <view class="basics_li">
  46. <text>风险响应人员:</text>
  47. <text>{{form.responder?form.responder:'-'}}</text>
  48. </view>
  49. <view class="basics_li">
  50. <text>实验室内人员:</text>
  51. <text>{{form.indoorUser?form.indoorUser:'-'}}</text>
  52. </view>
  53. </view>
  54. <!-- 化学品 -->
  55. <view class="basics" v-if="form.warningType==2">
  56. <view class="small_title"><text></text><text>化学品信息</text></view>
  57. <view class="basics_li" style="margin-top:20rpx;">
  58. <text>{{form.name}}</text>
  59. <text></text>
  60. </view>
  61. <view class="basics_li">
  62. <text>存放位置:</text>
  63. <text>{{form.deposit}}</text>
  64. </view>
  65. <view class="basics_li">
  66. <text>化学品余量:</text>
  67. <text>{{form.margin}}</text>
  68. </view>
  69. <view class="basics_li" v-if="form.warningSubType==2">
  70. <text>申领人:</text>
  71. <text>{{form.applyUser}}</text>
  72. </view>
  73. <view class="basics_li" v-if="form.warningSubType==2">
  74. <text>申领时间:</text>
  75. <text>{{form.applyTime}}</text>
  76. </view>
  77. <view class="basics_li" v-if="form.warningSubType==3||form.warningSubType==4">
  78. <text>过期时间:</text>
  79. <text>{{form.expirationTime}}</text>
  80. </view>
  81. </view>
  82. <!-- 气瓶 -->
  83. <view class="basics" v-if="form.warningType==3">
  84. <view class="small_title"><text></text><text>气瓶信息</text></view>
  85. <view class="basics_li" style="margin-top:20rpx;">
  86. <text>{{form.name}}</text>
  87. <text></text>
  88. </view>
  89. <view class="basics_li">
  90. <text>气体余量:</text>
  91. <text>{{form.margin}}</text>
  92. </view>
  93. <view class="basics_li">
  94. <text>气瓶规格:</text>
  95. <text>{{form.specification}}</text>
  96. </view>
  97. <view class="basics_li">
  98. <text>所有人:</text>
  99. <text>{{form.holder}}</text>
  100. </view>
  101. <view class="basics_li">
  102. <text>入库时间:</text>
  103. <text>{{form.entryTime}}</text>
  104. </view>
  105. <view class="basics_li" v-if="form.warningSubType==2">
  106. <text>申领人:</text>
  107. <text>{{form.applyUser}}</text>
  108. </view>
  109. <view class="basics_li" v-if="form.warningSubType==2">
  110. <text>申领时间:</text>
  111. <text>{{form.applyTime}}</text>
  112. </view>
  113. </view>
  114. <!-- 通知短信 -->
  115. <view class="note" v-if="form.warningType==4 || form.warningType==1" >
  116. <view class="small_title"><text></text><text>通知短信</text></view>
  117. <view class="note_li" style="margin-top:20rpx;" v-for="(item,index) in form.messageVOList">
  118. <text>{{item.name}}</text>
  119. <view class="note_li_r" v-if="item.isSuccess==1"><img src="@/images/basicsModules/icon_yjxx_ytz.png"/><text>已通知</text></view>
  120. </view>
  121. </view>
  122. <!-- 预警通知 -->
  123. <view class="note" v-if="(form.warningType==4 || form.warningType==1) && form.warningSubType!=2 && form.warningSubType!=3 && form.warningSubType!=4 && form.voiceBroadcast==1">
  124. <view class="small_title"><text></text><text>预警通知</text></view>
  125. <view class="note_li" style="margin-top:20rpx;" >
  126. <text>语音播报</text>
  127. <view class="note_li_r"><img src="@/images/basicsModules/icon_yjxx_ytz.png"/><text>已通知</text></view>
  128. </view>
  129. </view>
  130. <view class="note" v-if="(form.warningType==2 || form.warningType==3) && form.warningSubType!=2 && form.warningSubType!=3 && form.warningSubType!=4 && form.voiceBroadcast==1">
  131. <view class="small_title"><text></text><text>预警通知</text></view>
  132. <view class="note_li" style="margin-top:20rpx;" >
  133. <text>声光报警通知</text>
  134. <view class="note_li_r" ><img src="@/images/basicsModules/icon_yjxx_ytz.png"/><text>已通知</text></view>
  135. </view>
  136. </view>
  137. <view v-if="form.warningSubType!=2 && form.warningSubType!=3 && form.warningSubType!=4" class="picture">
  138. <view class="small_title"><text></text><text>报警抓拍</text></view>
  139. <view class="picture_b" >
  140. <view class="video" v-if="form.warningType!=1">
  141. <video id="myvideo" class="video_t" :bindloadedmetada="onLoadedMetadata" :src="configUrl+form.recordVideo"></video>
  142. <img class="video_b" @click="lockVideo()" src="@/images/basicsModules/icon_bjzp_spbof.png"/>
  143. <canvas id="myCanvas" canvas-id="myCanvas"></canvas>
  144. </view>
  145. <view v-if="form.warningType==1" class="img" @click="lockImg(form.warningDetailList)">
  146. <img v-for="item in form.warningDetailList" :src="configUrl+item.photoUrl"/>
  147. </view>
  148. </view>
  149. </view>
  150. <view class="bottom_btn" v-if="timeStatus && (form.warningSubType!=2 && form.warningSubType!=3 && form.warningSubType!=4)" @click="handleClick('','monitor')">查看监控</view>
  151. </scroll-view>
  152. </view>
  153. </template>
  154. <script>
  155. import { config } from '@/api/request/config.js'
  156. import {warningNoticeLogDetail} from '@/api/apiDemo/index.js'
  157. export default {
  158. name: "rectifyList",
  159. components: {
  160. },
  161. data() {
  162. return {
  163. configUrl:config.base_url,
  164. //列表请求参数
  165. getData:{
  166. pageNum:1,
  167. pageSize:20,
  168. },
  169. total:0,
  170. warningId:'',
  171. form:{},
  172. currentTime:'',
  173. timeStatus:false,
  174. videoType:false,
  175. }
  176. },
  177. onLoad(option) {
  178. let self = this;
  179. //先判断是否是通过点击列表进入
  180. if(option.warningId){
  181. this.warningId=option.warningId;
  182. }else{
  183. //通过短信外链跳转进来
  184. if(option.id){
  185. console.log(11)
  186. if(!uni.getStorageSync('token')){
  187. console.log(22)
  188. uni.setStorageSync('warningId',option.id);
  189. console.log(uni.getStorageSync('warningId'))
  190. uni.redirectTo({
  191. url: '/pages/login',
  192. });
  193. }else{
  194. this.warningId = option.id;
  195. uni.removeStorageSync('warningId');
  196. }
  197. }
  198. }
  199. },
  200. onShow() {
  201. this.$set(this,'videoType',false);
  202. },
  203. mounted(){
  204. this.getInfo();
  205. },
  206. methods: {
  207. //截取封面
  208. videoCover(){
  209. let video = document.getElementById('#myvideo');
  210. let canvas = document.createElement("canvas");
  211. let width = video.width; //canvas的尺寸和图片一样
  212. let height = video.height;
  213. canvas.width = width;
  214. canvas.height = height;
  215. canvas.getContext("2d").drawImage(video, 0, 0, width, height); //绘制canvas
  216. let videoImg = canvas.toDataURL('image/jpeg'); //转换为base64
  217. },
  218. onLoadedMetadata(e){
  219. console.log(1111)
  220. const duration=e.duration;
  221. const width=e.videoWidth;
  222. const heigth=e.videoHeight;
  223. const canvas=uni.createCanvasContext('myCanvas')
  224. canvas.canvas.width=width;
  225. canvas.canvas.height=heigth;
  226. canvas.drawImage('myVideo',0,0,width,heigth)
  227. canvas.draw();
  228. const that=this;
  229. setTimeout(function(){
  230. uni.canvasToTempFilePath({
  231. canvasId:'myCanvas',
  232. success:function(res) {
  233. const imagePath=res.tempFilePath;
  234. console.log(imagePath)
  235. }
  236. })
  237. },1000)
  238. },
  239. //滚动事件
  240. scrollGet(){
  241. let self=this;
  242. },
  243. //判断预警时间是否超过30分钟
  244. compareTime (gettime){
  245. let timeOut = 30 * 60 * 1000;
  246. let currentTime = new Date().getTime() //获取当前时间
  247. let endTime = new Date(gettime).getTime() //预警时间
  248. if(currentTime-endTime>timeOut){
  249. console.log('预警时间超过30分钟')
  250. this.timeStatus=false;
  251. }else{
  252. console.log('预警没超过30分钟')
  253. this.timeStatus=true;
  254. }
  255. },
  256. //查看图片
  257. lockImg(list){
  258. if(!list[0]){
  259. return
  260. }
  261. let urlList=[];
  262. for(let i=0;i<list.length;i++){
  263. urlList.push(this.configUrl+list[i].photoUrl)
  264. }
  265. wx.previewImage({
  266. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  267. current: '', // 当前显示图片的http链接,默认是第一个
  268. success: function(res) {},
  269. fail: function(res) {},
  270. complete: function(res) {},
  271. })
  272. },
  273. //视频全屏播放
  274. lockVideo(){
  275. let videoContext = uni.createVideoContext("myvideo", this);
  276. videoContext.requestFullScreen({ direction: 90 });
  277. // this.videoContext.play();
  278. },
  279. //计算两个日期差值(天)
  280. datedifference(sDate1, sDate2) { //sDate1和sDate2是2006-12-18格式
  281. let dateSpan,tempDate,iDays
  282. sDate1 = Date.parse(sDate1)
  283. sDate2 = Date.parse(sDate2)
  284. dateSpan = sDate2 - sDate1
  285. dateSpan = Math.abs(dateSpan)
  286. iDays = Math.floor(dateSpan / (24 * 3600 * 1000))
  287. return iDays
  288. },
  289. //获取详情
  290. async getInfo(){
  291. let _this = this;
  292. const {data} = await warningNoticeLogDetail({id:this.warningId})
  293. if(data.code==200){
  294. let res=data.data
  295. this.form=res;
  296. if(this.form.startTime!='' && this.form.startTime!=null && this.form.endTime !=''&& this.form.endTime !=null){
  297. if(this.form.startTime.split(' ')[0] != this.form.endTime.split(' ')[0]){
  298. this.form.everyDay=true;
  299. this.form.everyDayNum=this.datedifference(this.form.endTime.split(' ')[0],this.form.startTime.split(' ')[0])
  300. }
  301. }
  302. if(this.form.endTime !=''&& this.form.endTime !=null){
  303. this.form.endTime =this.form.endTime.split(' ')[1]
  304. }
  305. if(res.warningType==1){
  306. uni.setNavigationBarTitle({
  307. title:'算法识别预警信息'
  308. })
  309. }else if(res.warningType==2){
  310. uni.setNavigationBarTitle({
  311. title:'化学品预警信息'
  312. })
  313. }else if(res.warningType==3){
  314. uni.setNavigationBarTitle({
  315. title:'气瓶预警信息'
  316. })
  317. }else if(res.warningType==4){
  318. uni.setNavigationBarTitle({
  319. title:'预案报警信息'
  320. })
  321. }
  322. setTimeout(function(){
  323. let videoplay = wx.createVideoContext('myvideo')
  324. videoplay.play()
  325. setTimeout(function(){
  326. videoplay.pause()
  327. _this.$set(_this,'videoType',true);
  328. },200)
  329. },1000)
  330. this.compareTime(res.warningTime);
  331. }
  332. },
  333. handleClick(row,doType){
  334. let self=this;
  335. if( doType=='monitor'){//监控
  336. uni.navigateTo({
  337. url: '/page_basics/earlyWarningManage/videoMonitoring?subId='+this.form.subId+'&floorId='+this.form.floorId//我的实验室
  338. });
  339. }
  340. },
  341. }
  342. }
  343. </script>
  344. <style lang="stylus" scoped>
  345. .earlyWarning{
  346. height:100%;
  347. display flex;
  348. padding-bottom: 30rpx;
  349. box-sizing: border-box;
  350. .red_color{
  351. color: #D40000;
  352. border: 1rpx solid #D40000;
  353. }
  354. .orange_color{
  355. color: #FF4800;
  356. border: 1rpx solid #FF4800;
  357. }
  358. .yellow_color{
  359. color: #FFA34E;
  360. border: 1rpx solid #FFA34E;
  361. }
  362. .info-max-box{
  363. flex: 1;
  364. overflow: scroll;
  365. }
  366. .header{
  367. width: 750rpx;
  368. height: 80rpx;
  369. font-size: 28rpx;
  370. font-family: PingFang SC-Medium, PingFang SC;
  371. font-weight: 400;
  372. color: #D40000;
  373. line-height: 80rpx;
  374. text-align: center;
  375. background: rgba(212,0,0,0.2);
  376. }
  377. .header_tow{
  378. width: 750rpx;
  379. height: 80rpx;
  380. font-size: 28rpx;
  381. font-family: PingFang SC-Medium, PingFang SC;
  382. font-weight: 400;
  383. color: #FF4800;
  384. line-height: 80rpx;
  385. text-align: center;
  386. background: rgba(255,72,0,0.2);
  387. }
  388. .header_three{
  389. width: 750rpx;
  390. height: 80rpx;
  391. font-size: 28rpx;
  392. font-family: PingFang SC-Medium, PingFang SC;
  393. font-weight: 400;
  394. color: #FF4800;
  395. line-height: 80rpx;
  396. text-align: center;
  397. background: rgba(255,72,0,0.2);
  398. }
  399. .header_four{
  400. width: 750rpx;
  401. height: 80rpx;
  402. font-size: 28rpx;
  403. font-family: PingFang SC-Medium, PingFang SC;
  404. font-weight: 400;
  405. color: #FFA34E;
  406. line-height: 80rpx;
  407. text-align: center;
  408. background: rgba(255,163,78,0.2);
  409. }
  410. .site{
  411. padding:26rpx;
  412. background: #FFFFFF;
  413. display: flex;
  414. border-radius: 20rpx 20rpx 20rpx 20rpx;
  415. margin:20rpx 30rpx;
  416. >img{
  417. width: 30rpx;
  418. height: 30rpx;
  419. margin:auto 22rpx auto 30rpx;
  420. }
  421. >view:nth-of-type(1){
  422. font-size: 28rpx;
  423. font-family: PingFang SC-Medium, PingFang SC;
  424. flex:1;
  425. color: #333333;
  426. line-height: 32rpx;
  427. }
  428. >view:nth-of-type(2){
  429. display: inline-block;
  430. width: 2rpx;
  431. background: #E0E0E0;
  432. margin: 0 24rpx;
  433. }
  434. >view:nth-of-type(3){
  435. font-size: 28rpx;
  436. font-family: PingFang SC-Medium, PingFang SC;
  437. flex:1;
  438. color: #333333;
  439. line-height: 32rpx;
  440. }
  441. }
  442. .site_tow{
  443. width: 690rpx;
  444. height: 170rpx;
  445. background: #FFFFFF;
  446. border-radius: 20rpx 20rpx 20rpx 20rpx;
  447. margin:20rpx 30rpx;
  448. overflow: hidden;
  449. .site_tow_t{
  450. height: 40rpx;
  451. display: flex;
  452. justify-content: flex-start;
  453. align-items: center;
  454. margin-top: 32rpx;
  455. >img{
  456. width: 30rpx;
  457. height: 30rpx;
  458. margin-right: 22rpx;
  459. margin-left: 30rpx;
  460. }
  461. >text:nth-of-type(1){
  462. font-size: 28rpx;
  463. font-family: PingFang SC-Medium, PingFang SC;
  464. font-weight: 400;
  465. color: #333333;
  466. line-height: 28rpx;
  467. }
  468. }
  469. .site_tow_b{
  470. height: 40rpx;
  471. display: flex;
  472. justify-content: flex-start;
  473. align-items: center;
  474. margin-top: 20rpx;
  475. >img{
  476. width: 30rpx;
  477. height: 30rpx;
  478. margin-right: 22rpx;
  479. margin-left: 30rpx;
  480. }
  481. >text:nth-of-type(1){
  482. font-size: 28rpx;
  483. font-family: PingFang SC-Medium, PingFang SC;
  484. font-weight: 400;
  485. color: #333333;
  486. line-height: 28rpx;
  487. }
  488. >text:nth-of-type(2){
  489. display: inline-block;
  490. width: 2rpx;
  491. height: 20rpx;
  492. background: #E0E0E0;
  493. margin: 0 24rpx 0 28rpx;
  494. }
  495. >text:nth-of-type(3){
  496. font-size: 28rpx;
  497. font-family: PingFang SC-Medium, PingFang SC;
  498. font-weight: 400;
  499. color: #333333;
  500. line-height: 28rpx;
  501. }
  502. }
  503. }
  504. .small_title{
  505. height: 90rpx;
  506. display: flex;
  507. justify-content: flex-start;
  508. align-items: center;
  509. border-bottom: 1rpx solid #E0E0E0;
  510. >text:nth-of-type(1){
  511. display: inline-block;
  512. width: 4rpx;
  513. height: 30rpx;
  514. background: #0183FA;
  515. margin: 0 22rpx 0 28rpx;
  516. }
  517. >text:nth-of-type(1){
  518. font-size: 30rpx;
  519. font-family: PingFang SC-Medium, PingFang SC;
  520. font-weight: 400;
  521. color: #333333;
  522. line-height: 30rpx;
  523. }
  524. }
  525. .basics{
  526. margin-left: 30rpx;
  527. width: 690rpx;
  528. height: auto;
  529. background: #FFFFFF;
  530. border-radius: 20rpx 20rpx 20rpx 20rpx;
  531. padding-bottom: 16rpx;
  532. box-sizing: border-box;
  533. .basics_li{
  534. display: flex;
  535. justify-content: space-between;
  536. align-items: center;
  537. margin: 0 30rpx;
  538. position: relative;
  539. >text:nth-of-type(1){
  540. font-size: 28rpx;
  541. font-family: PingFang SC-Medium, PingFang SC;
  542. font-weight: 400;
  543. color: #333333;
  544. line-height: 60rpx;
  545. }
  546. >text:nth-of-type(2){
  547. font-size: 28rpx;
  548. font-family: PingFang SC-Medium, PingFang SC;
  549. font-weight: 400;
  550. color: #333333;
  551. line-height: 60rpx;
  552. flex: 1;
  553. text-align: right;
  554. }
  555. }
  556. }
  557. .note{
  558. margin-left: 30rpx;
  559. margin-top: 20rpx;
  560. width: 690rpx;
  561. height: auto;
  562. background: #FFFFFF;
  563. border-radius: 20rpx 20rpx 20rpx 20rpx;
  564. padding-bottom: 16rpx;
  565. box-sizing: border-box;
  566. .note_li{
  567. display: flex;
  568. justify-content: space-between;
  569. margin: 0 30rpx;
  570. >text:nth-of-type(1){
  571. font-size: 28rpx;
  572. font-family: PingFang SC-Medium, PingFang SC;
  573. font-weight: 400;
  574. color: #333333;
  575. line-height: 60rpx;
  576. }
  577. .note_li_r{
  578. display: flex;
  579. justify-content: flex-start;
  580. align-items: center;
  581. >img{
  582. width: 28rpx;
  583. height: 28rpx;
  584. margin-right: 10rpx;
  585. }
  586. font-size: 28rpx;
  587. font-family: PingFang SC-Medium, PingFang SC;
  588. font-weight: 400;
  589. color: #0183FA;
  590. line-height: 60rpx;
  591. }
  592. }
  593. }
  594. .picture{
  595. margin-left: 30rpx;
  596. width: 690rpx;
  597. height: auto;
  598. background: #FFFFFF;
  599. border-radius: 20rpx 20rpx 20rpx 20rpx;
  600. margin-top: 20rpx;
  601. .picture_b{
  602. display: flex;
  603. justify-content: flex-start;
  604. flex-wrap: wrap;
  605. padding: 40rpx 30rpx 10rpx;
  606. box-sizing: border-box;
  607. .videoOpacity1{
  608. opacity:1;
  609. }
  610. .videoOpacity0{
  611. opacity:0;
  612. }
  613. .video{
  614. position: relative;
  615. width: 150rpx;
  616. height: 150rpx;
  617. border-radius: 10rpx 10rpx 10rpx 10rpx;
  618. margin-right: 38rpx;
  619. margin-bottom: 10rpx;
  620. .video_t{
  621. width: 150rpx;
  622. height: 150rpx;
  623. border-radius: 10rpx 10rpx 10rpx 10rpx;
  624. position: absolute;
  625. }
  626. .video_b{
  627. width: 40rpx;
  628. height: 40rpx;
  629. position: absolute;
  630. left: 55rpx;
  631. top: 55rpx;
  632. }
  633. }
  634. .img{
  635. display: flex;
  636. justify-content:flex-start;
  637. flex-wrap: wrap;
  638. >img{
  639. width: 180rpx;
  640. height: 180rpx;
  641. border-radius: 10rpx 10rpx 10rpx 10rpx;
  642. margin-right: 38rpx;
  643. margin-bottom: 20rpx;
  644. }
  645. >img:nth-child(3n+3){
  646. margin-right: 0;
  647. }
  648. }
  649. }
  650. }
  651. .bottom_btn{
  652. width: 690rpx;
  653. height: 90rpx;
  654. border-radius: 10rpx 10rpx 10rpx 10rpx;
  655. opacity: 1;
  656. border: 1rpx solid #0183FA;
  657. font-size: 30rpx;
  658. font-family: PingFang SC-Medium, PingFang SC;
  659. font-weight: 400;
  660. color: #0183FA;
  661. line-height: 90rpx;
  662. text-align: center;
  663. background: #F5F5F5;
  664. margin: 90rpx 30rpx 30rpx;
  665. }
  666. }
  667. </style>