From 6f4fae53c213fef5226cc25fc30e3d00b14de8e8 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期日, 26 二月 2023 16:26:10 +0800 Subject: [PATCH] 顶部菜单修改 --- src/components/MapView/mapSpaceTop.vue | 4 +- src/components/chart/CountryProvinceBar.vue | 7 ++- src/views/Archive/index.vue | 2 src/views/Tools/LayerTree.vue | 2 src/assets/css/config.css | 3 + src/assets/css/index.css | 43 ++++++++++++--------- src/views/Synthesis/LeftMenu.vue | 4 +- src/components/chart/CountryDimensionBar.vue | 7 ++- 8 files changed, 42 insertions(+), 30 deletions(-) diff --git a/src/assets/css/config.css b/src/assets/css/config.css index 947f75a..ec7ce03 100644 --- a/src/assets/css/config.css +++ b/src/assets/css/config.css @@ -4,7 +4,8 @@ } .Black_theme .secondMenuDiv { - background: rgba(48, 48, 48, 0.85); + background: rgba(48, 48, 48, 0.9); + border: 1px solid #DCDFE6; } .Black_theme .box_divm { diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 84b1c6f..f8c93e0 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -37,9 +37,13 @@ } .topTitle { - width: 415px; + /* width: 415px; height: 70px; - background: url("../img/LOGO.png") no-repeat center; + background: url("../img/LOGO.png") no-repeat center; */ + width: 240px; + height: 50px; + background: url("../img/LOGO.png") no-repeat center center; + background-size: 100% 100%; } .topMenu { @@ -72,9 +76,9 @@ } .menulabel { - font-size: 14px; + font-size: 10px; font-family: Source Han Sans CN; - font-weight: 500; + text-align: center; width: 120px; color: #fff @@ -215,7 +219,7 @@ color: white; } - + .topUser .el-link--default:hover { color: #409eff !important; @@ -233,40 +237,41 @@ position: absolute; z-index: 1024; margin-top: 15px; - background: rgba(244,248,255, 0.85); + background: rgba(244, 248, 255, 0.9); border-radius: 5px; - + border: 1px solid #DCDFE6; } .secondMenuDiv div { line-height: 30px; - padding: 10px; - font-size: 18px; + font-size: 10px; font-family: Microsoft YaHei; font-weight: 400; - line-height: 49px; + line-height: 20px; min-width: 120px; } .secondMenuDiv .changeLiStyle { - color: #409eff ; + color: #409eff; box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1); - border:1px solid #409eff; + border: 1px solid #409eff; /* background: #182E45 */ /* */ - + } + .distance-legend { bottom: 55px !important; - } +} - .ol-scale-line { +.ol-scale-line { bottom: 55px !important; - right:10px - } - .ol-scale-line{ + right: 10px +} + +.ol-scale-line { display: block !important; - } \ No newline at end of file +} \ No newline at end of file diff --git a/src/components/MapView/mapSpaceTop.vue b/src/components/MapView/mapSpaceTop.vue index 68e106d..d621f27 100644 --- a/src/components/MapView/mapSpaceTop.vue +++ b/src/components/MapView/mapSpaceTop.vue @@ -99,7 +99,7 @@ pageIndex: 1, pageSize: 500, }); - debugger + if (data.code != 200) { this.$message.error("鍒楄〃璋冪敤澶辫触"); } @@ -109,7 +109,7 @@ return res; } }); - debugger + // for (var i in option) { // // console.log(option[i].tableType) diff --git a/src/components/chart/CountryDimensionBar.vue b/src/components/chart/CountryDimensionBar.vue index d6406a5..7656b44 100644 --- a/src/components/chart/CountryDimensionBar.vue +++ b/src/components/chart/CountryDimensionBar.vue @@ -1,5 +1,8 @@ <template> - <div class="CountryDimension" ref="chart"></div> + <div + class="CountryDimension" + ref="chart" + ></div> </template> <script> @@ -105,7 +108,7 @@ fontSize: 11, }, formatter: function (value) { - //debugger + // var ret = "" //鎷兼帴鍔燶n杩斿洖鐨勭被鐩」 var maxLength = 2 //姣忛」鏄剧ず鏂囧瓧涓暟 var valLength = value.length //X杞寸被鐩」鐨勬枃瀛椾釜鏁� diff --git a/src/components/chart/CountryProvinceBar.vue b/src/components/chart/CountryProvinceBar.vue index 802774b..0fa7627 100644 --- a/src/components/chart/CountryProvinceBar.vue +++ b/src/components/chart/CountryProvinceBar.vue @@ -1,5 +1,8 @@ <template> - <div class="CountryDimension" ref="chart"></div> + <div + class="CountryDimension" + ref="chart" + ></div> </template> <script> @@ -105,7 +108,7 @@ fontSize: 11, }, formatter: function (value) { - //debugger + // var ret = "" //鎷兼帴鍔燶n杩斿洖鐨勭被鐩」 var maxLength = 2 //姣忛」鏄剧ず鏂囧瓧涓暟 var valLength = value.length //X杞寸被鐩」鐨勬枃瀛椾釜鏁� diff --git a/src/views/Archive/index.vue b/src/views/Archive/index.vue index a92fe28..38e011a 100644 --- a/src/views/Archive/index.vue +++ b/src/views/Archive/index.vue @@ -1441,7 +1441,7 @@ res.isShow = false return res; }) - debugger + this.monthdata = val; this.listData.count = data.count; }, diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue index 7a1653f..81d4aa5 100644 --- a/src/views/Synthesis/LeftMenu.vue +++ b/src/views/Synthesis/LeftMenu.vue @@ -1470,7 +1470,7 @@ ); }, setWander(res) { - debugger; + ; switch (res) { case "c1": @@ -1733,7 +1733,7 @@ }); window.map.addLayer(vectorLayer); } else if (res.serveType == "Tileset") { - debugger + var tileset = Viewer.scene.primitives.add( new Cesium.Cesium3DTileset({ name: res.cnName, diff --git a/src/views/Tools/LayerTree.vue b/src/views/Tools/LayerTree.vue index eadd648..c4bfd4f 100644 --- a/src/views/Tools/LayerTree.vue +++ b/src/views/Tools/LayerTree.vue @@ -606,7 +606,7 @@ }); window.map.addLayer(vectorLayer); } else if (res.serveType == "Tileset") { - debugger + var tileset = Viewer.scene.primitives.add( new Cesium.Cesium3DTileset({ name: res.cnName, -- Gitblit v1.9.3