| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <template>
- <div class="dashboard-editor-container">
- <panel-group/>
- <el-row>
- <el-col :xs="32" :sm="32" :lg="12">
- <div class="chart-wrapper">
- <pie-chart/>
- </div>
- </el-col>
- <el-col :xs="32" :sm="32" :lg="12">
- <div class="chart-wrapper">
- <notice-chart />
- </div>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import PanelGroup from './dashboard/PanelGroup'
- import LineChart from './dashboard/LineChart'
- import RaddarChart from './dashboard/RaddarChart'
- import PieChart from './dashboard/PieChart'
- import BarChart from './dashboard/BarChart'
- import NoticeChart from "./dashboard/NoticeChart.vue";
- export default {
- name: 'Index',
- components: {
- NoticeChart,
- PanelGroup,
- LineChart,
- RaddarChart,
- PieChart,
- BarChart
- },
- data() {
- return {
- }
- },
- methods: {
- }
- }
- </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: 15px;
- }
- }
- /*
- @media (max-width: 1024px) {
- .chart-wrapper {
- padding: 8px;
- }
- }*/
- </style>
|