earlyWarningDetail.vue 19 KB

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