diff --git a/src/components/fields/phone/pc.vue b/src/components/fields/phone/pc.vue index 475d03f..466c5c8 100644 --- a/src/components/fields/phone/pc.vue +++ b/src/components/fields/phone/pc.vue @@ -24,6 +24,7 @@ function onInput(val: string) { \ No newline at end of file diff --git a/src/components/fields/text/pc.vue b/src/components/fields/text/pc.vue index 1b340f2..e760da7 100644 --- a/src/components/fields/text/pc.vue +++ b/src/components/fields/text/pc.vue @@ -24,6 +24,8 @@ function onInput(val: string) { \ No newline at end of file diff --git a/src/components/fields/textarea/pc.vue b/src/components/fields/textarea/pc.vue index a1d6353..7d61131 100644 --- a/src/components/fields/textarea/pc.vue +++ b/src/components/fields/textarea/pc.vue @@ -24,6 +24,7 @@ function onInput(val: string) { \ No newline at end of file diff --git a/src/views/Fill.vue b/src/views/Fill.vue index 2694c4a..fe21cb4 100644 --- a/src/views/Fill.vue +++ b/src/views/Fill.vue @@ -399,17 +399,14 @@ const readonlyReason = computed(() => { padding: 16px; } -.page-wrapper.yh-fill { - min-height: 100vh; - background: #f5f7f9; -} - +/* 壳内渲染吃平台的卡片模型(base.layout.css:.yh-fill=纵向 flex、.main-container=卡片 + 自带底色/边框/16px 外距),这里只做定宽居中。P88 窄卡根因:flex 子项水平 margin:auto + 会放弃 stretch、收缩到内容宽(~300px),所以用 width:100% + align-self:center 定宽, + 外距与底色留给平台,嵌入态(fill-plain)不受影响。 */ .main-container { + width: 100%; max-width: 800px; - margin: 0 auto; - padding: 24px; - background: white; - border-radius: 4px; + align-self: center; } .loading-state,