hiddenDangerItems.vue 21 KB

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