lex-wxl 8 часов назад
Родитель
Сommit
15735a683c
1 измененных файлов с 5 добавлено и 4 удалено
  1. 5 4
      src/components/VipPurchaseModal/index.module.less

+ 5 - 4
src/components/VipPurchaseModal/index.module.less

@@ -31,16 +31,17 @@
     margin-bottom: 32px;
     justify-content: center;
 
-    // 当最后一行不满时,让元素靠右对齐
+    // 让最后一行居中显示
+    &::before,
     &::after {
       content: '';
-      flex: auto;
-      min-width: 280px;
+      width: 260px;
+      order: 1;
     }
   }
 
   .packageItem {
-    min-width: 280px;
+    min-width: 260px;
     padding: 40px 32px;
     background: linear-gradient(180deg, #f8f9fc 0%, #f0f2f5 100%);
     border-radius: 20px;