earlyWarningDetail.vue 25 KB

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