Browse Source

修改bug

cr 4 years ago
parent
commit
4fa41c300d
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/pages/order/index.vue

+ 5 - 2
src/pages/order/index.vue

@@ -537,21 +537,24 @@ page {
537 537
 
538 538
 .tab {
539 539
     display: flex;
540
-    justify-content: space-around;
540
+    // justify-content: space-around;
541 541
     align-items: center;
542 542
     width: 100%;
543 543
     height: px(145);
544 544
     background-color: #fff;
545 545
     overflow: auto;
546
+    padding: 0 px(20);
546 547
     &__item {
547 548
         position: relative;
548 549
         display: flex;
549 550
         justify-content: center;
550 551
         align-items: center;
551
-        flex: 1;
552
+        // flex: 1;
552 553
         height: 100%;
553 554
         flex-shrink: 0;
554 555
         white-space: nowrap;
556
+        padding: 0 px(25);
557
+        flex-shrink: 0;
555 558
         &--active:before {
556 559
             content: "";
557 560
             position: absolute;