earlyWarningDetail.vue 19 KB

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