hiddenDangerItems.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802
  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. .checkStartTime +
  147. '(逾期未完成整改关闭实验室)' : '整改期限' + optionData.checkPlanSetVoList.checkStartTime));
  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.itemsStatus = this.curTabTow;
  263. infoData.setOptionId = row.setOptionId;
  264. infoData.hazardCheckPro = row.hazardCheckPro;
  265. /* infoData.checkCategory = this.newData.checkCategory;
  266. infoData.checkPlanSetVoList = this.newData.checkPlanSetVoList; */
  267. if (this.pageType == 0) {
  268. //待检查
  269. uni.redirectTo({
  270. url: '/pages_safetyCheck/views/inspectManage/inspectAdd?infoData=' + encodeURIComponent(
  271. JSON
  272. .stringify(infoData))
  273. });
  274. }/*
  275. if (this.pageType == 0 && this.curTabTow == 2) {
  276. //检查中
  277. uni.redirectTo({
  278. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  279. encodeURIComponent(JSON
  280. .stringify(infoData))
  281. });
  282. }
  283. if (this.pageType == 0 && this.curTabTow == 1) {
  284. //已检查
  285. uni.redirectTo({
  286. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  287. encodeURIComponent(JSON
  288. .stringify(infoData))
  289. });
  290. } */ else if (this.pageType == 1 && this.curTabTow == 0) {
  291. //待复查
  292. uni.redirectTo({
  293. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' +
  294. encodeURIComponent(JSON
  295. .stringify(infoData))
  296. });
  297. } else if (this.pageType == 1 && this.curTabTow == 1) {
  298. //复查完毕
  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. uni.redirectTo({
  307. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  308. encodeURIComponent(JSON
  309. .stringify(infoData))
  310. });
  311. } else if (this.pageType == 2 && this.curTabTow == 2) {
  312. //待整改
  313. uni.redirectTo({
  314. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' +
  315. encodeURIComponent(JSON
  316. .stringify(infoData))
  317. });
  318. } else if (this.pageType == 2 && this.curTabTow == 1) {
  319. //已完成
  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. uni.redirectTo({
  328. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  329. encodeURIComponent(JSON
  330. .stringify(infoData))
  331. });
  332. }
  333. },
  334. hiddenDangerClick(row) {
  335. let infoData = this.newData;
  336. infoData.hazardCheckPro = row.hazardCheckPro;
  337. infoData.pageType = this.pageType;
  338. infoData.itemsStatus = this.curTabTow;
  339. infoData.hiddenDangerRecordStatus = true; //判断是否跳转隐患列表
  340. uni.redirectTo({
  341. url: '/pages_safetyCheck/views/inspectManage/hiddenDangerRecord?infoData=' +
  342. encodeURIComponent(JSON.stringify(infoData))
  343. });
  344. },
  345. //
  346. async getList() {
  347. let self = this;
  348. let obj = JSON.parse(JSON.stringify(this.queryParams))
  349. if (this.pageType == 0) {
  350. //检查任务
  351. obj.manageId = this.newData.manageId;
  352. obj.checkStatus = this.curTabTow;
  353. obj.checkFlag = this.checkFlag;
  354. const {
  355. data
  356. } = await securityAppCheckSetOptionList(obj);
  357. if (data.code == 200) {
  358. if (self.queryParams.page == 1) {
  359. this.dataList = data.data.records;
  360. this.total = data.data.total;
  361. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  362. this.$set(this, 'getDataType', true);
  363. }
  364. } else {
  365. this.dataList = [...this.dataList, ...data.data.records]
  366. this.total = data.data.total;
  367. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  368. this.$set(this, 'getDataType', true);
  369. }
  370. }
  371. }
  372. } else if (this.pageType == 1) {
  373. //复查验证
  374. obj.planId = this.newData.checkPlanSetVoList.planId;
  375. obj.planSetId = this.newData.checkPlanSetVoList.planSetId;
  376. obj.subId = this.newData.subId;
  377. obj.appReviewStatus = this.curTabTow;
  378. obj.pageFlag = true;
  379. const {
  380. data
  381. } = await securityAppCheckDangerReviewList(obj);
  382. if (data.code == 200) {
  383. if (self.queryParams.page == 1) {
  384. this.dataList = data.data.records;
  385. this.total = data.data.total;
  386. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  387. this.$set(this, 'getDataType', true);
  388. }
  389. } else {
  390. this.dataList = [...this.dataList, ...data.data.records]
  391. this.total = data.data.total;
  392. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  393. this.$set(this, 'getDataType', true);
  394. }
  395. }
  396. }
  397. } else if (this.pageType == 2) {
  398. //隐患整改
  399. obj.planId = this.newData.checkPlanSetVoList.planId;
  400. obj.planSetId = this.newData.checkPlanSetVoList.planSetId;
  401. obj.subId = this.newData.subId;
  402. obj.rectifyStatus = this.curTabTow;
  403. obj.pageFlag = true;
  404. const {
  405. data
  406. } = await securityAppCheckDangerGetCheckDangerSubId(obj);
  407. if (data.code == 200) {
  408. if (self.queryParams.page == 1) {
  409. this.dataList = data.data.records;
  410. this.total = data.data.total;
  411. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  412. this.$set(this, 'getDataType', true);
  413. }
  414. } else {
  415. this.dataList = [...this.dataList, ...data.data.records]
  416. this.total = data.data.total;
  417. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  418. this.$set(this, 'getDataType', true);
  419. }
  420. }
  421. }
  422. }
  423. },
  424. //查询检查项
  425. async securityAppCheckSetOptionList(item,checkStatus) {
  426. let self = this;
  427. let upData = item;
  428. let obj = {
  429. page: 1,
  430. pageSize: 20,
  431. checkStatus: checkStatus,
  432. manageId: upData.manageId,
  433. }
  434. this.inspectRemporaryList=[];
  435. const {
  436. data
  437. } = await securityAppCheckSetOptionList(obj);
  438. if (data.code == 200 && checkStatus==0) {//先查询待检查数据
  439. if (data.data.records[0]) {
  440. self.inspectRemporary = true;
  441. this.inspectRemporaryList = [...this.inspectRemporaryList, ...JSON.parse(JSON.stringify(data.data.records))]
  442. } else {
  443. self.securityAppCheckSetOptionList(item,2);
  444. }
  445. }else if (data.code == 200 && checkStatus==2) {//查询检查中数据
  446. if (data.data.records[0]) {
  447. self.inspectRemporary = true;
  448. this.inspectRemporaryList = [...this.inspectRemporaryList, ...JSON.parse(JSON.stringify(data.data.records))]
  449. } else {
  450. self.inspectRemporary = false;
  451. }
  452. }
  453. },
  454. //检查完成
  455. async submitBtn(status) {
  456. if (status == 1) {
  457. //开展检查
  458. let infoData = this.inspectRemporaryList[0];
  459. infoData.pageType = this.pageType;
  460. infoData.itemsStatus = this.curTabTow;
  461. infoData.checkCategory = this.newData.checkCategory;
  462. infoData.checkPlanSetVoList = this.newData.checkPlanSetVoList;
  463. infoData.subName = this.newData.subName;
  464. infoData.roomNum = this.newData.roomNum;
  465. infoData.subRoom = this.newData.subRoom;
  466. uni.redirectTo({
  467. url: '/pages_safetyCheck/views/inspectManage/conductInspections?infoData=' +
  468. encodeURIComponent(
  469. JSON
  470. .stringify(infoData))
  471. });
  472. } else if (status == 2) {
  473. //检查完成
  474. let obj = {
  475. manageId: this.newData.manageId,
  476. }
  477. const {
  478. data
  479. } = await securityAppCheckSetOptionFinishCheck(obj);
  480. if (data.code == 200) {
  481. let infoData = this.newData;
  482. uni.redirectTo({
  483. url: '/pages_safetyCheck/views/inspectManage/inspectList?infoData=' +
  484. encodeURIComponent(JSON
  485. .stringify(infoData))
  486. });
  487. }
  488. }
  489. },
  490. }
  491. }
  492. </script>
  493. <style lang="stylus" scoped>
  494. .hiddenDangerItems {
  495. height: 100%;
  496. display flex;
  497. flex-direction: column;
  498. overflow: hidden;
  499. box-sizing: border-box;
  500. #totalColor-A {
  501. color: #0183FA;
  502. background: rgba(1, 131, 250, 0.2);
  503. }
  504. #totalColor-B {
  505. color: #16B531;
  506. background: rgba(22, 181, 49, 0.2);
  507. }
  508. #totalColor-C {
  509. color: #FF8C00;
  510. background: rgba(255, 140, 0, 0.2);
  511. }
  512. .header {
  513. width: 100%;
  514. height: 268rpx;
  515. overflow: hidden;
  516. background: #fff;
  517. .lotName {
  518. height: 70rpx;
  519. line-height: 70rpx;
  520. font-size: 28rpx;
  521. background: rgba(1, 131, 250, 0.2);
  522. color: #0183FA;
  523. text-align: center;
  524. }
  525. .lotNameOne {
  526. background: #F7E0C4;
  527. color: #FF8C00;
  528. }
  529. .tabTitle_tow {
  530. width: 520rpx;
  531. height: 80rpx;
  532. display flex;
  533. justify-content: flex-start;
  534. align-items: center;
  535. .tabTitle_tow_li {
  536. flex: 1;
  537. position: relative;
  538. text-align center;
  539. .tabTitle_tow_text {
  540. display: inline-block;
  541. font-size: 30rpx;
  542. font-family: PingFang SC;
  543. font-weight: 500;
  544. color: #333333;
  545. line-height: 46rpx;
  546. position: relative;
  547. &.on {
  548. color: #0183FA;
  549. }
  550. }
  551. .tabTitle_tow_across {
  552. width: 50rpx;
  553. height: 4rpx;
  554. background: #0183FA;
  555. border-radius: 2rpx;
  556. margin-left: 38%;
  557. display none;
  558. &.on {
  559. display block;
  560. }
  561. }
  562. }
  563. }
  564. .line {
  565. width: 100%;
  566. height: 13rpx;
  567. background: #F5F5F5;
  568. }
  569. .search {
  570. width: 750rpx;
  571. height: 80rpx;
  572. background: #FFFFFF;
  573. border-radius: 0rpx 0rpx 0rpx 0rpx;
  574. display: flex;
  575. justify-content: flex-start;
  576. align-items: center;
  577. .search-l {
  578. display: flex;
  579. justify-content: flex-start;
  580. align-items: center;
  581. margin: 0 20rpx 0 30rpx;
  582. .search-A {
  583. border-radius: 50rpx 50rpx 50rpx 50rpx;
  584. border: 1rpx solid #E0E0E0;
  585. width: 100rpx;
  586. height: 60rpx;
  587. background: #E0E0E0;
  588. font-weight: normal;
  589. font-size: 24rpx;
  590. color: #333333;
  591. line-height: 60rpx;
  592. text-align: center;
  593. margin-right: 10rpx;
  594. }
  595. .search-B {
  596. border-radius: 50rpx 50rpx 50rpx 50rpx;
  597. border: 1rpx solid #0183FA;
  598. width: 100rpx;
  599. height: 60rpx;
  600. background: #0183FA;
  601. font-weight: normal;
  602. font-size: 24rpx;
  603. color: #FFFFFF;
  604. line-height: 60rpx;
  605. text-align: center;
  606. margin-right: 10rpx;
  607. }
  608. }
  609. .search-r-margin {
  610. width: 700rpx !important;
  611. margin: 0 auto;
  612. }
  613. .search-r {
  614. width: 440rpx;
  615. height: 60rpx;
  616. background: #FFFFFF;
  617. border-radius: 50rpx 50rpx 50rpx 50rpx;
  618. border: 1rpx solid #E0E0E0;
  619. font-size: 24rpx;
  620. color: #999999;
  621. line-height: 60rpx;
  622. text-align: left;
  623. display: flex;
  624. justify-content: flex-start;
  625. align-items: center;
  626. padding: 0 20rpx;
  627. box-sizing: border-box;
  628. >img {
  629. width: 30rpx;
  630. height: 30rpx;
  631. margin-right: 20rpx;
  632. }
  633. }
  634. }
  635. }
  636. .list {
  637. width: 750rpx;
  638. background: #FFFFFF;
  639. padding-bottom: 20rpx;
  640. box-sizing: border-box;
  641. .total {
  642. display: inline-block;
  643. height: 50rpx;
  644. background: rgba(1, 131, 250, 0.2);
  645. border-radius: 0rpx 0rpx 20rpx 0rpx;
  646. font-size: 24rpx;
  647. color: #0183FA;
  648. line-height: 50rpx;
  649. text-align: left;
  650. padding: 0rpx 22rpx;
  651. box-sizing: border-box;
  652. margin-bottom: 20rpx;
  653. }
  654. .total-color-1 {
  655. background: rgba(1, 131, 250, 0.2);
  656. color: #0183FA;
  657. }
  658. .total-color-2 {
  659. background: rgba(22, 181, 49, 0.2);
  660. color: #16B531;
  661. }
  662. .total-color-3 {
  663. background: #F7E0C4;
  664. color: #FF8C00;
  665. }
  666. .list-li {
  667. margin: 0 30rpx;
  668. .list-li-t {
  669. width: 690rpx;
  670. background: #F5F5F5;
  671. border-radius: 10rpx 10rpx 10rpx 10rpx;
  672. display: flex;
  673. justify-content: flex-start;
  674. padding: 12rpx 20rpx 14rpx 14rpx;
  675. box-sizing: border-box;
  676. margin: 20rpx 0;
  677. >view:nth-of-type(1) {
  678. >img {
  679. width: 24rpx;
  680. height: 24rpx;
  681. margin-right: 30rpx;
  682. }
  683. }
  684. >view:nth-of-type(2) {
  685. flex: 1;
  686. font-size: 24rpx;
  687. color: #3D3D3D;
  688. line-height: 34rpx;
  689. text-align: left;
  690. }
  691. }
  692. .list-li-b {
  693. font-size: 24rpx;
  694. color: #3D3D3D;
  695. line-height: 24rpx;
  696. text-align: right;
  697. >text {
  698. color: #FF0000;
  699. }
  700. }
  701. }
  702. }
  703. .get-data-p {
  704. height: 100rpx;
  705. text-align: center;
  706. .get-data-img {
  707. width: 30rpx;
  708. height: 30rpx;
  709. margin: 0 auto;
  710. margin-top: 15rpx;
  711. }
  712. .get-data-text {
  713. text-align: center;
  714. }
  715. }
  716. .get-data-null-p {
  717. height: 100rpx;
  718. line-height: 100rpx;
  719. text-align: center;
  720. }
  721. .sub-btn {
  722. display: flex;
  723. justify-content: center;
  724. position: fixed;
  725. left: 30rpx;
  726. bottom: 30rpx;
  727. >view:nth-of-type(1) {
  728. width: 345rpx;
  729. height: 100rpx;
  730. background: #FF8C00;
  731. border-radius: 50rpx 0rpx 0rpx 50rpx;
  732. font-size: 30rpx;
  733. color: #FFFFFF;
  734. line-height: 100rpx;
  735. text-align: center;
  736. }
  737. >view:nth-of-type(2) {
  738. width: 345rpx;
  739. height: 100rpx;
  740. background: #0183FA;
  741. border-radius: 0rpx 50rpx 50rpx 0rpx;
  742. font-size: 30rpx;
  743. color: #FFFFFF;
  744. line-height: 100rpx;
  745. text-align: center;
  746. }
  747. }
  748. }
  749. </style>