earlyWarningDetail.vue 19 KB

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