From 3706fb22a858169204aa05a01b38ec1a4e04b5c7 Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周六, 30 11月 2024 16:22:31 +0800 Subject: [PATCH] 大屏 --- LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 deletions(-) diff --git a/LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue b/LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue index 2f6c772..0040df2 100644 --- a/LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue +++ b/LA24030_LuLiPackageLine_Web/src/views/main/ReportCenter/storageView/index.vue @@ -58,10 +58,7 @@ <div class="storage-grid"> <div class="row rowMy0"> <div class="cell" v-for="(cell, cellIndex) in item.data" :key="cellIndex" v-show="cellIndex < 20"> - <span class="textK" - - :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }" - > + <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> <!-- {{ cell.laneNo }} --> {{ cell.layerNo }}{{ cell.columnNo }} </span> @@ -69,7 +66,7 @@ </div> <div class="row rowMy1"> <div class="cell" v-for="(cell, cellIndex) in item.data" :key="cellIndex" v-show="cellIndex >= 20 && cellIndex < 40"> - <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> + <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> <!-- {{ cell.laneNo }} --> {{ cell.layerNo }}{{ cell.columnNo }} </span> @@ -77,7 +74,7 @@ </div> <div class="row rowMy2"> <div class="cell" v-for="(cell, cellIndex) in item.data" :key="cellIndex" v-show="cellIndex >= 40 && cellIndex <= 60"> - <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> + <span class="textK" :style="{ background: setBgColor(cell.placeStatus), boxShadow: '0 1px 1px' + setBgColor(cell.placeStatus) }"> <!-- {{ cell.laneNo }} --> {{ cell.layerNo }}{{ cell.columnNo }} </span> @@ -101,7 +98,7 @@ </div> --> <!-- 缁熻鍖哄煙 --> - <!-- <count-view :countData="countList"></count-view> --> + <!-- <count-view :countData="countList"></count-view> --> <!-- 搴撲綅灞曠ず --> <!-- <content-view :contentData="dataList"></content-view> --> </div> @@ -275,7 +272,7 @@ // return // } //璁剧疆鑳屾櫙 - + var res = await getStorageView(Object.assign(formModel.value, {})); if (res.data.code == 200) { const { data } = res; @@ -448,15 +445,17 @@ } } .t1 { - margin: 10px 0 2px 0;font-size: 16px !important; + margin: 10px 0 2px 0; + font-size: 16px !important; + padding-bottom:10px } .textK { display: flex; /* 浣跨敤 Flexbox 甯冨眬 */ flex-direction: column; font-size: 12px; text-align: center; - width: 100%; - height: 100%; - color: white; + width: 100%; + height: 100%; + color: white; } </style> -- Gitblit v1.9.3