优化 头部便签管理点击区域;

补充注释;
This commit is contained in:
User
2025-10-13 10:48:18 +08:00
parent 27133aa107
commit 2e933ece94
13 changed files with 523 additions and 175 deletions

View File

@@ -5,8 +5,8 @@
<img class="left-icon" :src="leftIconSource" @click="handleLeftAction" />
<!-- 标题区域 -->
<div class="title-container" @click="handleTitlePress">
<span class="text">{{ title }}</span>
<div class="title-container">
<span class="text" @click="handleTitlePress">{{ title }}</span>
<!-- 文件夹展开图标 -->
<img v-if="showFolderIcon" class="folder-icon" :src="folderExpanded ? '/assets/icons/drawable-xxhdpi/folder_title_arrow_pressed.png' : '/assets/icons/drawable-xxhdpi/folder_title_arrow_normal.png'" @click.stop="handleFolderToggle" />
</div>
@@ -118,7 +118,7 @@ const handleLeftAction = () => {
}
}
const handleAction = (actionType) => {
const handleAction = actionType => {
// 处理右侧操作按钮点击事件
if (props.onAction) {
props.onAction(actionType)
@@ -156,7 +156,7 @@ const handleTitlePress = () => {
cursor: pointer;
}
.right-group {
gap: .6rem;
gap: 0.6rem;
}
.image_4-placeholder {