inspectList.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870
  1. <!-- 检查和自查列表 -->
  2. <template>
  3. <view class="snapshotList">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="title" @click="planClick()">
  6. <view class="title-l">
  7. <view class="title-l-t">{{newData.planTitle}}</view>
  8. <view class="title-l-b">
  9. <view v-if="newData.checkCategory">
  10. {{newData.checkCategory==1?'校院巡查':(newData.checkCategory==2?'学院自查':'')}}</view>
  11. <view v-if="newData.checkTypeName">{{newData.checkTypeName}}</view>
  12. <view v-if="newData.crossCheck==1">交叉互检</view>
  13. </view>
  14. </view>
  15. <img class="title-r" src="@/pages_safetyCheck/images/icon_wd_gd@1x.png">
  16. </view>
  17. <view class="tabTitleTow">
  18. <view :class="tabIndexTow==index?'tab-C':'tab-D'" v-for="(item,index) in tabListTow"
  19. @click="tabClickTow(index)">{{item}}</view>
  20. </view>
  21. <view>
  22. <view class="srearch">
  23. <picker @change="deptChange" :value="deptIndex" :range="deptList" :range-key="'deptName'">
  24. <view class="college">{{queryParams.deptName?queryParams.deptName:'学院'}}
  25. <img src="@/pages_safetyCheck/images/icon_06.png">
  26. </view>
  27. </picker>
  28. <view class="srearch-n">
  29. <view class="srearch-l" @click="popupClick(1)">
  30. <img src="@/pages_safetyCheck/images/icon_aqjc_ss.png">
  31. </view>
  32. <input class="srearch-c" type="text" @confirm="carriageReturnRequest" v-model="form.searchValue"
  33. placeholder="实验室/房间号" />
  34. <view class="srearch-r" @click="saoCode()">
  35. <img src="@/pages_safetyCheck/images/icon_aqjc_sm.png">
  36. </view>
  37. </view>
  38. </view>
  39. <view class="level">
  40. <view class="level-li" :id="levelIndex==index?'levelColor-A':'levelColor-B'"
  41. @click="levelClick(index)" v-for="(item,index) in levelList">{{item}}</view>
  42. </view>
  43. </view>
  44. <view class="hidden">
  45. <view class="hidden-li" @click="listClick(item)" v-for="(item,index) in dataList">
  46. <img class="hidden-li-l" src="@/pages_safetyCheck/images/icon_sys_xz@1x.png">
  47. <view class="hidden-li-c">{{item.subName}}</view>
  48. <view class="hidden-li-r">待检查{{item.unCheckCount}}项
  49. <img src="@/pages_safetyCheck/images/icon_ssp_gd@1x.png">
  50. </view>
  51. </view>
  52. </view>
  53. </scroll-view>
  54. <view class="popup-max-box" v-if="popupType">
  55. <view class="popup-null" @click="popupClick(2)"></view>
  56. <view class="popup-big-box">
  57. <view class="popup-input-box">
  58. <input type="text" maxlength="10" v-model="room" placeholder="请输入关键字">
  59. <view @click="buildBySub">搜索</view>
  60. </view>
  61. <view class="popup-for-max-box">
  62. <view class="popup-for-null" v-if="!roomList[0]">暂无数据</view>
  63. <view class="popup-for-box" v-for="(item,index) in roomList" :key="index">
  64. <view class="name-p">{{item.subName}} ({{item.roomNum?item.roomNum:'-'}})</view>
  65. <view class="button-p" @click="popupClickItem(item)">确定</view>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </template>
  72. <script>
  73. import {
  74. config
  75. } from '@/api/request/config.js'
  76. import {
  77. systemDeptDropList,
  78. } from '@/pages/api/index.js'
  79. import {
  80. laboratorySubRelInfoGetRelList,
  81. checkOptionListNew,
  82. securityAppCheckManageList
  83. } from '@/pages_safetyCheck/api/index.js'
  84. export default {
  85. name: "snapshotList",
  86. components: {
  87. },
  88. data() {
  89. return {
  90. baseUrl: config.base_url,
  91. pageType: 0,
  92. userType: 1,
  93. tabListTow: ['检查任务', '复查验证', '隐患整改'],
  94. tabIndexTow: 0,
  95. //学院选择
  96. deptIndex: null,
  97. deptList: [],
  98. newData: {
  99. planCategory: [], //检查类别
  100. },
  101. form: {
  102. rectifyDescribe: '',
  103. imgDtoList: [],
  104. hazardCheckName: '',
  105. },
  106. popupType: false,
  107. roomList: [],
  108. checkOptionList: [],
  109. levelList: ['一级', '二级', '三级', '四级'],
  110. levelIndex: 0,
  111. // 查询参数
  112. queryParams: {
  113. page: 1,
  114. pageSize: 10,
  115. deptId: '',
  116. deptName: '',
  117. manageStatus:'',//0待检查,1检查中,2已检查
  118. planSetId:'',//计划批次Id
  119. },
  120. dataList:[],
  121. }
  122. },
  123. onLoad(option) {
  124. this.$set(this, 'newData', JSON.parse(decodeURIComponent(option.infoData)));
  125. this.pageType = this.newData.pageType;
  126. console.log(this.newData)
  127. uni.setNavigationBarTitle({
  128. title: this.newData.checkPlanSetVoList[0].checkName
  129. })
  130. this.queryParams.planSetId= this.newData.checkPlanSetVoList[0].planSetId
  131. if (this.pageType == 0) {
  132. //校级检查
  133. this.tabListTow = ['检查任务', '复查验证', '隐患整改'];
  134. } else if (this.pageType == 1) {
  135. //学院自查
  136. this.tabListTow = ['自查任务', '复查验证', '隐患整改'];
  137. }
  138. },
  139. onShow() {
  140. },
  141. mounted() {
  142. this.systemDeptDropList();
  143. this.getList();
  144. },
  145. methods: {
  146. //滚动事件
  147. scrollGet() {
  148. let self = this;
  149. if (self.total / self.queryParams.pageSize <= self.queryParams.page) {
  150. this.$set(this, 'getDataType', true);
  151. } else {
  152. this.queryParams.page += 1;
  153. this.$nextTick(() => {
  154. if(this.pageType==0){
  155. //检查任务
  156. this.getList();
  157. }else if(this.pageType==1){
  158. }else if(this.pageType==2){
  159. }
  160. })
  161. }
  162. },
  163. levelClick(index) {
  164. this.levelIndex = index;
  165. },
  166. tabClickTow(index) {
  167. this.tabIndexTow = index;
  168. this.pageType = index;
  169. },
  170. planClick() {
  171. let infoData = {
  172. planId: this.newData.planId
  173. };
  174. uni.navigateTo({
  175. url: '/pages_safetyCheck/views/planDetail?infoData=' + encodeURIComponent(JSON.stringify(
  176. infoData))
  177. });
  178. },
  179. listClick(row) {
  180. let infoData = row;
  181. infoData.pageType = this.tabIndexTow;
  182. uni.navigateTo({
  183. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
  184. JSON.stringify(infoData))
  185. });
  186. },
  187. /******搜索房间弹层开关******/
  188. popupClick(type) {
  189. if (type == 1) {
  190. this.room = "";
  191. this.roomList = [];
  192. this.popupType = true;
  193. this.buildBySub();
  194. } else if (type == 2) {
  195. this.popupType = false;
  196. }
  197. },
  198. //搜索房间接口
  199. async buildBySub() {
  200. let self = this;
  201. const {
  202. data
  203. } = await laboratorySubRelInfoGetRelList({
  204. 'searchValue': this.form.searchValue,
  205. });
  206. if (data.code == 200) {
  207. if (data.data[0]) {
  208. this.roomList = data.data;
  209. } else {
  210. uni.showToast({
  211. title: '未找到相关实验室',
  212. icon: "none",
  213. mask: true,
  214. duration: 2000
  215. });
  216. }
  217. }
  218. },
  219. //确认搜索房间
  220. popupClickItem(item) {
  221. this.$set(this.queryParams, "subId", item.subId)
  222. this.$set(this.queryParams, "levelId", item.levelId)
  223. this.popupType = false;
  224. },
  225. /******调用摄像头******/
  226. saoCode() {
  227. let self = this;
  228. uni.scanCode({
  229. onlyFromCamera: true,
  230. success: function(res) {
  231. let list = res.result.split("?")[1].split("&");
  232. let codeData = {};
  233. list.forEach((item) => {
  234. codeData[item.split("=")[0]] = item.split("=")[1];
  235. })
  236. console.log('二维码', codeData)
  237. if (codeData.code) {
  238. self.laboratoryAppletGetSubDetailInfo(codeData.code);
  239. } else {
  240. uni.showToast({
  241. title: '请扫描正确的二维码',
  242. icon: "none",
  243. mask: true,
  244. duration: 2000
  245. });
  246. }
  247. }
  248. });
  249. },
  250. //学院选择
  251. deptChange(e) {
  252. let self = this;
  253. self.deptList.forEach(function(item, index) {
  254. if (index == e.detail.value) {
  255. self.$set(self.queryParams, 'deptId', item.deptId)
  256. self.$set(self.queryParams, 'deptName', item.deptName)
  257. }
  258. })
  259. },
  260. //获取院系
  261. async systemDeptDropList() {
  262. const {
  263. data
  264. } = await systemDeptDropList({
  265. deptName: '',
  266. level: 2,
  267. deptType: 1
  268. });
  269. if (data.code == 200) {
  270. this.deptList = data.data
  271. }
  272. },
  273. //回车触发
  274. carriageReturnRequest() {
  275. console.log('123123')
  276. },
  277. //检查任务
  278. async getList() {
  279. let self = this;
  280. const {
  281. data
  282. } = await securityAppCheckManageList(this.queryParams);
  283. if (data.code == 200) {
  284. if (self.queryParams.page == 1) {
  285. this.dataList = data.data.records;
  286. this.total = data.data.total;
  287. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  288. this.$set(this, 'getDataType', true);
  289. }
  290. } else {
  291. this.dataList = [...this.dataList, ...data.data.records]
  292. this.total = data.data.total;
  293. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  294. this.$set(this, 'getDataType', true);
  295. }
  296. }
  297. }
  298. },
  299. }
  300. }
  301. </script>
  302. <style lang="stylus" scoped>
  303. .snapshotList {
  304. height: 100%;
  305. display flex;
  306. .title {
  307. width: 750rpx;
  308. height: 150rpx;
  309. background: #FFFFFF;
  310. border-radius: 20rpx 20rpx 20rpx 20rpx;
  311. display: flex;
  312. justify-content: space-between;
  313. align-items: center;
  314. padding: 0 30rpx;
  315. box-sizing: border-box;
  316. .title-l {
  317. width: 594rpx;
  318. .title-l-t {
  319. font-size: 30rpx;
  320. color: #333333;
  321. line-height: 42rpx;
  322. text-align: left;
  323. overflow: hidden;
  324. text-overflow: ellipsis;
  325. white-space: nowrap;
  326. }
  327. .title-l-b {
  328. display: flex;
  329. justify-content: flex-start;
  330. margin-top: 16rpx;
  331. >view {
  332. width: 130rpx;
  333. height: 50rpx;
  334. background: rgba(1, 131, 250, 0.2);
  335. border-radius: 6rpx 6rpx 6rpx 6rpx;
  336. font-size: 24rpx;
  337. color: #0183FA;
  338. line-height: 50rpx;
  339. text-align: center;
  340. margin-right: 14rpx;
  341. }
  342. }
  343. }
  344. .title-r {
  345. width: 24rpx;
  346. height: 24rpx;
  347. }
  348. }
  349. .tabTitleTow {
  350. width: 690rpx;
  351. height: 80rpx;
  352. display: flex;
  353. justify-content: center;
  354. margin: 20rpx 0 0 30rpx;
  355. >view:nth-of-type(1) {
  356. width: 230rpx;
  357. height: 80rpx;
  358. border-radius: 50rpx 0rpx 0rpx 50rpx;
  359. }
  360. >view:nth-of-type(2) {
  361. width: 230rpx;
  362. height: 80rpx;
  363. border-radius: 0rpx 0rpx 0rpx 0rpx;
  364. }
  365. >view:nth-of-type(3) {
  366. width: 230rpx;
  367. height: 80rpx;
  368. border-radius: 0rpx 50rpx 50rpx 0rpx;
  369. }
  370. .tab-C {
  371. font-size: 30rpx;
  372. color: #FFFFFF;
  373. line-height: 80rpx;
  374. text-align: center;
  375. background: #0183FA;
  376. }
  377. .tab-D {
  378. font-size: 30rpx;
  379. color: #333333;
  380. line-height: 80rpx;
  381. text-align: center;
  382. background: #FFFFFF;
  383. }
  384. }
  385. .srearch {
  386. width: 750rpx;
  387. height: 100rpx;
  388. background: #FFFFFF;
  389. border-radius: 0rpx 0rpx 0rpx 0rpx;
  390. overflow: hidden;
  391. margin-top: 20rpx;
  392. display: flex;
  393. display: flex;
  394. justify-content: space-between;
  395. align-items: center;
  396. padding: 0 30rpx;
  397. box-sizing: border-box;
  398. .college {
  399. width: 200rpx;
  400. height: 60rpx;
  401. border-radius: 50rpx 50rpx 50rpx 50rpx;
  402. border: 1rpx solid #E0E0E0;
  403. font-size: 24rpx;
  404. color: #333333;
  405. line-height: 60rpx;
  406. text-align: left;
  407. display: flex;
  408. justify-content: space-between;
  409. align-items: center;
  410. padding: 0 26rpx;
  411. box-sizing: border-box;
  412. overflow: hidden;
  413. text-overflow: ellipsis;
  414. white-space: nowrap;
  415. >img {
  416. width: 24rpx;
  417. height: 12rpx;
  418. }
  419. }
  420. .srearch-n {
  421. width: 480rpx;
  422. height: 60rpx;
  423. border-radius: 50rpx 50rpx 50rpx 50rpx;
  424. border: 1rpx solid #E0E0E0;
  425. display: flex;
  426. justify-content: flex-start;
  427. align-items: center;
  428. .srearch-l {
  429. width: 60rpx;
  430. height: 60rpx;
  431. >img {
  432. width: 20rpx;
  433. height: 20rpx;
  434. margin: 20rpx 0 0 26rpx;
  435. }
  436. }
  437. .srearch-c {
  438. flex: 1;
  439. height: 58rpx;
  440. font-size: 24rpx;
  441. color: #999999;
  442. line-height: 30rpx;
  443. text-align: left;
  444. }
  445. .srearch-r {
  446. width: 60rpx;
  447. height: 60rpx;
  448. >img {
  449. width: 30rpx;
  450. height: 30rpx;
  451. margin: 14rpx 22rpx 0 0;
  452. }
  453. }
  454. }
  455. }
  456. .level {
  457. width: 750rpx;
  458. height: 80rpx;
  459. background: #FFFFFF;
  460. display: flex;
  461. justify-content: flex-start;
  462. padding: 0 30rpx;
  463. box-sizing: border-box;
  464. .level-li {
  465. width: 100rpx;
  466. height: 50rpx;
  467. background: #F5F5F5;
  468. border-radius: 50rpx 50rpx 50rpx 50rpx;
  469. border: 1rpx solid #E0E0E0;
  470. margin-right: 10rpx;
  471. font-size: 24rpx;
  472. color: #333333;
  473. line-height: 50rpx;
  474. text-align: center;
  475. }
  476. #levelColor-A {
  477. background: rgba(255, 0, 0, 0.2);
  478. color: #FF0000;
  479. border: 1rpx solid #FF0000;
  480. }
  481. #levelColor-B {
  482. background: #F5F5F5;
  483. color: #333333;
  484. border: 1rpx solid #E0E0E0;
  485. }
  486. }
  487. .list {
  488. width: 690rpx;
  489. min-height: 765rpx;
  490. background: #FFFFFF;
  491. border-radius: 20rpx 20rpx 20rpx 20rpx;
  492. margin: 20rpx 0 0 30rpx;
  493. .list-li {
  494. display: flex;
  495. justify-content: space-between;
  496. border-bottom: 1rpx solid #E0E0E0;
  497. padding: 0 22rpx 0 28rpx;
  498. box-sizing: border-box;
  499. >view:nth-of-type(1) {
  500. font-size: 30rpx;
  501. color: #333333;
  502. line-height: 80rpx;
  503. text-align: left;
  504. }
  505. >view:nth-of-type(2) {
  506. font-size: 28rpx;
  507. color: #666666;
  508. line-height: 80rpx;
  509. text-align: left;
  510. display: flex;
  511. justify-content: flex-start;
  512. align-items: center;
  513. >img {
  514. width: 24rpx;
  515. height: 24rpx;
  516. margin-left: 8rpx;
  517. }
  518. }
  519. .project_r {
  520. width: 510rpx;
  521. min-height: 80rpx;
  522. display: flex;
  523. justify-content: flex-end;
  524. align-items: center;
  525. padding-left: 20rpx;
  526. box-sizing: border-box;
  527. color: #666;
  528. }
  529. }
  530. .describe {
  531. width: 636rpx;
  532. height: 120rpx;
  533. border-radius: 10rpx 10rpx 10rpx 10rpx;
  534. border: 1rpx solid #E0E0E0;
  535. margin: 20rpx 0 0 28rpx;
  536. padding: 12rpx 16rpx;
  537. box-sizing: border-box;
  538. }
  539. .check-for-img-max-box {
  540. margin: 20px 28rpx;
  541. .left-title-p {
  542. width: 100%;
  543. text-align: left;
  544. font-size: 30rpx;
  545. font-family: PingFang SC-Medium, PingFang SC;
  546. font-weight: 400;
  547. color: #333333;
  548. line-height: 80rpx;
  549. }
  550. .right-img-box {
  551. .img-box {
  552. display inline-block;
  553. height: 150rpx;
  554. width: 150rpx;
  555. position relative;
  556. margin: 0 14rpx 20rpx 0;
  557. border-radius 10rpx;
  558. overflow hidden;
  559. .img-data {
  560. height: 150rpx;
  561. width: 150rpx;
  562. }
  563. .position-img {
  564. position absolute;
  565. right: 0;
  566. top: 0;
  567. width: 36rpx;
  568. height: 36rpx;
  569. }
  570. }
  571. .img-box:nth-of-type(3n+3) {
  572. margin-right: 0rpx;
  573. }
  574. .add-button {
  575. margin: 0 0rpx 20rpx 0;
  576. border-radius 10rpx;
  577. overflow hidden;
  578. display inline-block;
  579. height: 150rpx;
  580. width: 150rpx;
  581. }
  582. }
  583. }
  584. }
  585. /* 实验室弹框 */
  586. .popup-max-box {
  587. z-index: 10;
  588. height: 100%;
  589. width: 100%;
  590. position fixed;
  591. background rgba(0, 0, 0, 0.2);
  592. display flex;
  593. flex-direction column;
  594. .popup-null {
  595. flex: 1;
  596. }
  597. .popup-big-box {
  598. border-top-left-radius: 20rpx;
  599. border-top-right-radius: 20rpx;
  600. background #fff;
  601. .popup-input-box {
  602. padding: 30rpx 20rpx;
  603. display: flex;
  604. input {
  605. flex: 1;
  606. height: 70rpx;
  607. border: 1rpx solid #e0e0e0;
  608. border-radius: 10rpx;
  609. margin-right: 20rpx;
  610. padding: 0 20rpx;
  611. }
  612. view {
  613. background #0183FA;
  614. color: #fff;
  615. border-radius: 10rpx;
  616. width: 140rpx;
  617. line-height: 70rpx;
  618. text-align center;
  619. font-size: 28rpx;
  620. }
  621. }
  622. .popup-for-max-box {
  623. margin: 0 20rpx 30rpx;
  624. height: 600rpx;
  625. overflow-y scroll;
  626. .popup-for-null {
  627. line-height: 100rpx;
  628. text-align center;
  629. color: #999;
  630. }
  631. .popup-for-box {
  632. display: flex;
  633. padding: 10px 0;
  634. .name-p {
  635. flex: 1;
  636. line-height: 60rpx;
  637. }
  638. .button-p {
  639. background #0183FA;
  640. color: #fff;
  641. text-align center;
  642. width: 100rpx;
  643. line-height: 60rpx;
  644. height: 60rpx;
  645. border-radius: 10rpx;
  646. }
  647. }
  648. }
  649. }
  650. }
  651. .subBtn {
  652. width: 690rpx;
  653. height: 100rpx;
  654. background: #0183FA;
  655. border-radius: 50rpx 50rpx 50rpx 50rpx;
  656. font-weight: 400;
  657. font-size: 30rpx;
  658. color: #FFFFFF;
  659. line-height: 100rpx;
  660. text-align: center;
  661. position: fixed;
  662. left: 30rpx;
  663. bottom: 10rpx;
  664. }
  665. /* 上报记录 */
  666. .escalation {
  667. .escalation-li {
  668. width: 690rpx;
  669. height: 162rpx;
  670. background: #FFFFFF;
  671. border-radius: 20rpx 20rpx 20rpx 20rpx;
  672. margin: 20rpx 30rpx;
  673. padding: 0 30rpx;
  674. box-sizing: border-box;
  675. .escalation-li-t {
  676. display: flex;
  677. justify-content: space-between;
  678. align-items: center;
  679. border-bottom: 1rpx solid #E0E0E0;
  680. >view:nth-of-type(1) {
  681. font-weight: 400;
  682. font-size: 30rpx;
  683. color: #333333;
  684. line-height: 80rpx;
  685. text-align: left;
  686. }
  687. >view:nth-of-type(2) {
  688. font-weight: 400;
  689. font-size: 28rpx;
  690. color: #0183FA;
  691. line-height: 80rpx;
  692. text-align: left;
  693. display: flex;
  694. justify-content: flex-start;
  695. align-items: center;
  696. >img {
  697. width: 24rpx;
  698. height: 24rpx;
  699. }
  700. }
  701. }
  702. .escalation-li-b {
  703. display: flex;
  704. justify-content: space-between;
  705. align-items: center;
  706. >view:nth-of-type(1) {
  707. font-weight: 400;
  708. font-size: 30rpx;
  709. color: #333333;
  710. line-height: 80rpx;
  711. text-align: left;
  712. }
  713. >view:nth-of-type(2) {
  714. font-weight: 400;
  715. font-size: 30rpx;
  716. color: #666666;
  717. line-height: 80rpx;
  718. text-align: left;
  719. }
  720. }
  721. }
  722. }
  723. /* 隐患整改 */
  724. .hidden {
  725. width: 690rpx;
  726. border-radius: 20rpx 20rpx 20rpx 20rpx;
  727. background: #FFFFFF;
  728. padding: 0 30rpx;
  729. box-sizing: border-box;
  730. margin: 20rpx 30rpx;
  731. .hidden-li {
  732. height: 80rpx;
  733. border-bottom: 1rpx solid #E0E0E0;
  734. display: flex;
  735. justify-content: flex-start;
  736. align-items: center;
  737. .hidden-li-l {
  738. width: 34rpx;
  739. height: 34rpx;
  740. }
  741. .hidden-li-c {
  742. font-size: 28rpx;
  743. color: #333333;
  744. line-height: 30rpx;
  745. text-align: left;
  746. flex: 1;
  747. overflow: hidden;
  748. text-overflow: ellipsis;
  749. white-space: nowrap;
  750. margin: 0 84rpx 0 12rpx;
  751. }
  752. .hidden-li-r {
  753. font-size: 28rpx;
  754. color: #0183FA;
  755. line-height: 80rpx;
  756. text-align: left;
  757. display: flex;
  758. justify-content: flex-start;
  759. align-items: center;
  760. >img {
  761. width: 24rpx;
  762. height: 24rpx;
  763. }
  764. }
  765. }
  766. .hidden-li:last-of-type {
  767. border: none;
  768. }
  769. }
  770. #color-A {
  771. color: #0183FA;
  772. }
  773. #color-B {
  774. color: #FF8C00;
  775. }
  776. #color-C {
  777. color: #16B531;
  778. }
  779. }
  780. </style>