|
|
@@ -0,0 +1,55 @@
|
|
|
+<template>
|
|
|
+ <widget-card>
|
|
|
+ <template slot="header">全部数据</template>
|
|
|
+
|
|
|
+ <el-row :gutter="20">
|
|
|
+ <el-col :span="6" :offset="0">
|
|
|
+ <UserWidget></UserWidget>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" :offset="0">
|
|
|
+ <UserWidget2></UserWidget2>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" :offset="0">
|
|
|
+ <UserWidget3></UserWidget3>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" :offset="0">
|
|
|
+ <UserWidget4></UserWidget4>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </widget-card>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import WidgetCard from './WidgetCard';
|
|
|
+import UserWidget from './UserWidget';
|
|
|
+import UserWidget2 from './UserWidget2';
|
|
|
+import UserWidget3 from './UserWidget3';
|
|
|
+import UserWidget4 from './UserWidget4';
|
|
|
+import { GridLayout, GridItem } from 'vue-grid-layout';
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {};
|
|
|
+ },
|
|
|
+ components: {
|
|
|
+ WidgetCard,
|
|
|
+ UserWidget,
|
|
|
+ UserWidget2,
|
|
|
+ UserWidget3,
|
|
|
+ UserWidget4
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+.info {
|
|
|
+ flex-grow: 1;
|
|
|
+ text-align: right;
|
|
|
+ .text {
|
|
|
+ color: #999;
|
|
|
+ font-size: 16px;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ }
|
|
|
+ .num {
|
|
|
+ font-size: 20px;
|
|
|
+ color: #333;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|