hiddenDangerItems.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803
  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 && curTabTow != 2">
  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 || curTabTow == 2)||(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_fc@1x.png">
  55. <img v-if="curTabTow==2" src="@/pages_safetyCheck/images/icon_xz_zg@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 && inspectRemporary">
  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: 20,
  120. },
  121. //符合/不符合
  122. checkFlag: null,
  123. total: 0,
  124. dataList: [],
  125. getDataType: false,
  126. searchIndex: 0,
  127. //检查项组件数据
  128. checkItemModuleType: false,
  129. propsData: {},
  130. inspectRemporary:false,//待检查和检查中数据状态
  131. inspectRemporaryList:[],//待检查和检查中数据状态
  132. }
  133. },
  134. onLoad(option) {
  135. let optionData = JSON.parse(decodeURIComponent(option.infoData));
  136. console.log('检查项列表',optionData)
  137. uni.setNavigationBarTitle({
  138. title: optionData.subName + '(' + (optionData.pageType == 0 ? (optionData.roomNum?optionData.roomNum:'-') : (optionData
  139. .subRoom?optionData
  140. .subRoom:'-')) + ')'
  141. })
  142. this.$set(this, 'pageType', optionData.pageType);
  143. this.$set(this, 'lotName',
  144. optionData.pageType == 0 ? optionData.checkPlanSetVoList.checkName : (
  145. optionData.checkPlanSetVoList.overdueUnrectify ? '整改期限' + optionData.checkPlanSetVoList
  146. .rectifyDeadline +
  147. '(逾期未完成整改关闭实验室)' : '整改期限' + optionData.checkPlanSetVoList.rectifyDeadline));
  148. this.$set(this, 'tabTextTow',
  149. optionData.pageType == 0 ? [{
  150. value: '0',
  151. label: '待检查'
  152. }, {
  153. value: '2',
  154. label: '检查中'
  155. }, {
  156. value: '1',
  157. label: '已检查'
  158. }] : (
  159. optionData.pageType == 1 ? [{
  160. value: '0',
  161. label: '待复查'
  162. }, {
  163. value: '1',
  164. label: '复查完毕'
  165. }, {
  166. value: '2',
  167. label: '退回整改'
  168. }] : (
  169. optionData.pageType == 2 ? [{
  170. value: '2',
  171. label: '待整改'
  172. }, {
  173. value: '1',
  174. label: '已整改'
  175. }, {
  176. value: '4',
  177. label: '暂无法整改'
  178. }] : []
  179. )))
  180. this.$set(this, 'curTabTow', optionData.pageType == 0 ? '0' : (optionData.pageType == 1 ? '0' : (optionData
  181. .pageType == 2 ? '2' : '')));
  182. this.$set(this, 'newData', optionData);
  183. this.$nextTick(() => {
  184. this.getList()
  185. })
  186. },
  187. onShow() {
  188. },
  189. mounted() {
  190. if(this.pageType==0){
  191. this.securityAppCheckSetOptionList(this.newData,0)
  192. }
  193. },
  194. methods: {
  195. //滚动事件
  196. scrollGet() {
  197. let self = this;
  198. if (self.total / self.queryParams.pageSize <= self.queryParams.page) {
  199. this.$set(this, 'getDataType', true);
  200. } else {
  201. this.queryParams.page += 1;
  202. this.$nextTick(() => {
  203. this.getList();
  204. })
  205. }
  206. },
  207. //顶部tab点击
  208. tabClickTow(value) {
  209. this.$set(this, 'checkFlag', null);
  210. this.$set(this.queryParams, 'page', 1);
  211. this.$set(this, 'curTabTow', value);
  212. this.$set(this, 'total', 0);
  213. this.$set(this, 'dataList', []);
  214. this.$nextTick(() => {
  215. this.getList();
  216. })
  217. },
  218. dialogOpen() {
  219. this.dialogVisible = true;
  220. },
  221. dialogClose() {
  222. this.dialogVisible = false;
  223. },
  224. //符合/不符合
  225. checkFlagChange(type) {
  226. if (this.checkFlag == type) {
  227. this.$set(this, 'checkFlag', null);
  228. } else {
  229. this.$set(this, 'checkFlag', type);
  230. }
  231. this.$set(this.queryParams, 'page', 1);
  232. this.getList()
  233. },
  234. checkItemModuleButton(type, item) {
  235. if (type == 'open') {
  236. let obj = {
  237. infoType: this.pageType,
  238. checkType: this.curTabTow,
  239. }
  240. if (this.pageType == 0) {
  241. //检查
  242. obj.manageId = this.newData.manageId
  243. } else if (this.pageType != 0) {
  244. //复查/整改
  245. obj.planId = this.newData.checkPlanSetVoList.planId;
  246. obj.planSetId = this.newData.checkPlanSetVoList.planSetId;
  247. obj.subId = this.newData.subId;
  248. }
  249. this.$set(this, 'propsData', obj);
  250. this.$set(this, 'checkItemModuleType', true);
  251. } else if (type == 'out') {
  252. this.$set(this, 'checkItemModuleType', false);
  253. this.$set(this, 'propsData', {});
  254. } else if (type == 'submit') {
  255. this.itemsClick(item);
  256. }
  257. },
  258. //检查项选中
  259. itemsClick(row) {
  260. let infoData = this.newData;
  261. infoData.pageType = this.pageType;
  262. infoData.checkDraftVo = row.checkDraftVo;
  263. infoData.itemsStatus = this.curTabTow;
  264. infoData.setOptionId = row.setOptionId;
  265. infoData.hazardCheckPro = row.hazardCheckPro;
  266. /* infoData.checkCategory = this.newData.checkCategory;
  267. infoData.checkPlanSetVoList = this.newData.checkPlanSetVoList; */
  268. if (this.pageType == 0) {
  269. //待检查
  270. uni.redirectTo({
  271. url: '/pages_safetyCheck/views/inspectManage/inspectAdd?infoData=' + encodeURIComponent(
  272. JSON
  273. .stringify(infoData))
  274. });
  275. }/*
  276. if (this.pageType == 0 && this.curTabTow == 2) {
  277. //检查中
  278. uni.redirectTo({
  279. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  280. encodeURIComponent(JSON
  281. .stringify(infoData))
  282. });
  283. }
  284. if (this.pageType == 0 && this.curTabTow == 1) {
  285. //已检查
  286. uni.redirectTo({
  287. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  288. encodeURIComponent(JSON
  289. .stringify(infoData))
  290. });
  291. } */ else if (this.pageType == 1 && this.curTabTow == 0) {
  292. //待复查
  293. uni.redirectTo({
  294. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' +
  295. encodeURIComponent(JSON
  296. .stringify(infoData))
  297. });
  298. } else if (this.pageType == 1 && this.curTabTow == 1) {
  299. //复查完毕
  300. uni.redirectTo({
  301. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  302. encodeURIComponent(JSON
  303. .stringify(infoData))
  304. });
  305. } else if (this.pageType == 1 && this.curTabTow == 2) {
  306. //退回整改
  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. uni.redirectTo({
  315. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' +
  316. encodeURIComponent(JSON
  317. .stringify(infoData))
  318. });
  319. } else if (this.pageType == 2 && this.curTabTow == 1) {
  320. //已完成
  321. uni.redirectTo({
  322. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  323. encodeURIComponent(JSON
  324. .stringify(infoData))
  325. });
  326. } else if (this.pageType == 2 && this.curTabTow == 4) {
  327. //暂无法整改
  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 = this.newData;
  337. infoData.hazardCheckPro = row.hazardCheckPro;
  338. infoData.pageType = this.pageType;
  339. infoData.itemsStatus = this.curTabTow;
  340. infoData.hiddenDangerRecordStatus = true; //判断是否跳转隐患列表
  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 securityAppCheckSetOptionList(item,checkStatus) {
  427. let self = this;
  428. let upData = item;
  429. let obj = {
  430. page: 1,
  431. pageSize: 20,
  432. checkStatus: checkStatus,
  433. manageId: upData.manageId,
  434. }
  435. this.inspectRemporaryList=[];
  436. const {
  437. data
  438. } = await securityAppCheckSetOptionList(obj);
  439. if (data.code == 200 && checkStatus==0) {//先查询待检查数据
  440. if (data.data.records[0]) {
  441. self.inspectRemporary = true;
  442. this.inspectRemporaryList = [...this.inspectRemporaryList, ...JSON.parse(JSON.stringify(data.data.records))]
  443. } else {
  444. self.securityAppCheckSetOptionList(item,2);
  445. }
  446. }else if (data.code == 200 && checkStatus==2) {//查询检查中数据
  447. if (data.data.records[0]) {
  448. self.inspectRemporary = true;
  449. this.inspectRemporaryList = [...this.inspectRemporaryList, ...JSON.parse(JSON.stringify(data.data.records))]
  450. } else {
  451. self.inspectRemporary = false;
  452. }
  453. }
  454. },
  455. //检查完成
  456. async submitBtn(status) {
  457. if (status == 1) {
  458. //开展检查
  459. let infoData = this.inspectRemporaryList[0];
  460. infoData.pageType = this.pageType;
  461. infoData.itemsStatus = this.curTabTow;
  462. infoData.checkCategory = this.newData.checkCategory;
  463. infoData.checkPlanSetVoList = this.newData.checkPlanSetVoList;
  464. infoData.subName = this.newData.subName;
  465. infoData.roomNum = this.newData.roomNum;
  466. infoData.subRoom = this.newData.subRoom;
  467. uni.redirectTo({
  468. url: '/pages_safetyCheck/views/inspectManage/conductInspections?infoData=' +
  469. encodeURIComponent(
  470. JSON
  471. .stringify(infoData))
  472. });
  473. } else if (status == 2) {
  474. //检查完成
  475. let obj = {
  476. manageId: this.newData.manageId,
  477. }
  478. const {
  479. data
  480. } = await securityAppCheckSetOptionFinishCheck(obj);
  481. if (data.code == 200) {
  482. let infoData = this.newData;
  483. uni.redirectTo({
  484. url: '/pages_safetyCheck/views/inspectManage/inspectList?infoData=' +
  485. encodeURIComponent(JSON
  486. .stringify(infoData))
  487. });
  488. }
  489. }
  490. },
  491. }
  492. }
  493. </script>
  494. <style lang="stylus" scoped>
  495. .hiddenDangerItems {
  496. height: 100%;
  497. display flex;
  498. flex-direction: column;
  499. overflow: hidden;
  500. box-sizing: border-box;
  501. #totalColor-A {
  502. color: #0183FA;
  503. background: rgba(1, 131, 250, 0.2);
  504. }
  505. #totalColor-B {
  506. color: #16B531;
  507. background: rgba(22, 181, 49, 0.2);
  508. }
  509. #totalColor-C {
  510. color: #FF8C00;
  511. background: rgba(255, 140, 0, 0.2);
  512. }
  513. .header {
  514. width: 100%;
  515. height: 268rpx;
  516. overflow: hidden;
  517. background: #fff;
  518. .lotName {
  519. height: 70rpx;
  520. line-height: 70rpx;
  521. font-size: 28rpx;
  522. background: rgba(1, 131, 250, 0.2);
  523. color: #0183FA;
  524. text-align: center;
  525. }
  526. .lotNameOne {
  527. background: #F7E0C4;
  528. color: #FF8C00;
  529. }
  530. .tabTitle_tow {
  531. width: 520rpx;
  532. height: 80rpx;
  533. display flex;
  534. justify-content: flex-start;
  535. align-items: center;
  536. .tabTitle_tow_li {
  537. flex: 1;
  538. position: relative;
  539. text-align center;
  540. .tabTitle_tow_text {
  541. display: inline-block;
  542. font-size: 30rpx;
  543. font-family: PingFang SC;
  544. font-weight: 500;
  545. color: #333333;
  546. line-height: 46rpx;
  547. position: relative;
  548. &.on {
  549. color: #0183FA;
  550. }
  551. }
  552. .tabTitle_tow_across {
  553. width: 50rpx;
  554. height: 4rpx;
  555. background: #0183FA;
  556. border-radius: 2rpx;
  557. margin-left: 38%;
  558. display none;
  559. &.on {
  560. display block;
  561. }
  562. }
  563. }
  564. }
  565. .line {
  566. width: 100%;
  567. height: 13rpx;
  568. background: #F5F5F5;
  569. }
  570. .search {
  571. width: 750rpx;
  572. height: 80rpx;
  573. background: #FFFFFF;
  574. border-radius: 0rpx 0rpx 0rpx 0rpx;
  575. display: flex;
  576. justify-content: flex-start;
  577. align-items: center;
  578. .search-l {
  579. display: flex;
  580. justify-content: flex-start;
  581. align-items: center;
  582. margin: 0 20rpx 0 30rpx;
  583. .search-A {
  584. border-radius: 50rpx 50rpx 50rpx 50rpx;
  585. border: 1rpx solid #E0E0E0;
  586. width: 100rpx;
  587. height: 60rpx;
  588. background: #E0E0E0;
  589. font-weight: normal;
  590. font-size: 24rpx;
  591. color: #333333;
  592. line-height: 60rpx;
  593. text-align: center;
  594. margin-right: 10rpx;
  595. }
  596. .search-B {
  597. border-radius: 50rpx 50rpx 50rpx 50rpx;
  598. border: 1rpx solid #0183FA;
  599. width: 100rpx;
  600. height: 60rpx;
  601. background: #0183FA;
  602. font-weight: normal;
  603. font-size: 24rpx;
  604. color: #FFFFFF;
  605. line-height: 60rpx;
  606. text-align: center;
  607. margin-right: 10rpx;
  608. }
  609. }
  610. .search-r-margin {
  611. width: 700rpx !important;
  612. margin: 0 auto;
  613. }
  614. .search-r {
  615. width: 440rpx;
  616. height: 60rpx;
  617. background: #FFFFFF;
  618. border-radius: 50rpx 50rpx 50rpx 50rpx;
  619. border: 1rpx solid #E0E0E0;
  620. font-size: 24rpx;
  621. color: #999999;
  622. line-height: 60rpx;
  623. text-align: left;
  624. display: flex;
  625. justify-content: flex-start;
  626. align-items: center;
  627. padding: 0 20rpx;
  628. box-sizing: border-box;
  629. >img {
  630. width: 30rpx;
  631. height: 30rpx;
  632. margin-right: 20rpx;
  633. }
  634. }
  635. }
  636. }
  637. .list {
  638. width: 750rpx;
  639. background: #FFFFFF;
  640. padding-bottom: 20rpx;
  641. box-sizing: border-box;
  642. .total {
  643. display: inline-block;
  644. height: 50rpx;
  645. background: rgba(1, 131, 250, 0.2);
  646. border-radius: 0rpx 0rpx 20rpx 0rpx;
  647. font-size: 24rpx;
  648. color: #0183FA;
  649. line-height: 50rpx;
  650. text-align: left;
  651. padding: 0rpx 22rpx;
  652. box-sizing: border-box;
  653. margin-bottom: 20rpx;
  654. }
  655. .total-color-1 {
  656. background: rgba(1, 131, 250, 0.2);
  657. color: #0183FA;
  658. }
  659. .total-color-2 {
  660. background: rgba(22, 181, 49, 0.2);
  661. color: #16B531;
  662. }
  663. .total-color-3 {
  664. background: #F7E0C4;
  665. color: #FF8C00;
  666. }
  667. .list-li {
  668. margin: 0 30rpx;
  669. .list-li-t {
  670. width: 690rpx;
  671. background: #F5F5F5;
  672. border-radius: 10rpx 10rpx 10rpx 10rpx;
  673. display: flex;
  674. justify-content: flex-start;
  675. padding: 12rpx 20rpx 14rpx 14rpx;
  676. box-sizing: border-box;
  677. margin: 20rpx 0;
  678. >view:nth-of-type(1) {
  679. >img {
  680. width: 24rpx;
  681. height: 24rpx;
  682. margin-right: 30rpx;
  683. }
  684. }
  685. >view:nth-of-type(2) {
  686. flex: 1;
  687. font-size: 24rpx;
  688. color: #3D3D3D;
  689. line-height: 34rpx;
  690. text-align: left;
  691. }
  692. }
  693. .list-li-b {
  694. font-size: 24rpx;
  695. color: #3D3D3D;
  696. line-height: 24rpx;
  697. text-align: right;
  698. >text {
  699. color: #FF0000;
  700. }
  701. }
  702. }
  703. }
  704. .get-data-p {
  705. height: 100rpx;
  706. text-align: center;
  707. .get-data-img {
  708. width: 30rpx;
  709. height: 30rpx;
  710. margin: 0 auto;
  711. margin-top: 15rpx;
  712. }
  713. .get-data-text {
  714. text-align: center;
  715. }
  716. }
  717. .get-data-null-p {
  718. height: 100rpx;
  719. line-height: 100rpx;
  720. text-align: center;
  721. }
  722. .sub-btn {
  723. display: flex;
  724. justify-content: center;
  725. position: fixed;
  726. left: 30rpx;
  727. bottom: 30rpx;
  728. >view:nth-of-type(1) {
  729. width: 345rpx;
  730. height: 100rpx;
  731. background: #FF8C00;
  732. border-radius: 50rpx 0rpx 0rpx 50rpx;
  733. font-size: 30rpx;
  734. color: #FFFFFF;
  735. line-height: 100rpx;
  736. text-align: center;
  737. }
  738. >view:nth-of-type(2) {
  739. width: 345rpx;
  740. height: 100rpx;
  741. background: #0183FA;
  742. border-radius: 0rpx 50rpx 50rpx 0rpx;
  743. font-size: 30rpx;
  744. color: #FFFFFF;
  745. line-height: 100rpx;
  746. text-align: center;
  747. }
  748. }
  749. }
  750. </style>