From 9c2f8de8c3813f7bf3c416ac1f53930baf368838 Mon Sep 17 00:00:00 2001 From: "lj7788@126.com" Date: Wed, 16 Jul 2025 18:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=90=E6=96=99=E7=AE=A1=E7=90=86=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../public/css/largeScreenStyle.css | 28 +- .../public/css/largeScreenStyle.less | 40 ++- .../src/views/machmater/materialManage.vue | 265 +++++++++++++++++- 3 files changed, 313 insertions(+), 20 deletions(-) diff --git a/yanzhu-bigscreen/public/css/largeScreenStyle.css b/yanzhu-bigscreen/public/css/largeScreenStyle.css index 14ce2c53..9901144f 100644 --- a/yanzhu-bigscreen/public/css/largeScreenStyle.css +++ b/yanzhu-bigscreen/public/css/largeScreenStyle.css @@ -84,6 +84,21 @@ body { height: 30px; line-height: 28px; } + .mytable th .cell { + font-size: 14px; + } + .mytable td .cell { + font-size: 12px; + } + .mytable td .cell .el-tag { + font-size: 12px; + } + .mytable .el-table__empty-text { + font-size: 12px; + } + .mytable .el-icon-close { + font-size: 20px; + } } @media (min-width: 1921px) and (max-width: 2560px) { .w-scroll::-webkit-scrollbar { @@ -159,18 +174,18 @@ body { display: inline-flex !important; } .mytable th .cell { - font-size: 20px; + font-size: 18px; } .mytable td .cell { - font-size: 20px; + font-size: 16px; } .mytable td .cell .el-tag { - font-size: 20px; + font-size: 16px; height: 30px; line-height: 30px; } .mytable .el-table__empty-text { - font-size: 20px; + font-size: 16px; } .mytable .el-table__row:nth-child(odd) { background-size: 100% 70px; @@ -294,8 +309,11 @@ body { .mytable .el-table__row:nth-child(odd) { background-size: 100% 90px; } + .mytable .el-table__row:hover { + background-size: 100% 100px !important; + } .mytable .el-table__row td { - height: 100px; + height: 100px !important; } .mytable .el-image.att-img img { height: 80px; diff --git a/yanzhu-bigscreen/public/css/largeScreenStyle.less b/yanzhu-bigscreen/public/css/largeScreenStyle.less index b8687738..f0d8a410 100644 --- a/yanzhu-bigscreen/public/css/largeScreenStyle.less +++ b/yanzhu-bigscreen/public/css/largeScreenStyle.less @@ -95,6 +95,32 @@ body { height: 30px; line-height: 28px; } + + .mytable { + th { + .cell { + font-size: 14px; + } + } + + td { + .cell { + font-size: 12px; + + .el-tag { + font-size: 12px; + } + } + } + + .el-table__empty-text { + font-size: 12px; + } + + .el-icon-close { + font-size: 20px; + } + } } @media (min-width: 1921px) and (max-width: 2560px) { @@ -176,16 +202,16 @@ body { .mytable { th { .cell { - font-size: 20px; + font-size: 18px; } } td { .cell { - font-size: 20px; + font-size: 16px; .el-tag { - font-size: 20px; + font-size: 16px; height: 30px; line-height: 30px; } @@ -193,7 +219,7 @@ body { } .el-table__empty-text { - font-size: 20px; + font-size: 16px; } .el-table__row { @@ -345,9 +371,11 @@ body { &:nth-child(odd) { background-size: 100% 90px; } - + &:hover{ + background-size: 100% 100px !important; + } td { - height: 100px; + height: 100px !important; } } diff --git a/yanzhu-bigscreen/src/views/machmater/materialManage.vue b/yanzhu-bigscreen/src/views/machmater/materialManage.vue index f8049a57..0a279a6c 100644 --- a/yanzhu-bigscreen/src/views/machmater/materialManage.vue +++ b/yanzhu-bigscreen/src/views/machmater/materialManage.vue @@ -1,7 +1,13 @@