抽取项目页浮层菜单组件

新增 PlatformFloatingMenu 与菜单项测试

项目卡片更多菜单复用平台浮层菜单

更新 TRACKING 记录组件收口验证
This commit is contained in:
2026-06-14 00:50:05 +08:00
parent 8b4175dc7d
commit 304d6806f0
5 changed files with 103 additions and 17 deletions

View File

@@ -3126,7 +3126,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
opacity: 1;
}
.project-gallery__card-menu {
.platform-floating-menu {
position: absolute;
right: 0;
bottom: 2.4rem;
@@ -3139,7 +3139,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}
.project-gallery__card-menu button {
.platform-floating-menu__item {
display: flex;
align-items: center;
gap: 0.45rem;
@@ -3152,7 +3152,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
text-align: left;
}
.project-gallery__card-menu button:hover {
.platform-floating-menu__item:hover {
background: #f3f4f6;
}