From b27571cf78742a5de2e1d43c4af5f8cc436860e2 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 12 四月 2024 15:51:02 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/system/threshold/index.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/system/threshold/index.vue b/src/views/system/threshold/index.vue index 5b536ca..8b6e629 100644 --- a/src/views/system/threshold/index.vue +++ b/src/views/system/threshold/index.vue @@ -26,15 +26,17 @@ <el-table-column label="瓒呮椂澶╂暟" align="center" prop="timeout"/> <el-table-column label="宸ュ崟闃堝��" align="center" prop="indicator"> <template slot-scope="scope"> - <div v-for="item in JSON.parse(scope.row.indicator)" :key="item"> - {{ item.label }}锛歿{ item.value }} + <div v-for="item in JSON.parse(scope.row.indicator)" :key="item" style="display: flex;flex-direction: row"> + <div style="width: 120px;text-align: right">{{ item.label }}</div> + <div style="width: 60px;text-align: right">{{ item.value}}</div> </div> </template> </el-table-column> <el-table-column label="涓嬪彂闃堝��" align="center" prop="indicator"> <template slot-scope="scope"> - <div v-for="item in JSON.parse(scope.row.indicator)" :key="item"> - {{ item.label }}锛歿{ item.value2 }} + <div v-for="item in JSON.parse(scope.row.indicator)" :key="item" style="display: flex;flex-direction: row"> + <div style="width: 120px;text-align: right">{{ item.label }}</div> + <div style="width: 60px;text-align: right">{{ item.value2}}</div> </div> </template> </el-table-column> @@ -334,7 +336,7 @@ } </script> <style> -.el-input-half-width { - width: calc(50% - 6px); /* 鍑忓幓涓�浜涢棿闅� */ +.el-input-half-width { + width: calc(50% - 6px); /* 鍑忓幓涓�浜涢棿闅� */ } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0