hiddenDangerItems.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  1. <!-- 隐患项 -->
  2. <template>
  3. <view class="hiddenDangerItems">
  4. <view class="header">
  5. <view class="lotName" :class="pageType != 0?'lotNameOne':''" v-if="lotName">{{lotName}}</view>
  6. <view class="line"></view>
  7. <view class="tabTitle_tow">
  8. <view class="tabTitle_tow_li" @tap="tabClickTow(item.value)" :key="index"
  9. v-for="(item,index) in tabTextTow">
  10. <view :class="{on:curTabTow==item.value}" class="tabTitle_tow_text">{{item.label}}</view>
  11. <view :class="{on:curTabTow==item.value}" class="tabTitle_tow_across"></view>
  12. </view>
  13. </view>
  14. <view class="line"></view>
  15. <view class="search">
  16. <view class="search-l" v-if="pageType == 0 && curTabTow != 0">
  17. <view :class="checkFlag == 1 ?'search-B':'search-A'" @click="checkFlagChange(1)">符合</view>
  18. <view :class="checkFlag == 0 ?'search-B':'search-A'" @click="checkFlagChange(0)">不符合</view>
  19. </view>
  20. <view class="search-r" :class="(pageType == 0 && curTabTow == 0)||(pageType != 0) ?'search-r-margin':''"
  21. @click="checkItemModuleButton('open')">
  22. <img src="@/pages_safetyCheck/images/icon_aqjc_ss.png">
  23. {{newData.hazardCheckCode?newData.hazardCheckCode:''}}{{newData.hazardCheckName?newData.hazardCheckName:'搜索检查项'}}
  24. </view>
  25. </view>
  26. <view class="line"></view>
  27. </view>
  28. <scroll-view scroll-y style="overflow-y: scroll;flex:1;" @scrolltolower="scrollGet" class="info-max-box">
  29. <view class="list">
  30. <view class="total"
  31. :class="curTabTow == 0?'total-color-1':(curTabTow == 2?'total-color-3':(curTabTow == 1?'total-color-2':''))"
  32. v-if="pageType == 0">
  33. {{curTabTow == 0?'待检查共'+total+'项':(curTabTow == 2?'检查中草稿箱共'+total+'项':(curTabTow == 1?'已检查共'+total+'项':''))}}
  34. </view>
  35. <view class="total"
  36. :class="curTabTow == 0?'total-color-1':(curTabTow == 1?'total-color-2':(curTabTow == 2?'total-color-3':''))"
  37. v-if="pageType == 1">
  38. {{curTabTow == 0?'待复查共'+total+'项':(curTabTow == 1?'复查完毕共'+total+'项':(curTabTow == 2?'退回整改共'+total+'项':''))}}
  39. </view>
  40. <view class="total"
  41. :class="curTabTow == 2?'total-color-1':(curTabTow == 0?'total-color-2':(curTabTow == 4?'total-color-3':''))"
  42. v-if="pageType == 2">
  43. {{curTabTow == 2?'待整改共'+total+'项':(curTabTow == 1?'已整改共'+total+'项':(curTabTow == 4?'暂无法整改共'+total+'项':''))}}
  44. </view>
  45. <view class="list-li" v-for="(item,index) in dataList" :key="index">
  46. <view class="list-li-t" @click="itemsClick(item)">
  47. <view v-if="pageType == 0">
  48. <img v-if="item.checkFlag==null" src="@/pages_safetyCheck/images/icon_zg_zh@1x.png">
  49. <img v-if="item.checkFlag==false" src="@/pages_safetyCheck/images/icon_xz_zg@1x.png">
  50. <img v-if="item.checkFlag==true" src="@/pages_safetyCheck/images/icon_xz_fc@1x.png">
  51. </view>
  52. <view v-if="pageType == 1">
  53. <img v-if="curTabTow==0" src="@/pages_safetyCheck/images/icon_zg_zh@1x.png">
  54. <img v-if="curTabTow==1" src="@/pages_safetyCheck/images/icon_xz_zg@1x.png">
  55. <img v-if="curTabTow==2" src="@/pages_safetyCheck/images/icon_xz_fc@1x.png">
  56. </view>
  57. <view v-if="pageType == 2">
  58. <img v-if="curTabTow==2" src="@/pages_safetyCheck/images/icon_zg_zh@1x.png">
  59. <img v-if="curTabTow==1" src="@/pages_safetyCheck/images/icon_xz_zg@1x.png">
  60. <img v-if="curTabTow==4" src="@/pages_safetyCheck/images/icon_xz_fc@1x.png">
  61. </view>
  62. <view>{{item.hazardCheckCode}}{{item.hazardCheckName}}</view>
  63. </view>
  64. <view v-if="pageType == 1 && item.hazardNum" class="list-li-b" @click="hiddenDangerClick(item)">
  65. 此检查项在当前实验室累计出现<text>{{item.hazardNum}}</text>次隐患
  66. </view>
  67. <view v-if="pageType == 2 && item.dangerNum" class="list-li-b" @click="hiddenDangerClick(item)">
  68. 此检查项在当前实验室累计出现<text>{{item.dangerNum}}</text>次隐患
  69. </view>
  70. </view>
  71. </view>
  72. <view class="get-data-p" v-if="!getDataType">
  73. <img class="get-data-img" src="@/pages_safetyCheck/images/icon_aqjc_sl.png">
  74. <view class="get-data-text">上拉加载</view>
  75. </view>
  76. <view class="get-data-null-p" v-if="getDataType">- 没有更多数据 -</view>
  77. </scroll-view>
  78. <checkItemModule :propsData="propsData" v-if="checkItemModuleType"></checkItemModule>
  79. <view v-if="pageType==0 && total !=0" @click="submitBtn()" class="sub-btn">检查完成</view>
  80. </view>
  81. </template>
  82. <script>
  83. import {
  84. config
  85. } from '@/api/request/config.js'
  86. import {
  87. securityAppCheckSetOptionList,
  88. securityAppCheckDangerReviewList,
  89. securityAppCheckDangerGetCheckDangerSubId,
  90. securityAppCheckSetOptionFinishCheck,
  91. } from '@/pages_safetyCheck/api/index.js'
  92. import {
  93. checkItemModule
  94. } from '@/pages_safetyCheck/component/checkItemModule.vue'
  95. export default {
  96. name: "hiddenDangerItems",
  97. components: {
  98. checkItemModule
  99. },
  100. data() {
  101. return {
  102. baseUrl: config.base_url,
  103. pageType: 1,
  104. tabTextTow: [],
  105. curTabTow: null,
  106. form: {
  107. imgDtoList: [],
  108. },
  109. lotName: null,
  110. newData: {
  111. },
  112. dialogVisible: false,
  113. // 查询参数
  114. queryParams: {
  115. page: 1,
  116. pageSize: 10,
  117. },
  118. //符合/不符合
  119. checkFlag: null,
  120. total: 0,
  121. dataList: [],
  122. getDataType: false,
  123. searchIndex: 0,
  124. //检查项组件数据
  125. checkItemModuleType: false,
  126. propsData: {},
  127. }
  128. },
  129. onLoad(option) {
  130. let optionData = JSON.parse(decodeURIComponent(option.infoData));
  131. console.log(optionData)
  132. uni.setNavigationBarTitle({
  133. title: optionData.subName + '(' + (optionData.pageType == 0 ? optionData.roomNum : optionData
  134. .subRoom) + ')'
  135. })
  136. this.$set(this, 'pageType', optionData.pageType);
  137. this.$set(this, 'lotName',
  138. optionData.pageType == 0 ? optionData.checkPlanSetVoList.checkName : (
  139. optionData.checkPlanSetVoList.overdueUnrectify ? '整改期限' + optionData.checkPlanSetVoList
  140. .checkStartTime +
  141. '(逾期未完成整改关闭实验室)' : '整改期限' + optionData.checkPlanSetVoList.checkStartTime));
  142. this.$set(this, 'tabTextTow',
  143. optionData.pageType == 0 ? [{
  144. value: '0',
  145. label: '待检查'
  146. }, {
  147. value: '2',
  148. label: '检查中'
  149. }, {
  150. value: '1',
  151. label: '已检查'
  152. }] : (
  153. optionData.pageType == 1 ? [{
  154. value: '0',
  155. label: '待复查'
  156. }, {
  157. value: '1',
  158. label: '复查完毕'
  159. }, {
  160. value: '2',
  161. label: '退回整改'
  162. }] : (
  163. optionData.pageType == 2 ? [{
  164. value: '2',
  165. label: '待整改'
  166. }, {
  167. value: '1',
  168. label: '已整改'
  169. }, {
  170. value: '4',
  171. label: '暂无法整改'
  172. }] : []
  173. )))
  174. this.$set(this, 'curTabTow', optionData.pageType == 0 ? '0' : (optionData.pageType == 1 ? '0' : (optionData
  175. .pageType == 2 ? '2' : '')));
  176. this.$set(this, 'newData', optionData);
  177. this.$nextTick(() => {
  178. this.getList()
  179. })
  180. },
  181. onShow() {
  182. },
  183. mounted() {
  184. },
  185. methods: {
  186. //滚动事件
  187. scrollGet() {
  188. let self = this;
  189. if (self.total / self.queryParams.pageSize <= self.queryParams.page) {
  190. this.$set(this, 'getDataType', true);
  191. } else {
  192. this.queryParams.page += 1;
  193. this.$nextTick(() => {
  194. this.getList();
  195. })
  196. }
  197. },
  198. //顶部tab点击
  199. tabClickTow(value) {
  200. this.$set(this, 'checkFlag', null);
  201. this.$set(this.queryParams, 'page', 1);
  202. this.$set(this, 'curTabTow', value);
  203. this.$set(this, 'total', 0);
  204. this.$set(this, 'dataList', []);
  205. this.$nextTick(()=>{
  206. this.getList();
  207. })
  208. },
  209. dialogOpen() {
  210. this.dialogVisible = true;
  211. },
  212. dialogClose() {
  213. this.dialogVisible = false;
  214. },
  215. //符合/不符合
  216. checkFlagChange(type) {
  217. if (this.checkFlag == type) {
  218. this.$set(this, 'checkFlag', null);
  219. } else {
  220. this.$set(this, 'checkFlag', type);
  221. }
  222. this.$set(this.queryParams, 'page', 1);
  223. this.getList()
  224. },
  225. checkItemModuleButton(type, item) {
  226. if (type == 'open') {
  227. let obj = {
  228. infoType: this.pageType,
  229. checkType: this.curTabTow,
  230. }
  231. if (this.pageType == 0) {
  232. //检查
  233. obj.manageId = this.newData.manageId
  234. } else if (this.pageType != 0) {
  235. //复查/整改
  236. obj.planId = this.newData.checkPlanSetVoList.planId;
  237. obj.planSetId = this.newData.checkPlanSetVoList.planSetId;
  238. obj.subId = this.newData.subId;
  239. }
  240. this.$set(this, 'propsData', obj);
  241. this.$set(this, 'checkItemModuleType', true);
  242. } else if (type == 'out') {
  243. this.$set(this, 'checkItemModuleType', false);
  244. this.$set(this, 'propsData', {});
  245. } else if (type == 'submit') {
  246. this.itemsClick(item);
  247. }
  248. },
  249. //检查项选中
  250. itemsClick(row) {
  251. let infoData = row;
  252. infoData.pageType = this.pageType;
  253. infoData.itemsStatus = this.curTabTow;
  254. infoData.checkCategory=this.newData.checkCategory;
  255. infoData.checkPlanSetVoList = this.newData.checkPlanSetVoList;
  256. if (this.pageType == 0 && this.curTabTow == 0) {
  257. //待检查
  258. infoData.subName=this.newData.subName;
  259. infoData.roomNum=this.newData.roomNum;
  260. infoData.subRoom=this.newData.subRoom;
  261. uni.redirectTo({
  262. url: '/pages_safetyCheck/views/inspectManage/inspectAdd?infoData=' + encodeURIComponent(
  263. JSON
  264. .stringify(infoData))
  265. });
  266. }
  267. if (this.pageType == 0 && this.curTabTow == 2) {
  268. //检查中
  269. infoData.subName=this.newData.subName;
  270. infoData.roomNum=this.newData.roomNum;
  271. infoData.subRoom=this.newData.subRoom;
  272. uni.redirectTo({
  273. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  274. encodeURIComponent(JSON
  275. .stringify(infoData))
  276. });
  277. }
  278. if (this.pageType == 0 && this.curTabTow == 1) {
  279. //已检查
  280. uni.redirectTo({
  281. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  282. encodeURIComponent(JSON
  283. .stringify(infoData))
  284. });
  285. } else if (this.pageType == 1 && this.curTabTow == 0) {
  286. //待复查
  287. infoData.subId=this.newData.subId;
  288. uni.redirectTo({
  289. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' +
  290. encodeURIComponent(JSON
  291. .stringify(infoData))
  292. });
  293. }else if (this.pageType == 1 && this.curTabTow == 1) {
  294. //复查完毕
  295. infoData.subId=this.newData.subId;
  296. uni.redirectTo({
  297. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  298. encodeURIComponent(JSON
  299. .stringify(infoData))
  300. });
  301. }else if (this.pageType == 1 && this.curTabTow == 2) {
  302. //退回整改
  303. infoData.subId=this.newData.subId;
  304. uni.redirectTo({
  305. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  306. encodeURIComponent(JSON
  307. .stringify(infoData))
  308. });
  309. } else if (this.pageType == 2 && this.curTabTow == 2) {
  310. //待整改
  311. infoData.subId=this.newData.subId;
  312. uni.redirectTo({
  313. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' +
  314. encodeURIComponent(JSON
  315. .stringify(infoData))
  316. });
  317. }else if (this.pageType == 2 && this.curTabTow == 1) {
  318. //已完成
  319. infoData.subId=this.newData.subId;
  320. uni.redirectTo({
  321. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  322. encodeURIComponent(JSON
  323. .stringify(infoData))
  324. });
  325. }else if (this.pageType == 2 && this.curTabTow == 4) {
  326. //暂无法整改
  327. infoData.subId=this.newData.subId;
  328. uni.redirectTo({
  329. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  330. encodeURIComponent(JSON
  331. .stringify(infoData))
  332. });
  333. }
  334. },
  335. hiddenDangerClick(row) {
  336. let infoData = row;
  337. infoData.pageType = this.pageType;
  338. uni.redirectTo({
  339. url: '/pages_safetyCheck/views/inspectManage/hiddenDangerRecord?infoData=' +
  340. encodeURIComponent(JSON.stringify(infoData))
  341. });
  342. },
  343. //
  344. async getList() {
  345. let self = this;
  346. let obj = JSON.parse(JSON.stringify(this.queryParams))
  347. if (this.pageType == 0) {
  348. //检查任务
  349. obj.manageId = this.newData.manageId;
  350. obj.checkStatus = this.curTabTow;
  351. obj.checkFlag = this.checkFlag;
  352. const {
  353. data
  354. } = await securityAppCheckSetOptionList(obj);
  355. if (data.code == 200) {
  356. if (self.queryParams.page == 1) {
  357. this.dataList = data.data.records;
  358. this.total = data.data.total;
  359. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  360. this.$set(this, 'getDataType', true);
  361. }
  362. } else {
  363. this.dataList = [...this.dataList, ...data.data.records]
  364. this.total = data.data.total;
  365. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  366. this.$set(this, 'getDataType', true);
  367. }
  368. }
  369. }
  370. } else if (this.pageType == 1) {
  371. //复查验证
  372. obj.planId = this.newData.checkPlanSetVoList.planId;
  373. obj.planSetId = this.newData.checkPlanSetVoList.planSetId;
  374. obj.subId = this.newData.subId;
  375. obj.appReviewStatus = this.curTabTow;
  376. obj.pageFlag = true;
  377. const {
  378. data
  379. } = await securityAppCheckDangerReviewList(obj);
  380. if (data.code == 200) {
  381. if (self.queryParams.page == 1) {
  382. this.dataList = data.data.records;
  383. this.total = data.data.total;
  384. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  385. this.$set(this, 'getDataType', true);
  386. }
  387. } else {
  388. this.dataList = [...this.dataList, ...data.data.records]
  389. this.total = data.data.total;
  390. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  391. this.$set(this, 'getDataType', true);
  392. }
  393. }
  394. }
  395. } else if (this.pageType == 2) {
  396. //隐患整改
  397. obj.planId = this.newData.checkPlanSetVoList.planId;
  398. obj.planSetId = this.newData.checkPlanSetVoList.planSetId;
  399. obj.subId = this.newData.subId;
  400. obj.rectifyStatus = this.curTabTow;
  401. obj.pageFlag = true;
  402. const {
  403. data
  404. } = await securityAppCheckDangerGetCheckDangerSubId(obj);
  405. if (data.code == 200) {
  406. if (self.queryParams.page == 1) {
  407. this.dataList = data.data.records;
  408. this.total = data.data.total;
  409. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  410. this.$set(this, 'getDataType', true);
  411. }
  412. } else {
  413. this.dataList = [...this.dataList, ...data.data.records]
  414. this.total = data.data.total;
  415. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  416. this.$set(this, 'getDataType', true);
  417. }
  418. }
  419. }
  420. }
  421. },
  422. //检查完成
  423. async submitBtn() {
  424. let obj = {
  425. manageId: this.newData.manageId,
  426. }
  427. const {
  428. data
  429. } = await securityAppCheckSetOptionFinishCheck(obj);
  430. if (data.code == 200) {
  431. let infoData=this.newData;
  432. uni.redirectTo({
  433. url: '/pages_safetyCheck/views/inspectManage/inspectList?infoData=' + encodeURIComponent(JSON
  434. .stringify(infoData))
  435. });
  436. }
  437. },
  438. }
  439. }
  440. </script>
  441. <style lang="stylus" scoped>
  442. .hiddenDangerItems {
  443. height: 100%;
  444. display flex;
  445. flex-direction: column;
  446. overflow: hidden;
  447. box-sizing: border-box;
  448. #totalColor-A {
  449. color: #0183FA;
  450. background: rgba(1, 131, 250, 0.2);
  451. }
  452. #totalColor-B {
  453. color: #16B531;
  454. background: rgba(22, 181, 49, 0.2);
  455. }
  456. #totalColor-C {
  457. color: #FF8C00;
  458. background: rgba(255, 140, 0, 0.2);
  459. }
  460. .header {
  461. width: 100%;
  462. height: 268rpx;
  463. overflow: hidden;
  464. background: #fff;
  465. .lotName {
  466. height: 70rpx;
  467. line-height: 70rpx;
  468. font-size: 28rpx;
  469. background: rgba(1, 131, 250, 0.2);
  470. color: #0183FA;
  471. text-align: center;
  472. }
  473. .lotNameOne {
  474. background: #F7E0C4;
  475. color: #FF8C00;
  476. }
  477. .tabTitle_tow {
  478. width: 520rpx;
  479. height: 80rpx;
  480. display flex;
  481. justify-content: flex-start;
  482. align-items: center;
  483. .tabTitle_tow_li {
  484. flex: 1;
  485. position: relative;
  486. text-align center;
  487. .tabTitle_tow_text {
  488. display: inline-block;
  489. font-size: 30rpx;
  490. font-family: PingFang SC;
  491. font-weight: 500;
  492. color: #333333;
  493. line-height: 46rpx;
  494. position: relative;
  495. &.on {
  496. color: #0183FA;
  497. }
  498. }
  499. .tabTitle_tow_across {
  500. width: 50rpx;
  501. height: 4rpx;
  502. background: #0183FA;
  503. border-radius: 2rpx;
  504. margin-left: 38%;
  505. display none;
  506. &.on {
  507. display block;
  508. }
  509. }
  510. }
  511. }
  512. .line {
  513. width: 100%;
  514. height: 13rpx;
  515. background: #F5F5F5;
  516. }
  517. .search {
  518. width: 750rpx;
  519. height: 80rpx;
  520. background: #FFFFFF;
  521. border-radius: 0rpx 0rpx 0rpx 0rpx;
  522. display: flex;
  523. justify-content: flex-start;
  524. align-items: center;
  525. .search-l {
  526. display: flex;
  527. justify-content: flex-start;
  528. align-items: center;
  529. margin: 0 20rpx 0 30rpx;
  530. .search-A {
  531. border-radius: 50rpx 50rpx 50rpx 50rpx;
  532. border: 1rpx solid #E0E0E0;
  533. width: 100rpx;
  534. height: 60rpx;
  535. background: #E0E0E0;
  536. font-weight: normal;
  537. font-size: 24rpx;
  538. color: #333333;
  539. line-height: 60rpx;
  540. text-align: center;
  541. margin-right: 10rpx;
  542. }
  543. .search-B {
  544. border-radius: 50rpx 50rpx 50rpx 50rpx;
  545. border: 1rpx solid #0183FA;
  546. width: 100rpx;
  547. height: 60rpx;
  548. background: #0183FA;
  549. font-weight: normal;
  550. font-size: 24rpx;
  551. color: #FFFFFF;
  552. line-height: 60rpx;
  553. text-align: center;
  554. margin-right: 10rpx;
  555. }
  556. }
  557. .search-r-margin {
  558. width: 700rpx !important;
  559. margin: 0 auto;
  560. }
  561. .search-r {
  562. width: 440rpx;
  563. height: 60rpx;
  564. background: #FFFFFF;
  565. border-radius: 50rpx 50rpx 50rpx 50rpx;
  566. border: 1rpx solid #E0E0E0;
  567. font-size: 24rpx;
  568. color: #999999;
  569. line-height: 60rpx;
  570. text-align: left;
  571. display: flex;
  572. justify-content: flex-start;
  573. align-items: center;
  574. padding: 0 20rpx;
  575. box-sizing: border-box;
  576. >img {
  577. width: 30rpx;
  578. height: 30rpx;
  579. margin-right: 20rpx;
  580. }
  581. }
  582. }
  583. }
  584. .list {
  585. width: 750rpx;
  586. background: #FFFFFF;
  587. padding-bottom: 20rpx;
  588. box-sizing: border-box;
  589. .total {
  590. display: inline-block;
  591. height: 50rpx;
  592. background: rgba(1, 131, 250, 0.2);
  593. border-radius: 0rpx 0rpx 20rpx 0rpx;
  594. font-size: 24rpx;
  595. color: #0183FA;
  596. line-height: 50rpx;
  597. text-align: left;
  598. padding: 0rpx 22rpx;
  599. box-sizing: border-box;
  600. margin-bottom: 20rpx;
  601. }
  602. .total-color-1 {
  603. background: rgba(1, 131, 250, 0.2);
  604. color: #0183FA;
  605. }
  606. .total-color-2 {
  607. background: rgba(22, 181, 49, 0.2);
  608. color: #16B531;
  609. }
  610. .total-color-3 {
  611. background: #F7E0C4;
  612. color: #FF8C00;
  613. }
  614. .list-li {
  615. margin: 0 30rpx;
  616. .list-li-t {
  617. width: 690rpx;
  618. background: #F5F5F5;
  619. border-radius: 10rpx 10rpx 10rpx 10rpx;
  620. display: flex;
  621. justify-content: flex-start;
  622. padding: 12rpx 20rpx 14rpx 14rpx;
  623. box-sizing: border-box;
  624. margin: 20rpx 0;
  625. >view:nth-of-type(1) {
  626. >img {
  627. width: 24rpx;
  628. height: 24rpx;
  629. margin-right: 30rpx;
  630. }
  631. }
  632. >view:nth-of-type(2) {
  633. flex: 1;
  634. font-size: 24rpx;
  635. color: #3D3D3D;
  636. line-height: 34rpx;
  637. text-align: left;
  638. }
  639. }
  640. .list-li-b {
  641. font-size: 24rpx;
  642. color: #3D3D3D;
  643. line-height: 24rpx;
  644. text-align: right;
  645. >text {
  646. color: #FF0000;
  647. }
  648. }
  649. }
  650. }
  651. .get-data-p {
  652. height: 100rpx;
  653. text-align: center;
  654. .get-data-img {
  655. width: 30rpx;
  656. height: 30rpx;
  657. margin: 0 auto;
  658. margin-top: 15rpx;
  659. }
  660. .get-data-text {
  661. text-align: center;
  662. }
  663. }
  664. .get-data-null-p {
  665. height: 100rpx;
  666. line-height: 100rpx;
  667. text-align: center;
  668. }
  669. .sub-btn {
  670. width: 686rpx;
  671. height: 100rpx;
  672. background: #0183FA;
  673. border-radius: 50rpx 50rpx 50rpx 50rpx;
  674. position: fixed;
  675. left: 30rpx;
  676. bottom: 30rpx;
  677. font-weight: 400;
  678. font-size: 30rpx;
  679. color: #FFFFFF;
  680. line-height: 100rpx;
  681. text-align: center;
  682. }
  683. }
  684. </style>