浏览代码

购物中页面文本居中显示

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;
 }
 
 /* ========== 状态图标 ========== */