@@ -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: 260px;
padding: 40px 32px;
background: linear-gradient(180deg, #f8f9fc 0%, #f0f2f5 100%);
border-radius: 20px;