refactor: rename AutoFixHeightPage to MobileScaffold
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (typescript) (push) Has been cancelled

This commit is contained in:
Clover You
2026-02-25 19:06:22 +08:00
committed by Dawn
parent 9d3c37b22d
commit 626f099174
25 changed files with 48 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -49,7 +49,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -237,7 +237,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar :isOfficial="false" border :hidden-right="true" room-name="群成员" />
</template>
@@ -47,7 +47,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage>
<MobileScaffold>
<template #header>
<HeaderBar
ref="headerBar"
@@ -35,7 +35,7 @@
<template #footer>
<FooterBar v-if="!isBotSession" ref="footerBar"></FooterBar>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -91,7 +91,7 @@
</n-button>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar :isOfficial="false" border :hidden-right="true" room-name="公告详情" />
</template>
@@ -57,7 +57,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -65,7 +65,7 @@
</template>
</n-card>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar :isOfficial="false" border :hidden-right="true" room-name="群公告" />
</template>
@@ -50,7 +50,7 @@
</van-floating-bubble>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -135,7 +135,7 @@
</n-tabs>
</n-flex>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col overflow-auto h-full">
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -43,7 +43,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</div>
</template>

View File

@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col overflow-auto h-full">
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -43,7 +43,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</div>
</template>

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -87,7 +87,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">
import { storeToRefs } from 'pinia'

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage>
<MobileScaffold>
<template #container>
<div class="flex flex-col overflow-auto h-full relative">
<!-- 页面蒙板 -->
@@ -159,7 +159,7 @@
</n-card>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<style scoped>
.custom-rounded {

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage>
<MobileScaffold>
<template #container>
<div class="flex flex-col overflow-auto h-full relative">
<!-- 页面蒙板 -->
@@ -209,7 +209,7 @@
</teleport>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -16,7 +16,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_edit_bio.title')" />
</template>
@@ -28,7 +28,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_edit_brithday.title')" />
</template>
@@ -45,7 +45,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -206,7 +206,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar border :isOfficial="false" :hidden-right="true" :room-name="t('mobile_setting.title')" />
</template>
@@ -35,7 +35,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,6 +1,6 @@
<template>
<div>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar
:isOfficial="false"
@@ -39,7 +39,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
<!-- 图片预览组件 -->
<ImagePreview

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_mymessage.title')" />
</template>
@@ -19,7 +19,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #header>
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_post.title')" />
</template>
@@ -132,7 +132,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
<!-- 用户选择弹窗 -->
<n-drawer

View File

@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col overflow-auto h-full">
<AutoFixHeightPage :show-footer="false" class="z-1">
<MobileScaffold :show-footer="false" class="z-1">
<template #container>
<div class="z-2 flex flex-col gap-1 overflow-auto h-full">
<div class="flex flex-col flex-1 p-20px gap-20px">
@@ -59,7 +59,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</div>
</template>

View File

@@ -1,5 +1,5 @@
<template>
<AutoFixHeightPage :show-footer="false">
<MobileScaffold :show-footer="false">
<template #container>
<div class="flex flex-col overflow-auto h-full">
<!-- 设置区 -->
@@ -48,7 +48,7 @@
</div>
</div>
</template>
</AutoFixHeightPage>
</MobileScaffold>
</template>
<script setup lang="ts">
import PersonalInfo from '#/components/my/PersonalInfo.vue'