Commit ad103e82 by pangchong

style(icons): 优化图标导入语句格式

- 将多行图标导入合并为单行,提升代码简洁性
- 统一调整多个文件中图标导入的格式
- 简化目标节点组件中 div 标签的模板结构,减少行数和缩进
parent 104c0eb9
import {
SunnyOutline,
MoonOutline,
PhonePortraitOutline
} from '@vicons/ionicons5'
import { SunnyOutline, MoonOutline, PhonePortraitOutline } from '@vicons/ionicons5'
import type { Component } from 'vue'
export interface ThemeModeItem {
......
......@@ -304,15 +304,7 @@
</template>
<script setup lang="ts">
import {
SettingsOutline,
ReloadOutline,
PinOutline,
RemoveOutline,
AddOutline,
CopyOutline,
DownloadOutline
} from '@vicons/ionicons5'
import { SettingsOutline, ReloadOutline, PinOutline, RemoveOutline, AddOutline, CopyOutline, DownloadOutline } from '@vicons/ionicons5'
import { THEME_MODES, COLOR_PRESETS, SHORTCUTS } from './constants'
import { useSettingsDrawer } from './functionals'
......
<template>
<div
class="target-node-item"
:class="{ 'is-selected': isSelected }"
:style="{ paddingLeft: paddingLeftStyle }"
:title="itemTitle"
>
<div class="target-node-item" :class="{ 'is-selected': isSelected }" :style="{ paddingLeft: paddingLeftStyle }" :title="itemTitle">
<span class="check-space">
<span v-if="isSelected" class="check-icon"></span>
</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment