소스 검색

购物中页面文本居中显示

skyline 1 개월 전
부모
커밋
d3cb91d430
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;
   justify-content: center;
   padding: $spacing-xl;
+  box-sizing: border-box;
 }
 
 .status-section {
@@ -320,6 +321,7 @@ const goHome = () => {
   text-align: center;
   width: 100%;
   max-width: 600rpx;
+  flex: 1;
 }
 
 /* ========== 状态图标 ========== */