hiddenDangerItems.vue 21 KB

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