Zlpt_Portal/src/views/AppMain.vue

41 lines
842 B
Vue
Raw Normal View History

2023-12-04 09:12:38 +08:00
<script setup lang="ts">
2024-11-23 16:31:54 +08:00
import FooterInfo from '../components/FooterInfo/index.vue'
import HeaderCom from '../layout/header.vue'
const route = useRoute()
2023-12-04 09:12:38 +08:00
2024-11-23 16:31:54 +08:00
onMounted(() => {})
2023-12-04 09:12:38 +08:00
</script>
<template>
2024-12-20 17:36:14 +08:00
<div class="app-container">
<HeaderCom />
<div class="container">
2024-12-23 13:52:38 +08:00
<el-config-provider>
2024-12-20 17:36:14 +08:00
<RouterView />
</el-config-provider>
</div>
2023-12-04 09:12:38 +08:00
</div>
2025-06-02 09:54:33 +08:00
<!-- <FooterInfo /> -->
2023-12-04 09:12:38 +08:00
</template>
<style scoped lang="scss">
2024-12-20 17:36:14 +08:00
.app-container {
display: flex;
flex-direction: column;
2024-12-23 13:52:38 +08:00
width: 1920px;
height: auto;
// height: 1080px;
2024-12-20 17:36:14 +08:00
}
2024-11-23 16:31:54 +08:00
.container {
2024-12-23 13:52:38 +08:00
width: 1552px;
background-color: pink;
2024-11-23 16:31:54 +08:00
margin: 0 auto;
background: #ffffff;
border-radius: 30px;
2024-12-23 13:52:38 +08:00
// padding: 20px 30px;
padding: 20px;
2024-11-23 16:31:54 +08:00
box-sizing: border-box;
2024-12-23 13:52:38 +08:00
// overflow-y: auto;
2024-11-23 16:31:54 +08:00
}
2023-12-04 09:12:38 +08:00
</style>