NEZ-1968 style:黑色主题样式修改
This commit is contained in:
@@ -437,3 +437,6 @@ input, textarea {
|
||||
.is-disabled{
|
||||
color: $--color-text-disabled !important;
|
||||
}
|
||||
.ql-tooltip {
|
||||
background: $--background-color-empty;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div class="input-box-item" style="margin-right: unset !important;width: 30px !important;flex:unset;" @click="mapConfigVisible = true"><i class="nz-icon nz-icon-weizhi" style="color:rgb(238, 157, 63)"></i></div>
|
||||
</div>
|
||||
<el-dialog :visible.sync="mapConfigVisible" :title="$t('config.system.basic.mapTitle')" width="calc(50% - 10px)" @close="mapClose" @opened="initMap" class=" nz-dialog map-config-dialog" :modal-append-to-body="appendToBody">
|
||||
<div id="map" style="height: 100%; width: 100%"></div>
|
||||
<div id="map" style="height: 100%; width: 100%" :style="theme=='dark'? 'filter: invert(1) hue-rotate(0.5turn);opacity: 0.75;': ''"></div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
@@ -34,6 +34,7 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
theme: localStorage.getItem(`nz-user-${localStorage.getItem('nz-user-id')}-theme`),
|
||||
lnglat: '',
|
||||
oldlnglat: '',
|
||||
mapParam: { longitude: 116.39, latitude: 39.9, zoom: 4, minZoom: 1, maxZoom: 10 },
|
||||
|
||||
@@ -797,7 +797,7 @@ export default {
|
||||
this.codeMirrorValue[this.index] = value
|
||||
this.dropDownVisible = false
|
||||
this.$emit('change', value)
|
||||
this.initCodeMirror()
|
||||
// this.initCodeMirror()
|
||||
this.$forceUpdate()
|
||||
this.cascaderValue = ''
|
||||
},
|
||||
@@ -868,6 +868,7 @@ export default {
|
||||
if (res.code === 200) {
|
||||
if (!res.data.vars || !res.data.vars.length) {
|
||||
this.metricChange(data.expression)
|
||||
this.initCodeMirror()
|
||||
return
|
||||
}
|
||||
res.data.vars.forEach(item => {
|
||||
|
||||
Reference in New Issue
Block a user