earlyWarningDetail.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956
  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(form.recordPhoto)" :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(this.configUrl + 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. /* uni.navigateTo({
  512. url: '/pages_basics/views/earlyWarningManage/videoMonitoring?subId=' + this.form.subId + '&floorId=' +
  513. this.form.floorId //我的实验室
  514. }); */
  515. let obj = {
  516. type:4,
  517. subId:this.form.subId
  518. }
  519. uni.navigateTo({
  520. url: '/pages_manage/views/laboratory/videoPlayer?item='+encodeURIComponent(JSON.stringify(obj))
  521. });
  522. }
  523. },
  524. }
  525. }
  526. </script>
  527. <style lang="stylus" scoped>
  528. .earlyWarning {
  529. padding-bottom: 30rpx;
  530. box-sizing: border-box;
  531. .red_color {
  532. color: #D40000;
  533. border: 1rpx solid #D40000;
  534. }
  535. .orange_color {
  536. color: #FF4800;
  537. border: 1rpx solid #FF4800;
  538. }
  539. .yellow_color {
  540. color: #FFA34E;
  541. border: 1rpx solid #FFA34E;
  542. }
  543. .info-max-box {
  544. flex: 1;
  545. overflow: scroll;
  546. }
  547. .header {
  548. width: 750rpx;
  549. height: 80rpx;
  550. font-size: 28rpx;
  551. font-family: PingFang SC-Medium, PingFang SC;
  552. font-weight: 400;
  553. color: #D40000;
  554. line-height: 80rpx;
  555. text-align: center;
  556. background: rgba(212, 0, 0, 0.2);
  557. }
  558. .header_tow {
  559. width: 750rpx;
  560. height: 80rpx;
  561. font-size: 28rpx;
  562. font-family: PingFang SC-Medium, PingFang SC;
  563. font-weight: 400;
  564. color: #FF4800;
  565. line-height: 80rpx;
  566. text-align: center;
  567. background: rgba(255, 72, 0, 0.2);
  568. }
  569. .header_three {
  570. width: 750rpx;
  571. height: 80rpx;
  572. font-size: 28rpx;
  573. font-family: PingFang SC-Medium, PingFang SC;
  574. font-weight: 400;
  575. color: #FF4800;
  576. line-height: 80rpx;
  577. text-align: center;
  578. background: rgba(255, 72, 0, 0.2);
  579. }
  580. .header_four {
  581. width: 750rpx;
  582. height: 80rpx;
  583. font-size: 28rpx;
  584. font-family: PingFang SC-Medium, PingFang SC;
  585. font-weight: 400;
  586. color: #FFA34E;
  587. line-height: 80rpx;
  588. text-align: center;
  589. background: rgba(255, 163, 78, 0.2);
  590. }
  591. .site {
  592. padding: 26rpx;
  593. background: #FFFFFF;
  594. display: flex;
  595. border-radius: 20rpx 20rpx 20rpx 20rpx;
  596. margin: 20rpx 30rpx;
  597. >img {
  598. width: 30rpx;
  599. height: 30rpx;
  600. margin: auto 22rpx auto 30rpx;
  601. }
  602. >view:nth-of-type(1) {
  603. font-size: 28rpx;
  604. font-family: PingFang SC-Medium, PingFang SC;
  605. width:200rpx;
  606. color: #333333;
  607. line-height: 32rpx;
  608. display:block;
  609. overflow:hidden;
  610. text-overflow:ellipsis;
  611. white-space:nowrap;
  612. }
  613. >view:nth-of-type(2) {
  614. display: inline-block;
  615. width: 2rpx;
  616. background: #E0E0E0;
  617. margin: 0 24rpx;
  618. }
  619. >view:nth-of-type(3) {
  620. font-size: 28rpx;
  621. font-family: PingFang SC-Medium, PingFang SC;
  622. flex: 1;
  623. color: #333333;
  624. line-height: 32rpx;
  625. display:block;
  626. overflow:hidden;
  627. text-overflow:ellipsis;
  628. white-space:nowrap;
  629. }
  630. }
  631. .site_tow {
  632. width: 690rpx;
  633. height: 170rpx;
  634. background: #FFFFFF;
  635. border-radius: 20rpx 20rpx 20rpx 20rpx;
  636. margin: 20rpx 30rpx;
  637. overflow: hidden;
  638. .site_tow_t {
  639. height: 40rpx;
  640. display: flex;
  641. justify-content: flex-start;
  642. align-items: center;
  643. margin-top: 32rpx;
  644. >img {
  645. width: 30rpx;
  646. height: 30rpx;
  647. margin-right: 22rpx;
  648. margin-left: 30rpx;
  649. }
  650. >text:nth-of-type(1) {
  651. font-size: 28rpx;
  652. font-family: PingFang SC-Medium, PingFang SC;
  653. font-weight: 400;
  654. color: #333333;
  655. line-height: 28rpx;
  656. }
  657. }
  658. .site_tow_b {
  659. height: 40rpx;
  660. display: flex;
  661. justify-content: flex-start;
  662. align-items: center;
  663. margin-top: 20rpx;
  664. >img {
  665. width: 30rpx;
  666. height: 30rpx;
  667. margin-right: 22rpx;
  668. margin-left: 30rpx;
  669. }
  670. >text:nth-of-type(1) {
  671. font-size: 28rpx;
  672. font-family: PingFang SC-Medium, PingFang SC;
  673. font-weight: 400;
  674. color: #333333;
  675. line-height: 28rpx;
  676. }
  677. >text:nth-of-type(2) {
  678. display: inline-block;
  679. width: 2rpx;
  680. height: 20rpx;
  681. background: #E0E0E0;
  682. margin: 0 24rpx 0 28rpx;
  683. }
  684. >text:nth-of-type(3) {
  685. font-size: 28rpx;
  686. font-family: PingFang SC-Medium, PingFang SC;
  687. font-weight: 400;
  688. color: #333333;
  689. line-height: 28rpx;
  690. }
  691. }
  692. }
  693. .small_title {
  694. height: 90rpx;
  695. display: flex;
  696. justify-content: flex-start;
  697. align-items: center;
  698. border-bottom: 1rpx solid #E0E0E0;
  699. >text:nth-of-type(1) {
  700. display: inline-block;
  701. width: 4rpx;
  702. height: 30rpx;
  703. background: #0183FA;
  704. margin: 0 22rpx 0 28rpx;
  705. }
  706. >text:nth-of-type(1) {
  707. font-size: 30rpx;
  708. font-family: PingFang SC-Medium, PingFang SC;
  709. font-weight: 400;
  710. color: #333333;
  711. line-height: 30rpx;
  712. }
  713. }
  714. .basics {
  715. margin-left: 30rpx;
  716. width: 690rpx;
  717. height: auto;
  718. background: #FFFFFF;
  719. border-radius: 20rpx 20rpx 20rpx 20rpx;
  720. padding-bottom: 16rpx;
  721. box-sizing: border-box;
  722. .basics_li {
  723. display: flex;
  724. justify-content: space-between;
  725. align-items: center;
  726. margin: 0 30rpx;
  727. position: relative;
  728. >text:nth-of-type(1) {
  729. font-size: 28rpx;
  730. font-family: PingFang SC-Medium, PingFang SC;
  731. font-weight: 400;
  732. color: #333333;
  733. line-height: 60rpx;
  734. }
  735. >text:nth-of-type(2) {
  736. font-size: 28rpx;
  737. font-family: PingFang SC-Medium, PingFang SC;
  738. font-weight: 400;
  739. color: #333333;
  740. line-height: 60rpx;
  741. flex: 1;
  742. text-align: right;
  743. }
  744. }
  745. }
  746. .note {
  747. margin-left: 30rpx;
  748. margin-top: 20rpx;
  749. width: 690rpx;
  750. height: auto;
  751. background: #FFFFFF;
  752. border-radius: 20rpx 20rpx 20rpx 20rpx;
  753. padding-bottom: 16rpx;
  754. box-sizing: border-box;
  755. .note_li-box{
  756. display: flex;
  757. margin: 0 30rpx;
  758. .note-li-r-1{
  759. font-size: 28rpx;
  760. font-family: PingFang SC-Medium, PingFang SC;
  761. font-weight: 400;
  762. color: #333333;
  763. line-height: 60rpx;
  764. flex: 1 !important;;
  765. }
  766. .note_li_r-2 {
  767. width:190rpx;
  768. display: flex;
  769. justify-content: flex-start;
  770. align-items: center;
  771. >img {
  772. width: 28rpx;
  773. height: 28rpx;
  774. margin-right: 10rpx;
  775. }
  776. font-size: 28rpx;
  777. font-family: PingFang SC-Medium,
  778. PingFang SC;
  779. font-weight: 400;
  780. color: #0183FA;
  781. line-height: 60rpx;
  782. }
  783. }
  784. .note_li {
  785. display: flex;
  786. justify-content: space-between;
  787. margin: 0 30rpx;
  788. >text:nth-of-type(1) {
  789. font-size: 28rpx;
  790. font-family: PingFang SC-Medium, PingFang SC;
  791. font-weight: 400;
  792. color: #333333;
  793. line-height: 60rpx;
  794. }
  795. .note_li_r {
  796. width:140rpx;
  797. display: flex;
  798. justify-content: flex-start;
  799. align-items: center;
  800. >img {
  801. width: 28rpx;
  802. height: 28rpx;
  803. margin-right: 10rpx;
  804. }
  805. font-size: 28rpx;
  806. font-family: PingFang SC-Medium,
  807. PingFang SC;
  808. font-weight: 400;
  809. color: #0183FA;
  810. line-height: 60rpx;
  811. }
  812. }
  813. }
  814. .picture {
  815. margin-left: 30rpx;
  816. width: 690rpx;
  817. height: auto;
  818. background: #FFFFFF;
  819. border-radius: 20rpx 20rpx 20rpx 20rpx;
  820. margin-top: 20rpx;
  821. .picture_b {
  822. display: flex;
  823. justify-content: flex-start;
  824. flex-wrap: wrap;
  825. padding: 40rpx 30rpx 10rpx;
  826. box-sizing: border-box;
  827. .videoOpacity1 {
  828. opacity: 1;
  829. }
  830. .videoOpacity0 {
  831. opacity: 0;
  832. }
  833. .video {
  834. position: relative;
  835. width: 150rpx;
  836. height: 150rpx;
  837. border-radius: 10rpx 10rpx 10rpx 10rpx;
  838. margin-right: 38rpx;
  839. margin-bottom: 10rpx;
  840. .video_t {
  841. width: 150rpx;
  842. height: 150rpx;
  843. border-radius: 10rpx 10rpx 10rpx 10rpx;
  844. position: absolute;
  845. }
  846. .video_b {
  847. width: 40rpx;
  848. height: 40rpx;
  849. position: absolute;
  850. left: 55rpx;
  851. top: 55rpx;
  852. }
  853. }
  854. .img {
  855. display: flex;
  856. justify-content: flex-start;
  857. flex-wrap: wrap;
  858. >img {
  859. width: 180rpx;
  860. height: 180rpx;
  861. border-radius: 10rpx 10rpx 10rpx 10rpx;
  862. margin-right: 38rpx;
  863. margin-bottom: 20rpx;
  864. }
  865. >img:nth-child(3n+3) {
  866. margin-right: 0;
  867. }
  868. }
  869. }
  870. }
  871. .bottom_btn {
  872. width: 690rpx;
  873. height: 90rpx;
  874. border-radius: 10rpx 10rpx 10rpx 10rpx;
  875. opacity: 1;
  876. border: 1rpx solid #0183FA;
  877. font-size: 30rpx;
  878. font-family: PingFang SC-Medium, PingFang SC;
  879. font-weight: 400;
  880. color: #0183FA;
  881. line-height: 90rpx;
  882. text-align: center;
  883. background: #F5F5F5;
  884. margin: 90rpx 30rpx 30rpx;
  885. }
  886. }
  887. </style>