diff --git a/public/index.html b/public/index.html index 375c5d6..a5dca03 100644 --- a/public/index.html +++ b/public/index.html @@ -1,8 +1,8 @@ diff --git a/src/assets/img/add_new.png b/src/assets/img/add_new.png new file mode 100644 index 0000000..623a1fe Binary files /dev/null and b/src/assets/img/add_new.png differ diff --git a/src/assets/scss/common.scss b/src/assets/scss/common.scss index 4655141..cbae7a7 100644 --- a/src/assets/scss/common.scss +++ b/src/assets/scss/common.scss @@ -599,13 +599,19 @@ img { display: none; } & > .el-tabs__item { - height: $content--tabs-header-height; border: 0; padding: 0 10px; - color: rgba(89, 89, 89, 1); + margin: 6px 5px 6px 0px; + height: 24px; + font-size: 12px; + line-height: 24px; + border-radius: 5px; + background-color: rgba(239, 239, 239, 1); &:focus, &:hover, &.is-active { + color: rgba(255, 255, 255, 1); + background-color: rgba(62, 142, 247, 1); &:after { display: block; } @@ -630,6 +636,7 @@ img { line-height: 24px; border-radius: 5px; background-color: rgba(239, 239, 239, 1); + &:hover, &.is-active { color: rgba(255, 255, 255, 1); background-color: rgba(62, 142, 247, 1); diff --git a/src/icons/svg/icon-del.svg b/src/icons/svg/icon-del.svg new file mode 100644 index 0000000..2ff4e08 --- /dev/null +++ b/src/icons/svg/icon-del.svg @@ -0,0 +1,12 @@ + + + 删除 + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-del1.svg b/src/icons/svg/icon-del1.svg new file mode 100644 index 0000000..3b9a2fe --- /dev/null +++ b/src/icons/svg/icon-del1.svg @@ -0,0 +1,12 @@ + + + 删除 + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-edit0.svg b/src/icons/svg/icon-edit0.svg new file mode 100644 index 0000000..a257814 --- /dev/null +++ b/src/icons/svg/icon-edit0.svg @@ -0,0 +1,17 @@ + + + 编辑 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-edit1.svg b/src/icons/svg/icon-edit1.svg new file mode 100644 index 0000000..f9b2ea6 --- /dev/null +++ b/src/icons/svg/icon-edit1.svg @@ -0,0 +1,17 @@ + + + 编辑 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-look.svg b/src/icons/svg/icon-look.svg new file mode 100644 index 0000000..fa04971 --- /dev/null +++ b/src/icons/svg/icon-look.svg @@ -0,0 +1,12 @@ + + + 预览 + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/icon-look1.svg b/src/icons/svg/icon-look1.svg new file mode 100644 index 0000000..9e3cda7 --- /dev/null +++ b/src/icons/svg/icon-look1.svg @@ -0,0 +1,12 @@ + + + 预览 + + + + + + + + + \ No newline at end of file diff --git a/src/icons/svg/首页.svg b/src/icons/svg/首页.svg new file mode 100644 index 0000000..7d24e13 --- /dev/null +++ b/src/icons/svg/首页.svg @@ -0,0 +1,12 @@ + + + 首页 + + + + + + + + + \ No newline at end of file diff --git a/src/store/index.js b/src/store/index.js index 956d7c5..026734e 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-01-04 10:29:39 * @LastEditors: zwq - * @LastEditTime: 2023-01-05 16:14:45 + * @LastEditTime: 2023-07-19 16:33:56 * @Description: */ import Vue from 'vue' @@ -28,11 +28,11 @@ export default new Vuex.Store({ contentIsNeedRefresh: false, // 内容, 标签页(默认添加首页) contentTabs: [ - { - ...window.SITE_CONFIG['contentTabDefault'], - 'name': 'home', - 'title': '首页' - } + // { + // ...window.SITE_CONFIG['contentTabDefault'], + // 'name': 'home', + // 'title': '首页' + // } ], contentTabsActiveName: 'home' }, diff --git a/src/views/main-content.vue b/src/views/main-content.vue index 26be890..7dacc20 100644 --- a/src/views/main-content.vue +++ b/src/views/main-content.vue @@ -1,3 +1,10 @@ +