Merge branch 'dev-3.7' of git.mesalab.cn:nezha/nezha-fronted into dev-3.8
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
width: 700px;
|
width: 700px;
|
||||||
box-shadow: $--right-box-shadow;
|
box-shadow: $--right-box-shadow;
|
||||||
background-color: $--background-color-empty;
|
background-color: $--background-color-empty;
|
||||||
z-index: 1001;
|
z-index: 1100;
|
||||||
|
|
||||||
.el-date-editor {
|
.el-date-editor {
|
||||||
.el-input__inner {
|
.el-input__inner {
|
||||||
|
|||||||
@@ -158,7 +158,6 @@
|
|||||||
}
|
}
|
||||||
.top-tools--sub {
|
.top-tools--sub {
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
overflow: hidden;
|
|
||||||
.top-tool-left {
|
.top-tool-left {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 0; // 避免计算错误
|
width: 0; // 避免计算错误
|
||||||
|
|||||||
@@ -76,7 +76,6 @@
|
|||||||
height: 50%;
|
height: 50%;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
z-index: 10;
|
|
||||||
.top-tools.top-tools--sub {
|
.top-tools.top-tools--sub {
|
||||||
border-bottom: 1px solid $--border-color-light;
|
border-bottom: 1px solid $--border-color-light;
|
||||||
.top-tool-right {
|
.top-tool-right {
|
||||||
@@ -151,7 +150,7 @@
|
|||||||
height: calc(100% - 9px);
|
height: calc(100% - 9px);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 1;
|
z-index: 10;
|
||||||
top: 9px;
|
top: 9px;
|
||||||
|
|
||||||
.sub-list__tabs {
|
.sub-list__tabs {
|
||||||
@@ -217,7 +216,7 @@
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
cursor: ns-resize;
|
cursor: ns-resize;
|
||||||
display: none;
|
display: none;
|
||||||
z-index: 20;
|
z-index: 200;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,7 +165,6 @@
|
|||||||
.calendar-popover-text:last-of-type {
|
.calendar-popover-text:last-of-type {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.date-range-panel {
|
.date-range-panel {
|
||||||
// height: 460px;
|
// height: 460px;
|
||||||
width: 500px;
|
width: 500px;
|
||||||
@@ -310,9 +309,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-height: 900px) {
|
||||||
|
.date-range-panel {
|
||||||
|
.date-range-panel-content-right {
|
||||||
|
height: 180px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
.date-range-panel-content-left {
|
||||||
|
height: 180px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.date-range-panel--top {
|
.date-range-panel--top {
|
||||||
top: -460px;
|
top: -460px;
|
||||||
}
|
}
|
||||||
|
@media (max-height: 900px) {
|
||||||
|
.date-range-panel--top {
|
||||||
|
top: -215px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.el-date-range-picker.el-picker-panel__body__only,.el-picker-panel__body {
|
.el-date-range-picker.el-picker-panel__body__only,.el-picker-panel__body {
|
||||||
width: 324px;
|
width: 324px;
|
||||||
.el-date-range-picker__header,.el-date-picker__header{
|
.el-date-range-picker__header,.el-date-picker__header{
|
||||||
|
|||||||
@@ -31,6 +31,9 @@
|
|||||||
.panel-loading{
|
.panel-loading{
|
||||||
left: 64px;
|
left: 64px;
|
||||||
}
|
}
|
||||||
|
.resize-modal {
|
||||||
|
width: calc(100% - 64px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.home.tv,.home.se{
|
.home.tv,.home.se{
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
v-if="item.isLoad"
|
v-if="item.isLoad"
|
||||||
:meta2dId="'autoTopology' + item.id + (isFullscreen ? 'screen' : '')"
|
:meta2dId="'autoTopology' + item.id + (isFullscreen ? 'screen' : '')"
|
||||||
:topoData="item.topoData"
|
:topoData="item.topoData"
|
||||||
|
:minScale="0.01"
|
||||||
:isPreview="true"
|
:isPreview="true"
|
||||||
:querysArray="item.querysArray"
|
:querysArray="item.querysArray"
|
||||||
:project="item"
|
:project="item"
|
||||||
|
|||||||
@@ -382,7 +382,8 @@ export default {
|
|||||||
}, 600)
|
}, 600)
|
||||||
}
|
}
|
||||||
const subListDom = document.querySelector('.sub-list') // 副列表
|
const subListDom = document.querySelector('.sub-list') // 副列表
|
||||||
if (subListDom.offsetHeight < 505) {
|
const height = window.innerHeight > 900 ? 505 : 250
|
||||||
|
if (subListDom.offsetHeight < height) {
|
||||||
this.$store.dispatch('dispatchTimeBoxClass', 'date-range-panel--top')
|
this.$store.dispatch('dispatchTimeBoxClass', 'date-range-panel--top')
|
||||||
} else {
|
} else {
|
||||||
this.$store.dispatch('dispatchTimeBoxClass', '')
|
this.$store.dispatch('dispatchTimeBoxClass', '')
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
init: function () {
|
init: function () {
|
||||||
const meta2dOptions = {
|
const meta2dOptions = {
|
||||||
minScale: 0.25,
|
minScale: this.minScale,
|
||||||
maxScale: 2,
|
maxScale: 2,
|
||||||
autoAnchor: false
|
autoAnchor: false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -149,6 +149,10 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
minScale: {
|
||||||
|
type: Number,
|
||||||
|
default: 0.25
|
||||||
|
},
|
||||||
querysArray: {},
|
querysArray: {},
|
||||||
params: {},
|
params: {},
|
||||||
project: {},
|
project: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user