Przeglądaj źródła

购物中页面文本居中显示

skyline 1 miesiąc temu
rodzic
commit
d3cb91d430
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      haha-mp/src/pages/shopping/shopping.vue

+ 2 - 0
haha-mp/src/pages/shopping/shopping.vue

@@ -310,6 +310,7 @@ const goHome = () => {
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   padding: $spacing-xl;
   padding: $spacing-xl;
+  box-sizing: border-box;
 }
 }
 
 
 .status-section {
 .status-section {
@@ -320,6 +321,7 @@ const goHome = () => {
   text-align: center;
   text-align: center;
   width: 100%;
   width: 100%;
   max-width: 600rpx;
   max-width: 600rpx;
+  flex: 1;
 }
 }
 
 
 /* ========== 状态图标 ========== */
 /* ========== 状态图标 ========== */