| | |
| | | <script setup lang="ts"> |
| | | import { ref } from "vue"; |
| | | import { RouterView } from "vue-router"; |
| | | import ScaleScreen from "@/components/scale-screen"; |
| | | import Headers from "./header.vue"; |
| | | import Setting from "./setting.vue"; |
| | | import { useSettingStore } from "@/stores/index"; |
| | | import { storeToRefs } from "pinia"; |
| | | import MessageContent from "@/components/Plugins/MessageContent"; |
| | | |
| | | const settingStore = useSettingStore(); |
| | | const { isScale } = storeToRefs(settingStore); |
| | | const wrapperStyle = {}; |
| | | </script> |
| | | |
| | |
| | | height="1080" |
| | | :delay="500" |
| | | :fullScreen="false" |
| | | :boxStyle="{ background: '#000' }" |
| | | :boxStyle="{ |
| | | background: '#03050C', |
| | | overflow: isScale ? 'hidden' : 'auto', |
| | | }" |
| | | :wrapperStyle="wrapperStyle" |
| | | :autoScale="isScale" |
| | | > |
| | | <div class="content_wrap"> |
| | | <Headers /> |
| | | <RouterView /> |
| | | <MessageContent /> |
| | | </div> |
| | | </scale-screen> |
| | | <Setting /> |
| | | </template> |
| | | <style lang="scss" scoped> |
| | | .content_wrap { |