earlyWarningDetail.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952
  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. currentTime: '',
  266. timeStatus: false,
  267. //报警预案视频相关
  268. webViewUrl:'',
  269. videoType: false,
  270. //图片相关
  271. snapImg:[],
  272. }
  273. },
  274. onLoad(option) {
  275. // console.log('短信',option)
  276. let self = this;
  277. if (!uni.getStorageSync('token')) {
  278. if (option.noticeId) {
  279. uni.setStorageSync('warningId', option.noticeId);
  280. uni.setStorageSync('warnType', '1');
  281. } else if (option.eventId) {
  282. uni.setStorageSync('warningId', option.eventId);
  283. uni.setStorageSync('warnType', '4');
  284. }else if (option.id) {
  285. uni.setStorageSync('warningId', option.id);
  286. uni.setStorageSync('warnType', '4');
  287. }
  288. uni.redirectTo({
  289. url: '/pages/views/login/login',
  290. });
  291. } else {
  292. if (option.noticeId) {
  293. this.warningId = option.noticeId;
  294. this.warnType = '1';
  295. } else if (option.eventId) {
  296. this.warningId = option.eventId
  297. this.warnType = '4';
  298. }else if (option.id) {
  299. this.warningId = option.id
  300. this.warnType = '4';
  301. } else if (uni.getStorageSync('warningId')) {
  302. this.warningId = uni.getStorageSync('warningId');
  303. this.warnType = uni.getStorageSync('warnType');
  304. uni.removeStorageSync('warningId');
  305. uni.removeStorageSync('warnType');
  306. }
  307. }
  308. },
  309. onShow() {
  310. },
  311. mounted() {
  312. this.getInfo();
  313. },
  314. methods: {
  315. //截取封面
  316. videoCover() {
  317. let video = document.getElementById('#myvideo');
  318. let canvas = document.createElement("canvas");
  319. let width = video.width; //canvas的尺寸和图片一样
  320. let height = video.height;
  321. canvas.width = width;
  322. canvas.height = height;
  323. canvas.getContext("2d").drawImage(video, 0, 0, width, height); //绘制canvas
  324. let videoImg = canvas.toDataURL('image/jpeg'); //转换为base64
  325. },
  326. onLoadedMetadata(e) {
  327. const duration = e.duration;
  328. const width = e.videoWidth;
  329. const heigth = e.videoHeight;
  330. const canvas = uni.createCanvasContext('myCanvas')
  331. canvas.canvas.width = width;
  332. canvas.canvas.height = heigth;
  333. canvas.drawImage('myVideo', 0, 0, width, heigth)
  334. canvas.draw();
  335. const that = this;
  336. setTimeout(function() {
  337. uni.canvasToTempFilePath({
  338. canvasId: 'myCanvas',
  339. success: function(res) {
  340. const imagePath = res.tempFilePath;
  341. }
  342. })
  343. }, 1000)
  344. },
  345. //滚动事件
  346. scrollGet() {
  347. let self = this;
  348. },
  349. //判断预警时间是否超过30分钟
  350. compareTime(gettime) {
  351. let timeOut = 30 * 60 * 1000;
  352. let currentTime = new Date().getTime() //获取当前时间
  353. let endTime = new Date(gettime).getTime() //预警时间
  354. if (currentTime - endTime > timeOut) {
  355. // console.log('预警时间超过30分钟')
  356. this.timeStatus = false;
  357. } else {
  358. // console.log('预警没超过30分钟')
  359. this.timeStatus = true;
  360. }
  361. },
  362. //查看图片
  363. lockImg(list) {
  364. if (!list[0]) {
  365. return
  366. }
  367. let urlList = [];
  368. for (let i = 0; i < list.length; i++) {
  369. urlList.push(list[i])
  370. }
  371. wx.previewImage({
  372. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  373. current: '', // 当前显示图片的http链接,默认是第一个
  374. success: function(res) {},
  375. fail: function(res) {},
  376. complete: function(res) {},
  377. })
  378. },
  379. //视频全屏播放
  380. lockVideo() {
  381. let videoContext = uni.createVideoContext("myvideo", this);
  382. videoContext.requestFullScreen({
  383. direction: 90
  384. });
  385. // this.videoContext.play();
  386. },
  387. //计算两个日期差值(天)
  388. datedifference(sDate1, sDate2) { //sDate1和sDate2是2006-12-18格式
  389. let dateSpan, tempDate, iDays
  390. sDate1 = Date.parse(sDate1)
  391. sDate2 = Date.parse(sDate2)
  392. dateSpan = sDate2 - sDate1
  393. dateSpan = Math.abs(dateSpan)
  394. iDays = Math.floor(dateSpan / (24 * 3600 * 1000))
  395. return iDays
  396. },
  397. getInfo() {
  398. if (this.warnType != 4) {
  399. this.systemMineWarningNoticeDetail();
  400. } else if (this.warnType == 4) {
  401. this.laboratoryEventFindByEventId();
  402. }
  403. },
  404. //获取详情
  405. async systemMineWarningNoticeDetail() {
  406. let _this = this;
  407. const {
  408. data
  409. } = await systemMineWarningNoticeDetail({
  410. id: this.warningId
  411. })
  412. if (data.code == 200) {
  413. if (data.data.warnType == 3) {
  414. uni.setNavigationBarTitle({
  415. title: '算法识别预警信息'
  416. })
  417. } else if (data.data.warnType == 1) {
  418. uni.setNavigationBarTitle({
  419. title: '化学品预警信息'
  420. })
  421. } else if (data.data.warnType == 2) {
  422. uni.setNavigationBarTitle({
  423. title: '气瓶预警信息'
  424. })
  425. }
  426. let list = [];
  427. data.data.warningNoticeLogVoList.forEach((item) => {
  428. let minList = item.noticePreson.split(',');
  429. minList.forEach((minItem) => {
  430. list.push({
  431. name: minItem,
  432. alarmType:item.alarmType,
  433. isSuccess: 1,
  434. })
  435. })
  436. })
  437. data.data.userLogVoList = list;
  438. this.$set(this, 'form', data.data);
  439. this.$set(this, 'snapImg', data.data.snapImg);
  440. if(data.data.recordVideo){
  441. let newData = JSON.parse(data.data.recordVideo);
  442. if(!newData.endTime){
  443. this.$set(this,'webViewUrl','');
  444. this.$set(this,'videoType',false);
  445. return
  446. }
  447. let url = uni.getStorageSync('cameraExtranetAgent')+'?cameraIndexCode='+newData.cameraIndexCode+'&startTime='+newData.startTime+'&endTime='+newData.endTime
  448. this.$set(this,'webViewUrl',url);
  449. this.$set(this,'videoType',true);
  450. }else{
  451. this.$set(this,'webViewUrl','');
  452. this.$set(this,'videoType',false);
  453. }
  454. }
  455. },
  456. //获取详情
  457. async laboratoryEventFindByEventId() {
  458. let _this = this;
  459. const {
  460. data
  461. } = await laboratoryEventFindByEventId({
  462. eventId: this.warningId
  463. })
  464. if (data.code == 200) {
  465. uni.setNavigationBarTitle({
  466. title: '预案报警信息'
  467. })
  468. data.data.warnType = 4;
  469. data.data.eventStartTime = parseTime(data.data.eventStartTime, "{y}-{m}-{d} {h}:{i}:{s}");
  470. data.data.eventEndTime = data.data.eventEndTime?parseTime(data.data.eventEndTime, "{h}:{i}:{s}"):null;
  471. if(data.data.recordPhoto){
  472. data.data.recordPhoto=data.data.recordPhoto.split(',')
  473. }
  474. let list = [];
  475. data.data.messageLogVoList.forEach((item) => {
  476. let minList = item.nickRoleName.split(',');
  477. minList.forEach((minItem) => {
  478. list.push({
  479. name: minItem,
  480. alarmType:item.alarmType,
  481. isSuccess: 1,
  482. })
  483. })
  484. })
  485. data.data.userLogVoList = list;
  486. this.$set(this, 'form', data.data);
  487. if(data.data.recordVideo){
  488. let newData = JSON.parse(data.data.recordVideo);
  489. if(!newData.endTime){
  490. this.$set(this,'webViewUrl','');
  491. this.$set(this,'videoType',false);
  492. return
  493. }
  494. let url = uni.getStorageSync('cameraExtranetAgent')+'?cameraIndexCode='+newData.cameraIndexCode+'&startTime='+newData.startTime+'&endTime='+newData.endTime
  495. this.$set(this,'webViewUrl',url);
  496. this.$set(this,'videoType',true);
  497. }else{
  498. this.$set(this,'webViewUrl','');
  499. this.$set(this,'videoType',false);
  500. }
  501. }
  502. },
  503. goVideoPage(){
  504. uni.navigateTo({
  505. url: '/pages_basics/views/earlyWarningManage/warningVideo?item='+encodeURIComponent(JSON.stringify(this.webViewUrl))
  506. });
  507. },
  508. handleClick(row, doType) {
  509. let self = this;
  510. if (doType == 'monitor') {
  511. let obj = {
  512. type:4,
  513. subId:this.form.subId
  514. }
  515. uni.navigateTo({
  516. url: '/pages_manage/views/laboratory/videoPlayer?item='+encodeURIComponent(JSON.stringify(obj))
  517. });
  518. }
  519. },
  520. }
  521. }
  522. </script>
  523. <style lang="stylus" scoped>
  524. .earlyWarning {
  525. padding-bottom: 30rpx;
  526. box-sizing: border-box;
  527. .red_color {
  528. color: #D40000;
  529. border: 1rpx solid #D40000;
  530. }
  531. .orange_color {
  532. color: #FF4800;
  533. border: 1rpx solid #FF4800;
  534. }
  535. .yellow_color {
  536. color: #FFA34E;
  537. border: 1rpx solid #FFA34E;
  538. }
  539. .info-max-box {
  540. flex: 1;
  541. overflow: scroll;
  542. }
  543. .header {
  544. width: 750rpx;
  545. height: 80rpx;
  546. font-size: 28rpx;
  547. font-family: PingFang SC-Medium, PingFang SC;
  548. font-weight: 400;
  549. color: #D40000;
  550. line-height: 80rpx;
  551. text-align: center;
  552. background: rgba(212, 0, 0, 0.2);
  553. }
  554. .header_tow {
  555. width: 750rpx;
  556. height: 80rpx;
  557. font-size: 28rpx;
  558. font-family: PingFang SC-Medium, PingFang SC;
  559. font-weight: 400;
  560. color: #FF4800;
  561. line-height: 80rpx;
  562. text-align: center;
  563. background: rgba(255, 72, 0, 0.2);
  564. }
  565. .header_three {
  566. width: 750rpx;
  567. height: 80rpx;
  568. font-size: 28rpx;
  569. font-family: PingFang SC-Medium, PingFang SC;
  570. font-weight: 400;
  571. color: #FF4800;
  572. line-height: 80rpx;
  573. text-align: center;
  574. background: rgba(255, 72, 0, 0.2);
  575. }
  576. .header_four {
  577. width: 750rpx;
  578. height: 80rpx;
  579. font-size: 28rpx;
  580. font-family: PingFang SC-Medium, PingFang SC;
  581. font-weight: 400;
  582. color: #FFA34E;
  583. line-height: 80rpx;
  584. text-align: center;
  585. background: rgba(255, 163, 78, 0.2);
  586. }
  587. .site {
  588. padding: 26rpx;
  589. background: #FFFFFF;
  590. display: flex;
  591. border-radius: 20rpx 20rpx 20rpx 20rpx;
  592. margin: 20rpx 30rpx;
  593. >img {
  594. width: 30rpx;
  595. height: 30rpx;
  596. margin: auto 22rpx auto 30rpx;
  597. }
  598. >view:nth-of-type(1) {
  599. font-size: 28rpx;
  600. font-family: PingFang SC-Medium, PingFang SC;
  601. width:200rpx;
  602. color: #333333;
  603. line-height: 32rpx;
  604. display:block;
  605. overflow:hidden;
  606. text-overflow:ellipsis;
  607. white-space:nowrap;
  608. }
  609. >view:nth-of-type(2) {
  610. display: inline-block;
  611. width: 2rpx;
  612. background: #E0E0E0;
  613. margin: 0 24rpx;
  614. }
  615. >view:nth-of-type(3) {
  616. font-size: 28rpx;
  617. font-family: PingFang SC-Medium, PingFang SC;
  618. flex: 1;
  619. color: #333333;
  620. line-height: 32rpx;
  621. display:block;
  622. overflow:hidden;
  623. text-overflow:ellipsis;
  624. white-space:nowrap;
  625. }
  626. }
  627. .site_tow {
  628. width: 690rpx;
  629. height: 170rpx;
  630. background: #FFFFFF;
  631. border-radius: 20rpx 20rpx 20rpx 20rpx;
  632. margin: 20rpx 30rpx;
  633. overflow: hidden;
  634. .site_tow_t {
  635. height: 40rpx;
  636. display: flex;
  637. justify-content: flex-start;
  638. align-items: center;
  639. margin-top: 32rpx;
  640. >img {
  641. width: 30rpx;
  642. height: 30rpx;
  643. margin-right: 22rpx;
  644. margin-left: 30rpx;
  645. }
  646. >text:nth-of-type(1) {
  647. font-size: 28rpx;
  648. font-family: PingFang SC-Medium, PingFang SC;
  649. font-weight: 400;
  650. color: #333333;
  651. line-height: 28rpx;
  652. }
  653. }
  654. .site_tow_b {
  655. height: 40rpx;
  656. display: flex;
  657. justify-content: flex-start;
  658. align-items: center;
  659. margin-top: 20rpx;
  660. >img {
  661. width: 30rpx;
  662. height: 30rpx;
  663. margin-right: 22rpx;
  664. margin-left: 30rpx;
  665. }
  666. >text:nth-of-type(1) {
  667. font-size: 28rpx;
  668. font-family: PingFang SC-Medium, PingFang SC;
  669. font-weight: 400;
  670. color: #333333;
  671. line-height: 28rpx;
  672. }
  673. >text:nth-of-type(2) {
  674. display: inline-block;
  675. width: 2rpx;
  676. height: 20rpx;
  677. background: #E0E0E0;
  678. margin: 0 24rpx 0 28rpx;
  679. }
  680. >text:nth-of-type(3) {
  681. font-size: 28rpx;
  682. font-family: PingFang SC-Medium, PingFang SC;
  683. font-weight: 400;
  684. color: #333333;
  685. line-height: 28rpx;
  686. }
  687. }
  688. }
  689. .small_title {
  690. height: 90rpx;
  691. display: flex;
  692. justify-content: flex-start;
  693. align-items: center;
  694. border-bottom: 1rpx solid #E0E0E0;
  695. >text:nth-of-type(1) {
  696. display: inline-block;
  697. width: 4rpx;
  698. height: 30rpx;
  699. background: #0183FA;
  700. margin: 0 22rpx 0 28rpx;
  701. }
  702. >text:nth-of-type(1) {
  703. font-size: 30rpx;
  704. font-family: PingFang SC-Medium, PingFang SC;
  705. font-weight: 400;
  706. color: #333333;
  707. line-height: 30rpx;
  708. }
  709. }
  710. .basics {
  711. margin-left: 30rpx;
  712. width: 690rpx;
  713. height: auto;
  714. background: #FFFFFF;
  715. border-radius: 20rpx 20rpx 20rpx 20rpx;
  716. padding-bottom: 16rpx;
  717. box-sizing: border-box;
  718. .basics_li {
  719. display: flex;
  720. justify-content: space-between;
  721. align-items: center;
  722. margin: 0 30rpx;
  723. position: relative;
  724. >text:nth-of-type(1) {
  725. font-size: 28rpx;
  726. font-family: PingFang SC-Medium, PingFang SC;
  727. font-weight: 400;
  728. color: #333333;
  729. line-height: 60rpx;
  730. }
  731. >text:nth-of-type(2) {
  732. font-size: 28rpx;
  733. font-family: PingFang SC-Medium, PingFang SC;
  734. font-weight: 400;
  735. color: #333333;
  736. line-height: 60rpx;
  737. flex: 1;
  738. text-align: right;
  739. }
  740. }
  741. }
  742. .note {
  743. margin-left: 30rpx;
  744. margin-top: 20rpx;
  745. width: 690rpx;
  746. height: auto;
  747. background: #FFFFFF;
  748. border-radius: 20rpx 20rpx 20rpx 20rpx;
  749. padding-bottom: 16rpx;
  750. box-sizing: border-box;
  751. .note_li-box{
  752. display: flex;
  753. margin: 0 30rpx;
  754. .note-li-r-1{
  755. font-size: 28rpx;
  756. font-family: PingFang SC-Medium, PingFang SC;
  757. font-weight: 400;
  758. color: #333333;
  759. line-height: 60rpx;
  760. flex: 1 !important;;
  761. }
  762. .note_li_r-2 {
  763. width:190rpx;
  764. display: flex;
  765. justify-content: flex-start;
  766. align-items: center;
  767. >img {
  768. width: 28rpx;
  769. height: 28rpx;
  770. margin-right: 10rpx;
  771. }
  772. font-size: 28rpx;
  773. font-family: PingFang SC-Medium,
  774. PingFang SC;
  775. font-weight: 400;
  776. color: #0183FA;
  777. line-height: 60rpx;
  778. }
  779. }
  780. .note_li {
  781. display: flex;
  782. justify-content: space-between;
  783. margin: 0 30rpx;
  784. >text:nth-of-type(1) {
  785. font-size: 28rpx;
  786. font-family: PingFang SC-Medium, PingFang SC;
  787. font-weight: 400;
  788. color: #333333;
  789. line-height: 60rpx;
  790. }
  791. .note_li_r {
  792. width:140rpx;
  793. display: flex;
  794. justify-content: flex-start;
  795. align-items: center;
  796. >img {
  797. width: 28rpx;
  798. height: 28rpx;
  799. margin-right: 10rpx;
  800. }
  801. font-size: 28rpx;
  802. font-family: PingFang SC-Medium,
  803. PingFang SC;
  804. font-weight: 400;
  805. color: #0183FA;
  806. line-height: 60rpx;
  807. }
  808. }
  809. }
  810. .picture {
  811. margin-left: 30rpx;
  812. width: 690rpx;
  813. height: auto;
  814. background: #FFFFFF;
  815. border-radius: 20rpx 20rpx 20rpx 20rpx;
  816. margin-top: 20rpx;
  817. .picture_b {
  818. display: flex;
  819. justify-content: flex-start;
  820. flex-wrap: wrap;
  821. padding: 40rpx 30rpx 10rpx;
  822. box-sizing: border-box;
  823. .videoOpacity1 {
  824. opacity: 1;
  825. }
  826. .videoOpacity0 {
  827. opacity: 0;
  828. }
  829. .video {
  830. position: relative;
  831. width: 150rpx;
  832. height: 150rpx;
  833. border-radius: 10rpx 10rpx 10rpx 10rpx;
  834. margin-right: 38rpx;
  835. margin-bottom: 10rpx;
  836. .video_t {
  837. width: 150rpx;
  838. height: 150rpx;
  839. border-radius: 10rpx 10rpx 10rpx 10rpx;
  840. position: absolute;
  841. }
  842. .video_b {
  843. width: 40rpx;
  844. height: 40rpx;
  845. position: absolute;
  846. left: 55rpx;
  847. top: 55rpx;
  848. }
  849. }
  850. .img {
  851. display: flex;
  852. justify-content: flex-start;
  853. flex-wrap: wrap;
  854. >img {
  855. width: 180rpx;
  856. height: 180rpx;
  857. border-radius: 10rpx 10rpx 10rpx 10rpx;
  858. margin-right: 38rpx;
  859. margin-bottom: 20rpx;
  860. }
  861. >img:nth-child(3n+3) {
  862. margin-right: 0;
  863. }
  864. }
  865. }
  866. }
  867. .bottom_btn {
  868. width: 690rpx;
  869. height: 90rpx;
  870. border-radius: 10rpx 10rpx 10rpx 10rpx;
  871. opacity: 1;
  872. border: 1rpx solid #0183FA;
  873. font-size: 30rpx;
  874. font-family: PingFang SC-Medium, PingFang SC;
  875. font-weight: 400;
  876. color: #0183FA;
  877. line-height: 90rpx;
  878. text-align: center;
  879. background: #F5F5F5;
  880. margin: 90rpx 30rpx 30rpx;
  881. }
  882. }
  883. </style>