situationDetail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. <template>
  2. <view :class="[isAdmin?'detail-page isAdmin':'detail-page']">
  3. <tm-top-menu v-if="isAdmin">
  4. <button class="copy-btn" @click="editSituation('POST')">复制创建</button>
  5. </tm-top-menu>
  6. <view class="content-info">
  7. <view class="top-box">
  8. <view class="subscript">
  9. <!-- <image class="sub-pic" src="../../static/sDetail-subscript.png"></image> -->
  10. <text class="sub-text">{{topic}}</text>
  11. </view>
  12. <text class="name-text">{{name}}</text>
  13. <text class="time-text">| 情境起止时间:{{startDate}}~{{endDate}}</text>
  14. <text class="nextTime-text">| 下次查核时间:{{nextCheckTime}}</text>
  15. <text class="startEndTime-text" v-show="isStartEndTimeShow">| {{startEndTime}}</text>
  16. <text class="team-text">{{checkGroupName}}</text>
  17. </view>
  18. <view class="list-box">
  19. <!-- v-show="isCheckImproveShow" -->
  20. <view class="check-list" v-show="isChecker" @click="gotoCheckPage">
  21. <image class="check-pic" src="../../static/check-list.png"></image>
  22. <text class="list-title">查核列表</text>
  23. <text class="list-info">{{checkStatus}}</text>
  24. </view>
  25. <view class="improve-list" v-show="isCheckImproveShow" @click="gotoImprovePage">
  26. <image class="improve-pic" src="../../static/improve-list.png"></image>
  27. <text class="list-title">改善列表</text>
  28. <text class="list-info">查看改善记录</text>
  29. </view>
  30. <view class="plan-list" v-show="isCheckLeader" @click="gotoPlanPage">
  31. <image class="check-pic" src="../../static/check-list.png"></image>
  32. <text class="list-title">计划列表</text>
  33. <text class="list-info">共{{planCount}}次查核计划,剩余{{toDistribute}}个待分配</text>
  34. </view>
  35. </view>
  36. <view class="info-box">
  37. <view class="text-box">
  38. <text class="info-text">{{description}}</text>
  39. </view>
  40. </view>
  41. <view class="planListWrap" v-if="nowPermission == 1||nowPermission == 6 || nowPermission == 7 || nowPermission == 8">
  42. <view class="planList" v-for="(item,index) in zichaduchaList" @click="toCheckGroupPage(item)" :key="index">
  43. <view class="head">{{item.checkNum}}</view>
  44. <view class="blockWrap">
  45. <view class="block">
  46. <text class="sup">已查核</text>
  47. <text class="sub">{{item.checked}}</text>
  48. </view>
  49. <view class="block">
  50. <text class="sup">待改善</text>
  51. <text class="sub">{{item.preImprove}}</text>
  52. </view>
  53. <view class="block">
  54. <text class="sup">已改善</text>
  55. <text class="sub">{{item.improved}}</text>
  56. </view>
  57. <view class="block" v-if="nowPermission != 8">
  58. <text class="sup">自查</text>
  59. <text class="sub" style="color:#3377FF;" @click.stop="gotoDetail(item)">明细</text>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="button-box">
  66. <view class="btn-left btn-item" @click="delSituation" v-show="isAdmin">
  67. <text class="left-text">作废</text>
  68. </view>
  69. <view class="btn-right btn-item" @click="editSituation('PUT')" v-show="canEdit">
  70. <text class="right-text">编辑</text>
  71. </view>
  72. <view class="btn-center btn-item" v-show="ifShowUnplanedBtn" @click="startUnplanned">
  73. <text class="center-text">开始一次计划外查核</text>
  74. </view>
  75. <view class="btn-left btn-item" v-show="isUnplanned" @click="createCheck">
  76. <text class="left-text">新建一个计划外查核</text>
  77. </view>
  78. <view class="btn-right btn-item" v-show="isUnplanned" @click="startCheck">
  79. <text class="right-text">提前开始一个计划内查核</text>
  80. </view>
  81. <view class="btn-right btn-item" @click="planSetting" v-show="ifShowPlanSetBtn">
  82. <text class="right-text">计划设置</text>
  83. </view>
  84. </view>
  85. <popup ref="popup" :situationID="situationID"></popup>
  86. <tm-callback-listpage/>
  87. </view>
  88. </template>
  89. <script>
  90. import popup from './components/bottom-popup.vue';
  91. import {dateHandle} from "../../utils/dateHandle.js";
  92. import {
  93. mapState
  94. } from 'vuex';
  95. export default {
  96. data() {
  97. return {
  98. nowPermission:'',//用户当前权限
  99. situationID:'',//情境id
  100. checkGroupName:'',//查核组名
  101. checkStatus:'',//查核状态
  102. name:'',//查核名
  103. description:'',//描述
  104. startDate:'',//查核开始时间
  105. endDate:'',//查核结束时间
  106. nextCheckTime:'',//下次查核时间
  107. topic:'',//个案或系统
  108. startEndTime:'',//距离情境开始或结束时间
  109. planCount:'',//总查核计划数
  110. toDistribute:'',//待分配计划数
  111. firstCheckTime:'',//首次查核时间
  112. isCheckImproveShow:false,//查核改善列表是否显示
  113. isStartEndTimeShow:false,//距离情境开始或结束时间是否显示
  114. isAdmin:false,//是否为管理员
  115. isCheckLeader:false,//是否为查核组长或职能科室负责人
  116. isChecker:false,//是否为查核者
  117. isUnplanned:false,//是否计划外查核
  118. checkFlag:'',//计划查核标志,是新建还是提前开始
  119. checkID:'',//新建查核计划时,计划列表中的前一个计划 id
  120. checkItemList:[],//时间区间包含当前时间的item
  121. checkGroupId: 0, // 查核组id
  122. zichaduchaList:[],//自查督查明细
  123. ifShowUnplanedBtn:false,//是否展示计划外查核按钮
  124. ifShowPlanSetBtn:false,//是否展示计划设置按钮
  125. }
  126. },
  127. computed: {
  128. ...mapState({
  129. ifReloadPageData: state => state.situationDetail.ifReloadPageData,
  130. }),
  131. canEdit: function() {
  132. return this.compareTime(this.firstCheckTime) && this.isAdmin && this.allowEdit;
  133. }
  134. },
  135. watch:{
  136. ifReloadPageData(cur,prev){
  137. if(cur){
  138. this.getPlanDetailList();
  139. }
  140. }
  141. },
  142. onLoad({ situationId,systemSituationType}){ // situationId:情景id,systemSituationType 情境类型
  143. console.log({situationId});
  144. this.situationID=situationId;
  145. this.systemSituationType = systemSituationType;
  146. this.getPlanDetailList();
  147. },
  148. created: function() {
  149. this.nowPermission=uni.getStorageSync('nowPermission');
  150. this.isAdmin=this.nowPermission==1?true:false;
  151. this.isCheckLeader=this.nowPermission==2||this.nowPermission==6||this.nowPermission==4?true:false;
  152. this.isChecker=this.nowPermission==3||this.nowPermission==1||this.nowPermission==7||this.nowPermission==8?true:false;
  153. this.isStartEndTimeShow=this.nowPermission==2||this.nowPermission==3?true:false;
  154. this.isCheckImproveShow=this.nowPermission==1||this.nowPermission==4||this.nowPermission==3||this.nowPermission==6||this.nowPermission==7||this.nowPermission==8?true:false;
  155. this.ifShowUnplanedBtn = this.nowPermission==3?true:false;
  156. this.ifShowPlanSetBtn = this.nowPermission==6?true:false;
  157. this.$store.dispatch({
  158. type: 'situationDetail/commActions',
  159. payload: {
  160. key: 'situationDetail',
  161. data:{
  162. id: this.situationID,
  163. systemSituationType:this.systemSituationType,
  164. }
  165. }
  166. }).then((data) => {
  167. if (data) {
  168. this.name=data.name;
  169. this.description=data.description;
  170. this.startDate=data.startDate;
  171. this.endDate=data.endDate;
  172. this.nextCheckTime=data.nextCheckTime;
  173. this.checkGroupName=data.checkGroupName;
  174. this.topic=data.topic==0?'个案':'系统';
  175. this.checkStatus=data.checkStatus;
  176. this.startEndTime=data.startEndTime;
  177. this.planCount=data.planCount;
  178. this.toDistribute=data.toDistribute;
  179. this.situationType = data.situationType;
  180. this.firstCheckTime=data.firstCheckTime;
  181. this.checkGroupId = data.checkGroupId;
  182. this.allowEdit = data.allowEdit;
  183. this.currentNum = data.currentNum;
  184. }
  185. });
  186. },
  187. methods: {
  188. gotoDetail(data){
  189. //跳转明细列表
  190. uni.navigateTo({url:`/pages/planDetailList/planDetailList?situationId=${this.situationID}&num=${data.num}&planType=${1}&systemSituationType=${this.systemSituationType}&entry=${1}`}); //entry 入口 0 查核列表 1 自查
  191. },
  192. planSetting(){
  193. //计划设置
  194. uni.navigateTo({url: `/pages/creatingSituations/creatingSituations?actTarget=planSet&situationId=${this.situationID}&themeName=${this.name}&systemSituationType=${this.systemSituationType}`});
  195. },
  196. toCheckGroupPage(itemData){
  197. //自查督查情境跳转到查核列表
  198. uni.navigateTo({
  199. url: `/pages/checkGroup/checkGroup?situationId=${this.situationID}&num=${itemData.num}&planType=${0}&name=${itemData.checkNum}&systemSituationType=${this.systemSituationType}&entry=${0}`
  200. });
  201. },
  202. delSituation(){
  203. uni.showModal({
  204. title:'提示',
  205. content:'请确认是否作废此情境,作废的情境无法被还原',
  206. success: (res) => {
  207. if(res.confirm){
  208. this.$store.dispatch({
  209. type: 'situationDetail/commActions',
  210. payload: {
  211. key: 'situationDelete',
  212. data:{
  213. id:this.situationID,
  214. systemSituationType:this.systemSituationType
  215. }
  216. }
  217. }).then((data) => {
  218. if (data) {
  219. uni.showModal({
  220. title:'提示',
  221. content:'作废成功',
  222. showCancel: false,
  223. success: (res) => {
  224. uni.navigateTo({url: `/pages/situationsCenter/situationsCenter`});
  225. }
  226. });
  227. }
  228. });
  229. }
  230. }
  231. })
  232. },
  233. editSituation(type){
  234. let url=`/pages/creatingSituations/creatingSituations?id=${this.situationID}&type=${type}`;
  235. if(type === 'PUT') {
  236. let editEnable=this.compareTime(this.firstCheckTime);
  237. if(editEnable){
  238. uni.navigateTo({url});
  239. } else{
  240. uni.showModal({
  241. title:'提示',
  242. content:'已进行过一次查核,不可编辑',
  243. showCancel:false
  244. })
  245. }
  246. } else {
  247. uni.navigateTo({url});
  248. }
  249. },
  250. compareTime(time){
  251. if(!time)return false;
  252. let myDate=dateHandle.todayDate().replace(/-/g,"/");
  253. let firstCheckTime=time.replace(/-/g,"/");
  254. firstCheckTime=Date.parse(firstCheckTime);
  255. myDate=Date.parse(myDate);
  256. if(myDate>firstCheckTime){
  257. return false;
  258. }else{
  259. return true;
  260. }
  261. },
  262. gotoCheckPage(){
  263. if(this.systemSituationType != 2){
  264. //普通情境跳转到查核列表
  265. uni.navigateTo({
  266. url: `/pages/checkList/checkList?situationId=${this.situationID}&situationType=${this.situationType}`
  267. });
  268. }else{
  269. //自查督查情境跳转到查核列表
  270. if(this.systemSituationType == 2&&this.nowPermission!=4){
  271. //自查督查非单位负责人
  272. let planType = 0; //默认督查
  273. if(this.nowPermission == 4 || this.nowPermission == 8){
  274. planType = 1;
  275. }
  276. uni.navigateTo({
  277. url: `/pages/checkGroup/checkGroup?situationId=${this.situationID}&num=${this.currentNum?this.currentNum:0}&planType=${planType}&name=${this.checkStatus}&situationType=${this.situationType}&systemSituationType=${this.systemSituationType}&entry=${0}`
  278. });
  279. }
  280. if(this.systemSituationType == 2&&this.nowPermission==4){
  281. //自查督查单位负责人
  282. uni.navigateTo({
  283. url: `/pages/planList/planList?situationId=${this.situationID}&systemSituationType=${this.systemSituationType}`
  284. });
  285. }
  286. }
  287. },
  288. gotoImprovePage(){
  289. //跳转到改善列表
  290. uni.navigateTo({
  291. url: `/pages/improve-mission-list/improve-mission-list?situationId=${this.situationID}&systemSituationType=${this.systemSituationType}`
  292. });
  293. },
  294. gotoPlanPage(){
  295. //跳转到计划列表
  296. if(this.systemSituationType == 2 && this.firstCheckTime && this.nowPermission == 6){
  297. //当自查督查情境详情已经设置过计划时,职能科室负责人不允许再设置
  298. uni.showModal({
  299. title:'提示',
  300. content:'计划已设置,无需再次设置!',
  301. showCancel:false
  302. })
  303. return;
  304. }
  305. uni.navigateTo({
  306. url: `/pages/planList/planList?situationId=${this.situationID}&checkGroupId=${this.checkGroupId}&systemSituationType=${this.systemSituationType}`
  307. });
  308. },
  309. startUnplanned(){
  310. this.isUnplanned=true;
  311. this.isChecker=false;
  312. },
  313. startCheck(){
  314. this.$refs.popup.show();
  315. },
  316. getPlanDetailList(){
  317. if(this.systemSituationType == 2){
  318. //自查督查时才需要获取查核明细列表
  319. this.$store.dispatch({
  320. type: 'situationDetail/commActions',
  321. payload: {
  322. key: 'getPlanDetailList',
  323. data:{
  324. situationId:this.situationID
  325. }
  326. }
  327. }).then((data) => {
  328. if(data){
  329. this.zichaduchaList = data;
  330. }
  331. this.$store.commit('situationDetail/comChangeState', {
  332. key: 'ifReloadPageData',
  333. data: false
  334. });
  335. })
  336. }
  337. },
  338. createCheck(){
  339. this.$store.dispatch({
  340. type: 'situationDetail/commActions',
  341. payload: {
  342. key: 'planList',
  343. data:{
  344. situationId:this.situationID
  345. }
  346. }
  347. }).then((data) => {
  348. if (data) {
  349. data.map((item,index)=>{
  350. if(this.compareTime(item.startDate)==false||this.compareTime(item.endDate)){
  351. this.checkItemList.push(item);
  352. }
  353. else{
  354. return;
  355. }
  356. });
  357. this.$store.dispatch({
  358. type: 'situationDetail/commActions',
  359. payload: {
  360. key: 'createCheck',
  361. data:{
  362. checkId:this.checkItemList[0].id
  363. }
  364. }
  365. }).then((data) => {
  366. if(data){
  367. this.gotoCheckPage();
  368. }
  369. });
  370. }
  371. });
  372. }
  373. },
  374. components: {
  375. popup,
  376. }
  377. }
  378. </script>
  379. <style lang="less">
  380. .detail-page{
  381. position: relative;
  382. height: 100%;
  383. .copy-btn {
  384. border: 0;
  385. height: 60rpx;
  386. margin-bottom: 10rpx;
  387. &::after {
  388. border: 0;
  389. }
  390. }
  391. &.isadmin {
  392. padding-top: 50rpx;
  393. }
  394. .content-info{
  395. background-color: #FFFFFF;
  396. .top-box{
  397. width: 750rpx;
  398. height: 300rpx;
  399. background: linear-gradient(270deg, #3071F2 0%, #4C95FC 100%);
  400. .subscript{
  401. width: 84.37rpx;
  402. height: 35rpx;
  403. float: right;
  404. margin-top: 15rpx;
  405. text-align: center;
  406. background-image: url(../../static/sDetail-subscript.png);
  407. .sub-text{
  408. font-size: 17.5rpx;
  409. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  410. font-weight: 500;
  411. color: #2E6CE6;
  412. line-height: 35rpx;
  413. }
  414. }
  415. .name-text{
  416. font-size: 40rpx;
  417. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  418. font-weight: 400;
  419. color: #FFFFFF;
  420. float: left;
  421. margin-left: 50rpx;
  422. margin-top: 50rpx;
  423. margin-bottom: 31.25rpx;
  424. }
  425. .time-text{
  426. overflow: hidden;
  427. position: absolute;
  428. top: 165rpx;
  429. left: 55rpx;
  430. width: 70%;
  431. white-space: nowrap;
  432. font-size: 20rpx;
  433. font-weight: 400;
  434. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  435. text-overflow: ellipsis;
  436. color: #FFFFFF;
  437. }
  438. .nextTime-text{
  439. font-size: 20rpx;
  440. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  441. font-weight: 400;
  442. color: #FFFFFF;
  443. position: absolute;
  444. left: 55rpx;
  445. top: 205rpx;
  446. }
  447. .startEndTime-text{
  448. font-size: 20rpx;
  449. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  450. font-weight: 400;
  451. color: #FFFFFF;
  452. position: absolute;
  453. left: 55rpx;
  454. top: 240rpx;
  455. }
  456. .team-text{
  457. font-size: 20rpx;
  458. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  459. font-weight: 400;
  460. color: #FFFFFF;
  461. position: absolute;
  462. top: 165rpx;
  463. right: 50rpx;
  464. }
  465. }
  466. .list-box{
  467. width: 687.5rpx;
  468. height: 137.5rpx;
  469. background: #FFFFFF;
  470. box-shadow: 0px 10px 30px 0px rgba(0, 13, 51, 0.1);
  471. border-radius: 16px;
  472. position: absolute;
  473. left: 31.25rpx;
  474. top: 280rpx;
  475. .check-list{
  476. width: 225rpx;
  477. height: 97.5rpx;
  478. float: left;
  479. margin-top: 40rpx;
  480. margin-left: 81.25rpx;
  481. .check-pic{
  482. width: 38.75rpx;
  483. height: 41.87rpx;
  484. margin-top: 8.12rpx;
  485. }
  486. .list-title{
  487. font-size: 25rpx;
  488. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  489. font-weight: 400;
  490. color: #292C33;
  491. position: absolute;
  492. left: 145rpx;
  493. top: 40rpx;
  494. }
  495. .list-info{
  496. width: 225rpx;
  497. overflow: hidden;
  498. white-space: nowrap;
  499. text-overflow: ellipsis;
  500. font-size: 17.5rpx;
  501. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  502. font-weight: 400;
  503. color: #666F80;
  504. position: absolute;
  505. left: 145rpx;
  506. top: 80rpx;
  507. }
  508. }
  509. .improve-list{
  510. width: 225rpx;
  511. height:97.5rpx;
  512. float: right;
  513. margin-top: 40rpx;
  514. margin-right: 81.25rpx;
  515. .improve-pic{
  516. width: 40rpx;
  517. height: 40rpx;
  518. margin-top: 8.12rpx;
  519. }
  520. .list-title{
  521. font-size: 25rpx;
  522. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  523. font-weight: 400;
  524. color: #292C33;
  525. position: absolute;
  526. top: 40rpx;
  527. left: 458.75rpx;
  528. }
  529. .list-info{
  530. width: 225rpx;
  531. overflow: hidden;
  532. white-space: nowrap;
  533. text-overflow: ellipsis;
  534. font-size: 17.5rpx;
  535. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  536. font-weight: 400;
  537. color: #666F80;
  538. position: absolute;
  539. top: 80rpx;
  540. left: 458.75rpx;
  541. }
  542. }
  543. .plan-list{
  544. width: 225rpx;
  545. height: 97.5rpx;
  546. float: left;
  547. margin-top: 40rpx;
  548. margin-left: 81.25rpx;
  549. .check-pic{
  550. width: 38.75rpx;
  551. height: 41.87rpx;
  552. margin-top: 8.12rpx;
  553. }
  554. .list-title{
  555. font-size: 25rpx;
  556. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  557. font-weight: 400;
  558. color: #292C33;
  559. position: absolute;
  560. left: 145rpx;
  561. top: 40rpx;
  562. }
  563. .list-info{
  564. width: 225rpx;
  565. overflow: hidden;
  566. white-space: nowrap;
  567. text-overflow: ellipsis;
  568. font-size: 17.5rpx;
  569. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  570. font-weight: 400;
  571. color: #666F80;
  572. position: absolute;
  573. left: 145rpx;
  574. top: 80rpx;
  575. }
  576. }
  577. }
  578. .info-box{
  579. overflow: hidden;
  580. padding-top: 20rpx;
  581. padding-bottom: 20rpx;
  582. .text-box{
  583. width: 687.5rpx;
  584. margin-top: 116.87rpx;
  585. margin-left: 31.25rpx;
  586. .info-text{
  587. font-size: 22.5rpx;
  588. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  589. font-weight: 400;
  590. color: #292C33;
  591. }
  592. }
  593. }
  594. .planListWrap {
  595. padding: 0 25rpx;
  596. padding-bottom: 31.25rpx;
  597. .planList {
  598. display: flex;
  599. flex-direction: row;
  600. width:100%;
  601. height:100rpx;
  602. padding: 10rpx;
  603. margin-bottom: 15rpx;
  604. background: #F5F6FA;
  605. border-radius: 10rpx;
  606. .head {
  607. display: flex;
  608. justify-content: center;
  609. align-items: center;
  610. width: 145rpx;
  611. height: 80rpx;
  612. font-size: 25rpx;
  613. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  614. font-weight: 500;
  615. color: #FFFFFF;
  616. border-bottom-right-radius:20rpx;
  617. background-color: #66B2FE;
  618. }
  619. .blockWrap {
  620. display: flex;
  621. width: 100%;
  622. flex-direction: row;
  623. justify-content: space-around;
  624. .block {
  625. display: flex;
  626. flex-direction: column;
  627. justify-content: center;
  628. align-items: center;
  629. .sup {
  630. font-size: 17.5rpx;
  631. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  632. font-weight: 400;
  633. color: #666F80;
  634. padding-bottom: 15rpx;
  635. }
  636. .sub {
  637. font-size: 25rpx;
  638. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  639. font-weight: 500;
  640. color: #292C33;
  641. }
  642. }
  643. }
  644. }
  645. }
  646. }
  647. .button-box{
  648. display: flex;
  649. flex-direction: row;
  650. width: 750rpx;
  651. height: 75rpx;
  652. position: fixed;
  653. bottom: 0;
  654. .btn-item {
  655. flex: 1;
  656. }
  657. .btn-center{
  658. background: #3377FF;
  659. text-align: center;
  660. .center-text{
  661. font-size: 22.5rpx;
  662. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  663. font-weight: 400;
  664. color: #FFFFFF;
  665. line-height: 75rpx;
  666. }
  667. }
  668. .btn-left{
  669. // width: 375rpx;
  670. // height: 75rpx;
  671. background: #FFFFFF;
  672. // float: left;
  673. text-align: center;
  674. border: 0.62rpx solid #DADEE6;
  675. .left-text{
  676. font-size: 22.5rpx;
  677. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  678. font-weight: 400;
  679. color: #3377FF;
  680. line-height: 75rpx;
  681. }
  682. }
  683. .btn-right{
  684. // width: 375rpx;
  685. // height: 75rpx;
  686. background: #3377FF;
  687. // float: right;
  688. text-align: center;
  689. .right-text{
  690. font-size: 22.5rpx;
  691. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  692. font-weight: 400;
  693. color: #FFFFFF;
  694. line-height: 75rpx;
  695. }
  696. }
  697. }
  698. }
  699. </style>