123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <template>
- <el-container>
- <sidebar></sidebar>
- <el-container>
- <el-header style="text-align: right;height: 80px;line-height: 80px;">
- <span class="header-button">充值中心</span>
- <span class="header-button">打印设置</span>
- <el-dropdown trigger="click">
- <span class="el-dropdown-link">
- <span style="cursor: pointer;">nickName</span>
- <i class="el-icon-arrow-down el-icon--right"></i>
- </span>
- <el-dropdown-menu slot="dropdown">
- <el-dropdown-item>退出登录</el-dropdown-item>
- </el-dropdown-menu>
- </el-dropdown>
- </el-header>
- <el-main style="background:#F1F2F5;">
- <router-view></router-view>
- </el-main>
- </el-container>
- </el-container>
- </template>
- <script>
- import sidebar from '../common/sider.vue';
- import headerVue from '../common/header.vue';
- export default {
- data() {
- return {
- }
- },
- components: {
- sidebar,
- headerVue
- },
- created() {
- },
- methods: {
-
- }
- }
- </script>
- <style lang="scss" scoped="scoped">
- .el-header {
- position: relative;
- width: 100%;
- height: 80px;
- }
- .el-main {
- position: absolute;
- left: 254px;
- right: 0;
- top: 80px;
- bottom: 0;
- overflow-y: auto;
- background-color: #F1F2F5;
- padding: 10px;
- min-width: 1550px;
- }
- .header-button {
- font-size: 16px;
- font-family: PingFang SC;
- font-weight: 400;
- color: #777777;
- cursor: pointer;
- margin-right: 40px;
- }
- .header-button {
- font-size: 16px;
- font-family: PingFang SC;
- font-weight: 400;
- color: #777777;
- cursor: pointer;
- margin-right: 40px;
- }
- .home-content {
- display: flex;
- .side-box {
- // width: 200px;
- position: relative;
- }
- .content {
- flex: 1;
- flex-shrink: 1;
- }
- .title {
- color: #0074D9;
- }
- }
- </style>
|