earlyWarningDetail.vue 19 KB

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