You've already forked SmartisanNote.Remake
优化 头部便签管理点击区域;
补充注释;
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user