feat: 按钮

This commit is contained in:
ygx
2026-01-05 21:19:32 +08:00
parent 35a31479de
commit 182c1e219c
2 changed files with 6 additions and 4 deletions

View File

@@ -97,6 +97,8 @@ const handleClick = (key: 'close' | 'remove' | 'resize' | 'fullResize') => {
display: flex;
&:hover {
.btn {
cursor: pointer;
opacity: 1;
.hover {
cursor: pointer;
opacity: 1;
@@ -121,9 +123,9 @@ const handleClick = (key: 'close' | 'remove' | 'resize' | 'fullResize') => {
&.disabled {
pointer-events: none;
}
.icon-base {
opacity: 0;
}
// .icon-base {
// opacity: 0;
// }
.hover {
@extend .go-transition;
}

View File

@@ -208,7 +208,7 @@ $contentHeight: 180px;
&-top {
position: absolute;
top: 10px;
left: 10px;
right: 10px;
height: 22px;
}
&-img {