修改图标
This commit is contained in:
@@ -327,15 +327,15 @@ function importPreset(event: Event) {
|
|||||||
|
|
||||||
function getTypeIcon(type: string) {
|
function getTypeIcon(type: string) {
|
||||||
const icons: Record<string, string> = {
|
const icons: Record<string, string> = {
|
||||||
positive: '👍',
|
positive: '🪄',
|
||||||
negative: '👎',
|
negative: '⛔',
|
||||||
setting: '⚙️',
|
setting: '⚙️',
|
||||||
style: '🎨',
|
style: '🖌️',
|
||||||
character: '👤',
|
character: '🧙',
|
||||||
scene: '🌍',
|
scene: '🏞️',
|
||||||
custom: '📝'
|
custom: '🧩'
|
||||||
};
|
};
|
||||||
return icons[type] || '📝';
|
return icons[type] || '🧩';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTypeLabel(type: string) {
|
function getTypeLabel(type: string) {
|
||||||
|
|||||||
@@ -54,13 +54,13 @@ function showNotification(message: string, type: 'success' | 'error' | 'info' =
|
|||||||
|
|
||||||
// Preset Types
|
// Preset Types
|
||||||
const presetTypes: { value: PresetType; label: string; icon: string }[] = [
|
const presetTypes: { value: PresetType; label: string; icon: string }[] = [
|
||||||
{ value: 'positive', label: '正面提示词', icon: '👍' },
|
{ value: 'positive', label: '正面提示词', icon: '🪄' },
|
||||||
{ value: 'negative', label: '负面提示词', icon: '👎' },
|
{ value: 'negative', label: '负面提示词', icon: '⛔' },
|
||||||
{ value: 'setting', label: '设定标签', icon: '⚙️' },
|
{ value: 'setting', label: '设定标签', icon: '⚙️' },
|
||||||
{ value: 'style', label: '风格样式', icon: '🎨' },
|
{ value: 'style', label: '风格样式', icon: '🖌️' },
|
||||||
{ value: 'character', label: '角色人物', icon: '👤' },
|
{ value: 'character', label: '角色人物', icon: '🧙' },
|
||||||
{ value: 'scene', label: '场景环境', icon: '🌍' },
|
{ value: 'scene', label: '场景环境', icon: '🏞️' },
|
||||||
{ value: 'custom', label: '自定义', icon: '📝' }
|
{ value: 'custom', label: '自定义', icon: '🧩' }
|
||||||
];
|
];
|
||||||
|
|
||||||
// Computed
|
// Computed
|
||||||
|
|||||||
@@ -16,15 +16,15 @@ const emit = defineEmits<{
|
|||||||
|
|
||||||
function getTypeIcon(type: PresetType) {
|
function getTypeIcon(type: PresetType) {
|
||||||
const icons: Record<string, string> = {
|
const icons: Record<string, string> = {
|
||||||
positive: '👍',
|
positive: '🪄',
|
||||||
negative: '👎',
|
negative: '⛔',
|
||||||
setting: '⚙️',
|
setting: '⚙️',
|
||||||
style: '🎨',
|
style: '🖌️',
|
||||||
character: '👤',
|
character: '🧙',
|
||||||
scene: '🌍',
|
scene: '🏞️',
|
||||||
custom: '📝'
|
custom: '🧩'
|
||||||
};
|
};
|
||||||
return icons[type] || '📝';
|
return icons[type] || '🧩';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTypeLabel(type: PresetType) {
|
function getTypeLabel(type: PresetType) {
|
||||||
|
|||||||
Reference in New Issue
Block a user