earlyWarningDetail.vue 25 KB

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