修改图标
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user