2025-05-23 21:20:38 +08:00
|
|
|
<script setup>
|
|
|
|
|
import AppBackground from "@/components/AppBackground.vue";
|
|
|
|
|
import Header from "@/components/Header.vue";
|
|
|
|
|
defineProps({
|
|
|
|
|
title: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: "",
|
|
|
|
|
},
|
|
|
|
|
bgType: {
|
2025-05-27 12:38:39 +08:00
|
|
|
type: Number,
|
2025-05-23 21:20:38 +08:00
|
|
|
default: 0,
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<view>
|
2025-06-05 17:43:22 +08:00
|
|
|
<AppBackground :type="bgType" />
|
2025-05-23 21:20:38 +08:00
|
|
|
<Header :title="title" />
|
|
|
|
|
<view class="content">
|
|
|
|
|
<slot></slot>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
.content {
|
|
|
|
|
width: 100%;
|
2025-06-05 22:21:40 +08:00
|
|
|
height: calc(100vh - 116px);
|
2025-05-23 21:20:38 +08:00
|
|
|
overflow: auto;
|
2025-06-02 14:42:07 +08:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2025-06-05 22:21:40 +08:00
|
|
|
padding-bottom: 10px;
|
2025-05-23 21:20:38 +08:00
|
|
|
}
|
|
|
|
|
</style>
|