hiddenDangerItems.vue 22 KB

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