From a8d9b033f3f085a999193ddde2ee1b6bdc53c103 Mon Sep 17 00:00:00 2001 From: huang <1724659546@qq.com> Date: Thu, 23 Oct 2025 18:27:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PigBatchList.vue | 47 ++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 15 deletions(-) diff --git a/src/components/PigBatchList.vue b/src/components/PigBatchList.vue index a7f58571..8563e430 100644 --- a/src/components/PigBatchList.vue +++ b/src/components/PigBatchList.vue @@ -29,20 +29,31 @@
- - 增加猪栏 - - - 群内调栏 - - 编辑 - 删除 + + + 管理猪群 + + + + + + 调栏 + + +
@@ -96,12 +107,14 @@ import PigBatchPenCard from './PigBatchPenCard.vue'; import AllocatePigsDialog from './AllocatePigsDialog.vue'; import {getAllPens, getAllPigHouses, movePigsIntoPen} from '../api/pigBatch'; import {formatRFC3339} from '../utils/format'; // 导入格式化函数 +import { ArrowDown } from '@element-plus/icons-vue'; // 导入 ArrowDown 图标 export default { name: 'PigBatchList', components: { PigBatchPenCard, - AllocatePigsDialog + AllocatePigsDialog, + ArrowDown // 注册 ArrowDown 图标 }, props: { pigBatches: { @@ -253,6 +266,10 @@ export default { gap: 10px; } +.batch-dropdown { + margin-left: 10px; /* 为下拉菜单添加左边距 */ +} + .batch-content { padding: 16px; border-top: 1px solid #eee;