From 4366ba42bfaf992d543493cfdee0bd156044bb16 Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Mon, 17 Jun 2024 23:18:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=AE=8C=E6=88=90=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/App.vue | 8 +++-- src/assets/main.css | 13 +++++++ src/main.js | 3 ++ src/views/AppSpanTable.vue | 72 ++++++++++++++++++++++++++++++++++++-- 5 files changed, 92 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f72d383..fa1713c 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "preview": "vite preview --port 4173" }, "dependencies": { + "element-ui": "^2.15.14", "vue": "^2.7.7", "vue-router": "^3.5.4" }, diff --git a/src/App.vue b/src/App.vue index d140061..6826bbd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,7 @@
- +
@@ -14,6 +14,10 @@ html, body, #app { margin: 0; overflow: hidden; } + +.components { + background: #07193D; +} diff --git a/src/assets/main.css b/src/assets/main.css index 6327db6..1b373d6 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -27,3 +27,16 @@ a, .green { .pointer { cursor: pointer; } + +.grid { + display: grid; + grid-template-columns: repeat(4, 1fr); +} + +.mb-8{ + margin-bottom: 8px; +} + +.mr-8{ + margin-right: 8px; +} diff --git a/src/main.js b/src/main.js index 6c78861..2029a4f 100644 --- a/src/main.js +++ b/src/main.js @@ -2,7 +2,10 @@ import Vue from 'vue' import App from './App.vue' import router from './router' import './assets/main.css' +import ElementUI from 'element-ui'; +import 'element-ui/lib/theme-chalk/index.css'; +Vue.use(ElementUI); new Vue({ router, render: (h) => h(App) diff --git a/src/views/AppSpanTable.vue b/src/views/AppSpanTable.vue index 17d80ed..92549c4 100644 --- a/src/views/AppSpanTable.vue +++ b/src/views/AppSpanTable.vue @@ -1,18 +1,86 @@