refactor: rename AutoFixHeightPage to MobileScaffold
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -237,7 +237,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar :isOfficial="false" border :hidden-right="true" room-name="群成员" />
|
<HeaderBar :isOfficial="false" border :hidden-right="true" room-name="群成员" />
|
||||||
</template>
|
</template>
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage>
|
<MobileScaffold>
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
ref="headerBar"
|
ref="headerBar"
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
<template #footer>
|
<template #footer>
|
||||||
<FooterBar v-if="!isBotSession" ref="footerBar"></FooterBar>
|
<FooterBar v-if="!isBotSession" ref="footerBar"></FooterBar>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
</n-button>
|
</n-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar :isOfficial="false" border :hidden-right="true" room-name="公告详情" />
|
<HeaderBar :isOfficial="false" border :hidden-right="true" room-name="公告详情" />
|
||||||
</template>
|
</template>
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</n-card>
|
</n-card>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar :isOfficial="false" border :hidden-right="true" room-name="群公告" />
|
<HeaderBar :isOfficial="false" border :hidden-right="true" room-name="群公告" />
|
||||||
</template>
|
</template>
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
</van-floating-bubble>
|
</van-floating-bubble>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
</n-tabs>
|
</n-tabs>
|
||||||
</n-flex>
|
</n-flex>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col overflow-auto h-full">
|
<div class="flex flex-col overflow-auto h-full">
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col overflow-auto h-full">
|
<div class="flex flex-col overflow-auto h-full">
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { storeToRefs } from 'pinia'
|
import { storeToRefs } from 'pinia'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage>
|
<MobileScaffold>
|
||||||
<template #container>
|
<template #container>
|
||||||
<div class="flex flex-col overflow-auto h-full relative">
|
<div class="flex flex-col overflow-auto h-full relative">
|
||||||
<!-- 页面蒙板 -->
|
<!-- 页面蒙板 -->
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
</n-card>
|
</n-card>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.custom-rounded {
|
.custom-rounded {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage>
|
<MobileScaffold>
|
||||||
<template #container>
|
<template #container>
|
||||||
<div class="flex flex-col overflow-auto h-full relative">
|
<div class="flex flex-col overflow-auto h-full relative">
|
||||||
<!-- 页面蒙板 -->
|
<!-- 页面蒙板 -->
|
||||||
@@ -209,7 +209,7 @@
|
|||||||
</teleport>
|
</teleport>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_edit_bio.title')" />
|
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_edit_bio.title')" />
|
||||||
</template>
|
</template>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_edit_brithday.title')" />
|
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_edit_brithday.title')" />
|
||||||
</template>
|
</template>
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -206,7 +206,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar border :isOfficial="false" :hidden-right="true" :room-name="t('mobile_setting.title')" />
|
<HeaderBar border :isOfficial="false" :hidden-right="true" :room-name="t('mobile_setting.title')" />
|
||||||
</template>
|
</template>
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar
|
<HeaderBar
|
||||||
:isOfficial="false"
|
:isOfficial="false"
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
|
|
||||||
<!-- 图片预览组件 -->
|
<!-- 图片预览组件 -->
|
||||||
<ImagePreview
|
<ImagePreview
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_mymessage.title')" />
|
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_mymessage.title')" />
|
||||||
</template>
|
</template>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #header>
|
<template #header>
|
||||||
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_post.title')" />
|
<HeaderBar :isOfficial="false" border :hidden-right="true" :room-name="t('mobile_post.title')" />
|
||||||
</template>
|
</template>
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
|
|
||||||
<!-- 用户选择弹窗 -->
|
<!-- 用户选择弹窗 -->
|
||||||
<n-drawer
|
<n-drawer
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col overflow-auto h-full">
|
<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>
|
<template #container>
|
||||||
<div class="z-2 flex flex-col gap-1 overflow-auto h-full">
|
<div class="z-2 flex flex-col gap-1 overflow-auto h-full">
|
||||||
<div class="flex flex-col flex-1 p-20px gap-20px">
|
<div class="flex flex-col flex-1 p-20px gap-20px">
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<AutoFixHeightPage :show-footer="false">
|
<MobileScaffold :show-footer="false">
|
||||||
<template #container>
|
<template #container>
|
||||||
<div class="flex flex-col overflow-auto h-full">
|
<div class="flex flex-col overflow-auto h-full">
|
||||||
<!-- 设置区 -->
|
<!-- 设置区 -->
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</AutoFixHeightPage>
|
</MobileScaffold>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import PersonalInfo from '#/components/my/PersonalInfo.vue'
|
import PersonalInfo from '#/components/my/PersonalInfo.vue'
|
||||||
|
|||||||
Reference in New Issue
Block a user