hiddenDangerItems.vue 18 KB

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