situationDetail.vue 20 KB

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