2024-05-22 08:44:08 +08:00
|
|
|
<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>
|
|
|
|
|
|
|
|
<template>
|
2024-05-24 17:42:14 +08:00
|
|
|
<scale-screen width="1920" height="1080" :delay="500" :fullScreen="true" :boxStyle="{
|
2024-05-23 15:47:12 +08:00
|
|
|
background: '#03050C',
|
2024-05-24 17:42:14 +08:00
|
|
|
// overflow: isScale ? 'hidden' : 'auto',
|
|
|
|
overflow:'hidden'
|
2024-05-23 15:47:12 +08:00
|
|
|
|
|
|
|
}" :wrapperStyle="wrapperStyle" :autoScale="isScale">
|
2024-05-22 08:44:08 +08:00
|
|
|
<div class="content_wrap">
|
|
|
|
<Headers />
|
|
|
|
<RouterView />
|
|
|
|
<MessageContent />
|
|
|
|
</div>
|
2024-05-23 15:47:12 +08:00
|
|
|
<div class="title_bg"></div>
|
2024-05-22 08:44:08 +08:00
|
|
|
</scale-screen>
|
|
|
|
<Setting />
|
|
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.content_wrap {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 16px 16px 16px 16px;
|
|
|
|
box-sizing: border-box;
|
2024-05-23 15:47:12 +08:00
|
|
|
background-image: url("@/assets/img/zheke/bg.png");
|
2024-05-22 08:44:08 +08:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
2024-05-23 15:47:12 +08:00
|
|
|
.title_bg{
|
|
|
|
width: 100%;
|
|
|
|
height: 70px;
|
|
|
|
position: absolute;
|
|
|
|
top:0;
|
|
|
|
background-image: url("@/assets/img/zheke/top_title_bg.png");
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center left;
|
|
|
|
}
|
2024-05-22 08:44:08 +08:00
|
|
|
</style>
|