Jelajahi Sumber

空间页面修改

haojianlong 4 tahun lalu
induk
melakukan
fcd93a2b0b

+ 0 - 1
src/components/public/adm-statistics.vue

@@ -26,7 +26,6 @@ $h: 67px;
 .Statistics {
     height: $h;
     background: #E2E3E4;
-    margin: 12px;
 
     .title {
         display: $dib;

+ 1 - 0
src/layout/index.vue

@@ -68,6 +68,7 @@ export default class extends mixins(ResizeMixin) {
     position: relative;
     overflow-y: hidden;
     padding: 0 10px 10px;
+    background-color: #f1f2f3;
 }
 
 .sidebar-container {

+ 21 - 4
src/views/maintain/space/index.vue

@@ -1,12 +1,29 @@
 <template>
-    <div>空间</div>
+  <div class="space-index">
+    <statistics :statistics-msg="statisticsMsg" />
+  </div>
 </template>
 
-<script>
-export default {
-    name: "index"
+<script lang="ts">
+import { Vue, Component, Watch } from "vue-property-decorator";
+import Bus from "@/utils/bus";
+import statistics from "@/components/public/adm-statistics.vue";
+@Component({
+    name: 'space-index',
+    components: { statistics }
+})
+export default class extends Vue {
+    private statisticsMsg = {
+        title: '全部空间',
+        total: 93640
+    }
 }
 </script>
 
 <style scoped>
+.space-index{
+    background: #fff;
+    padding: 12px;
+    height: 100%;
+}
 </style>