hiddenDangerItems.vue 21 KB

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