GterForumWeB/src/App.vue

69 lines
1004 B
Vue
Raw Normal View History

2023-03-28 18:04:49 +08:00
<template>
<div id="app">
<div class="container">
<router-view />
</div>
2023-03-28 18:04:49 +08:00
</div>
</template>
<script>
export default {
name: "App",
data() {
return {
2023-03-28 18:04:49 +08:00
}
}
}
2023-03-28 18:04:49 +08:00
</script>
<style lang="scss">
@import 'assets/css/normalize.css';
@import 'assets/css/public.scss'; //帖子内容样式
2023-03-28 18:04:49 +08:00
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: flex;
flex-direction: column;
margin: 0 auto;
position: relative;
overflow: hidden;
2023-03-28 18:04:49 +08:00
}
.container {
2023-03-28 18:04:49 +08:00
// padding: 0 0.35rem;
background-color: rgba(246, 246, 246, 1);
min-height: 100vh;
}
.flexflex {
2023-03-28 18:04:49 +08:00
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flexcolumn {
display: flex;
flex-direction: column;
}
.flex1 {
flex: 1;
}
2023-03-28 18:04:49 +08:00
.el-message {
min-width: 7rem !important;
2023-03-28 18:04:49 +08:00
}
2023-03-28 18:04:49 +08:00
</style>