From 2a384502ab760cbaa401f66eeb7b1e7c8d76d822 Mon Sep 17 00:00:00 2001 From: tianlong <17603473476@163.com> Date: Sun, 23 Apr 2023 16:02:35 +0800 Subject: [PATCH] up --- src/components/heades/index.vue | 4 ++-- src/main.js | 3 --- src/views/crops/classify/index.vue | 17 ++++++++--------- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/components/heades/index.vue b/src/components/heades/index.vue index 78fa414..85bd09f 100644 --- a/src/components/heades/index.vue +++ b/src/components/heades/index.vue @@ -52,8 +52,8 @@ const exitMaximize = () => { justify-content: center; opacity: 1; text-shadow: 0px 0px 6px 0px rgba(41, 255, 255, 1); - font-weight: 400; - font-size: 21px; + font-weight: 800; + font-size: 31px; letter-spacing: 4px; color: rgba(255, 255, 255, 1); transform: translate(0, -100%); diff --git a/src/main.js b/src/main.js index 979664a..6f4209a 100755 --- a/src/main.js +++ b/src/main.js @@ -12,9 +12,6 @@ import store from './store' import router from './router' import directive from './directive' // directive -import highcharts from 'highcharts' -import highcharts3d from 'highcharts/highcharts-3d' -highcharts3d(highcharts) // 注册指令 diff --git a/src/views/crops/classify/index.vue b/src/views/crops/classify/index.vue index b27c41e..a30ae99 100644 --- a/src/views/crops/classify/index.vue +++ b/src/views/crops/classify/index.vue @@ -303,6 +303,9 @@ function initMap() { // // maximumLevel: 18 }), }); + // 去除logo + viewer.cesiumWidget.creditContainer.style.display = 'none'; + //加载地图服务 let map = new Cesium.WebMapServiceImageryProvider({ url: `http://121.36.229.60:9080/geoserver/shuzisannong/wms`, @@ -339,7 +342,7 @@ function initMap() { }); // 拿取最后一个图层 let provider = providerPoint._imageryProvider; - console.log(provider); + console.log(providerPoint); if (provider && provider.ready && provider._layers && providerPoint.show === true) { xy = provider.tilingScheme.positionToTileXY(cartographic, level, xy); let promise = provider.pickFeatures( @@ -776,21 +779,17 @@ function areachar() { offset: 0, color: ' rgba(0, 208, 255, 0.1)', }, - { - offset: 0.5, - color: '#86eef1', // 左边的右边 颜色 - }, - { - offset: 0.5, - color: '#5ad6d9', // 右边的左边 颜色 - }, + { offset: 1, color: 'rgba(0, 208, 255, 0.9) ', }, ], }, + borderWidth: 1, + borderColor: 'black', }, + label: { show: true, position: 'top',