diff --git a/src/api/index.js b/src/api/index.js
index 78c061e..0e87bfb 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -34,4 +34,14 @@ export function getEqpList() {
method: 'post',
})
}
+// 注塑车间
+export function getZSJList(day) {
+ return request({
+ url: '/api/bi/zhu-su-bi-data',
+ method: 'post',
+ data:{
+ day
+ }
+})
+}
diff --git a/src/assets/scss/index.scss b/src/assets/scss/index.scss
index 9d45766..ecc2176 100644
--- a/src/assets/scss/index.scss
+++ b/src/assets/scss/index.scss
@@ -19,6 +19,7 @@
}
.host-body {
+ height: 100%;
.dv-dec-10,
.dv-dec-10-s {
@@ -132,6 +133,7 @@
}
.body-box {
+ // height: 100%;
margin-top: 16px;
display: flex;
flex-direction: column;
diff --git a/src/assets/scss/tianyi.scss b/src/assets/scss/tianyi.scss
index 0f4e133..913cd83 100644
--- a/src/assets/scss/tianyi.scss
+++ b/src/assets/scss/tianyi.scss
@@ -18,18 +18,97 @@
.type0 {
background-image: linear-gradient(#849384, darken(#849384, 20%));
}
+
.type1 {
background-image: linear-gradient(#6acbf0, darken(#6acbf0, 20%));
}
+
.type2 {
background-image: linear-gradient(#35ff39, darken(#35ff39, 20%));
}
+
.type3 {
background-image: linear-gradient(#d3ff33, darken(#d3ff33, 20%));
}
+
.type4 {
background-image: linear-gradient(#ff7db7, darken(#ff7db7, 20%));
}
+
.type5 {
background-image: linear-gradient(red, darken(red, 20%));
+}
+
+// 加载动画
+.loadbox {
+ position: relative;
+ width: 90px;
+ height: 50px;
+ // margin: 50px auto;
+ position: fixed;
+ top: 40px;
+ right: 20px;
+}
+
+.loadbox span {
+ position: absolute;
+ width: 20px;
+ height: 20px;
+ background: #3498db;
+ opacity: 0.5;
+ border-radius: 100%;
+ animation: anim 1s infinite ease-in-out;
+}
+
+.loadbox> :nth-child(2) {
+ left: 20px;
+ animation-delay: 0.2s;
+}
+
+.loadbox> :nth-child(3) {
+ left: 40px;
+ animation-delay: 0.4s;
+}
+
+.loadbox> :nth-child(4) {
+ left: 60px;
+ animation-delay: 0.6s;
+}
+
+.loadbox> :nth-child(5) {
+ left: 80px;
+ animation-delay: 0.8s;
+}
+
+@keyframes anim {
+ 0% {
+ opacity: 0.3;
+ transform: translateY(0px);
+ }
+
+ 50% {
+ opacity: 1;
+ transform: translateY(-10px);
+ background: #64dbe3;
+ }
+
+ 100% {
+ opacity: 0.3;
+ transform: translateY(0px);
+ }
+}
+
+.hongyuan {
+ width: 20px;
+ height: 20px;
+ background-color: rgba(255, 0, 0);
+ border-radius: 50%;
+ margin-right: 5px;
+}
+.lvyuan {
+ width: 20px;
+ height: 20px;
+ background-color: rgb(64, 229, 73);
+ border-radius: 50%;
+ margin-right: 5px;
}
\ No newline at end of file
diff --git a/src/assets/zsj.png b/src/assets/zsj.png
new file mode 100644
index 0000000..32b5028
Binary files /dev/null and b/src/assets/zsj.png differ
diff --git a/src/components/echart/pieEchart/index.vue b/src/components/echart/pieEchart/index.vue
new file mode 100644
index 0000000..477a132
--- /dev/null
+++ b/src/components/echart/pieEchart/index.vue
@@ -0,0 +1,53 @@
+
+
+