earlyWarningDetail.vue 22 KB

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