From 7df2d3d0fa20cd1eb58009aaf6e1b3c8712a58a2 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期二, 20 四月 2021 16:02:59 +0800
Subject: [PATCH] 图层控制宽度限制
---
src/components/table/summarySheets.vue | 4 ++--
src/assets/css/map/map-panel-style.less | 15 +++++++++++----
src/utils/dialogDrag.js | 2 +-
src/components/LayerController/logic/Company.js | 2 +-
src/components/LayerController/modules/LcServiceLayer.vue | 3 ++-
5 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/assets/css/map/map-panel-style.less b/src/assets/css/map/map-panel-style.less
index 751ab6a..f9ded23 100644
--- a/src/assets/css/map/map-panel-style.less
+++ b/src/assets/css/map/map-panel-style.less
@@ -276,10 +276,10 @@
img {
display: block;
- width: 30px;
- height: 30px;
- margin-left: -15px;
- margin-top: -15px
+ width: 32px;
+ height: 32px;
+ margin-left: -16px;
+ margin-top: -16px
}
ul {
@@ -647,3 +647,10 @@
.fixed-table {
background: rgba(0, 16, 30, 1) !important;
}
+/****************************绉佹湁***/
+.baoBiao{
+ .el-dialog.el-dialog--center{
+ top:100px;
+ left: 100px;
+ }
+}
diff --git a/src/components/LayerController/logic/Company.js b/src/components/LayerController/logic/Company.js
index f88c2e9..8ae71eb 100644
--- a/src/components/LayerController/logic/Company.js
+++ b/src/components/LayerController/logic/Company.js
@@ -19,7 +19,7 @@
layer: layer
})
const res = await mapApi.getCompany()
- console.log(res)
+ // console.log(res)
const data = res.Result.DataInfo || {}
for (let i = 0; i < data.length; i++) {
// console.log(data[i])
diff --git a/src/components/LayerController/modules/LcServiceLayer.vue b/src/components/LayerController/modules/LcServiceLayer.vue
index 3f3c2b3..323d75a 100644
--- a/src/components/LayerController/modules/LcServiceLayer.vue
+++ b/src/components/LayerController/modules/LcServiceLayer.vue
@@ -95,7 +95,8 @@
.wms-panel-scrollbar{
height: 457px;
- width: 2.5rem;
+ width: 285px;
+ //width: 2.5rem;
font-size: 14px;
}
.layerbox {
diff --git a/src/components/table/summarySheets.vue b/src/components/table/summarySheets.vue
index ad700e3..a5d73eb 100644
--- a/src/components/table/summarySheets.vue
+++ b/src/components/table/summarySheets.vue
@@ -1,6 +1,6 @@
<template>
<div class="summary-sheets">
- <el-tooltip :popper-class="'map-tooltip'" effect="dark" content="鎶ヨ〃" placement="left">
+ <el-tooltip :popper-class="'map-tooltip'" effect="dark" content="" placement="left">
<div :class='["iconBtn",subtopic ? "active-button" : ""]' @click="subtopicBtn" >
<i class="el-icon-tickets icon"></i>
</div>
@@ -28,7 +28,7 @@
</el-tooltip>
</div>
</transition>
- <Dialog ref="summarySheets" title="鎶ヨ〃" >
+ <Dialog ref="summarySheets" title="鎶ヨ〃" class="baoBiao" >
<tab-handover></tab-handover>
</Dialog>
<Dialog ref="warnDialog" title="棰勬姤璀�" >
diff --git a/src/utils/dialogDrag.js b/src/utils/dialogDrag.js
index a797fe8..3c7b596 100644
--- a/src/utils/dialogDrag.js
+++ b/src/utils/dialogDrag.js
@@ -10,7 +10,7 @@
dialogHeaderEl.style.cssText += ';cursor:move;'
//console.log(dragDom.style.cssText)
//dragDom.style.cssText += ';top:0px;'
- dragDom.style.cssText = 'bottom:15px;'
+ // dragDom.style.cssText = 'bottom:15px;'
// 鑾峰彇鍘熸湁灞炴�� ie dom鍏冪礌.currentStyle 鐏嫄璋锋瓕 window.getComputedStyle(dom鍏冪礌, null);
const sty = (function () {
--
Gitblit v1.8.0