HolyKnightIX vor 1 Jahr
Ursprung
Commit
fdadf1f6a8
3 geänderte Dateien mit 16 neuen und 18 gelöschten Zeilen
  1. +0
    -1
      src/layout/components/Navbar.vue
  2. +1
    -0
      src/layout/components/Sidebar/index.vue
  3. +15
    -17
      src/views/myCreating/index.vue

+ 0
- 1
src/layout/components/Navbar.vue Datei anzeigen

@@ -62,7 +62,6 @@
{{ $t(routeName as string) }}
</div>
<!--语言选择-->

<lang-select class="navItem" style="color: #ffffff" />

<div class="avatar" @click="routerTo"></div>


+ 1
- 0
src/layout/components/Sidebar/index.vue Datei anzeigen

@@ -94,6 +94,7 @@ function routerTo(url: RouteLocationRaw) {
transition: all 0.3s;
border-radius: 5px;
margin-bottom: 20px;
margin-right: 20px;

.icon {
width: 40px;


+ 15
- 17
src/views/myCreating/index.vue Datei anzeigen

@@ -60,13 +60,14 @@
</div>
<template #footer>
<span class="dialog-footer">
<el-button type="primary" @click="showDialog = false"
><el-icon class="icon-delete"><i-ep-download /></el-icon
>下载</el-button
>
<el-button @click="showDialog = false">
<el-icon class="icon-delete"><i-ep-delete /></el-icon>删除
</el-button>
<button class="elBtn" type="primary" @click="showDialog = false">
<el-icon class="icon-delete"><i-ep-download /></el-icon
>{{ $t("myCreating.download") }}
</button>
<button class="elBtn" @click="showDialog = false">
<el-icon class="icon-delete"><i-ep-delete /></el-icon
>{{ $t("myCreating.delete") }}
</button>
</span>
</template>
</el-dialog>
@@ -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);
}
}



Laden…
Abbrechen
Speichern