fix: 修复字典管理的搜索框展开收起图标异常问题

This commit is contained in:
AN 2026-06-04 16:10:01 +08:00
parent fb889c02db
commit 135b3e54ab

View File

@ -3,7 +3,7 @@
<el-row :gutter="16" class="dict-grid"> <el-row :gutter="16" class="dict-grid">
<!-- 字典类型 --> <!-- 字典类型 -->
<el-col :xs="24" :lg="12"> <el-col :xs="24" :lg="12">
<el-card shadow="hover" class="dict-card table-panel"> <el-card shadow="hover" class="dict-card table-panel" :class="{ 'is-collapsed': !showTypeSearch }">
<template #header> <template #header>
<div class="toolbar-shell dict-card__header"> <div class="toolbar-shell dict-card__header">
<div class="table-heading"> <div class="table-heading">
@ -159,7 +159,7 @@
<!-- 字典数据 --> <!-- 字典数据 -->
<el-col :xs="24" :lg="12"> <el-col :xs="24" :lg="12">
<el-card shadow="hover" class="dict-card table-panel"> <el-card shadow="hover" class="dict-card table-panel" :class="{ 'is-collapsed': !showDataSearch }">
<template #header> <template #header>
<div class="toolbar-shell dict-card__header"> <div class="toolbar-shell dict-card__header">
<div class="table-heading"> <div class="table-heading">
@ -746,6 +746,10 @@ onMounted(() => {
padding: 0 !important; padding: 0 !important;
} }
.dict-card.is-collapsed .search-panel-toggle::after {
transform: rotate(45deg);
}
.dict-card__subtitle { .dict-card__subtitle {
margin: 4px 0 0; margin: 4px 0 0;
font-size: 12px; font-size: 12px;