From 58a5242ff58523f5d048da13fc543ffba5065414 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 12 六月 2024 17:36:40 +0800 Subject: [PATCH] 原型制作 --- src/components/inspection/TaskNode.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/inspection/TaskNode.vue b/src/components/inspection/TaskNode.vue index 4d5b161..4988c22 100644 --- a/src/components/inspection/TaskNode.vue +++ b/src/components/inspection/TaskNode.vue @@ -1,7 +1,10 @@ <template> <div> - <el-row justify="center">{{ title }}</el-row> - <div class="border-r-small f-b"> + <el-row justify="start"> + <div>{{ title }}</div> + <el-text type="danger" size="small">{{ warning }}</el-text> + </el-row> + <div class="border-r-small font-base"> <div v-for="(item, i) in items" :key="title + i"> <slot :item="item" :index="i"></slot> </div> @@ -16,6 +19,7 @@ export default { props: { title: String, + warning: String, count: Number, items: Array }, -- Gitblit v1.9.3