You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.6 KiB

<template>
<div class="siteSetting-wrap">
<!-- <SetLeftMenu /> -->
<SliderMenu :menuData="siteSettingData" :customize="true"></SliderMenu>
<!--:menuList="menuList" :activeFloor="activeFloor" :curIndex="curIndex" -->
<!-- 主内容区域 -->
<main class="main-content" ref="scrollContainer" id="main-content">
<!-- 面包屑 位置 -->
3 months ago
<PageTitle v-if="path !='/siteSetting/siteSem'" className="min-flex-right"/>
<router-view></router-view>
<Footer></Footer>
</main>
</div>
</template>
<script>
// import SiteBaseSetting from './SiteBaseSetting.vue';
import PageTitle from '@/components/PageTitle.vue';
import Footer from '@/components/Footer.vue';
import { mapState } from 'vuex';
import SliderMenu from '@/components/SliderMenu.vue'
export default {
// 站点设置
name: '',
props: [''],
components: {
PageTitle,
Footer,
SliderMenu,
// SiteBaseSetting
},
data() {
3 months ago
return {
3 months ago
path:''
3 months ago
}
},
mounted(){
3 months ago
this.path =this.$route.path;
console.log(this.$route.path,'090-9090');
// this.$refs.scrollContainer.scrollTo(0)
},
computed: {
...mapState(['siteSettingData']) // 从Vuex映射showSidebar状态到组件的计算属性中
},
methods: {
}
}
</script>
<style scoped lang="scss">
.siteSetting-wrap {
display: flex;
height: 100%;
}
// .sidebar {
// width: 250px;
// background: #f5f5f5;
// padding: 20px;
// }
.main-content {
flex: 1;
padding: 12px;
overflow-y: auto;
}
</style>