diff --git a/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue b/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue index 11126c865..94b12491b 100755 --- a/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue +++ b/openhis-ui-vue3/src/views/doctorstation/components/examination/examinationApplication.vue @@ -389,7 +389,8 @@ ¥{{ item.price }}/{{ item.unit || "次" }} -
+ +
加载中...
@@ -1804,8 +1805,8 @@ defineExpose({ getList }); .collapse-scroll { flex: 1; overflow-y: auto; - overflow-x: hidden; /* Bug #500: 防止切换时水平方向溢出导致抖动 */ - min-height: 120px; /* Bug #500: 固定最小高度,避免分类切换时 flex 容器高度突变 */ + overflow-x: hidden; + min-height: 350px; /* Bug #500: 增大最小高度,确保切换分类时容器高度不会收缩导致抖动 */ } .empty-hint { color: #909399; @@ -2119,18 +2120,18 @@ defineExpose({ getList }); height: auto; line-height: 1.5; } -/* Bug #500修复: 折叠内容使用明确属性过渡,避免 transition: all 导致子元素意外动画 */ +/* Bug #500修复: 折叠内容不添加额外过渡动画,避免与 el-collapse 内部动画冲突导致双重动画/闪烁 */ :deep(.el-collapse-item__content) { padding-bottom: 4px; - transition: height 0.3s ease, max-height 0.3s ease; } -/* Bug #500: 折叠面板动画容器,添加 overflow:hidden 防止展开时内容溢出导致闪烁 */ +/* Bug #500: 折叠面板容器不加 border,保持简洁 */ :deep(.el-collapse-item__wrap) { border: none; overflow: hidden; } +/* Bug #500: 分类项不加 margin 过渡,避免展开/收起时意外位移 */ :deep(.el-collapse-item) { - transition: margin 0.2s ease; + /* 不使用 transition,依赖 el-collapse 原生动画 */ } /* Bug #500: 分类加载中提示样式 */ .category-loading-hint {