YingYeTing/src/App.vue

82 lines
1.5 KiB
Vue

<template>
<div id="app">
<div class="top">
<div class="topLeft">
<div style="color:rgb(56,171,192)">
2023-02-09
</div>
|
<div>
2:37:05
</div>
</div>
<div class="topCenter">
国网南京雨花供电营业厅
</div>
<div class="topRight"></div>
</div>
<div class="main">
<router-view />
</div>
</div>
</template>
<script>
export default {
name: 'App',
components: {
}
}
</script>
<style>
@import "./assets/index.css";
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
/* background: url("./assets/images/bj1.png") no-repeat; */
/* background-size: 100% 100%; */
background: #040f26;
}
body{
margin: 0;
padding: 0;
}
</style>
<style lang="less" scoped>
.top{
width: 100%;
height: 9.6%;
display: flex;
justify-content: space-between;
.topLeft{
width: 11%;
height: 55%;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
justify-content: space-evenly;
font-size: 20px;
}
.topCenter{
width: 76%;
height: 100%;
background: url("./assets/images/topBg.png") no-repeat;
background-size: 100% 100%;
}
.topRight{
width: 11%;
height: 100%;
border: 1px solid blue;
}
}
.main{
height: calc(100% - 9.6%);
width: 100%;
}
</style>