Commit d4b592a3 authored by 张伯涛's avatar 张伯涛

完善控制台警告报错

parent 4f791f61
<!--<template>--> <template>
<!-- <div :class="{'has-logo':showLogo}">--> <!-- <div :class="{'has-logo':showLogo}">-->
<!-- <logo v-if="true" :collapse="isCollapse" />--> <!-- <logo v-if="true" :collapse="isCollapse" />-->
<!-- <el-scrollbar wrap-class="scrollbar-wrapper">--> <!-- <el-scrollbar wrap-class="scrollbar-wrapper">-->
...@@ -16,39 +16,39 @@ ...@@ -16,39 +16,39 @@
<!-- </el-menu>--> <!-- </el-menu>-->
<!-- </el-scrollbar>--> <!-- </el-scrollbar>-->
<!-- </div>--> <!-- </div>-->
<!--</template>--> </template>
<!--<script>--> <script>
<!--import { mapGetters } from 'vuex'--> // import { mapGetters } from 'vuex'
<!--import Logo from './Logo'--> // import Logo from './Logo'
<!--import SidebarItem from './SidebarItem'--> // import SidebarItem from './SidebarItem'
<!--import variables from '@/styles/variables.scss'--> // import variables from '@/styles/variables.scss'
<!--export default {--> export default {
<!-- components: { SidebarItem, Logo },--> // components: { SidebarItem, Logo },
<!-- computed: {--> // computed: {
<!-- ...mapGetters([--> // ...mapGetters([
<!-- 'permission_routes',--> // 'permission_routes',
<!-- 'sidebar'--> // 'sidebar'
<!-- ]),--> // ]),
<!-- activeMenu() {--> // activeMenu() {
<!-- const route = this.$route--> // const route = this.$route
<!-- const { meta, path } = route--> // const { meta, path } = route
<!-- // if set path, the sidebar will highlight the path you set--> // // if set path, the sidebar will highlight the path you set
<!-- if (meta.activeMenu) {--> // if (meta.activeMenu) {
<!-- return meta.activeMenu--> // return meta.activeMenu
<!-- }--> // }
<!-- return path--> // return path
<!-- },--> // },
<!-- showLogo() {--> // showLogo() {
<!-- return this.$store.state.settings.sidebarLogo--> // return this.$store.state.settings.sidebarLogo
<!-- },--> // },
<!-- variables() {--> // variables() {
<!-- return variables--> // return variables
<!-- },--> // },
<!-- isCollapse() {--> // isCollapse() {
<!-- return !this.sidebar.opened--> // return !this.sidebar.opened
<!-- }--> // }
<!-- }--> // }
<!--}--> }
<!--</script>--> </script>
...@@ -91,11 +91,11 @@ ...@@ -91,11 +91,11 @@
.hideSidebar { .hideSidebar {
.sidebar-container { .sidebar-container {
width: $sideHideWidth !important; //width: $sideHideWidth !important;
} }
.main-container { .main-container {
margin-left: 54px; //margin-left: 54px;
} }
.submenu-title-noDropdown { .submenu-title-noDropdown {
......
...@@ -90,7 +90,7 @@ $menuHover:#fff; ...@@ -90,7 +90,7 @@ $menuHover:#fff;
$subMenuBg:#46BCF2; $subMenuBg:#46BCF2;
$subMenuHover:#fff; $subMenuHover:#fff;
$sideBarWidth: 254px; $sideBarWidth: 0px;
$sideHideWidth: 54px; $sideHideWidth: 54px;
// the :export directive is the magic sauce for webpack // the :export directive is the magic sauce for webpack
......
<template> <template>
<div class="HomeSearch"> <div class="HomeSearch">
<Header /> <!-- <Header />-->
<div class="rightSearch"> <div class="rightSearch">
<el-row style="display: flex;align-items: center;"> <el-row style="display: flex;align-items: center;height: 180px;">
<el-col :span="16"> <el-col :span="16">
<img :src="logo" class="homeTopLoge"> <img :src="logo" class="homeTopLoge">
</el-col> </el-col>
...@@ -53,8 +53,9 @@ export default { ...@@ -53,8 +53,9 @@ export default {
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
.rightSearch { .rightSearch {
height: 180px;
//text-align: center; //text-align: center;
margin-top: 38.5px; //margin-top: 38.5px;
.homeTopLoge{ .homeTopLoge{
padding-left: 60px; padding-left: 60px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment