earlyWarningDetail.vue 19 KB

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