From 440143a15897383b7eed99a493274e0ae37e6642 Mon Sep 17 00:00:00 2001
From: z_yu <1534695664@qq.com>
Date: Thu, 21 Jul 2022 15:21:22 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5CSS=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E4=BB=A5=E5=8F=8A=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/dashboard/PanelGroup.vue | 127 ++++++++----
src/views/home.vue | 183 ++++++++++++++++--
.../deviceManage/module/deviceDetail.vue | 5 +
3 files changed, 263 insertions(+), 52 deletions(-)
diff --git a/src/views/dashboard/PanelGroup.vue b/src/views/dashboard/PanelGroup.vue
index 719f6ce..eb3723d 100644
--- a/src/views/dashboard/PanelGroup.vue
+++ b/src/views/dashboard/PanelGroup.vue
@@ -7,9 +7,9 @@
@@ -20,9 +20,9 @@
@@ -33,9 +33,9 @@
@@ -46,9 +46,9 @@
@@ -59,9 +59,9 @@
@@ -87,24 +87,59 @@ export default {
.panel-group {
.card-panel-col {
- margin-bottom: 32px;
+ margin-bottom: 20px;
}
.card-panel {
height: 100px;
// height: 108px;
// cursor: pointer;
- font-size: 12px;
+ font-size: 15px;
position: relative;
overflow: hidden;
- color: #666;
- // background: #fff;
- background: linear-gradient(180deg, rgba(51,159,210,0.5000) 0%, rgba(56,158,225,0) 100%);
- border-top: 2px #21AAE1 solid;
opacity: 0.86;
// box-shadow: 4px 4px 40px rgba(0, 0, 0, .05);
// border-color: rgba(0, 0, 0, .05);
-
+ &.danganzongliang {
+ color: #21AAE1;
+ background: linear-gradient(180deg, rgba(51,159,210,0.5000) 0%, rgba(56,158,225,0) 100%);
+ border-top: 2px #21AAE1 solid;
+ & span.card-panel-num{
+ background: linear-gradient(180deg, #FFFFFF 0%, #21AAE1 100%);
+ }
+ }
+ &.danganhezongliang {
+ color: #793CBA;
+ background: linear-gradient(180deg, rgba(121,60,186,0.5000) 0%, rgba(121,60,186,0) 100%);
+ border-top: 2px #793CBA solid;
+ & span.card-panel-num{
+ background: linear-gradient(180deg, #FFFFFF 0%, #793CBA 100%)
+ }
+ }
+ &.quanbushebei {
+ color: #008E81;
+ background: linear-gradient(180deg, rgba(0,142,129,0.5000) 0%, rgba(0,142,129,0) 100%);
+ border-top: 2px #008E81 solid;
+ & span.card-panel-num{
+ background: linear-gradient(180deg, #FFFFFF 0%, #008E81 100%);
+ }
+ }
+ &.zaixianshebei {
+ color: #C4C859;
+ background: linear-gradient(180deg, rgba(196,200,89,0.5000) 0%, rgba(196,200,89,0) 100%);
+ border-top: 2px #C4C859 solid;
+ & span.card-panel-num{
+ background: linear-gradient(180deg, #FFFFFF 0%, #BFC458 100%);
+ }
+ }
+ &.lixianshebei {
+ color: #F65164;
+ background: linear-gradient(180deg, rgba(246,81,100,0.5000) 0%, rgba(247,80,100,0) 100%);
+ border-top: 2px #F65164 solid;
+ & span.card-panel-num{
+ background: linear-gradient(180deg, #FFFFFF 0%, #F55164 100%);
+ }
+ }
// &:hover {
// .card-panel-icon-wrapper {
// color: #fff;
@@ -127,51 +162,61 @@ export default {
// }
// }
- .icon-danganzongliang {
- color: #21AAE1;
- }
+ // .icon-danganzongliang {
+ // color: #21AAE1;
+ // }
- .icon-danganhezongliang {
- color: #36a3f7;
- }
+ // .icon-danganhezongliang {
+ // color: #793CBA;
+ // }
- .icon-money {
- color: #f4516c;
- }
+ // .icon-quanbushebei {
+ // color: #008E81;
+ // }
- .icon-shopping {
- color: #34bfa3
- }
+ // .icon-zaixianshebei {
+ // color: #C4C859
+ // }
+
+ // .icon-lixianshebei {
+ // color: #F65164
+ // }
.card-panel-icon-wrapper {
float: left;
- margin: 14px 0 0 14px;
- padding: 16px;
+ margin: 0 10px 0 12px;
+ padding: 20px;
transition: all 0.38s ease-out;
border-radius: 6px;
}
.card-panel-icon {
float: left;
- font-size: 48px;
+ font-size: 60px;
}
.card-panel-description {
- float: right;
- font-weight: bold;
- margin: 26px;
+ // float: right;
+ // font-weight: bold;
+ margin: 19px;
margin-left: 0px;
.card-panel-text {
- line-height: 18px;
+ line-height: 30px;
color: rgba(0, 0, 0, 0.45);
- font-size: 16px;
- margin-bottom: 12px;
+ font-size: 28px;
+ margin-bottom: 11px;
+ & span{
+ // background: linear-gradient(180deg, #FFFFFF 0%, #21AAE1 100%);
+ -webkit-background-clip: text;
+ color: transparent;
+ font-weight: bold;
+ }
}
- .card-panel-num {
- font-size: 20px;
- }
+ // .card-panel-num {
+ // font-size: 20px;
+ // }
}
}
}
diff --git a/src/views/home.vue b/src/views/home.vue
index 2992ff4..ff2aa8c 100644
--- a/src/views/home.vue
+++ b/src/views/home.vue
@@ -3,10 +3,78 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
3D库房
+
+
+
+ -
+
+
全景图
+
+ -
+
+
档案库
+
+ -
+
+
整理室
+
+ -
+
+
阅览室
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -30,7 +98,7 @@
diff --git a/src/views/storeManage/deviceManage/module/deviceDetail.vue b/src/views/storeManage/deviceManage/module/deviceDetail.vue
index 2118479..88ba261 100644
--- a/src/views/storeManage/deviceManage/module/deviceDetail.vue
+++ b/src/views/storeManage/deviceManage/module/deviceDetail.vue
@@ -394,6 +394,11 @@ export default {
// }
// }
// await
+ crudDevice.getDeviceById().then((data) => {
+ crud.resetForm(JSON.parse(JSON.stringify(data)))
+ crud.status.edit = CRUD.STATUS.PREPARED
+ crud.getDataStatus(crud.getDataId(data)).edit = CRUD.STATUS.PREPARED
+ })
form.supplier = form.supplierId.id
this.selectedDeviceType = form.deviceTypeId.name
// crud.status.edit = CRUD.STATUS.PREPARED