refactor: rename AutoFixHeightPage to MobileScaffold
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user