| | |
| | | |
| | | this.$nextTick(() => { |
| | | window.addEventListener("resize", this.echartsResize) |
| | | this.tableHeight = this.$refs.Container.offsetHeight - this.$refs.caseBox.offsetHeight - this.$refs.crowdBox.offsetHeight - this.$refs.alertBoxTitle.offsetHeight - 52 |
| | | |
| | | console.log(this.tableHeight, this.$refs.Container.offsetHeight, this.$refs.caseBox.offsetHeight, this.$refs.crowdBox.offsetHeight, this.$refs.alertBoxTitle.offsetHeight, 32) |
| | | this.tableHeight = this.$refs.Container.offsetHeight - this.$refs.caseBox.offsetHeight - this.$refs.crowdBox.offsetHeight - this.$refs.alertBoxTitle.offsetHeight - 82 |
| | | }) |
| | | this.equipmentEchartsCarousel() |
| | | }, |
| | |
| | | flex-direction: column; |
| | | background: $bg-color; |
| | | |
| | | background-image: url(/img/box/box-bg.png); |
| | | background-size: 100% 100%; |
| | | background-repeat: no-repeat; |
| | | |
| | | .title::after { |
| | | content: ''; |
| | | position: absolute; |
| | | top: 15px; |
| | | left: 0; |
| | | top: 13px; |
| | | left: 6px; |
| | | width: 10px; |
| | | height: 10px; |
| | | border-radius: 50%; |
| | |
| | | } |
| | | |
| | | .title { |
| | | padding: 0 18px 0 25px; |
| | | margin-top: 8px; |
| | | padding: 0 18px 0 30px; |
| | | position: relative; |
| | | text-align: left; |
| | | height: 40px; |
| | | line-height: 40px; |
| | | height: 36px; |
| | | line-height: 36px; |
| | | font-size: 16px; |
| | | background-image: linear-gradient(to right, #2e4aba, #010d3e); |
| | | // background-image: linear-gradient(to right, #2e4aba, #010d3e); |
| | | |
| | | .timer { |
| | | width: 250px; |
| | |
| | | margin-top: 0; |
| | | margin-bottom: 0; |
| | | |
| | | .title { |
| | | height: 34px; |
| | | line-height: 34px; |
| | | } |
| | | |
| | | .echarts-box { |
| | | overflow-x: hidden; |
| | | overflow-y: auto; |