hiddenDangerItems.vue 20 KB

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