Browse Source

首页设置

jbb 2 years ago
parent
commit
c204931b94
1 changed files with 19 additions and 7 deletions
  1. 19 7
      src/views/dashboard/Analysis.vue

+ 19 - 7
src/views/dashboard/Analysis.vue

@@ -1,17 +1,18 @@
 <template>
-  <div>
-    <index-chart v-if="indexStyle==1"></index-chart>
+  <a-card :bordered="false" style="height:100%">
+    <h2>欢迎使用森语中后台系统</h2>
+    <!-- <index-chart v-if="indexStyle==1"></index-chart>
     <index-bdc v-if="indexStyle==2"></index-bdc>
-    <index-task v-if="indexStyle==3"></index-task>
-    <div style="width: 100%;text-align: right;margin-top: 20px">
+    <index-task v-if="indexStyle==3"></index-task> -->
+    <!-- <div style="width: 100%;text-align: right;margin-top: 20px">
       请选择首页样式:
       <a-radio-group v-model="indexStyle">
         <a-radio :value="1">统计图表</a-radio>
         <a-radio :value="2">统计图表2</a-radio>
         <a-radio :value="3">任务表格</a-radio>
       </a-radio-group>
-    </div>
-  </div>
+    </div> -->
+  </a-card>
 </template>
 
 <script>
@@ -38,4 +39,15 @@
 
     }
   }
-</script>
+</script>
+<style scoped lang="less">
+/deep/ .ant-card-body{
+  height: 800px;
+      display: flex;
+    align-items: center;
+    justify-content: center;
+}
+h2{
+  font-size: 103px;
+}
+</style>