修改图标

This commit is contained in:
2025-11-29 09:34:29 +08:00
parent b55fc141fb
commit b76f2efe95
3 changed files with 20 additions and 20 deletions
+7 -7
View File
@@ -327,15 +327,15 @@ function importPreset(event: Event) {
function getTypeIcon(type: string) {
const icons: Record<string, string> = {
positive: '👍',
negative: '👎',
positive: '🪄',
negative: '',
setting: '⚙️',
style: '🎨',
character: '👤',
scene: '🌍',
custom: '📝'
style: '🖌️',
character: '🧙',
scene: '🏞️',
custom: '🧩'
};
return icons[type] || '📝';
return icons[type] || '🧩';
}
function getTypeLabel(type: string) {
+6 -6
View File
@@ -54,13 +54,13 @@ function showNotification(message: string, type: 'success' | 'error' | 'info' =
// Preset Types
const presetTypes: { value: PresetType; label: string; icon: string }[] = [
{ value: 'positive', label: '正面提示词', icon: '👍' },
{ value: 'negative', label: '负面提示词', icon: '👎' },
{ value: 'positive', label: '正面提示词', icon: '🪄' },
{ value: 'negative', label: '负面提示词', icon: '' },
{ value: 'setting', label: '设定标签', icon: '⚙️' },
{ value: 'style', label: '风格样式', icon: '🎨' },
{ value: 'character', label: '角色人物', icon: '👤' },
{ value: 'scene', label: '场景环境', icon: '🌍' },
{ value: 'custom', label: '自定义', icon: '📝' }
{ value: 'style', label: '风格样式', icon: '🖌️' },
{ value: 'character', label: '角色人物', icon: '🧙' },
{ value: 'scene', label: '场景环境', icon: '🏞️' },
{ value: 'custom', label: '自定义', icon: '🧩' }
];
// Computed
+7 -7
View File
@@ -16,15 +16,15 @@ const emit = defineEmits<{
function getTypeIcon(type: PresetType) {
const icons: Record<string, string> = {
positive: '👍',
negative: '👎',
positive: '🪄',
negative: '',
setting: '⚙️',
style: '🎨',
character: '👤',
scene: '🌍',
custom: '📝'
style: '🖌️',
character: '🧙',
scene: '🏞️',
custom: '🧩'
};
return icons[type] || '📝';
return icons[type] || '🧩';
}
function getTypeLabel(type: PresetType) {