hiddenDangerItems.vue 21 KB

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