earlyWarningDetail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788
  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?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.applyTime}}</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 class="basics_li">
  114. <text>定位状态:</text>
  115. <text>{{form.locationState==0?'离位':'在位'}}</text>
  116. </view>
  117. <view class="basics_li" >
  118. <text>处理状态:</text>
  119. <text>{{form.dispose==0?'待处理':'已处理'}}</text>
  120. </view>
  121. </view>
  122. <!-- 通知短信 -->
  123. <view class="note" v-if="form.warningType==4 || form.warningType==1" >
  124. <view class="small_title"><text></text><text>通知短信</text></view>
  125. <view class="note_li" style="margin-top:20rpx;" v-for="(item,index) in form.messageVOList">
  126. <text>{{item.name}}</text>
  127. <view class="note_li_r" v-if="item.isSuccess==1"><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  128. </view>
  129. </view>
  130. <!-- 预警通知 -->
  131. <view class="note" v-if="(form.warningType==4 || form.warningType==1) && form.warningSubType!=2 && form.warningSubType!=3 && form.warningSubType!=4 && form.voiceBroadcast==1">
  132. <view class="small_title"><text></text><text>预警通知</text></view>
  133. <view class="note_li" style="margin-top:20rpx;" >
  134. <text>语音播报</text>
  135. <view class="note_li_r"><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  136. </view>
  137. </view>
  138. <view class="note" v-if="(form.warningType==2 || form.warningType==3) && form.warningSubType!=2 && form.warningSubType!=3 && form.warningSubType!=4 && form.voiceBroadcast==1">
  139. <view class="small_title"><text></text><text>预警通知</text></view>
  140. <view class="note_li" style="margin-top:20rpx;" >
  141. <text>声光报警通知</text>
  142. <view class="note_li_r" ><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  143. </view>
  144. </view>
  145. <view v-if="form.warningType!=3 && form.warningSubType!=2 && form.warningSubType!=3 && form.warningSubType!=4" class="picture">
  146. <view class="small_title"><text></text><text>报警抓拍</text></view>
  147. <view class="picture_b" >
  148. <view class="video" v-if="form.warningType!=1">
  149. <video id="myvideo" class="video_t" :src="configUrl+form.recordVideo"></video>
  150. <img class="video_b" @click="lockVideo()" src="@/images/icon_bjzp_spbof.png"/>
  151. </view>
  152. <view v-if="form.warningType==1" class="img" @click="lockImg(form.warningDetailList)">
  153. <img v-for="item in form.warningDetailList" :src="configUrl+item.photoUrl"/>
  154. </view>
  155. </view>
  156. </view>
  157. <!-- 预警处理 -->
  158. <view class="picture" v-if="form.warningType==3 && form.dispose==0">
  159. <view class="small_title"><text></text><text>预警处理</text></view>
  160. <view class="picture_b" >
  161. <textarea v-model="form.remark" class="dispose" placeholder="请输入处理备注"></textarea>
  162. </view>
  163. </view>
  164. <view class="picture_tow" v-if="form.warningType==3 && form.dispose==1">
  165. <view class="small_title"><text></text><text>预警处理</text></view>
  166. <view class="picture_b" >
  167. <view class="picture_b_li"><text>处理人:</text><text>{{form.updateName}}</text></view>
  168. <view class="picture_b_li"><text>处理时间:</text><text>{{form.updateTime}}</text></view>
  169. <view class="picture_b_li2"><text>处理备注:</text><text>{{form.remark}}</text></view>
  170. </view>
  171. </view>
  172. </scroll-view>
  173. <view v-if="form.warningType==3 && form.dispose==0" class="sub_btn" @click="submitForm()">确认处理</view>
  174. <view class="bottom_btn" v-if="timeStatus && form.warningType!=3&& (form.warningSubType!=2 && form.warningSubType!=3 && form.warningSubType!=4)" @click="handleClick('','monitor')">查看监控</view>
  175. </view>
  176. </template>
  177. <script>
  178. import { config } from '@/api/request/config.js'
  179. import {checkManageList,conditionCollegeInfo,warningNoticeLogDetail,laboratoryWarningNoticeLogUpdate} from '@/api/index.js'
  180. export default {
  181. name: "rectifyList",
  182. components: {
  183. },
  184. data() {
  185. return {
  186. configUrl:config.base_url,
  187. //列表请求参数
  188. getData:{
  189. pageNum:1,
  190. pageSize:20,
  191. },
  192. total:0,
  193. warningId:'',
  194. form:{},
  195. currentTime:'',
  196. timeStatus:false,
  197. }
  198. },
  199. onLoad(option) {
  200. let self = this;
  201. //先判断是否是通过点击列表进入
  202. if(option.warningId){
  203. this.warningId=option.warningId;
  204. }else{
  205. //通过短信外链跳转进来
  206. if(option.id){
  207. console.log(11)
  208. if(!uni.getStorageSync('token')){
  209. console.log(22)
  210. uni.setStorageSync('warningId',option.id);
  211. console.log(uni.getStorageSync('warningId'))
  212. uni.redirectTo({
  213. url: '/pages/login',
  214. });
  215. }else{
  216. this.warningId = option.id;
  217. uni.removeStorageSync('warningId');
  218. }
  219. }
  220. }
  221. },
  222. onShow() {
  223. },
  224. mounted(){
  225. this.getInfo();
  226. },
  227. methods: {
  228. //滚动事件
  229. scrollGet(){
  230. let self=this;
  231. },
  232. //判断预警时间是否超过30分钟
  233. compareTime (gettime){
  234. let timeOut = 30 * 60 * 1000;
  235. let currentTime = new Date().getTime() //获取当前时间
  236. let endTime = new Date(gettime).getTime() //预警时间
  237. if(currentTime-endTime>timeOut){
  238. console.log('预警时间超过30分钟')
  239. this.timeStatus=false;
  240. }else{
  241. console.log('预警没超过30分钟')
  242. this.timeStatus=true;
  243. }
  244. },
  245. //查看图片
  246. lockImg(list){
  247. if(!list[0]){
  248. return
  249. }
  250. let urlList=[];
  251. for(let i=0;i<list.length;i++){
  252. urlList.push(this.configUrl+list[i].photoUrl)
  253. }
  254. wx.previewImage({
  255. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  256. current: '', // 当前显示图片的http链接,默认是第一个
  257. success: function(res) {},
  258. fail: function(res) {},
  259. complete: function(res) {},
  260. })
  261. },
  262. //视频全屏播放
  263. lockVideo(){
  264. this.videoContext = uni.createVideoContext("myvideo", this);
  265. this.videoContext.requestFullScreen({ direction: 90 });
  266. this.videoContext.play();
  267. },
  268. //计算两个日期差值(天)
  269. datedifference(sDate1, sDate2) { //sDate1和sDate2是2006-12-18格式
  270. let dateSpan,tempDate,iDays
  271. sDate1 = Date.parse(sDate1)
  272. sDate2 = Date.parse(sDate2)
  273. dateSpan = sDate2 - sDate1
  274. dateSpan = Math.abs(dateSpan)
  275. iDays = Math.floor(dateSpan / (24 * 3600 * 1000))
  276. return iDays
  277. },
  278. //获取详情
  279. async getInfo(){
  280. let _this = this;
  281. const {data} = await warningNoticeLogDetail({id:this.warningId})
  282. if(data.code==200){
  283. let res=data.data
  284. this.form=res;
  285. if(this.form.startTime!='' && this.form.startTime!=null && this.form.endTime !=''&& this.form.endTime !=null){
  286. if(this.form.startTime.split(' ')[0] != this.form.endTime.split(' ')[0]){
  287. this.form.everyDay=true;
  288. this.form.everyDayNum=this.datedifference(this.form.endTime.split(' ')[0],this.form.startTime.split(' ')[0])
  289. }
  290. }
  291. if(this.form.endTime !=''&& this.form.endTime !=null){
  292. this.form.endTime =this.form.endTime.split(' ')[1]
  293. }
  294. if(res.warningType==1){
  295. uni.setNavigationBarTitle({
  296. title:'算法识别预警信息'
  297. })
  298. }else if(res.warningType==2){
  299. uni.setNavigationBarTitle({
  300. title:'化学品预警信息'
  301. })
  302. }else if(res.warningType==3){
  303. uni.setNavigationBarTitle({
  304. title:'气瓶预警信息'
  305. })
  306. }else if(res.warningType==4){
  307. uni.setNavigationBarTitle({
  308. title:'预案报警信息'
  309. })
  310. }
  311. this.compareTime(res.warningTime);
  312. }
  313. },
  314. handleClick(row,doType){
  315. let self=this;
  316. if( doType=='monitor'){//监控
  317. uni.navigateTo({
  318. url: '/pages/earlyWarningManage/videoMonitoring?subId='+this.form.subId+'&floorId='+this.form.floorId//我的实验室
  319. });
  320. }
  321. },
  322. //提交
  323. async submitForm(){
  324. let _this = this;
  325. if(!this.form.remark){
  326. uni.showToast({
  327. title: '请输入处理备注',
  328. icon:"none",
  329. mask:true,
  330. duration: 2000
  331. });
  332. return
  333. }
  334. let obj={
  335. id:this.form.id,
  336. remark:this.form.remark,
  337. dispose:'1',
  338. }
  339. const {data} = await laboratoryWarningNoticeLogUpdate(obj);
  340. if(data.code == 200){
  341. uni.showToast({
  342. title: '提交成功',
  343. icon:"none",
  344. mask:true,
  345. duration: 2000
  346. });
  347. setTimeout(function(){
  348. uni.redirectTo({
  349. url: '/pages/earlyWarningManage/earlyWarningList'
  350. });
  351. },2000);
  352. }
  353. },
  354. }
  355. }
  356. </script>
  357. <style lang="stylus" scoped>
  358. .earlyWarning{
  359. height:100%;
  360. display flex;
  361. padding-bottom: 140rpx;
  362. box-sizing: border-box;
  363. .red_color{
  364. color: #D40000;
  365. border: 1rpx solid #D40000;
  366. }
  367. .orange_color{
  368. color: #FF4800;
  369. border: 1rpx solid #FF4800;
  370. }
  371. .yellow_color{
  372. color: #FFA34E;
  373. border: 1rpx solid #FFA34E;
  374. }
  375. .info-max-box{
  376. flex: 1;
  377. overflow: scroll;
  378. }
  379. .header{
  380. width: 750rpx;
  381. height: 80rpx;
  382. font-size: 28rpx;
  383. font-family: PingFang SC-Medium, PingFang SC;
  384. font-weight: 400;
  385. color: #D40000;
  386. line-height: 80rpx;
  387. text-align: center;
  388. background: rgba(212,0,0,0.2);
  389. }
  390. .header_tow{
  391. width: 750rpx;
  392. height: 80rpx;
  393. font-size: 28rpx;
  394. font-family: PingFang SC-Medium, PingFang SC;
  395. font-weight: 400;
  396. color: #FF4800;
  397. line-height: 80rpx;
  398. text-align: center;
  399. background: rgba(255,72,0,0.2);
  400. }
  401. .header_three{
  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_four{
  413. width: 750rpx;
  414. height: 80rpx;
  415. font-size: 28rpx;
  416. font-family: PingFang SC-Medium, PingFang SC;
  417. font-weight: 400;
  418. color: #FFA34E;
  419. line-height: 80rpx;
  420. text-align: center;
  421. background: rgba(255,163,78,0.2);
  422. }
  423. .site{
  424. width: 690rpx;
  425. height: 80rpx;
  426. background: #FFFFFF;
  427. display: flex;
  428. justify-content: flex-start;
  429. align-items: center;
  430. border-radius: 20rpx 20rpx 20rpx 20rpx;
  431. margin:20rpx 30rpx;
  432. >img{
  433. width: 30rpx;
  434. height: 30rpx;
  435. margin-right: 22rpx;
  436. margin-left: 30rpx;
  437. }
  438. >text:nth-of-type(1){
  439. font-size: 28rpx;
  440. font-family: PingFang SC-Medium, PingFang SC;
  441. font-weight: 400;
  442. color: #333333;
  443. line-height: 28rpx;
  444. }
  445. >text:nth-of-type(2){
  446. display: inline-block;
  447. width: 2rpx;
  448. height: 20rpx;
  449. background: #E0E0E0;
  450. margin: 0 24rpx 0 28rpx;
  451. }
  452. >text:nth-of-type(3){
  453. font-size: 28rpx;
  454. font-family: PingFang SC-Medium, PingFang SC;
  455. font-weight: 400;
  456. color: #333333;
  457. line-height: 28rpx;
  458. }
  459. }
  460. .site_tow{
  461. width: 690rpx;
  462. height: 170rpx;
  463. background: #FFFFFF;
  464. border-radius: 20rpx 20rpx 20rpx 20rpx;
  465. margin:20rpx 30rpx;
  466. overflow: hidden;
  467. .site_tow_t{
  468. height: 40rpx;
  469. display: flex;
  470. justify-content: flex-start;
  471. align-items: center;
  472. margin-top: 32rpx;
  473. >img{
  474. width: 30rpx;
  475. height: 30rpx;
  476. margin-right: 22rpx;
  477. margin-left: 30rpx;
  478. }
  479. >text:nth-of-type(1){
  480. font-size: 28rpx;
  481. font-family: PingFang SC-Medium, PingFang SC;
  482. font-weight: 400;
  483. color: #333333;
  484. line-height: 28rpx;
  485. }
  486. }
  487. .site_tow_b{
  488. height: 40rpx;
  489. display: flex;
  490. justify-content: flex-start;
  491. align-items: center;
  492. margin-top: 20rpx;
  493. >img{
  494. width: 30rpx;
  495. height: 30rpx;
  496. margin-right: 22rpx;
  497. margin-left: 30rpx;
  498. }
  499. >text:nth-of-type(1){
  500. font-size: 28rpx;
  501. font-family: PingFang SC-Medium, PingFang SC;
  502. font-weight: 400;
  503. color: #333333;
  504. line-height: 28rpx;
  505. }
  506. >text:nth-of-type(2){
  507. display: inline-block;
  508. width: 2rpx;
  509. height: 20rpx;
  510. background: #E0E0E0;
  511. margin: 0 24rpx 0 28rpx;
  512. }
  513. >text:nth-of-type(3){
  514. font-size: 28rpx;
  515. font-family: PingFang SC-Medium, PingFang SC;
  516. font-weight: 400;
  517. color: #333333;
  518. line-height: 28rpx;
  519. }
  520. }
  521. }
  522. .small_title{
  523. height: 90rpx;
  524. display: flex;
  525. justify-content: flex-start;
  526. align-items: center;
  527. border-bottom: 1rpx solid #E0E0E0;
  528. >text:nth-of-type(1){
  529. display: inline-block;
  530. width: 4rpx;
  531. height: 30rpx;
  532. background: #0183FA;
  533. margin: 0 22rpx 0 28rpx;
  534. }
  535. >text:nth-of-type(1){
  536. font-size: 30rpx;
  537. font-family: PingFang SC-Medium, PingFang SC;
  538. font-weight: 400;
  539. color: #333333;
  540. line-height: 30rpx;
  541. }
  542. }
  543. .basics{
  544. margin-left: 30rpx;
  545. width: 690rpx;
  546. height: auto;
  547. background: #FFFFFF;
  548. border-radius: 20rpx 20rpx 20rpx 20rpx;
  549. padding-bottom: 16rpx;
  550. box-sizing: border-box;
  551. .basics_li{
  552. display: flex;
  553. justify-content: space-between;
  554. align-items: center;
  555. margin: 0 30rpx;
  556. position: relative;
  557. >text:nth-of-type(1){
  558. font-size: 28rpx;
  559. font-family: PingFang SC-Medium, PingFang SC;
  560. font-weight: 400;
  561. color: #333333;
  562. line-height: 60rpx;
  563. }
  564. >text:nth-of-type(2){
  565. font-size: 28rpx;
  566. font-family: PingFang SC-Medium, PingFang SC;
  567. font-weight: 400;
  568. color: #333333;
  569. line-height: 60rpx;
  570. flex: 1;
  571. text-align: right;
  572. }
  573. }
  574. }
  575. .note{
  576. margin-left: 30rpx;
  577. margin-top: 20rpx;
  578. width: 690rpx;
  579. height: auto;
  580. background: #FFFFFF;
  581. border-radius: 20rpx 20rpx 20rpx 20rpx;
  582. padding-bottom: 16rpx;
  583. box-sizing: border-box;
  584. .note_li{
  585. display: flex;
  586. justify-content: space-between;
  587. margin: 0 30rpx;
  588. >text:nth-of-type(1){
  589. font-size: 28rpx;
  590. font-family: PingFang SC-Medium, PingFang SC;
  591. font-weight: 400;
  592. color: #333333;
  593. line-height: 60rpx;
  594. }
  595. .note_li_r{
  596. display: flex;
  597. justify-content: flex-start;
  598. align-items: center;
  599. >img{
  600. width: 28rpx;
  601. height: 28rpx;
  602. margin-right: 10rpx;
  603. }
  604. font-size: 28rpx;
  605. font-family: PingFang SC-Medium, PingFang SC;
  606. font-weight: 400;
  607. color: #0183FA;
  608. line-height: 60rpx;
  609. }
  610. }
  611. }
  612. .picture{
  613. margin-left: 30rpx;
  614. width: 690rpx;
  615. height: auto;
  616. background: #FFFFFF;
  617. border-radius: 20rpx 20rpx 20rpx 20rpx;
  618. margin-top: 20rpx;
  619. .picture_b{
  620. display: flex;
  621. justify-content: flex-start;
  622. flex-wrap: wrap;
  623. padding: 40rpx 30rpx 10rpx;
  624. box-sizing: border-box;
  625. .video{
  626. position: relative;
  627. width: 150rpx;
  628. height: 150rpx;
  629. border-radius: 10rpx 10rpx 10rpx 10rpx;
  630. margin-right: 38rpx;
  631. margin-bottom: 10rpx;
  632. .video_t{
  633. width: 150rpx;
  634. height: 150rpx;
  635. border-radius: 10rpx 10rpx 10rpx 10rpx;
  636. position: absolute;
  637. }
  638. .video_b{
  639. width: 40rpx;
  640. height: 40rpx;
  641. position: absolute;
  642. left: 55rpx;
  643. top: 55rpx;
  644. }
  645. }
  646. .img{
  647. display: flex;
  648. justify-content:flex-start;
  649. flex-wrap: wrap;
  650. >img{
  651. width: 180rpx;
  652. height: 180rpx;
  653. border-radius: 10rpx 10rpx 10rpx 10rpx;
  654. margin-right: 38rpx;
  655. margin-bottom: 20rpx;
  656. }
  657. >img:nth-child(3n+3){
  658. margin-right: 0;
  659. }
  660. }
  661. .dispose{
  662. width: 623rpx;
  663. height: 180rpx;
  664. border-radius: 20rpx 20rpx 20rpx 20rpx;
  665. opacity: 1;
  666. border: 1rpx solid #E0E0E0;
  667. padding: 10rpx;
  668. box-sizing: border-box;
  669. }
  670. .picture_b_li{
  671. display: flex;
  672. justify-content: space-between;
  673. >text{
  674. display: inline-block;
  675. font-size: 30rpx;
  676. font-family: PingFang SC-Medium, PingFang SC;
  677. font-weight: 400;
  678. color: #333333;
  679. }
  680. }
  681. }
  682. }
  683. .picture_tow{
  684. margin-left: 30rpx;
  685. width: 690rpx;
  686. height: auto;
  687. background: #FFFFFF;
  688. border-radius: 20rpx 20rpx 20rpx 20rpx;
  689. margin-top: 20rpx;
  690. .picture_b{
  691. padding: 40rpx 30rpx 10rpx;
  692. box-sizing: border-box;
  693. .dispose{
  694. width: 623rpx;
  695. height: 180rpx;
  696. border-radius: 20rpx 20rpx 20rpx 20rpx;
  697. opacity: 1;
  698. border: 1rpx solid #E0E0E0;
  699. padding: 10rpx;
  700. box-sizing: border-box;
  701. }
  702. .picture_b_li{
  703. display: flex;
  704. justify-content: space-between;
  705. margin-bottom: 12rpx;
  706. >text{
  707. display: inline-block;
  708. font-size: 30rpx;
  709. font-family: PingFang SC-Medium, PingFang SC;
  710. font-weight: 400;
  711. color: #333333;
  712. }
  713. }
  714. .picture_b_li2{
  715. display: flex;
  716. justify-content: space-between;
  717. >text{
  718. display: inline-block;
  719. font-size: 30rpx;
  720. font-family: PingFang SC-Medium, PingFang SC;
  721. font-weight: 400;
  722. color: #333333;
  723. }
  724. >text:nth-of-type(1){
  725. width: 160rpx;
  726. }
  727. >text:nth-of-type(2){
  728. flex: 1;
  729. }
  730. }
  731. }
  732. }
  733. .bottom_btn{
  734. width: 690rpx;
  735. height: 90rpx;
  736. border-radius: 10rpx 10rpx 10rpx 10rpx;
  737. opacity: 1;
  738. border: 1rpx solid #0183FA;
  739. font-size: 30rpx;
  740. font-family: PingFang SC-Medium, PingFang SC;
  741. font-weight: 400;
  742. color: #0183FA;
  743. line-height: 90rpx;
  744. text-align: center;
  745. background: #F5F5F5;
  746. margin: 90rpx 30rpx 30rpx;
  747. }
  748. /* 按钮 */
  749. .sub_btn{
  750. width: 650rpx;
  751. height: 100rpx;
  752. background: #0183FA;
  753. border-radius: 20rpx;
  754. font-size: 28rpx;
  755. font-family: PingFang SC;
  756. font-weight: 500;
  757. color: #FFFFFF;
  758. line-height: 100rpx;
  759. text-align: center;
  760. margin-left: 50rpx;
  761. position: fixed;
  762. bottom:30rpx;
  763. z-index: 1000;
  764. }
  765. }
  766. </style>