earlyWarningDetail.vue 24 KB

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