earlyWarningDetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  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. <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/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:356rpx;width:640rpx;margin-bottom:15rpx;"
  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. padding:26rpx;
  440. background: #FFFFFF;
  441. display: flex;
  442. border-radius: 20rpx 20rpx 20rpx 20rpx;
  443. margin:20rpx 30rpx;
  444. >img{
  445. width: 30rpx;
  446. height: 30rpx;
  447. margin:auto 22rpx auto 30rpx;
  448. }
  449. >view:nth-of-type(1){
  450. font-size: 28rpx;
  451. font-family: PingFang SC-Medium, PingFang SC;
  452. flex:1;
  453. color: #333333;
  454. line-height: 32rpx;
  455. }
  456. >view:nth-of-type(2){
  457. display: inline-block;
  458. width: 2rpx;
  459. background: #E0E0E0;
  460. margin: 0 24rpx;
  461. }
  462. >view:nth-of-type(3){
  463. font-size: 28rpx;
  464. font-family: PingFang SC-Medium, PingFang SC;
  465. flex:1;
  466. color: #333333;
  467. line-height: 32rpx;
  468. }
  469. }
  470. .site_tow{
  471. width: 690rpx;
  472. height: 170rpx;
  473. background: #FFFFFF;
  474. border-radius: 20rpx 20rpx 20rpx 20rpx;
  475. margin:20rpx 30rpx;
  476. overflow: hidden;
  477. .site_tow_t{
  478. height: 40rpx;
  479. display: flex;
  480. justify-content: flex-start;
  481. align-items: center;
  482. margin-top: 32rpx;
  483. >img{
  484. width: 30rpx;
  485. height: 30rpx;
  486. margin-right: 22rpx;
  487. margin-left: 30rpx;
  488. }
  489. >text:nth-of-type(1){
  490. font-size: 28rpx;
  491. font-family: PingFang SC-Medium, PingFang SC;
  492. font-weight: 400;
  493. color: #333333;
  494. line-height: 28rpx;
  495. }
  496. }
  497. .site_tow_b{
  498. height: 40rpx;
  499. display: flex;
  500. justify-content: flex-start;
  501. align-items: center;
  502. margin-top: 20rpx;
  503. >img{
  504. width: 30rpx;
  505. height: 30rpx;
  506. margin-right: 22rpx;
  507. margin-left: 30rpx;
  508. }
  509. >text:nth-of-type(1){
  510. font-size: 28rpx;
  511. font-family: PingFang SC-Medium, PingFang SC;
  512. font-weight: 400;
  513. color: #333333;
  514. line-height: 28rpx;
  515. }
  516. >text:nth-of-type(2){
  517. display: inline-block;
  518. width: 2rpx;
  519. height: 20rpx;
  520. background: #E0E0E0;
  521. margin: 0 24rpx 0 28rpx;
  522. }
  523. >text:nth-of-type(3){
  524. font-size: 28rpx;
  525. font-family: PingFang SC-Medium, PingFang SC;
  526. font-weight: 400;
  527. color: #333333;
  528. line-height: 28rpx;
  529. }
  530. }
  531. }
  532. .small_title{
  533. height: 90rpx;
  534. display: flex;
  535. justify-content: flex-start;
  536. align-items: center;
  537. border-bottom: 1rpx solid #E0E0E0;
  538. >text:nth-of-type(1){
  539. display: inline-block;
  540. width: 4rpx;
  541. height: 30rpx;
  542. background: #0183FA;
  543. margin: 0 22rpx 0 28rpx;
  544. }
  545. >text:nth-of-type(1){
  546. font-size: 30rpx;
  547. font-family: PingFang SC-Medium, PingFang SC;
  548. font-weight: 400;
  549. color: #333333;
  550. line-height: 30rpx;
  551. }
  552. }
  553. .basics{
  554. margin-left: 30rpx;
  555. width: 690rpx;
  556. height: auto;
  557. background: #FFFFFF;
  558. border-radius: 20rpx 20rpx 20rpx 20rpx;
  559. padding-bottom: 16rpx;
  560. box-sizing: border-box;
  561. .basics_li{
  562. display: flex;
  563. justify-content: space-between;
  564. align-items: center;
  565. margin: 0 30rpx;
  566. position: relative;
  567. >text:nth-of-type(1){
  568. font-size: 28rpx;
  569. font-family: PingFang SC-Medium, PingFang SC;
  570. font-weight: 400;
  571. color: #333333;
  572. line-height: 60rpx;
  573. }
  574. >text:nth-of-type(2){
  575. font-size: 28rpx;
  576. font-family: PingFang SC-Medium, PingFang SC;
  577. font-weight: 400;
  578. color: #333333;
  579. line-height: 60rpx;
  580. flex: 1;
  581. text-align: right;
  582. }
  583. }
  584. }
  585. .note{
  586. margin-left: 30rpx;
  587. margin-top: 20rpx;
  588. width: 690rpx;
  589. height: auto;
  590. background: #FFFFFF;
  591. border-radius: 20rpx 20rpx 20rpx 20rpx;
  592. padding-bottom: 16rpx;
  593. box-sizing: border-box;
  594. .note_li{
  595. display: flex;
  596. justify-content: space-between;
  597. margin: 0 30rpx;
  598. >text:nth-of-type(1){
  599. font-size: 28rpx;
  600. font-family: PingFang SC-Medium, PingFang SC;
  601. font-weight: 400;
  602. color: #333333;
  603. line-height: 60rpx;
  604. }
  605. .note_li_r{
  606. display: flex;
  607. justify-content: flex-start;
  608. align-items: center;
  609. >img{
  610. width: 28rpx;
  611. height: 28rpx;
  612. margin-right: 10rpx;
  613. }
  614. font-size: 28rpx;
  615. font-family: PingFang SC-Medium, PingFang SC;
  616. font-weight: 400;
  617. color: #0183FA;
  618. line-height: 60rpx;
  619. }
  620. }
  621. }
  622. .picture{
  623. margin-left: 30rpx;
  624. width: 690rpx;
  625. height: auto;
  626. background: #FFFFFF;
  627. border-radius: 20rpx 20rpx 20rpx 20rpx;
  628. margin-top: 20rpx;
  629. .picture_b{
  630. display: flex;
  631. justify-content: flex-start;
  632. flex-wrap: wrap;
  633. padding: 40rpx 30rpx 10rpx;
  634. box-sizing: border-box;
  635. .videoOpacity1{
  636. opacity:1;
  637. }
  638. .videoOpacity0{
  639. opacity:0;
  640. }
  641. .video{
  642. position: relative;
  643. width: 150rpx;
  644. height: 150rpx;
  645. border-radius: 10rpx 10rpx 10rpx 10rpx;
  646. margin-right: 38rpx;
  647. margin-bottom: 10rpx;
  648. .video_t{
  649. width: 150rpx;
  650. height: 150rpx;
  651. border-radius: 10rpx 10rpx 10rpx 10rpx;
  652. position: absolute;
  653. }
  654. .video_b{
  655. width: 40rpx;
  656. height: 40rpx;
  657. position: absolute;
  658. left: 55rpx;
  659. top: 55rpx;
  660. }
  661. }
  662. .img{
  663. display: flex;
  664. justify-content:flex-start;
  665. flex-wrap: wrap;
  666. >img{
  667. width: 180rpx;
  668. height: 180rpx;
  669. border-radius: 10rpx 10rpx 10rpx 10rpx;
  670. margin-right: 38rpx;
  671. margin-bottom: 20rpx;
  672. }
  673. >img:nth-child(3n+3){
  674. margin-right: 0;
  675. }
  676. }
  677. }
  678. }
  679. .bottom_btn{
  680. width: 690rpx;
  681. height: 90rpx;
  682. border-radius: 10rpx 10rpx 10rpx 10rpx;
  683. opacity: 1;
  684. border: 1rpx solid #0183FA;
  685. font-size: 30rpx;
  686. font-family: PingFang SC-Medium, PingFang SC;
  687. font-weight: 400;
  688. color: #0183FA;
  689. line-height: 90rpx;
  690. text-align: center;
  691. background: #F5F5F5;
  692. margin: 90rpx 30rpx 30rpx;
  693. }
  694. }
  695. </style>