diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 6347b62..5080f67 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -62,7 +62,6 @@ {{ $t(routeName as string) }} -
diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 4d33235..c973cb8 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -94,6 +94,7 @@ function routerTo(url: RouteLocationRaw) { transition: all 0.3s; border-radius: 5px; margin-bottom: 20px; + margin-right: 20px; .icon { width: 40px; diff --git a/src/views/myCreating/index.vue b/src/views/myCreating/index.vue index 6538b24..5194c25 100644 --- a/src/views/myCreating/index.vue +++ b/src/views/myCreating/index.vue @@ -60,13 +60,14 @@ @@ -197,7 +198,7 @@ function mouseenter(item) { // height: 30px; text-align: center; background-color: #fff; - padding: 10px; + padding: 0 10px; &-icon { position: relative; display: inline-block; @@ -261,18 +262,15 @@ function mouseenter(item) { display: flex; justify-content: space-between; - :deep(.el-button) { + .elBtn { color: #fff; - background-color: #000 !important; - border: none; border-radius: 10px; - + padding: 5px 10px; + cursor: pointer; + background: linear-gradient(225deg, #000, #000); + transition: all 0.3s; &:hover { - background: linear-gradient( - 225deg, - rgb(81 217 202 / 100%), - rgb(114 100 245 / 100%) - ); + background: linear-gradient(225deg, #51d9ca, #7264f5); } }