earlyWarningDetail.vue 22 KB

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