fix(component): 🧩 提交代码不校验样式代码
This commit is contained in:
parent
42359a824b
commit
8a34b42c2a
@ -9,11 +9,6 @@
|
|||||||
],
|
],
|
||||||
"*.vue": [
|
"*.vue": [
|
||||||
"eslint --fix",
|
"eslint --fix",
|
||||||
"stylelint --fix",
|
|
||||||
"git add"
|
|
||||||
],
|
|
||||||
"*.{scss,less,styl,html}": [
|
|
||||||
"stylelint --fix",
|
|
||||||
"git add"
|
"git add"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -113,8 +113,8 @@ function onAfterLeave() {
|
|||||||
/* 动画样式(仅作用于弹框) */
|
/* 动画样式(仅作用于弹框) */
|
||||||
.dialog-zoom-enter-active,
|
.dialog-zoom-enter-active,
|
||||||
.dialog-zoom-leave-active {
|
.dialog-zoom-leave-active {
|
||||||
transform-origin: center;
|
|
||||||
transition: all 0.3s ease-in-out;
|
transition: all 0.3s ease-in-out;
|
||||||
|
transform-origin: center;
|
||||||
}
|
}
|
||||||
.dialog-zoom-enter-from,
|
.dialog-zoom-enter-from,
|
||||||
.dialog-zoom-leave-to {
|
.dialog-zoom-leave-to {
|
||||||
@ -141,8 +141,8 @@ function onAfterLeave() {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
background-color: rgb(0 0 0 / 50%);
|
background-color: rgb(0 0 0 / 50%);
|
||||||
opacity: 1;
|
|
||||||
backdrop-filter: blur(3px);
|
backdrop-filter: blur(3px);
|
||||||
|
opacity: 1;
|
||||||
transition: opacity 0.3s;
|
transition: opacity 0.3s;
|
||||||
}
|
}
|
||||||
.mask[hidden] {
|
.mask[hidden] {
|
||||||
@ -171,7 +171,11 @@ function onAfterLeave() {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: calc(var(--login-dialog-width) / 2);
|
width: calc(var(--login-dialog-width) / 2);
|
||||||
padding: var(--login-dialog-section-padding);
|
padding: var(--login-dialog-section-padding);
|
||||||
background: linear-gradient(233deg, rgb(113 161 255 / 60%) 17.67%, rgb(154 219 255 / 60%) 70.4%);
|
background: linear-gradient(
|
||||||
|
233deg,
|
||||||
|
rgb(113 161 255 / 60%) 17.67%,
|
||||||
|
rgb(154 219 255 / 60%) 70.4%
|
||||||
|
);
|
||||||
}
|
}
|
||||||
.left-section .logo-wrap {
|
.left-section .logo-wrap {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -185,9 +189,9 @@ function onAfterLeave() {
|
|||||||
height: 40px;
|
height: 40px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background: var(--login-dialog-logo-background);
|
background: var(--login-dialog-logo-background);
|
||||||
|
filter: drop-shadow(0 4px 4px rgb(0 0 0 / 10%));
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 8%);
|
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 8%);
|
||||||
filter: drop-shadow(0 4px 4px rgb(0 0 0 / 10%));
|
|
||||||
}
|
}
|
||||||
.left-section .logo-wrap .logo-text {
|
.left-section .logo-wrap .logo-text {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|||||||
@ -329,13 +329,12 @@ function handleMenuCommand(command: string, item: ConversationItem<ChatSessionVo
|
|||||||
0 10px 20px 0 rgb(0 0 0 / 10%),
|
0 10px 20px 0 rgb(0 0 0 / 10%),
|
||||||
0 0 1px 0 rgb(0 0 0 / 15%);
|
0 0 1px 0 rgb(0 0 0 / 15%);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s;
|
||||||
|
|
||||||
// 指定样式过渡
|
// 指定样式过渡
|
||||||
|
|
||||||
// 向左偏移一个宽度
|
// 向左偏移一个宽度
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
transition:
|
|
||||||
opacity 0.3s ease 0.3s,
|
|
||||||
transform 0.3s ease 0.3s;
|
|
||||||
|
|
||||||
/* 新增:未激活悬停时覆盖延迟 */
|
/* 新增:未激活悬停时覆盖延迟 */
|
||||||
&.no-delay {
|
&.no-delay {
|
||||||
@ -359,12 +358,10 @@ function handleMenuCommand(command: string, item: ConversationItem<ChatSessionVo
|
|||||||
|
|
||||||
// 直接在这里写悬停时的样式(与 aside-container-suspended 一致)
|
// 直接在这里写悬停时的样式(与 aside-container-suspended 一致)
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
|
||||||
|
|
||||||
// 过渡动画沿用原有设置
|
// 过渡动画沿用原有设置
|
||||||
transform: translateX(15px);
|
transform: translateX(15px);
|
||||||
transition:
|
|
||||||
opacity 0.3s ease 0s,
|
|
||||||
transform 0.3s ease 0s;
|
|
||||||
|
|
||||||
// 会话列表高度-悬停样式
|
// 会话列表高度-悬停样式
|
||||||
.conversations-wrap {
|
.conversations-wrap {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user