Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
Ifar-Xml-Edtor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pangchong
Ifar-Xml-Edtor
Commits
ad103e82
Commit
ad103e82
authored
Aug 28, 2026
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style(icons): 优化图标导入语句格式
- 将多行图标导入合并为单行,提升代码简洁性 - 统一调整多个文件中图标导入的格式 - 简化目标节点组件中 div 标签的模板结构,减少行数和缩进
parent
104c0eb9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
20 deletions
+3
-20
src/layouts/components/SettingsDrawer/constants/index.ts
+1
-5
src/layouts/components/SettingsDrawer/index.vue
+1
-9
src/views/editor/components/EditorPanel/components/EditAreaContextMenuModal/components/TargetNodeItem/index.vue
+1
-6
No files found.
src/layouts/components/SettingsDrawer/constants/index.ts
View file @
ad103e82
import
{
import
{
SunnyOutline
,
MoonOutline
,
PhonePortraitOutline
}
from
'@vicons/ionicons5'
SunnyOutline
,
MoonOutline
,
PhonePortraitOutline
}
from
'@vicons/ionicons5'
import
type
{
Component
}
from
'vue'
import
type
{
Component
}
from
'vue'
export
interface
ThemeModeItem
{
export
interface
ThemeModeItem
{
...
...
src/layouts/components/SettingsDrawer/index.vue
View file @
ad103e82
...
@@ -304,15 +304,7 @@
...
@@ -304,15 +304,7 @@
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
import
{
SettingsOutline
,
ReloadOutline
,
PinOutline
,
RemoveOutline
,
AddOutline
,
CopyOutline
,
DownloadOutline
}
from
'@vicons/ionicons5'
SettingsOutline
,
ReloadOutline
,
PinOutline
,
RemoveOutline
,
AddOutline
,
CopyOutline
,
DownloadOutline
}
from
'@vicons/ionicons5'
import
{
THEME_MODES
,
COLOR_PRESETS
,
SHORTCUTS
}
from
'./constants'
import
{
THEME_MODES
,
COLOR_PRESETS
,
SHORTCUTS
}
from
'./constants'
import
{
useSettingsDrawer
}
from
'./functionals'
import
{
useSettingsDrawer
}
from
'./functionals'
...
...
src/views/editor/components/EditorPanel/components/EditAreaContextMenuModal/components/TargetNodeItem/index.vue
View file @
ad103e82
<
template
>
<
template
>
<div
<div
class=
"target-node-item"
:class=
"
{ 'is-selected': isSelected }" :style="{ paddingLeft: paddingLeftStyle }" :title="itemTitle">
class=
"target-node-item"
:class=
"
{ 'is-selected': isSelected }"
:style="{ paddingLeft: paddingLeftStyle }"
:title="itemTitle"
>
<span
class=
"check-space"
>
<span
class=
"check-space"
>
<span
v-if=
"isSelected"
class=
"check-icon"
>
✓
</span>
<span
v-if=
"isSelected"
class=
"check-icon"
>
✓
</span>
</span>
</span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment