Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
basic-vue-admin
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-vue-admin
Commits
acea1843
提交
acea1843
authored
10月 25, 2021
作者:
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: format code
上级
0f44291c
隐藏空白字符变更
内嵌
并排
正在显示
51 个修改的文件
包含
151 行增加
和
158 行删除
+151
-158
baseModel.ts
src/api/model/baseModel.ts
+1
-1
AppDarkModeToggle.vue
src/components/Application/src/AppDarkModeToggle.vue
+1
-1
AppSearchFooter.vue
src/components/Application/src/search/AppSearchFooter.vue
+1
-1
AppSearchModal.vue
src/components/Application/src/search/AppSearchModal.vue
+7
-7
codemirror.css
src/components/CodeEditor/src/codemirror/codemirror.css
+9
-23
ContextMenu.vue
src/components/ContextMenu/src/ContextMenu.vue
+5
-5
CopperModal.vue
src/components/Cropper/src/CopperModal.vue
+4
-4
CropperAvatar.vue
src/components/Cropper/src/CropperAvatar.vue
+3
-4
Loading.vue
src/components/Loading/src/Loading.vue
+1
-1
MarkdownViewer.vue
src/components/Markdown/src/MarkdownViewer.vue
+1
-0
index.less
src/components/Modal/src/index.less
+1
-1
PageFooter.vue
src/components/Page/src/PageFooter.vue
+2
-2
Functional.vue
src/components/Preview/src/Functional.vue
+7
-7
Preview.vue
src/components/Preview/src/Preview.vue
+1
-1
Scrollbar.vue
src/components/Scrollbar/src/Scrollbar.vue
+5
-6
menu.less
src/components/SimpleMenu/src/components/menu.less
+1
-1
StrengthMeter.vue
src/components/StrengthMeter/src/StrengthMeter.vue
+1
-1
BasicTable.vue
src/components/Table/src/BasicTable.vue
+3
-3
HeaderCell.vue
src/components/Table/src/components/HeaderCell.vue
+1
-1
ColumnSetting.vue
...omponents/Table/src/components/settings/ColumnSetting.vue
+1
-1
useDataSource.ts
src/components/Table/src/hooks/useDataSource.ts
+10
-2
DragVerify.vue
src/components/Verify/src/DragVerify.vue
+2
-2
ImgRotate.vue
src/components/Verify/src/ImgRotate.vue
+1
-1
btn.less
src/design/ant/btn.less
+2
-2
index.less
src/design/ant/index.less
+2
-2
index.less
src/design/index.less
+2
-2
public.less
src/design/public.less
+4
-4
theme.less
src/design/theme.less
+3
-3
fade.less
src/design/transition/fade.less
+9
-9
scale.less
src/design/transition/scale.less
+2
-2
scroll.less
src/design/transition/scroll.less
+4
-4
slide.less
src/design/transition/slide.less
+4
-4
zoom.less
src/design/transition/zoom.less
+3
-3
useLockFn.ts
src/hooks/core/useLockFn.ts
+1
-3
Breadcrumb.vue
src/layouts/default/header/components/Breadcrumb.vue
+4
-4
LockModal.vue
src/layouts/default/header/components/lock/LockModal.vue
+1
-1
index.less
src/layouts/default/header/index.less
+1
-1
index.vue
src/layouts/default/menu/index.vue
+1
-1
TypePicker.vue
src/layouts/default/setting/components/TypePicker.vue
+1
-1
DragBar.vue
src/layouts/default/sider/DragBar.vue
+1
-1
MixSider.vue
src/layouts/default/sider/MixSider.vue
+14
-14
index.less
src/layouts/default/tabs/index.less
+4
-4
types.ts
src/router/types.ts
+1
-1
Transition.vue
src/views/demo/comp/lazy/Transition.vue
+4
-4
index.vue
src/views/demo/comp/transition/index.vue
+1
-1
Article.vue
src/views/demo/page/account/center/Article.vue
+4
-4
Project.vue
src/views/demo/page/account/center/Project.vue
+2
-2
index.vue
src/views/demo/page/account/center/index.vue
+3
-3
index.vue
src/views/demo/page/list/search/index.vue
+1
-1
LockPage.vue
src/views/sys/lock/LockPage.vue
+1
-1
stylelint.config.js
stylelint.config.js
+2
-0
没有找到文件。
src/api/model/baseModel.ts
浏览文件 @
acea1843
...
@@ -3,7 +3,7 @@ export interface BasicPageParams {
...
@@ -3,7 +3,7 @@ export interface BasicPageParams {
pageSize
:
number
;
pageSize
:
number
;
}
}
export
interface
BasicFetchResult
<
T
extends
any
>
{
export
interface
BasicFetchResult
<
T
>
{
items
:
T
[];
items
:
T
[];
total
:
number
;
total
:
number
;
}
}
src/components/Application/src/AppDarkModeToggle.vue
浏览文件 @
acea1843
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
html
[
data-theme
=
'dark'
]
{
html
[
data-theme
=
'dark'
]
{
.@{prefix-cls
}
{
.@{prefix-cls
}
{
border
:
1px
solid
rgb
(
196
,
188
,
188
);
border
:
1px
solid
rgb
(
196
188
188
);
}
}
}
}
...
...
src/components/Application/src/search/AppSearchFooter.vue
浏览文件 @
acea1843
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
background-color
:
linear-gradient
(
-225deg
,
#d5dbe4
,
#f8f8f8
);
background-color
:
linear-gradient
(
-225deg
,
#d5dbe4
,
#f8f8f8
);
border-radius
:
2px
;
border-radius
:
2px
;
box-shadow
:
inset
0
-2px
0
0
#cdcde6
,
inset
0
0
1px
1px
#fff
,
box-shadow
:
inset
0
-2px
0
0
#cdcde6
,
inset
0
0
1px
1px
#fff
,
0
1px
2px
1px
rgb
a
(
30
,
35
,
90
,
0.4
);
0
1px
2px
1px
rgb
(
30
35
90
/
40%
);
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
...
...
src/components/Application/src/search/AppSearchModal.vue
浏览文件 @
acea1843
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
padding-top
:
50px
;
padding-top
:
50px
;
background-color
:
rgb
a
(
0
,
0
,
0
,
0.25
);
background-color
:
rgb
(
0
0
0
/
25%
);
justify-content
:
center
;
justify-content
:
center
;
&--mobile
{
&--mobile
{
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
&__item
{
&__item
{
&-enter
{
&-enter
{
opacity
:
0
!important
;
opacity
:
0
%
!important
;
}
}
}
}
}
}
...
@@ -168,16 +168,16 @@
...
@@ -168,16 +168,16 @@
&
-content
{
&
-content
{
position
:
relative
;
position
:
relative
;
width
:
632px
;
width
:
632px
;
margin
:
0
auto
auto
auto
;
margin
:
0
auto
auto
;
background-color
:
@
component-background
;
background-color
:
@
component-background
;
border-radius
:
16px
;
border-radius
:
16px
;
box-shadow
:
0
25px
50px
-12px
rgb
a
(
0
,
0
,
0
,
0.25
);
box-shadow
:
0
25px
50px
-12px
rgb
(
0
0
0
/
25%
);
flex-direction
:
column
;
flex-direction
:
column
;
}
}
&
-input__wrapper
{
&
-input__wrapper
{
display
:
flex
;
display
:
flex
;
padding
:
14px
14px
0
14px
;
padding
:
14px
14px
0
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
}
}
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
background-color
:
@
primary-color
;
background-color
:
@
primary-color
;
.@{prefix-cls
}
-list__item-enter
{
.@{prefix-cls
}
-list__item-enter
{
opacity
:
1
;
opacity
:
1
00%
;
}
}
}
}
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
&
-enter
{
&
-enter
{
width
:
30px
;
width
:
30px
;
opacity
:
0
;
opacity
:
0
%
;
}
}
}
}
}
}
...
...
src/components/CodeEditor/src/codemirror/codemirror.css
浏览文件 @
acea1843
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.CodeMirror
{
.CodeMirror
{
--base
:
#545281
;
--base
:
#545281
;
--comment
:
hsl
(
210
,
25%
,
60%
);
--comment
:
hsl
(
210
deg
25%
60%
);
--keyword
:
#af4ab1
;
--keyword
:
#af4ab1
;
--variable
:
#0055d1
;
--variable
:
#0055d1
;
--function
:
#c25205
;
--function
:
#c25205
;
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
color
:
var
(
--comment
);
color
:
var
(
--comment
);
text-align
:
right
;
text-align
:
right
;
white-space
:
nowrap
;
white-space
:
nowrap
;
opacity
:
0.6
;
opacity
:
60%
;
}
}
.CodeMirror-guttermarker
{
.CodeMirror-guttermarker
{
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
display
:
inline-block
;
display
:
inline-block
;
font-size
:
0.8em
;
font-size
:
0.8em
;
content
:
'>'
;
content
:
'>'
;
opacity
:
0.8
;
opacity
:
80%
;
transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
transition
:
transform
0.2s
;
transition
:
transform
0.2s
;
}
}
...
@@ -125,9 +125,7 @@
...
@@ -125,9 +125,7 @@
}
}
.cm-fat-cursor-mark
{
.cm-fat-cursor-mark
{
background-color
:
rgba
(
20
,
255
,
20
,
0.5
);
background-color
:
rgb
(
20
255
20
/
50%
);
-webkit-animation
:
blink
1.06s
steps
(
1
)
infinite
;
-moz-animation
:
blink
1.06s
steps
(
1
)
infinite
;
animation
:
blink
1.06s
steps
(
1
)
infinite
;
animation
:
blink
1.06s
steps
(
1
)
infinite
;
}
}
...
@@ -135,16 +133,14 @@
...
@@ -135,16 +133,14 @@
width
:
auto
;
width
:
auto
;
background-color
:
#7e7
;
background-color
:
#7e7
;
border
:
0
;
border
:
0
;
-webkit-animation
:
blink
1.06s
steps
(
1
)
infinite
;
-moz-animation
:
blink
1.06s
steps
(
1
)
infinite
;
animation
:
blink
1.06s
steps
(
1
)
infinite
;
animation
:
blink
1.06s
steps
(
1
)
infinite
;
}
}
@
-moz-
keyframes
blink
{
@keyframes
blink
{
50
%
{
50
%
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
}
}
@
-webkit-
keyframes
blink
{
@keyframes
blink
{
50
%
{
50
%
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
...
@@ -294,7 +290,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
...
@@ -294,7 +290,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
}
}
.CodeMirror-matchingtag
{
.CodeMirror-matchingtag
{
background
:
rgb
a
(
255
,
150
,
0
,
0.3
);
background
:
rgb
(
255
150
0
/
30%
);
}
}
.CodeMirror-activeline-background
{
.CodeMirror-activeline-background
{
...
@@ -394,7 +390,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
...
@@ -394,7 +390,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
background-color
:
transparent
;
background-color
:
transparent
;
}
}
.CodeMirror
-gutter-wrapper
::-moz-
selection
{
.CodeMirror
wrapper
::
selection
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
...
@@ -414,11 +410,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
...
@@ -414,11 +410,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
border-width
:
0
;
border-width
:
0
;
/* Reset some styles that the rest of the page might have set */
/* Reset some styles that the rest of the page might have set */
-moz-border-radius
:
0
;
-webkit-border-radius
:
0
;
border-radius
:
0
;
border-radius
:
0
;
-webkit-tap-highlight-color
:
transparent
;
-webkit-tap-highlight-color
:
transparent
;
-webkit-font-variant-ligatures
:
contextual
;
font-variant-ligatures
:
contextual
;
font-variant-ligatures
:
contextual
;
}
}
...
@@ -457,7 +450,6 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
...
@@ -457,7 +450,6 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
.CodeMirror-gutter
,
.CodeMirror-gutter
,
.CodeMirror-gutters
,
.CodeMirror-gutters
,
.CodeMirror-linenumber
{
.CodeMirror-linenumber
{
-moz-box-sizing
:
content-box
;
box-sizing
:
content-box
;
box-sizing
:
content-box
;
}
}
...
@@ -505,15 +497,9 @@ div.CodeMirror-dragcursors {
...
@@ -505,15 +497,9 @@ div.CodeMirror-dragcursors {
background
:
#d7d4f0
;
background
:
#d7d4f0
;
}
}
.CodeMirror-line
::-moz-selection
,
.CodeMirror-line
>
span
::-moz-selection
,
.CodeMirror-line
>
span
>
span
::-moz-selection
{
background
:
#d7d4f0
;
}
.cm-searching
{
.cm-searching
{
background-color
:
#ffa
;
background-color
:
#ffa
;
background-color
:
rgb
a
(
255
,
255
,
0
,
0.4
);
background-color
:
rgb
(
255
255
0
/
40%
);
}
}
/* Used to force a border model for a node */
/* Used to force a border model for a node */
...
...
src/components/ContextMenu/src/ContextMenu.vue
浏览文件 @
acea1843
...
@@ -178,22 +178,22 @@
...
@@ -178,22 +178,22 @@
margin
:
0
;
margin
:
0
;
list-style
:
none
;
list-style
:
none
;
background-color
:
@
component-background
;
background-color
:
@
component-background
;
border
:
1px
solid
rgb
a
(
0
,
0
,
0
,
0.08
);
border
:
1px
solid
rgb
(
0
0
0
/
8%
);
border-radius
:
0.25rem
;
border-radius
:
0.25rem
;
box-shadow
:
0
2px
2px
0
rgb
a
(
0
,
0
,
0
,
0.14
),
0
3px
1px
-2px
rgba
(
0
,
0
,
0
,
0.1
),
box-shadow
:
0
2px
2px
0
rgb
(
0
0
0
/
14%
),
0
3px
1px
-2px
rgb
(
0
0
0
/
10%
),
0
1px
5px
0
rgb
a
(
0
,
0
,
0
,
0.06
);
0
1px
5px
0
rgb
(
0
0
0
/
6%
);
background-clip
:
padding-box
;
background-clip
:
padding-box
;
user-select
:
none
;
user-select
:
none
;
.item-style();
.item-style();
.ant-divider
{
.ant-divider
{
margin
:
0
0
;
margin
:
0
;
}
}
&
__popup
{
&
__popup
{
.ant-divider
{
.ant-divider
{
margin
:
0
0
;
margin
:
0
;
}
}
.item-style
();
.item-style
();
...
...
src/components/Cropper/src/CopperModal.vue
浏览文件 @
acea1843
...
@@ -234,17 +234,17 @@
...
@@ -234,17 +234,17 @@
background
:
#eee
;
background
:
#eee
;
background-image
:
linear-gradient
(
background-image
:
linear-gradient
(
45deg
,
45deg
,
rgb
a
(
0
,
0
,
0
,
0.25
)
25%
,
rgb
(
0
0
0
/
25%
)
25%
,
transparent
0
,
transparent
0
,
transparent
75%
,
transparent
75%
,
rgb
a
(
0
,
0
,
0
,
0.25
)
0
rgb
(
0
0
0
/
25%
)
0
),
),
linear-gradient
(
linear-gradient
(
45deg
,
45deg
,
rgb
a
(
0
,
0
,
0
,
0.25
)
25%
,
rgb
(
0
0
0
/
25%
)
25%
,
transparent
0
,
transparent
0
,
transparent
75%
,
transparent
75%
,
rgb
a
(
0
,
0
,
0
,
0.25
)
0
rgb
(
0
0
0
/
25%
)
0
);
);
background-position
:
0
0
,
12px
12px
;
background-position
:
0
0
,
12px
12px
;
background-size
:
24px
24px
;
background-size
:
24px
24px
;
...
...
src/components/Cropper/src/CropperAvatar.vue
浏览文件 @
acea1843
...
@@ -135,15 +135,14 @@
...
@@ -135,15 +135,14 @@
}
}
&
-image-mask
{
&
-image-mask
{
opacity
:
0
;
opacity
:
0
%
;
position
:
absolute
;
position
:
absolute
;
width
:
inherit
;
width
:
inherit
;
height
:
inherit
;
height
:
inherit
;
border-radius
:
inherit
;
border-radius
:
inherit
;
border
:
inherit
;
border
:
inherit
;
background
:
rgb
a
(
0
,
0
,
0
,
0.4
);
background
:
rgb
(
0
0
0
/
40%
);
cursor
:
pointer
;
cursor
:
pointer
;
-webkit-transition
:
opacity
0.4s
;
transition
:
opacity
0.4s
;
transition
:
opacity
0.4s
;
::v-deep(svg)
{
::v-deep(svg)
{
...
@@ -152,7 +151,7 @@
...
@@ -152,7 +151,7 @@
}
}
&
-image-mask
:hover
{
&
-image-mask
:hover
{
opacity
:
40
;
opacity
:
40
00%
;
}
}
&
-upload-btn
{
&
-upload-btn
{
...
...
src/components/Loading/src/Loading.vue
浏览文件 @
acea1843
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
height
:
100%
;
height
:
100%
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
background-color
:
rgb
a
(
240
,
242
,
245
,
0.4
);
background-color
:
rgb
(
240
242
245
/
40%
);
&.absolute
{
&.absolute
{
position
:
absolute
;
position
:
absolute
;
...
...
src/components/Markdown/src/MarkdownViewer.vue
浏览文件 @
acea1843
<
template
>
<
template
>
<!-- eslint-disable vue/no-v-html -->
<div
v-html=
"getHtmlData"
:class=
"$props.class"
class=
"markdown-viewer"
></div>
<div
v-html=
"getHtmlData"
:class=
"$props.class"
class=
"markdown-viewer"
></div>
</
template
>
</
template
>
...
...
src/components/Modal/src/index.less
浏览文件 @
acea1843
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
}
}
&-content {
&-content {
box-shadow: 0 4px 8px 0 rgb
a(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19
);
box-shadow: 0 4px 8px 0 rgb
(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%
);
}
}
&-footer {
&-footer {
...
...
src/components/Page/src/PageFooter.vue
浏览文件 @
acea1843
...
@@ -39,8 +39,8 @@
...
@@ -39,8 +39,8 @@
line-height
:
44px
;
line-height
:
44px
;
background-color
:
@
component-background
;
background-color
:
@
component-background
;
border-top
:
1px
solid
@
border-color-base
;
border-top
:
1px
solid
@
border-color-base
;
box-shadow
:
0
-6px
16px
-8px
rgb
a
(
0
,
0
,
0
,
0.08
),
0
-9px
28px
0
rgba
(
0
,
0
,
0
,
0.05
),
box-shadow
:
0
-6px
16px
-8px
rgb
(
0
0
0
/
8%
),
0
-9px
28px
0
rgb
(
0
0
0
/
5%
),
0
-12px
48px
16px
rgb
a
(
0
,
0
,
0
,
0.03
);
0
-12px
48px
16px
rgb
(
0
0
0
/
3%
);
transition
:
width
0.2s
;
transition
:
width
0.2s
;
&__left
{
&__left
{
...
...
src/components/Preview/src/Functional.vue
浏览文件 @
acea1843
...
@@ -432,7 +432,7 @@
...
@@ -432,7 +432,7 @@
bottom
:
0
;
bottom
:
0
;
left
:
0
;
left
:
0
;
z-index
:
@
preview-comp-z-index
;
z-index
:
@
preview-comp-z-index
;
background
:
rgb
a
(
0
,
0
,
0
,
0.5
);
background
:
rgb
(
0
0
0
/
50%
);
user-select
:
none
;
user-select
:
none
;
&-content
{
&-content
{
...
@@ -458,7 +458,7 @@
...
@@ -458,7 +458,7 @@
overflow
:
hidden
;
overflow
:
hidden
;
color
:
@
white
;
color
:
@
white
;
cursor
:
pointer
;
cursor
:
pointer
;
background-color
:
rgb
a
(
0
,
0
,
0
,
0.5
);
background-color
:
rgb
(
0
0
0
/
50%
);
border-radius
:
50%
;
border-radius
:
50%
;
transition
:
all
0.2s
;
transition
:
all
0.2s
;
...
@@ -470,7 +470,7 @@
...
@@ -470,7 +470,7 @@
}
}
&
:hover
{
&
:hover
{
background-color
:
rgb
a
(
0
,
0
,
0
,
0.8
);
background-color
:
rgb
(
0
0
0
/
80%
);
}
}
}
}
...
@@ -480,7 +480,7 @@
...
@@ -480,7 +480,7 @@
left
:
50%
;
left
:
50%
;
padding
:
0
22px
;
padding
:
0
22px
;
font-size
:
16px
;
font-size
:
16px
;
background
:
rgb
a
(
109
,
109
,
109
,
0.6
);
background
:
rgb
(
109
109
109
/
60%
);
border-radius
:
15px
;
border-radius
:
15px
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
}
}
...
@@ -494,7 +494,7 @@
...
@@ -494,7 +494,7 @@
height
:
44px
;
height
:
44px
;
padding
:
0
22px
;
padding
:
0
22px
;
margin-left
:
-139px
;
margin-left
:
-139px
;
background
:
rgb
a
(
109
,
109
,
109
,
0.6
);
background
:
rgb
(
109
109
109
/
60%
);
border-radius
:
22px
;
border-radius
:
22px
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -526,12 +526,12 @@
...
@@ -526,12 +526,12 @@
height
:
50px
;
height
:
50px
;
font-size
:
28px
;
font-size
:
28px
;
cursor
:
pointer
;
cursor
:
pointer
;
background-color
:
rgb
a
(
0
,
0
,
0
,
0.5
);
background-color
:
rgb
(
0
0
0
/
50%
);
border-radius
:
50%
;
border-radius
:
50%
;
transition
:
all
0.2s
;
transition
:
all
0.2s
;
&:hover
{
&:hover
{
background-color
:
rgb
a
(
0
,
0
,
0
,
0.8
);
background-color
:
rgb
(
0
0
0
/
80%
);
}
}
&
.left
{
&
.left
{
...
...
src/components/Preview/src/Preview.vue
浏览文件 @
acea1843
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
}
}
.ant-image-preview-operations
{
.ant-image-preview-operations
{
background-color
:
rgb
a
(
0
,
0
,
0
,
0.4
);
background-color
:
rgb
(
0
0
0
/
40%
);
}
}
}
}
</
style
>
</
style
>
src/components/Scrollbar/src/Scrollbar.vue
浏览文件 @
acea1843
...
@@ -148,7 +148,7 @@
...
@@ -148,7 +148,7 @@
display
:
none
;
display
:
none
;
width
:
0
;
width
:
0
;
height
:
0
;
height
:
0
;
opacity
:
0
;
opacity
:
0
%
;
}
}
}
}
}
}
...
@@ -159,12 +159,12 @@
...
@@ -159,12 +159,12 @@
width
:
0
;
width
:
0
;
height
:
0
;
height
:
0
;
cursor
:
pointer
;
cursor
:
pointer
;
background-color
:
rgb
a
(
144
,
147
,
153
,
0.3
);
background-color
:
rgb
(
144
147
153
/
30%
);
border-radius
:
inherit
;
border-radius
:
inherit
;
transition
:
0.3s
background-color
;
transition
:
0.3s
background-color
;
&:hover
{
&:hover
{
background-color
:
rgb
a
(
144
,
147
,
153
,
0.5
);
background-color
:
rgb
(
144
147
153
/
50%
);
}
}
}
}
...
@@ -174,8 +174,7 @@
...
@@ -174,8 +174,7 @@
bottom
:
2px
;
bottom
:
2px
;
z-index
:
1
;
z-index
:
1
;
border-radius
:
4px
;
border-radius
:
4px
;
opacity
:
0
;
opacity
:
0%
;
-webkit-transition
:
opacity
80ms
ease
;
transition
:
opacity
80ms
ease
;
transition
:
opacity
80ms
ease
;
&.is-vertical
{
&.is-vertical
{
...
@@ -201,7 +200,7 @@
...
@@ -201,7 +200,7 @@
.scrollbar
:active
>
.scrollbar__bar
,
.scrollbar
:active
>
.scrollbar__bar
,
.scrollbar
:focus
>
.scrollbar__bar
,
.scrollbar
:focus
>
.scrollbar__bar
,
.scrollbar
:hover
>
.scrollbar__bar
{
.scrollbar
:hover
>
.scrollbar__bar
{
opacity
:
1
;
opacity
:
1
00%
;
transition
:
opacity
340ms
ease-out
;
transition
:
opacity
340ms
ease-out
;
}
}
</
style
>
</
style
>
src/components/SimpleMenu/src/components/menu.less
浏览文件 @
acea1843
...
@@ -188,7 +188,7 @@
...
@@ -188,7 +188,7 @@
&-vertical&-collapse &-item,
&-vertical&-collapse &-item,
&-vertical&-collapse &-submenu-title {
&-vertical&-collapse &-submenu-title {
padding: 0
0
;
padding: 0;
}
}
&-vertical &-submenu-title-icon {
&-vertical &-submenu-title-icon {
...
...
src/components/StrengthMeter/src/StrengthMeter.vue
浏览文件 @
acea1843
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
background-color
:
transparent
;
background-color
:
transparent
;
border-color
:
@
white
;
border-color
:
@
white
;
border-style
:
solid
;
border-style
:
solid
;
border-width
:
0
5px
0
5px
;
border-width
:
0
5px
;
content
:
''
;
content
:
''
;
}
}
...
...
src/components/Table/src/BasicTable.vue
浏览文件 @
acea1843
...
@@ -357,7 +357,7 @@
...
@@ -357,7 +357,7 @@
padding
:
16px
;
padding
:
16px
;
.ant-form
{
.ant-form
{
padding
:
12px
10px
6px
10px
;
padding
:
12px
10px
6px
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
background-color
:
@
component-background
;
background-color
:
@
component-background
;
border-radius
:
2px
;
border-radius
:
2px
;
...
@@ -375,7 +375,7 @@
...
@@ -375,7 +375,7 @@
.ant-table-title
{
.ant-table-title
{
min-height
:
40px
;
min-height
:
40px
;
padding
:
0
0
8px
0
!important
;
padding
:
0
0
8px
!important
;
}
}
.ant-table.ant-table-bordered
.ant-table-title
{
.ant-table.ant-table-bordered
.ant-table-title
{
...
@@ -401,7 +401,7 @@
...
@@ -401,7 +401,7 @@
}
}
.ant-pagination
{
.ant-pagination
{
margin
:
10px
0
0
0
;
margin
:
10px
0
0
;
}
}
.ant-table-footer
{
.ant-table-footer
{
...
...
src/components/Table/src/components/HeaderCell.vue
浏览文件 @
acea1843
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
.@
{
prefix-cls
}
{
.@
{
prefix-cls
}
{
&__help
{
&__help
{
margin-left
:
8px
;
margin-left
:
8px
;
color
:
rgb
a
(
0
,
0
,
0
,
0.65
)
!important
;
color
:
rgb
(
0
0
0
/
65%
)
!important
;
}
}
}
}
</
style
>
</
style
>
src/components/Table/src/components/settings/ColumnSetting.vue
浏览文件 @
acea1843
...
@@ -420,7 +420,7 @@
...
@@ -420,7 +420,7 @@
&
__fixed-left
,
&
__fixed-left
,
&
__fixed-right
{
&
__fixed-right
{
color
:
rgb
a
(
0
,
0
,
0
,
0.45
);
color
:
rgb
(
0
0
0
/
45%
);
cursor
:
pointer
;
cursor
:
pointer
;
&.active,
&.active,
...
...
src/components/Table/src/hooks/useDataSource.ts
浏览文件 @
acea1843
...
@@ -241,8 +241,16 @@ export function useDataSource(
...
@@ -241,8 +241,16 @@ export function useDataSource(
}
}
async
function
fetch
(
opt
?:
FetchParams
)
{
async
function
fetch
(
opt
?:
FetchParams
)
{
const
{
api
,
searchInfo
,
defSort
,
fetchSetting
,
beforeFetch
,
afterFetch
,
useSearchForm
,
pagination
}
=
const
{
unref
(
propsRef
);
api
,
searchInfo
,
defSort
,
fetchSetting
,
beforeFetch
,
afterFetch
,
useSearchForm
,
pagination
,
}
=
unref
(
propsRef
);
if
(
!
api
||
!
isFunction
(
api
))
return
;
if
(
!
api
||
!
isFunction
(
api
))
return
;
try
{
try
{
setLoading
(
true
);
setLoading
(
true
);
...
...
src/components/Verify/src/DragVerify.vue
浏览文件 @
acea1843
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
overflow
:
hidden
;
text-align
:
center
;
text-align
:
center
;
background-color
:
rgb
(
238
,
238
,
238
);
background-color
:
rgb
(
238
238
238
);
border
:
1px
solid
#ddd
;
border
:
1px
solid
#ddd
;
border-radius
:
@
radius
;
border-radius
:
@
radius
;
...
@@ -313,7 +313,7 @@
...
@@ -313,7 +313,7 @@
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
font-size
:
12px
;
font-size
:
12px
;
-webkit-
text-size-adjust
:
none
;
text-size-adjust
:
none
;
background-color
:
-webkit-gradient
(
background-color
:
-webkit-gradient
(
linear
,
linear
,
left
top
,
left
top
,
...
...
src/components/Verify/src/ImgRotate.vue
浏览文件 @
acea1843
...
@@ -209,7 +209,7 @@
...
@@ -209,7 +209,7 @@
}
}
&
.normal
{
&
.normal
{
background-color
:
rgb
a
(
0
,
0
,
0
,
0.3
);
background-color
:
rgb
(
0
0
0
/
30%
);
}
}
}
}
...
...
src/design/ant/btn.less
浏览文件 @
acea1843
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
}
}
[data-theme='light'] &.ant-btn-link.is-disabled {
[data-theme='light'] &.ant-btn-link.is-disabled {
color: rgb
a(0, 0, 0, 0.25
);
color: rgb
(0 0 0 / 25%
);
text-shadow: none;
text-shadow: none;
cursor: not-allowed !important;
cursor: not-allowed !important;
background-color: transparent !important;
background-color: transparent !important;
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
}
}
[data-theme='dark'] &.ant-btn-link.is-disabled {
[data-theme='dark'] &.ant-btn-link.is-disabled {
color: rgb
a(255, 255, 255, 0.25
) !important;
color: rgb
(255 255 255 / 25%
) !important;
text-shadow: none;
text-shadow: none;
cursor: not-allowed !important;
cursor: not-allowed !important;
background-color: transparent !important;
background-color: transparent !important;
...
...
src/design/ant/index.less
浏览文件 @
acea1843
...
@@ -30,12 +30,12 @@ span.anticon:not(.app-iconify) {
...
@@ -30,12 +30,12 @@ span.anticon:not(.app-iconify) {
}
}
.ant-image-preview-operations {
.ant-image-preview-operations {
background-color: rgb
a(0, 0, 0, 0.3
);
background-color: rgb
(0 0 0 / 30%
);
}
}
.ant-popover {
.ant-popover {
&-content {
&-content {
box-shadow: 0 2px 12px 0 rgb
a(0, 0, 0, 0.1
);
box-shadow: 0 2px 12px 0 rgb
(0 0 0 / 10%
);
}
}
}
}
...
...
src/design/index.less
浏览文件 @
acea1843
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
@import './theme.less';
@import './theme.less';
input:-webkit-autofill {
input:-webkit-autofill {
-webkit-
box-shadow: 0 0 0 1000px white inset !important;
box-shadow: 0 0 0 1000px white inset !important;
}
}
:-webkit-autofill {
:-webkit-autofill {
...
@@ -14,7 +14,7 @@ input:-webkit-autofill {
...
@@ -14,7 +14,7 @@ input:-webkit-autofill {
html {
html {
overflow: hidden;
overflow: hidden;
-webkit-
text-size-adjust: 100%;
text-size-adjust: 100%;
}
}
html,
html,
...
...
src/design/public.less
浏览文件 @
acea1843
...
@@ -17,15 +17,15 @@
...
@@ -17,15 +17,15 @@
// }
// }
::-webkit-scrollbar-track {
::-webkit-scrollbar-track {
background-color: rgb
a(0, 0, 0, 0.05
);
background-color: rgb
(0 0 0 / 5%
);
}
}
::-webkit-scrollbar-thumb {
::-webkit-scrollbar-thumb {
// background: rgba(0, 0, 0, 0.6);
// background: rgba(0, 0, 0, 0.6);
background-color: rgb
a(144, 147, 153, 0.3
);
background-color: rgb
(144 147 153 / 30%
);
// background-color: rgba(144, 147, 153, 0.3);
// background-color: rgba(144, 147, 153, 0.3);
border-radius: 2px;
border-radius: 2px;
box-shadow: inset 0 0 6px rgb
a(0, 0, 0, 0.2
);
box-shadow: inset 0 0 6px rgb
(0 0 0 / 20%
);
}
}
::-webkit-scrollbar-thumb:hover {
::-webkit-scrollbar-thumb:hover {
...
@@ -46,6 +46,6 @@
...
@@ -46,6 +46,6 @@
width: 100%;
width: 100%;
height: 2px;
height: 2px;
background-color: @primary-color;
background-color: @primary-color;
opacity:
0.75
;
opacity:
75%
;
}
}
}
}
src/design/theme.less
浏览文件 @
acea1843
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
html[data-theme='light'] {
html[data-theme='light'] {
.text-secondary {
.text-secondary {
color: rgb
a(0, 0, 0, 0.45
);
color: rgb
(0 0 0 / 45%
);
}
}
.ant-alert-success {
.ant-alert-success {
...
@@ -43,10 +43,10 @@ html[data-theme='light'] {
...
@@ -43,10 +43,10 @@ html[data-theme='light'] {
}
}
.ant-calendar-selected-day .ant-calendar-date {
.ant-calendar-selected-day .ant-calendar-date {
color: rgb
a(0, 0, 0, 0.8
);
color: rgb
(0 0 0 / 80%
);
}
}
.ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
.ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
color: rgb
a(0, 0, 0, 0.9
);
color: rgb
(0 0 0 / 90%
);
}
}
}
}
src/design/transition/fade.less
浏览文件 @
acea1843
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
.fade-enter-from,
.fade-enter-from,
.fade-leave-to {
.fade-leave-to {
opacity: 0;
opacity: 0
%
;
}
}
/* fade-slide */
/* fade-slide */
...
@@ -15,12 +15,12 @@
...
@@ -15,12 +15,12 @@
}
}
.fade-slide-enter-from {
.fade-slide-enter-from {
opacity: 0;
opacity: 0
%
;
transform: translateX(-30px);
transform: translateX(-30px);
}
}
.fade-slide-leave-to {
.fade-slide-leave-to {
opacity: 0;
opacity: 0
%
;
transform: translateX(30px);
transform: translateX(30px);
}
}
...
@@ -35,12 +35,12 @@
...
@@ -35,12 +35,12 @@
}
}
.fade-bottom-enter-from {
.fade-bottom-enter-from {
opacity: 0;
opacity: 0
%
;
transform: translateY(-10%);
transform: translateY(-10%);
}
}
.fade-bottom-leave-to {
.fade-bottom-leave-to {
opacity: 0;
opacity: 0
%
;
transform: translateY(10%);
transform: translateY(10%);
}
}
...
@@ -51,12 +51,12 @@
...
@@ -51,12 +51,12 @@
}
}
.fade-scale-enter-from {
.fade-scale-enter-from {
opacity: 0;
opacity: 0
%
;
transform: scale(1.2);
transform: scale(1.2);
}
}
.fade-scale-leave-to {
.fade-scale-leave-to {
opacity: 0;
opacity: 0
%
;
transform: scale(0.8);
transform: scale(0.8);
}
}
...
@@ -71,11 +71,11 @@
...
@@ -71,11 +71,11 @@
}
}
.fade-top-enter-from {
.fade-top-enter-from {
opacity: 0;
opacity: 0
%
;
transform: translateY(8%);
transform: translateY(8%);
}
}
.fade-top-leave-to {
.fade-top-leave-to {
opacity: 0;
opacity: 0
%
;
transform: translateY(-8%);
transform: translateY(-8%);
}
}
src/design/transition/scale.less
浏览文件 @
acea1843
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
&-enter-from,
&-enter-from,
&-leave,
&-leave,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
transform: scale(0);
transform: scale(0);
}
}
}
}
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
&-enter-from,
&-enter-from,
&-leave,
&-leave,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
transform: scale(0) rotate(-45deg);
transform: scale(0) rotate(-45deg);
}
}
}
}
src/design/transition/scroll.less
浏览文件 @
acea1843
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
&-enter-from,
&-enter-from,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
}
}
&-enter-from {
&-enter-from {
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
&-enter-from,
&-enter-from,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
}
}
&-enter-from {
&-enter-from {
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
&-enter-from,
&-enter-from,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
}
}
&-enter-from {
&-enter-from {
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
&-enter-from,
&-enter-from,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
}
}
&-enter-from {
&-enter-from {
...
...
src/design/transition/slide.less
浏览文件 @
acea1843
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
&-enter-from,
&-enter-from,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
transform: translateY(-15px);
transform: translateY(-15px);
}
}
}
}
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
&-enter-from,
&-enter-from,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
transform: translateY(15px);
transform: translateY(15px);
}
}
}
}
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
&-enter-from,
&-enter-from,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
transform: translateX(-15px);
transform: translateX(-15px);
}
}
}
}
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
&-enter-from,
&-enter-from,
&-leave-to {
&-leave-to {
opacity: 0;
opacity: 0
%
;
transform: translateX(15px);
transform: translateX(15px);
}
}
}
}
src/design/transition/zoom.less
浏览文件 @
acea1843
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
.zoom-out-enter-from,
.zoom-out-enter-from,
.zoom-out-leave-to {
.zoom-out-leave-to {
opacity: 0;
opacity: 0
%
;
transform: scale(0);
transform: scale(0);
}
}
...
@@ -17,11 +17,11 @@
...
@@ -17,11 +17,11 @@
}
}
.zoom-fade-enter-from {
.zoom-fade-enter-from {
opacity: 0;
opacity: 0
%
;
transform: scale(0.92);
transform: scale(0.92);
}
}
.zoom-fade-leave-to {
.zoom-fade-leave-to {
opacity: 0;
opacity: 0
%
;
transform: scale(1.06);
transform: scale(1.06);
}
}
src/hooks/core/useLockFn.ts
浏览文件 @
acea1843
import
{
ref
,
unref
}
from
'vue'
;
import
{
ref
,
unref
}
from
'vue'
;
export
function
useLockFn
<
P
extends
any
[]
=
any
[],
V
extends
any
=
any
>
(
export
function
useLockFn
<
P
extends
any
[]
=
any
[],
V
=
any
>
(
fn
:
(...
args
:
P
)
=>
Promise
<
V
>
)
{
fn
:
(...
args
:
P
)
=>
Promise
<
V
>
,
)
{
const
lockRef
=
ref
(
false
);
const
lockRef
=
ref
(
false
);
return
async
function
(...
args
:
P
)
{
return
async
function
(...
args
:
P
)
{
if
(
unref
(
lockRef
))
return
;
if
(
unref
(
lockRef
))
return
;
...
...
src/layouts/default/header/components/Breadcrumb.vue
浏览文件 @
acea1843
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
color
:
@
breadcrumb-item-normal-color
;
color
:
@
breadcrumb-item-normal-color
;
a
{
a
{
color
:
rgb
a
(
0
,
0
,
0
,
0.65
);
color
:
rgb
(
0
0
0
/
65%
);
&:hover
{
&:hover
{
color
:
@
primary-color
;
color
:
@
primary-color
;
...
@@ -184,10 +184,10 @@
...
@@ -184,10 +184,10 @@
&
--dark
{
&
--dark
{
.ant-breadcrumb-link
{
.ant-breadcrumb-link
{
color
:
rgb
a
(
255
,
255
,
255
,
0.6
);
color
:
rgb
(
255
255
255
/
60%
);
a
{
a
{
color
:
rgb
a
(
255
,
255
,
255
,
0.8
);
color
:
rgb
(
255
255
255
/
80%
);
&:hover
{
&:hover
{
color
:
@
white
;
color
:
@
white
;
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
.ant-breadcrumb-separator
,
.ant-breadcrumb-separator
,
.anticon
{
.anticon
{
color
:
rgb
a
(
255
,
255
,
255
,
0.8
);
color
:
rgb
(
255
255
255
/
80%
);
}
}
}
}
}
}
...
...
src/layouts/default/header/components/lock/LockModal.vue
浏览文件 @
acea1843
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
&__entry
{
&__entry
{
position
:
relative
;
position
:
relative
;
//
height
:
240px
;
//
height
:
240px
;
padding
:
130px
30px
30px
30px
;
padding
:
130px
30px
30px
;
border-radius
:
10px
;
border-radius
:
10px
;
}
}
...
...
src/layouts/default/header/index.less
浏览文件 @
acea1843
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
.@{header-trigger-prefix-cls} {
.@{header-trigger-prefix-cls} {
display: flex;
display: flex;
height: 100%;
height: 100%;
padding: 1px 10px 0
10px
;
padding: 1px 10px 0;
cursor: pointer;
cursor: pointer;
align-items: center;
align-items: center;
...
...
src/layouts/default/menu/index.vue
浏览文件 @
acea1843
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
&
--mobile
{
&
--mobile
{
.@{logo-prefix-cls
}
{
.@{logo-prefix-cls
}
{
&__title
{
&__title
{
opacity
:
1
;
opacity
:
1
00%
;
}
}
}
}
}
}
...
...
src/layouts/default/setting/components/TypePicker.vue
浏览文件 @
acea1843
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
cursor
:
pointer
;
cursor
:
pointer
;
background-color
:
#f0f2f5
;
background-color
:
#f0f2f5
;
border-radius
:
4px
;
border-radius
:
4px
;
box-shadow
:
0
1px
2.5px
0
rgb
a
(
0
,
0
,
0
,
0.18
);
box-shadow
:
0
1px
2.5px
0
rgb
(
0
0
0
/
18%
);
&::before,
&::before,
&::after
{
&::after
{
...
...
src/layouts/default/sider/DragBar.vue
浏览文件 @
acea1843
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
&
:hover
{
&
:hover
{
background-color
:
@
primary-color
;
background-color
:
@
primary-color
;
box-shadow
:
0
0
4px
0
rgb
a
(
28
,
36
,
56
,
0.15
);
box-shadow
:
0
0
4px
0
rgb
(
28
36
56
/
15%
);
}
}
}
}
</
style
>
</
style
>
src/layouts/default/sider/MixSider.vue
浏览文件 @
acea1843
...
@@ -362,19 +362,19 @@
...
@@ -362,19 +362,19 @@
&
.light
{
&
.light
{
.@{prefix-cls
}
-logo
{
.@{prefix-cls
}
-logo
{
border-bottom
:
1px
solid
rgb
(
238
,
238
,
238
);
border-bottom
:
1px
solid
rgb
(
238
238
238
);
}
}
&
.open
{
&
.open
{
>
.scrollbar
{
>
.scrollbar
{
border-right
:
1px
solid
rgb
(
238
,
238
,
238
);
border-right
:
1px
solid
rgb
(
238
238
238
);
}
}
}
}
.@
{
prefix-cls
}
-module
{
.@
{
prefix-cls
}
-module
{
&__item
{
&__item
{
font-weight
:
normal
;
font-weight
:
normal
;
color
:
rgb
a
(
0
,
0
,
0
,
0.65
);
color
:
rgb
(
0
0
0
/
65%
);
&--active
{
&--active
{
color
:
@
primary-color
;
color
:
@
primary-color
;
...
@@ -384,15 +384,15 @@
...
@@ -384,15 +384,15 @@
}
}
.@
{
prefix-cls
}
-menu-list
{
.@
{
prefix-cls
}
-menu-list
{
&__content
{
&__content
{
box-shadow
:
0
0
4px
0
rgb
a
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
0
4px
0
rgb
(
0
0
0
/
10%
);
}
}
&
__title
{
&
__title
{
.pushpin
{
.pushpin
{
color
:
rgb
a
(
0
,
0
,
0
,
0.35
);
color
:
rgb
(
0
0
0
/
35%
);
&:hover
{
&:hover
{
color
:
rgb
a
(
0
,
0
,
0
,
0.85
);
color
:
rgb
(
0
0
0
/
85%
);
}
}
}
}
}
}
...
@@ -442,7 +442,7 @@
...
@@ -442,7 +442,7 @@
&__item
{
&__item
{
position
:
relative
;
position
:
relative
;
padding
:
12px
0
;
padding
:
12px
0
;
color
:
rgb
a
(
255
,
255
,
255
,
0.65
);
color
:
rgb
(
255
255
255
/
65%
);
text-align
:
center
;
text-align
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
transition
:
all
0.3s
ease
;
transition
:
all
0.3s
ease
;
...
@@ -487,7 +487,7 @@
...
@@ -487,7 +487,7 @@
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
font-size
:
14px
;
font-size
:
14px
;
color
:
rgb
a
(
255
,
255
,
255
,
0.65
);
color
:
rgb
(
255
255
255
/
65%
);
text-align
:
center
;
text-align
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
background-color
:
@
trigger-dark-bg-color
;
background-color
:
@
trigger-dark-bg-color
;
...
@@ -496,7 +496,7 @@
...
@@ -496,7 +496,7 @@
}
}
&
.light
&
-trigger
{
&
.light
&
-trigger
{
color
:
rgb
a
(
0
,
0
,
0
,
0.65
);
color
:
rgb
(
0
0
0
/
65%
);
background-color
:
#fff
;
background-color
:
#fff
;
border-top
:
1px
solid
#eee
;
border-top
:
1px
solid
#eee
;
}
}
...
@@ -515,21 +515,21 @@
...
@@ -515,21 +515,21 @@
//
margin-left
:
-6px
;
//
margin-left
:
-6px
;
font-size
:
18px
;
font-size
:
18px
;
color
:
@
primary-color
;
color
:
@
primary-color
;
border-bottom
:
1px
solid
rgb
(
238
,
238
,
238
);
border-bottom
:
1px
solid
rgb
(
238
238
238
);
opacity
:
0
;
opacity
:
0
%
;
transition
:
unset
;
transition
:
unset
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
&.show
{
&.show
{
min-width
:
130px
;
min-width
:
130px
;
opacity
:
1
;
opacity
:
1
00%
;
transition
:
all
0.5s
ease
;
transition
:
all
0.5s
ease
;
}
}
.pushpin
{
.pushpin
{
margin-right
:
6px
;
margin-right
:
6px
;
color
:
rgb
a
(
255
,
255
,
255
,
0.65
);
color
:
rgb
(
255
255
255
/
65%
);
cursor
:
pointer
;
cursor
:
pointer
;
&:hover
{
&:hover
{
...
@@ -572,7 +572,7 @@
...
@@ -572,7 +572,7 @@
background-color
:
#f8f8f9
;
background-color
:
#f8f8f9
;
border-top
:
none
;
border-top
:
none
;
border-bottom
:
none
;
border-bottom
:
none
;
box-shadow
:
0
0
4px
0
rgb
a
(
28
,
36
,
56
,
0.15
);
box-shadow
:
0
0
4px
0
rgb
(
28
36
56
/
15%
);
}
}
}
}
</
style
>
</
style
>
src/layouts/default/tabs/index.less
浏览文件 @
acea1843
...
@@ -50,7 +50,7 @@ html[data-theme='light'] {
...
@@ -50,7 +50,7 @@ html[data-theme='light'] {
&:
hover
{
&:
hover
{
.
ant-tabs-close-x
{
.
ant-tabs-close-x
{
opacity:
1
;
opacity:
1
00
%
;
}
}
}
}
...
@@ -59,7 +59,7 @@ html[data-theme='light'] {
...
@@ -59,7 +59,7 @@ html[data-theme='light'] {
height:
12
px
;
height:
12
px
;
font-size:
12
px
;
font-size:
12
px
;
color:
inherit
;
color:
inherit
;
opacity:
0
;
opacity:
0
%
;
transition:
none
;
transition:
none
;
&:
hover
{
&:
hover
{
...
@@ -95,7 +95,7 @@ html[data-theme='light'] {
...
@@ -95,7 +95,7 @@ html[data-theme='light'] {
transition:
none
;
transition:
none
;
.
ant-tabs-close-x
{
.
ant-tabs-close-x
{
opacity:
1
;
opacity:
1
00
%
;
}
}
svg
{
svg
{
...
@@ -135,7 +135,7 @@ html[data-theme='light'] {
...
@@ -135,7 +135,7 @@ html[data-theme='light'] {
&--hide-close
{
&--hide-close
{
.
ant-tabs-close-x
{
.
ant-tabs-close-x
{
opacity:
0
!important
;
opacity:
0
%
!important
;
}
}
}
}
...
...
src/router/types.ts
浏览文件 @
acea1843
...
@@ -2,7 +2,7 @@ import type { RouteRecordRaw, RouteMeta } from 'vue-router';
...
@@ -2,7 +2,7 @@ import type { RouteRecordRaw, RouteMeta } from 'vue-router';
import
{
RoleEnum
}
from
'/@/enums/roleEnum'
;
import
{
RoleEnum
}
from
'/@/enums/roleEnum'
;
import
{
defineComponent
}
from
'vue'
;
import
{
defineComponent
}
from
'vue'
;
export
type
Component
<
T
extends
any
=
any
>
=
export
type
Component
<
T
=
any
>
=
|
ReturnType
<
typeof
defineComponent
>
|
ReturnType
<
typeof
defineComponent
>
|
(()
=>
Promise
<
typeof
import
(
'*.vue'
)
>
)
|
(()
=>
Promise
<
typeof
import
(
'*.vue'
)
>
)
|
(()
=>
Promise
<
T
>
);
|
(()
=>
Promise
<
T
>
);
...
...
src/views/demo/comp/lazy/Transition.vue
浏览文件 @
acea1843
...
@@ -47,12 +47,12 @@
...
@@ -47,12 +47,12 @@
}
}
.custom-enter
{
.custom-enter
{
opacity
:
0
;
opacity
:
0
%
;
transform
:
scale
(
0.4
)
translate
(
100%
);
transform
:
scale
(
0.4
)
translate
(
100%
);
}
}
.custom-enter-to
{
.custom-enter-to
{
opacity
:
1
;
opacity
:
1
00%
;
}
}
.custom-enter-active
{
.custom-enter-active
{
...
@@ -63,11 +63,11 @@
...
@@ -63,11 +63,11 @@
}
}
.custom-leave
{
.custom-leave
{
opacity
:
1
;
opacity
:
1
00%
;
}
}
.custom-leave-to
{
.custom-leave-to
{
opacity
:
0
;
opacity
:
0
%
;
transform
:
scale
(
0.4
)
translate
(
-100%
);
transform
:
scale
(
0.4
)
translate
(
-100%
);
}
}
...
...
src/views/demo/comp/transition/index.vue
浏览文件 @
acea1843
...
@@ -91,6 +91,6 @@
...
@@ -91,6 +91,6 @@
width
:
150px
;
width
:
150px
;
height
:
150px
;
height
:
150px
;
margin-top
:
20px
;
margin-top
:
20px
;
background-color
:
rgb
(
126
,
170
,
236
);
background-color
:
rgb
(
126
170
236
);
}
}
</
style
>
</
style
>
src/views/demo/page/account/center/Article.vue
浏览文件 @
acea1843
...
@@ -70,17 +70,17 @@
...
@@ -70,17 +70,17 @@
}
}
&
__content
{
&
__content
{
color
:
rgb
a
(
0
,
0
,
0
,
0.65
);
color
:
rgb
(
0
0
0
/
65%
);
}
}
&
__action
{
&
__action
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
0
16px
;
padding
:
0
16px
;
color
:
rgb
a
(
0
,
0
,
0
,
0.45
);
color
:
rgb
(
0
0
0
/
45%
);
&:nth-child(1),
&:nth-child(1),
&:nth-child(2)
{
&:nth-child(2)
{
border-right
:
1px
solid
rgb
a
(
206
,
206
,
206
,
0.4
);
border-right
:
1px
solid
rgb
(
206
206
206
/
40%
);
}
}
&
-icon
{
&
-icon
{
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
&
__time
{
&
__time
{
position
:
absolute
;
position
:
absolute
;
right
:
20px
;
right
:
20px
;
color
:
rgb
a
(
0
,
0
,
0
,
0.45
);
color
:
rgb
(
0
0
0
/
45%
);
}
}
}
}
</
style
>
</
style
>
src/views/demo/page/account/center/Project.vue
浏览文件 @
acea1843
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
width
:
100%
;
width
:
100%
;
.ant-card-body
{
.ant-card-body
{
padding
:
0
0
24px
0
;
padding
:
0
0
24px
;
}
}
img
{
img
{
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
margin
:
5px
10px
;
margin
:
5px
10px
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
rgb
a
(
0
,
0
,
0
,
0.85
);
color
:
rgb
(
0
0
0
/
85%
);
}
}
&
-content
{
&
-content
{
...
...
src/views/demo/page/account/center/index.vue
浏览文件 @
acea1843
...
@@ -98,13 +98,13 @@
...
@@ -98,13 +98,13 @@
padding
:
0
10px
;
padding
:
0
10px
;
&:not(:last-child)
{
&:not(:last-child)
{
border-right
:
1px
dashed
rgb
(
206
,
206
,
206
,
0.5
);
border-right
:
1px
dashed
rgb
(
206
206
206
/
50%
);
}
}
}
}
&
-top
{
&
-top
{
padding
:
10px
;
padding
:
10px
;
margin
:
16px
16px
12px
16px
;
margin
:
16px
16px
12px
;
background-color
:
@
component-background
;
background-color
:
@
component-background
;
border-radius
:
3px
;
border-radius
:
3px
;
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
&
-bottom
{
&
-bottom
{
padding
:
10px
;
padding
:
10px
;
margin
:
0
16px
16px
16px
;
margin
:
0
16px
16px
;
background-color
:
@
component-background
;
background-color
:
@
component-background
;
border-radius
:
3px
;
border-radius
:
3px
;
}
}
...
...
src/views/demo/page/list/search/index.vue
浏览文件 @
acea1843
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
&
__time
{
&
__time
{
position
:
absolute
;
position
:
absolute
;
right
:
20px
;
right
:
20px
;
color
:
rgb
a
(
0
,
0
,
0
,
0.45
);
color
:
rgb
(
0
0
0
/
45%
);
}
}
}
}
</
style
>
</
style
>
src/views/sys/lock/LockPage.vue
浏览文件 @
acea1843
...
@@ -210,7 +210,7 @@
...
@@ -210,7 +210,7 @@
display
:
flex
;
display
:
flex
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background-color
:
rgb
a
(
0
,
0
,
0
,
0.5
);
background-color
:
rgb
(
0
0
0
/
50%
);
backdrop-filter
:
blur
(
8px
);
backdrop-filter
:
blur
(
8px
);
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
...
...
stylelint.config.js
浏览文件 @
acea1843
module
.
exports
=
{
module
.
exports
=
{
root
:
true
,
root
:
true
,
plugins
:
[
'stylelint-order'
],
plugins
:
[
'stylelint-order'
],
customSyntax
:
'postcss-less'
,
extends
:
[
'stylelint-config-standard'
,
'stylelint-config-prettier'
],
extends
:
[
'stylelint-config-standard'
,
'stylelint-config-prettier'
],
rules
:
{
rules
:
{
'selector-class-pattern'
:
null
,
'selector-pseudo-class-no-unknown'
:
[
'selector-pseudo-class-no-unknown'
:
[
true
,
true
,
{
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论