Explorar el Código

首页背景更改

jbb hace 2 años
padre
commit
680f1c989e
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/views/dashboard/Analysis.vue

+ 4 - 1
src/views/dashboard/Analysis.vue

@@ -1,6 +1,6 @@
 <template>
   <a-card :bordered="false" style="height:100%">
-    <h2>欢迎使用森语中后台系统</h2>
+    <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> -->
@@ -46,6 +46,9 @@
       display: flex;
     align-items: center;
     justify-content: center;
+    background-image: url("../../assets/frist-background.png");
+    background-repeat: no-repeat;
+    background-size: cover;
 }
 h2{
   font-size: 103px;