earlyWarningDetail.vue 19 KB

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