(null)
@@ -74,3 +75,15 @@ watch(
+
+
diff --git a/src/components/Icon/src/types/index.ts b/src/components/Icon/src/types/index.ts
index d1ffcdb..632e4e8 100644
--- a/src/components/Icon/src/types/index.ts
+++ b/src/components/Icon/src/types/index.ts
@@ -2,4 +2,5 @@ export interface IconTypes {
size?: number
color?: string
icon: string
+ hoverColor?: string
}
diff --git a/src/components/Table/src/Table.vue b/src/components/Table/src/Table.vue
index cb5f09f..1bed535 100644
--- a/src/components/Table/src/Table.vue
+++ b/src/components/Table/src/Table.vue
@@ -7,6 +7,7 @@ import type { TableProps, TableColumn, Pagination, TableSetProps } from './types
import { set } from 'lodash-es'
import { CSSProperties } from 'vue'
import { getSlot } from '@/utils/tsxHelper'
+import { Icon } from '@/components/Icon'
export default defineComponent({
name: 'Table',
@@ -400,25 +401,36 @@ export default defineComponent({
})
}
- return () => (
-
-
- {{
- default: () => renderTableColumn(),
- empty: () => getSlot(slots, 'empty') || unref(getProps).emptyText,
- append: () => getSlot(slots, 'append')
- }}
-
- {unref(getProps).pagination ? (
-
- ) : undefined}
-
- )
+ return () => {
+ const tableSlots = {}
+ if (getSlot(slots, 'empty')) {
+ tableSlots['empty'] = (...args: any[]) => getSlot(slots, 'empty', args)
+ }
+ if (getSlot(slots, 'append')) {
+ tableSlots['append'] = (...args: any[]) => getSlot(slots, 'append', args)
+ }
+ return (
+
+
+
+
+
+ {{
+ default: () => renderTableColumn(),
+ ...tableSlots
+ }}
+
+ {unref(getProps).pagination ? (
+
+ ) : undefined}
+
+ )
+ }
}
})
diff --git a/src/components/TagsView/src/TagsView.vue b/src/components/TagsView/src/TagsView.vue
index cd22082..80a196c 100644
--- a/src/components/TagsView/src/TagsView.vue
+++ b/src/components/TagsView/src/TagsView.vue
@@ -35,6 +35,8 @@ const appStore = useAppStore()
const tagsViewIcon = computed(() => appStore.getTagsViewIcon)
+const isDark = computed(() => appStore.getIsDark)
+
// 初始化tag
const initTags = () => {
affixTagArr.value = filterAffixTags(unref(routers))
@@ -270,7 +272,8 @@ watch(
>
@@ -368,6 +371,7 @@ watch(
@@ -476,7 +483,7 @@ watch(
&__tool {
position: relative;
- &:after {
+ &:before {
position: absolute;
top: 1px;
left: 0;
@@ -487,27 +494,17 @@ watch(
}
&--first {
- &:after {
- display: none;
- }
&:before {
position: absolute;
top: 1px;
left: 0;
width: 100%;
height: calc(~'100% - 1px');
+ border-left: none;
border-right: 1px solid var(--el-border-color);
content: '';
}
}
-
- &:hover {
- :deep(span),
- :deep(i),
- :deep(svg) {
- color: var(--el-color-black) !important;
- }
- }
}
&__item {
@@ -546,7 +543,7 @@ watch(
background-color: var(--el-color-primary);
border: 1px solid var(--el-color-primary);
.@{prefix-cls}__item--close {
- :deep(span) {
+ :deep(svg) {
color: var(--el-color-white) !important;
}
}
@@ -556,14 +553,6 @@ watch(
.dark {
.@{prefix-cls} {
&__tool {
- &:hover {
- :deep(span),
- :deep(i),
- :deep(svg) {
- color: #fff !important;
- }
- }
-
&--first {
&:after {
display: none;
@@ -586,7 +575,7 @@ watch(
background-color: var(--el-color-primary);
border: 1px solid var(--el-color-primary);
.@{prefix-cls}__item--close {
- :deep(span) {
+ :deep(svg) {
color: var(--el-color-white) !important;
}
}
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue
index 01306ea..0cf5ad4 100644
--- a/src/views/Login/Login.vue
+++ b/src/views/Login/Login.vue
@@ -7,6 +7,7 @@ import { underlineToHump } from '@/utils'
import { useAppStore } from '@/store/modules/app'
import { useDesign } from '@/hooks/web/useDesign'
import { ref } from 'vue'
+import { ElScrollbar } from 'element-plus'
const { getPrefixCls } = useDesign()
@@ -32,60 +33,62 @@ const toLogin = () => {
:class="prefixCls"
class="h-[100%] relative lt-xl:bg-[var(--login-bg-color)] lt-sm:px-10px lt-xl:px-10px lt-md:px-10px"
>
-
-
-
-

-
{{ underlineToHump(appStore.getTitle) }}
-
-
-
-
- {{ t('login.welcome') }}
-
- {{ t('login.message') }}
-
-
-
-
-
+
+
-
+
{{ underlineToHump(appStore.getTitle) }}
-
-
-
-
+
+
+
+ {{ t('login.welcome') }}
+
+ {{ t('login.message') }}
+
+
-
+
-
-
+
+

+
{{ underlineToHump(appStore.getTitle) }}
+
+
+
+
+
+
-
+
+
+
+
+
+
+
-
+
diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue
index ffea03d..369486a 100644
--- a/src/views/Login/components/LoginForm.vue
+++ b/src/views/Login/components/LoginForm.vue
@@ -146,23 +146,27 @@ const schema = reactive([
size={iconSize}
class="cursor-pointer ant-icon"
color={iconColor}
+ hoverColor={hoverColor}
/>
@@ -185,6 +189,8 @@ const loading = ref(false)
const iconColor = '#999'
+const hoverColor = 'var(--el-color-primary)'
+
const redirect = ref
('')
watch(
@@ -280,11 +286,3 @@ const toRegister = () => {
@register="formRegister"
/>
-
-