earlyWarningDetail.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968
  1. <!-- 预案报警信息 -->
  2. <template>
  3. <view class="earlyWarning">
  4. <!-- 预案报警 -->
  5. <view class="header" v-if="form.warnType==4">{{form.eventName}} - {{form.riskPlanLevel ==1?'低风险':(form.riskPlanLevel ==2?'中风险':(form.riskPlanLevel ==3?'较高风险':(form.riskPlanLevel ==4?'高风险':'')))}}</view>
  6. <!-- 化学品 -->
  7. <view class="header_tow" v-if="form.warnType==1">
  8. {{form.chemicalWarnType == 1?'化学品违规带离':
  9. (form.chemicalWarnType == 2?'化学品超时未归还':
  10. (form.chemicalWarnType == 3?'化学品过期':
  11. (form.chemicalWarnType == 4?'化学品即将过期':
  12. (form.chemicalWarnType == 5?'化学品超期未入库':
  13. (form.chemicalWarnType == 6?'化学品业务操作超时':
  14. '')))))}}
  15. </view>
  16. <!-- 气瓶 -->
  17. <view class="header_three" v-if="form.warnType==2">{{form.warnContent}}</view>
  18. <!-- 算法识别 -->
  19. <view class="header_four" v-if="form.warnType==3">
  20. {{form.algorithmType == 1?'未穿戴护目镜':(
  21. form.algorithmType == 2?'未穿戴实验服':(
  22. form.algorithmType == 3?'未穿戴手套':(
  23. form.algorithmType == 4?'倒地预警':'')))}}
  24. </view>
  25. <!-- 预案报警 -->
  26. <view class="site" v-if="form.warnType==4">
  27. <img :src="imagesUrl('commonality/icon_wtzg_xx.png')" />
  28. <view>{{form.subName}}</view>
  29. <view></view>
  30. <view>{{form.labSubRelInfoRelVo.buildName}}{{form.labSubRelInfoRelVo.floorName}}{{form.labSubRelInfoRelVo.roomNum}}</view>
  31. </view>
  32. <!-- 化学品 -->
  33. <view class="site_tow" v-if="form.warnType==1 || form.warnType==2 || form.warnType==3">
  34. <view class="site_tow_t">
  35. <img :src="imagesUrl('commonality/icon_hxpyj_sj.png')" />
  36. <text>{{form.warnTime}}</text>
  37. </view>
  38. <view class="site_tow_b">
  39. <img :src="imagesUrl('commonality/icon_wtzg_xx.png')" />
  40. <text>{{form.subName}}</text>
  41. <text></text>
  42. <text>{{form.buildName}}{{form.floorName}}{{form.roomNum}}</text>
  43. </view>
  44. </view>
  45. <!-- 预案报警 -->
  46. <view class="basics" v-if="form.warnType==4">
  47. <view class="small_title"><text></text><text>风险概况</text></view>
  48. <view class="basics_li" style="margin-top:20rpx;">
  49. <text>发生时间:</text>
  50. <text v-if="form.days>0" style="position: absolute;right: 0;top:-33rpx;">+{{form.days}}</text>
  51. <text style="padding-right:10rpx;">{{form.eventStartTime}}{{form.eventEndTime?' - '+form.eventEndTime:''}}</text>
  52. </view>
  53. <view class="basics_li">
  54. <text>持续时间:</text>
  55. <text>{{form.riskDuration?form.riskDuration:'-'}}分钟</text>
  56. </view>
  57. <view class="basics_li">
  58. <text>风险响应人员:</text>
  59. <text>{{form.handledPerson?form.handledPerson:'-'}}</text>
  60. </view>
  61. <view class="basics_li">
  62. <text>实验室内人员:</text>
  63. <text>{{form.internalPerson?form.internalPerson:'-'}}</text>
  64. </view>
  65. </view>
  66. <!-- 化学品 化学品违规带离/化学品超时未归还 -->
  67. <view class="basics" v-if="form.warnType==1 && (form.chemicalWarnType ==1 || form.chemicalWarnType ==2)">
  68. <view class="small_title"><text></text><text>化学品信息</text></view>
  69. <view class="basics_li" style="margin-top:20rpx;">
  70. <text>{{form.chemicalName}}</text>
  71. <text></text>
  72. </view>
  73. <view class="basics_li">
  74. <text>存放位置:</text>
  75. <text>{{form.position}}</text>
  76. </view>
  77. <view class="basics_li">
  78. <text>化学品余量:</text>
  79. <text>{{form.surplus}}</text>
  80. </view>
  81. <view class="basics_li" v-if="form.chemicalWarnType==2">
  82. <text>申领人:</text>
  83. <text>{{form.collectUserName}}</text>
  84. </view>
  85. <view class="basics_li" v-if="form.chemicalWarnType==2">
  86. <text>申领时间:</text>
  87. <text>{{form.collectTime}}</text>
  88. </view>
  89. </view>
  90. <!-- 超期未入库 -->
  91. <view class="basics" v-if="form.warnType==1 && form.chemicalWarnType ==5">
  92. <view class="small_title"><text></text><text>化学品信息</text></view>
  93. <view v-for="(item,index) in form.chemicalOverdueStockList" :key="index">
  94. <view class="basics_li" style="margin-top:20rpx;">
  95. <text>{{item.chemicalName}}</text>
  96. <text></text>
  97. </view>
  98. <view class="basics_li">
  99. <text>CAS号:</text>
  100. <text>{{item.casNum}}</text>
  101. </view>
  102. <view class="basics_li">
  103. <text>化学品类型:</text>
  104. <text>{{item.chemicalCategory}}</text>
  105. </view>
  106. </view>
  107. </view>
  108. <!-- 过期/即将过期 -->
  109. <view class="basics" v-if="form.warnType==1 && (form.chemicalWarnType ==3 || form.chemicalWarnType ==4)">
  110. <view class="small_title"><text></text><text>化学品信息</text></view>
  111. <view v-for="(item,index) in form.chemicalExpireList" :key="index">
  112. <view class="basics_li" style="margin-top:20rpx;">
  113. <text>{{item.chemicalName}}</text>
  114. <text></text>
  115. </view>
  116. <view class="basics_li">
  117. <text>存放位置:</text>
  118. <text>{{item.position}}</text>
  119. </view>
  120. <view class="basics_li">
  121. <text>化学品余量:</text>
  122. <text>{{item.surplus}}</text>
  123. </view>
  124. <view class="basics_li">
  125. <text>过期时间:</text>
  126. <text>{{item.expireTime}}</text>
  127. </view>
  128. </view>
  129. </view>
  130. <!-- 过期/即将过期 -->
  131. <view class="basics" v-if="form.warnType==1 && form.chemicalWarnType ==6">
  132. <view class="small_title"><text></text><text>操作信息</text></view>
  133. <view class="basics_li" style="margin-top:20rpx;">
  134. <text>{{form.position}}</text>
  135. <text></text>
  136. </view>
  137. <view class="basics_li">
  138. <text>操作人:</text>
  139. <text>{{form.operationPerson}}</text>
  140. </view>
  141. <view class="basics_li">
  142. <text>操作类型:</text>
  143. <text>{{form.alarmType}}</text>
  144. </view>
  145. </view>
  146. <!-- 气瓶 -->
  147. <view class="basics" v-if="form.warnType==2">
  148. <view class="small_title"><text></text><text>气瓶信息</text></view>
  149. <view class="basics_li" style="margin-top:20rpx;">
  150. <text>{{form.name}}</text>
  151. <text></text>
  152. </view>
  153. <view class="basics_li">
  154. <text>气体余量:</text>
  155. <text>{{form.margin}}</text>
  156. </view>
  157. <view class="basics_li">
  158. <text>气瓶规格:</text>
  159. <text>{{form.specification}}</text>
  160. </view>
  161. <view class="basics_li">
  162. <text>所有人:</text>
  163. <text>{{form.holder}}</text>
  164. </view>
  165. <view class="basics_li">
  166. <text>入库时间:</text>
  167. <text>{{form.entryTime}}</text>
  168. </view>
  169. <view class="basics_li" v-if="form.chemicalWarnType==2">
  170. <text>申领人:</text>
  171. <text>{{form.applyUser}}</text>
  172. </view>
  173. <view class="basics_li" v-if="form.chemicalWarnType==2">
  174. <text>申领时间:</text>
  175. <text>{{form.applyTime}}</text>
  176. </view>
  177. </view>
  178. <!-- 通知短信 -->
  179. <view class="note" v-if="(form.warnType==4 && form.userLogVoList[0]) || (form.warnType==3 && form.userLogVoList[0]) || (form.warnType==1 && form.chemicalWarnType ==6 && form.userLogVoList[0])">
  180. <view class="small_title">
  181. <text></text>
  182. <text>报警通知</text>
  183. </view>
  184. <view class="note_li-box" style="margin-top:20rpx;" v-for="(item,index) in form.userLogVoList" :key="index">
  185. <text class="note-li-r-1">{{item.name}}</text>
  186. <view class="note_li_r-2" v-if="item.isSuccess==1">
  187. <img :src="imagesUrl('commonality/icon_yjxx_ytz.png')" />
  188. <text>{{item.alarmType==1?'电话':'短信'}}已通知</text>
  189. </view>
  190. </view>
  191. </view>
  192. <!-- 语音播报 预案/算法 -->
  193. <view class="note" v-if="form.warnType==4 || form.warnType==3">
  194. <view class="small_title"><text></text><text>预警通知</text></view>
  195. <view class="note_li" style="margin-top:20rpx;">
  196. <text>语音播报</text>
  197. <view class="note_li_r"><img :src="imagesUrl('commonality/icon_yjxx_ytz.png')" /><text>已通知</text></view>
  198. </view>
  199. </view>
  200. <!-- 声光报警通知 化学品/气瓶 -->
  201. <view class="note" v-if="(form.warnType==1 || form.warnType==2) && form.chemicalWarnType==1">
  202. <view class="small_title"><text></text><text>预警通知</text></view>
  203. <view class="note_li" style="margin-top:20rpx;">
  204. <text>声光报警通知</text>
  205. <view class="note_li_r"><img
  206. :src="imagesUrl('commonality/icon_yjxx_ytz.png')" /><text>{{form.voiceBroadcast == 1?'已通知':''}}</text></view>
  207. </view>
  208. </view>
  209. <!-- 报警抓拍-视频 -->
  210. <view v-if="(form.warnType==1&&form.chemicalWarnType==1&&videoType) || (form.warnType!=1&&videoType)"
  211. class="picture">
  212. <view class="small_title" style="border-bottom: none !important;">
  213. <text></text>
  214. <text style="flex:1;">报警抓拍</text>
  215. <text style="width:100rpx;color:#0183fa;" @click="goVideoPage()">查看</text>
  216. </view>
  217. </view>
  218. <!-- 报警抓拍-图片 -->
  219. <view v-if="snapImg[0]&&!videoType"
  220. class="picture">
  221. <view class="small_title" style="border-bottom: none !important;">
  222. <text></text>
  223. <text style="flex:1;">报警抓拍</text>
  224. </view>
  225. <view class="picture_b">
  226. <view class="img">
  227. <img v-for="(item,index) in snapImg" @click="lockImg(snapImg)" :key="index"
  228. :src="item" />
  229. </view>
  230. </view>
  231. </view>
  232. <!-- 查看监控 -->
  233. <view class="bottom_btn"
  234. v-if="(form.warnType==1&&form.chemicalWarnType==1&&form.recordVideo[0]) || (form.warnType!=1&&form.recordVideo[0])"
  235. @click="handleClick('','monitor')">查看监控</view>
  236. </view>
  237. </template>
  238. <script>
  239. import {
  240. parseTime
  241. } from '@/component/public.js'
  242. import {
  243. config
  244. } from '@/api/request/config.js'
  245. import {
  246. systemMineWarningNoticeDetail,
  247. laboratoryEventFindByEventId,
  248. } from '@/pages_basics/api/index.js'
  249. export default {
  250. name: "rectifyList",
  251. components: {
  252. },
  253. data() {
  254. return {
  255. configUrl: config.base_url,
  256. //列表请求参数
  257. getData: {
  258. pageNum: 1,
  259. pageSize: 20,
  260. },
  261. total: 0,
  262. warningId: null,
  263. warnType: null,
  264. form: {
  265. userLogVoList:[],
  266. recordVideo:[],
  267. },
  268. currentTime: '',
  269. timeStatus: false,
  270. //报警预案视频相关
  271. webViewUrl:'',
  272. videoType: false,
  273. //图片相关
  274. snapImg:[],
  275. }
  276. },
  277. onLoad(option) {
  278. // console.log('短信',option)
  279. let self = this;
  280. if (!uni.getStorageSync('token')) {
  281. if (option.noticeId) {
  282. uni.setStorageSync('warningId', option.noticeId);
  283. uni.setStorageSync('warnType', '1');
  284. } else if (option.eventId) {
  285. uni.setStorageSync('warningId', option.eventId);
  286. uni.setStorageSync('warnType', '4');
  287. }else if (option.id) {
  288. uni.setStorageSync('warningId', option.id);
  289. uni.setStorageSync('warnType', '4');
  290. }
  291. uni.redirectTo({
  292. url: '/pages/views/login/login',
  293. });
  294. } else {
  295. if (option.noticeId) {
  296. this.warningId = option.noticeId;
  297. this.warnType = '1';
  298. } else if (option.eventId) {
  299. this.warningId = option.eventId
  300. this.warnType = '4';
  301. }else if (option.id) {
  302. this.warningId = option.id
  303. this.warnType = '4';
  304. } else if (uni.getStorageSync('warningId')) {
  305. this.warningId = uni.getStorageSync('warningId');
  306. this.warnType = uni.getStorageSync('warnType');
  307. uni.removeStorageSync('warningId');
  308. uni.removeStorageSync('warnType');
  309. }
  310. }
  311. },
  312. onShow() {
  313. },
  314. mounted() {
  315. this.getInfo();
  316. },
  317. methods: {
  318. //截取封面
  319. videoCover() {
  320. let video = document.getElementById('#myvideo');
  321. let canvas = document.createElement("canvas");
  322. let width = video.width; //canvas的尺寸和图片一样
  323. let height = video.height;
  324. canvas.width = width;
  325. canvas.height = height;
  326. canvas.getContext("2d").drawImage(video, 0, 0, width, height); //绘制canvas
  327. let videoImg = canvas.toDataURL('image/jpeg'); //转换为base64
  328. },
  329. onLoadedMetadata(e) {
  330. const duration = e.duration;
  331. const width = e.videoWidth;
  332. const heigth = e.videoHeight;
  333. const canvas = uni.createCanvasContext('myCanvas')
  334. canvas.canvas.width = width;
  335. canvas.canvas.height = heigth;
  336. canvas.drawImage('myVideo', 0, 0, width, heigth)
  337. canvas.draw();
  338. const that = this;
  339. setTimeout(function() {
  340. uni.canvasToTempFilePath({
  341. canvasId: 'myCanvas',
  342. success: function(res) {
  343. const imagePath = res.tempFilePath;
  344. }
  345. })
  346. }, 1000)
  347. },
  348. //滚动事件
  349. scrollGet() {
  350. let self = this;
  351. },
  352. //判断预警时间是否超过30分钟
  353. compareTime(gettime) {
  354. let timeOut = 30 * 60 * 1000;
  355. let currentTime = new Date().getTime() //获取当前时间
  356. let endTime = new Date(gettime).getTime() //预警时间
  357. if (currentTime - endTime > timeOut) {
  358. // console.log('预警时间超过30分钟')
  359. this.timeStatus = false;
  360. } else {
  361. // console.log('预警没超过30分钟')
  362. this.timeStatus = true;
  363. }
  364. },
  365. //查看图片
  366. lockImg(list) {
  367. if (!list[0]) {
  368. return
  369. }
  370. let urlList = [];
  371. for (let i = 0; i < list.length; i++) {
  372. urlList.push(list[i])
  373. }
  374. uni.previewImage({
  375. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  376. current: '', // 当前显示图片的http链接,默认是第一个
  377. success: function(res) {},
  378. fail: function(res) {},
  379. complete: function(res) {},
  380. })
  381. },
  382. //视频全屏播放
  383. lockVideo() {
  384. let videoContext = uni.createVideoContext("myvideo", this);
  385. videoContext.requestFullScreen({
  386. direction: 90
  387. });
  388. // this.videoContext.play();
  389. },
  390. //计算两个日期差值(天)
  391. datedifference(sDate1, sDate2) { //sDate1和sDate2是2006-12-18格式
  392. let dateSpan, tempDate, iDays
  393. sDate1 = Date.parse(sDate1)
  394. sDate2 = Date.parse(sDate2)
  395. dateSpan = sDate2 - sDate1
  396. dateSpan = Math.abs(dateSpan)
  397. iDays = Math.floor(dateSpan / (24 * 3600 * 1000))
  398. return iDays
  399. },
  400. getInfo() {
  401. if (this.warnType != 4) {
  402. this.systemMineWarningNoticeDetail();
  403. } else if (this.warnType == 4) {
  404. this.laboratoryEventFindByEventId();
  405. }
  406. },
  407. //获取详情
  408. async systemMineWarningNoticeDetail() {
  409. let _this = this;
  410. const {
  411. data
  412. } = await systemMineWarningNoticeDetail({
  413. id: this.warningId
  414. })
  415. if (data.code == 200) {
  416. if (data.data.warnType == 3) {
  417. uni.setNavigationBarTitle({
  418. title: '算法识别预警信息'
  419. })
  420. } else if (data.data.warnType == 1) {
  421. uni.setNavigationBarTitle({
  422. title: '化学品预警信息'
  423. })
  424. } else if (data.data.warnType == 2) {
  425. uni.setNavigationBarTitle({
  426. title: '气瓶预警信息'
  427. })
  428. }
  429. let list = [];
  430. data.data.warningNoticeLogVoList.forEach((item) => {
  431. let minList = item.noticePreson.split(',');
  432. minList.forEach((minItem) => {
  433. list.push({
  434. name: minItem,
  435. alarmType:item.alarmType,
  436. isSuccess: 1,
  437. })
  438. })
  439. })
  440. data.data.userLogVoList = list;
  441. data.data.recordVideo = data.data.recordVideo?data.data.recordVideo:[];
  442. this.$set(this, 'form', data.data);
  443. this.$set(this, 'snapImg', data.data.snapImg?data.data.snapImg:[]);
  444. if(data.data.recordVideo){
  445. let newData = JSON.parse(data.data.recordVideo);
  446. if(!newData.endTime){
  447. this.$set(this,'webViewUrl','');
  448. this.$set(this,'videoType',false);
  449. return
  450. }
  451. let url = uni.getStorageSync('cameraExtranetAgent')+'?cameraIndexCode='+newData.cameraIndexCode+'&startTime='+newData.startTime+'&endTime='+newData.endTime
  452. this.$set(this,'webViewUrl',url);
  453. this.$set(this,'videoType',true);
  454. }else{
  455. this.$set(this,'webViewUrl','');
  456. this.$set(this,'videoType',false);
  457. }
  458. }
  459. },
  460. //获取详情
  461. async laboratoryEventFindByEventId() {
  462. let _this = this;
  463. const {
  464. data
  465. } = await laboratoryEventFindByEventId({
  466. eventId: this.warningId
  467. })
  468. if (data.code == 200) {
  469. uni.setNavigationBarTitle({
  470. title: '预案报警信息'
  471. })
  472. data.data.warnType = 4;
  473. data.data.eventStartTime = parseTime(data.data.eventStartTime, "{y}-{m}-{d} {h}:{i}:{s}");
  474. data.data.eventEndTime = data.data.eventEndTime?parseTime(data.data.eventEndTime, "{h}:{i}:{s}"):null;
  475. if(data.data.recordPhoto){
  476. data.data.recordPhoto=data.data.recordPhoto.split(',')
  477. }
  478. let list = [];
  479. data.data.messageLogVoList.forEach((item) => {
  480. let minList = item.nickRoleName.split(',');
  481. minList.forEach((minItem) => {
  482. list.push({
  483. name: minItem,
  484. alarmType:item.alarmType,
  485. isSuccess: 1,
  486. })
  487. })
  488. })
  489. data.data.userLogVoList = list;
  490. data.data.recordVideo = data.data.recordVideo?data.data.recordVideo:[];
  491. this.$set(this, 'form', data.data);
  492. this.$set(this, 'snapImg', data.data.snapImg?data.data.snapImg:[]);
  493. if(data.data.recordVideo){
  494. if(data.data.recordVideo[0]){
  495. let newData = JSON.parse(data.data.recordVideo);
  496. if(!newData.endTime){
  497. this.$set(this,'webViewUrl','');
  498. this.$set(this,'videoType',false);
  499. return
  500. }
  501. let url = uni.getStorageSync('cameraExtranetAgent')+'?cameraIndexCode='+newData.cameraIndexCode+'&startTime='+newData.startTime+'&endTime='+newData.endTime
  502. this.$set(this,'webViewUrl',url);
  503. this.$set(this,'videoType',true);
  504. }else{
  505. this.$set(this,'webViewUrl','');
  506. this.$set(this,'videoType',false);
  507. }
  508. }else{
  509. this.$set(this,'webViewUrl','');
  510. this.$set(this,'videoType',false);
  511. }
  512. }
  513. },
  514. goVideoPage(){
  515. uni.navigateTo({
  516. url: '/pages_basics/views/earlyWarningManage/warningVideo?item='+encodeURIComponent(JSON.stringify(this.webViewUrl))
  517. });
  518. },
  519. handleClick(row, doType) {
  520. let self = this;
  521. if (doType == 'monitor') { //监控
  522. /* uni.navigateTo({
  523. url: '/pages_basics/views/earlyWarningManage/videoMonitoring?subId=' + this.form.subId + '&floorId=' +
  524. this.form.floorId //我的实验室
  525. }); */
  526. let obj = {
  527. type:4,
  528. subId:this.form.subId
  529. }
  530. uni.navigateTo({
  531. url: '/pages_manage/views/laboratory/videoPlayer?item='+encodeURIComponent(JSON.stringify(obj))
  532. });
  533. }
  534. },
  535. }
  536. }
  537. </script>
  538. <style lang="stylus" scoped>
  539. .earlyWarning {
  540. padding-bottom: 30rpx;
  541. box-sizing: border-box;
  542. overflow-y: scroll;
  543. .red_color {
  544. color: #D40000;
  545. border: 1rpx solid #D40000;
  546. }
  547. .orange_color {
  548. color: #FF4800;
  549. border: 1rpx solid #FF4800;
  550. }
  551. .yellow_color {
  552. color: #FFA34E;
  553. border: 1rpx solid #FFA34E;
  554. }
  555. .info-max-box {
  556. flex: 1;
  557. overflow: scroll;
  558. }
  559. .header {
  560. width: 750rpx;
  561. height: 80rpx;
  562. font-size: 28rpx;
  563. font-family: PingFang SC-Medium, PingFang SC;
  564. font-weight: 400;
  565. color: #D40000;
  566. line-height: 80rpx;
  567. text-align: center;
  568. background: rgba(212, 0, 0, 0.2);
  569. }
  570. .header_tow {
  571. width: 750rpx;
  572. height: 80rpx;
  573. font-size: 28rpx;
  574. font-family: PingFang SC-Medium, PingFang SC;
  575. font-weight: 400;
  576. color: #FF4800;
  577. line-height: 80rpx;
  578. text-align: center;
  579. background: rgba(255, 72, 0, 0.2);
  580. }
  581. .header_three {
  582. width: 750rpx;
  583. height: 80rpx;
  584. font-size: 28rpx;
  585. font-family: PingFang SC-Medium, PingFang SC;
  586. font-weight: 400;
  587. color: #FF4800;
  588. line-height: 80rpx;
  589. text-align: center;
  590. background: rgba(255, 72, 0, 0.2);
  591. }
  592. .header_four {
  593. width: 750rpx;
  594. height: 80rpx;
  595. font-size: 28rpx;
  596. font-family: PingFang SC-Medium, PingFang SC;
  597. font-weight: 400;
  598. color: #FFA34E;
  599. line-height: 80rpx;
  600. text-align: center;
  601. background: rgba(255, 163, 78, 0.2);
  602. }
  603. .site {
  604. padding: 26rpx;
  605. background: #FFFFFF;
  606. display: flex;
  607. border-radius: 20rpx 20rpx 20rpx 20rpx;
  608. margin: 20rpx 30rpx;
  609. >img {
  610. width: 30rpx;
  611. height: 30rpx;
  612. margin: auto 22rpx auto 30rpx;
  613. }
  614. >view:nth-of-type(1) {
  615. font-size: 28rpx;
  616. font-family: PingFang SC-Medium, PingFang SC;
  617. width:200rpx;
  618. color: #333333;
  619. line-height: 32rpx;
  620. display:block;
  621. overflow:hidden;
  622. text-overflow:ellipsis;
  623. white-space:nowrap;
  624. }
  625. >view:nth-of-type(2) {
  626. display: inline-block;
  627. width: 2rpx;
  628. background: #E0E0E0;
  629. margin: 0 24rpx;
  630. }
  631. >view:nth-of-type(3) {
  632. font-size: 28rpx;
  633. font-family: PingFang SC-Medium, PingFang SC;
  634. flex: 1;
  635. color: #333333;
  636. line-height: 32rpx;
  637. display:block;
  638. overflow:hidden;
  639. text-overflow:ellipsis;
  640. white-space:nowrap;
  641. }
  642. }
  643. .site_tow {
  644. width: 690rpx;
  645. height: 170rpx;
  646. background: #FFFFFF;
  647. border-radius: 20rpx 20rpx 20rpx 20rpx;
  648. margin: 20rpx 30rpx;
  649. overflow: hidden;
  650. .site_tow_t {
  651. height: 40rpx;
  652. display: flex;
  653. justify-content: flex-start;
  654. align-items: center;
  655. margin-top: 32rpx;
  656. >img {
  657. width: 30rpx;
  658. height: 30rpx;
  659. margin-right: 22rpx;
  660. margin-left: 30rpx;
  661. }
  662. >text:nth-of-type(1) {
  663. font-size: 28rpx;
  664. font-family: PingFang SC-Medium, PingFang SC;
  665. font-weight: 400;
  666. color: #333333;
  667. line-height: 28rpx;
  668. }
  669. }
  670. .site_tow_b {
  671. height: 40rpx;
  672. display: flex;
  673. justify-content: flex-start;
  674. align-items: center;
  675. margin-top: 20rpx;
  676. >img {
  677. width: 30rpx;
  678. height: 30rpx;
  679. margin-right: 22rpx;
  680. margin-left: 30rpx;
  681. }
  682. >text:nth-of-type(1) {
  683. font-size: 28rpx;
  684. font-family: PingFang SC-Medium, PingFang SC;
  685. font-weight: 400;
  686. color: #333333;
  687. line-height: 28rpx;
  688. }
  689. >text:nth-of-type(2) {
  690. display: inline-block;
  691. width: 2rpx;
  692. height: 20rpx;
  693. background: #E0E0E0;
  694. margin: 0 24rpx 0 28rpx;
  695. }
  696. >text:nth-of-type(3) {
  697. font-size: 28rpx;
  698. font-family: PingFang SC-Medium, PingFang SC;
  699. font-weight: 400;
  700. color: #333333;
  701. line-height: 28rpx;
  702. }
  703. }
  704. }
  705. .small_title {
  706. height: 90rpx;
  707. display: flex;
  708. justify-content: flex-start;
  709. align-items: center;
  710. border-bottom: 1rpx solid #E0E0E0;
  711. >text:nth-of-type(1) {
  712. display: inline-block;
  713. width: 4rpx;
  714. height: 30rpx;
  715. background: #0183FA;
  716. margin: 0 22rpx 0 28rpx;
  717. }
  718. >text:nth-of-type(1) {
  719. font-size: 30rpx;
  720. font-family: PingFang SC-Medium, PingFang SC;
  721. font-weight: 400;
  722. color: #333333;
  723. line-height: 30rpx;
  724. }
  725. }
  726. .basics {
  727. margin-left: 30rpx;
  728. width: 690rpx;
  729. height: auto;
  730. background: #FFFFFF;
  731. border-radius: 20rpx 20rpx 20rpx 20rpx;
  732. padding-bottom: 16rpx;
  733. box-sizing: border-box;
  734. .basics_li {
  735. display: flex;
  736. justify-content: space-between;
  737. align-items: center;
  738. margin: 0 30rpx;
  739. position: relative;
  740. >text:nth-of-type(1) {
  741. font-size: 28rpx;
  742. font-family: PingFang SC-Medium, PingFang SC;
  743. font-weight: 400;
  744. color: #333333;
  745. line-height: 60rpx;
  746. }
  747. >text:nth-of-type(2) {
  748. font-size: 28rpx;
  749. font-family: PingFang SC-Medium, PingFang SC;
  750. font-weight: 400;
  751. color: #333333;
  752. line-height: 60rpx;
  753. flex: 1;
  754. text-align: right;
  755. }
  756. }
  757. }
  758. .note {
  759. margin-left: 30rpx;
  760. margin-top: 20rpx;
  761. width: 690rpx;
  762. height: auto;
  763. background: #FFFFFF;
  764. border-radius: 20rpx 20rpx 20rpx 20rpx;
  765. padding-bottom: 16rpx;
  766. box-sizing: border-box;
  767. .note_li-box{
  768. display: flex;
  769. margin: 0 30rpx;
  770. .note-li-r-1{
  771. font-size: 28rpx;
  772. font-family: PingFang SC-Medium, PingFang SC;
  773. font-weight: 400;
  774. color: #333333;
  775. line-height: 60rpx;
  776. flex: 1 !important;;
  777. }
  778. .note_li_r-2 {
  779. width:190rpx;
  780. display: flex;
  781. justify-content: flex-start;
  782. align-items: center;
  783. >img {
  784. width: 28rpx;
  785. height: 28rpx;
  786. margin-right: 10rpx;
  787. }
  788. font-size: 28rpx;
  789. font-family: PingFang SC-Medium,
  790. PingFang SC;
  791. font-weight: 400;
  792. color: #0183FA;
  793. line-height: 60rpx;
  794. }
  795. }
  796. .note_li {
  797. display: flex;
  798. justify-content: space-between;
  799. margin: 0 30rpx;
  800. >text:nth-of-type(1) {
  801. font-size: 28rpx;
  802. font-family: PingFang SC-Medium, PingFang SC;
  803. font-weight: 400;
  804. color: #333333;
  805. line-height: 60rpx;
  806. }
  807. .note_li_r {
  808. width:140rpx;
  809. display: flex;
  810. justify-content: flex-start;
  811. align-items: center;
  812. >img {
  813. width: 28rpx;
  814. height: 28rpx;
  815. margin-right: 10rpx;
  816. }
  817. font-size: 28rpx;
  818. font-family: PingFang SC-Medium,
  819. PingFang SC;
  820. font-weight: 400;
  821. color: #0183FA;
  822. line-height: 60rpx;
  823. }
  824. }
  825. }
  826. .picture {
  827. margin-left: 30rpx;
  828. width: 690rpx;
  829. height: auto;
  830. background: #FFFFFF;
  831. border-radius: 20rpx 20rpx 20rpx 20rpx;
  832. margin-top: 20rpx;
  833. .picture_b {
  834. display: flex;
  835. justify-content: flex-start;
  836. flex-wrap: wrap;
  837. padding: 40rpx 30rpx 10rpx;
  838. box-sizing: border-box;
  839. .videoOpacity1 {
  840. opacity: 1;
  841. }
  842. .videoOpacity0 {
  843. opacity: 0;
  844. }
  845. .video {
  846. position: relative;
  847. width: 150rpx;
  848. height: 150rpx;
  849. border-radius: 10rpx 10rpx 10rpx 10rpx;
  850. margin-right: 38rpx;
  851. margin-bottom: 10rpx;
  852. .video_t {
  853. width: 150rpx;
  854. height: 150rpx;
  855. border-radius: 10rpx 10rpx 10rpx 10rpx;
  856. position: absolute;
  857. }
  858. .video_b {
  859. width: 40rpx;
  860. height: 40rpx;
  861. position: absolute;
  862. left: 55rpx;
  863. top: 55rpx;
  864. }
  865. }
  866. .img {
  867. display: flex;
  868. justify-content: flex-start;
  869. flex-wrap: wrap;
  870. >img {
  871. width: 180rpx;
  872. height: 180rpx;
  873. border-radius: 10rpx 10rpx 10rpx 10rpx;
  874. margin-right: 38rpx;
  875. margin-bottom: 20rpx;
  876. }
  877. >img:nth-child(3n+3) {
  878. margin-right: 0;
  879. }
  880. }
  881. }
  882. }
  883. .bottom_btn {
  884. width: 690rpx;
  885. height: 90rpx;
  886. border-radius: 10rpx 10rpx 10rpx 10rpx;
  887. opacity: 1;
  888. border: 1rpx solid #0183FA;
  889. font-size: 30rpx;
  890. font-family: PingFang SC-Medium, PingFang SC;
  891. font-weight: 400;
  892. color: #0183FA;
  893. line-height: 90rpx;
  894. text-align: center;
  895. background: #F5F5F5;
  896. margin: 90rpx 30rpx 30rpx;
  897. }
  898. }
  899. </style>