feat(editor-toolbar): 新增门区域图标样式并更新图标类名

This commit is contained in:
xudan 2025-10-23 16:45:21 +08:00
parent 8e203acbe7
commit 4576ed4e77
5 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,7 @@ $icons: (
area14-detail,
area14,
battery_charge,
door-area,
battery,
connect_off,
connect_on,

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

View File

@ -116,7 +116,7 @@ const canDelete = computed<boolean>(() => editor.value.current.value?.name === '
:title="$t('门区域')"
@click="mode = DOOR_AREA_TYPE as any"
>
<i class="icon" :class="mode === (DOOR_AREA_TYPE as any) ? 'area14-active' : 'area14'" />
<i class="icon door-area" />
</a-button>
<a-divider class="size-24 mh-8" type="vertical" />
@ -150,4 +150,7 @@ const canDelete = computed<boolean>(() => editor.value.current.value?.name === '
.icon.area14-detail {
font-size: 28px;
}
.door-area {
font-size: 22px !important;
}
</style>