57 lines
1.1 KiB
Vue
57 lines
1.1 KiB
Vue
<template>
|
|
<div class="dashboard-editor-container">
|
|
<el-row :gutter="10">
|
|
<el-col :span="24">
|
|
<user-info></user-info>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<cms-info></cms-info>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<shortcut></shortcut>
|
|
</el-col>
|
|
<el-col :span="24">
|
|
<server-info></server-info>
|
|
</el-col>
|
|
</el-row>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import SysUserInfo from '@/views/dashboard/userInfo'
|
|
import SysShortcut from '@/views/dashboard/shortcut'
|
|
import CmsInfo from '@/views/dashboard/cmsInfo'
|
|
import ServerInfo from '@/views/dashboard/serverInfo'
|
|
|
|
export default {
|
|
name: 'Index',
|
|
components: {
|
|
'user-info': SysUserInfo,
|
|
'shortcut': SysShortcut,
|
|
'cms-info': CmsInfo,
|
|
'server-info': ServerInfo
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.dashboard-editor-container {
|
|
padding: 32px;
|
|
background-color: rgb(240, 242, 245);
|
|
position: relative;
|
|
|
|
.chart-wrapper {
|
|
background: #fff;
|
|
padding: 16px 16px 0;
|
|
margin-bottom: 32px;
|
|
}
|
|
}
|
|
|
|
@media (max-width:1024px) {
|
|
.chart-wrapper {
|
|
padding: 8px;
|
|
}
|
|
}
|
|
</style>
|
|
|