|
@@ -68,7 +68,7 @@ import * as echarts from "echarts";
|
|
|
import "echarts-gl"; //3D地图插件
|
|
|
import { onMounted, reactive, ref } from "vue";
|
|
|
import img149 from "@/assets/img/about/149.png";
|
|
|
-import wenli from "@/assets/img/about/wenli.jpg";
|
|
|
+import wenli from "@/assets/img/about/wenli5.jpg";
|
|
|
var imageDom = document.createElement("img");
|
|
|
imageDom.src = img149;
|
|
|
// 定义echarts方法
|
|
@@ -107,7 +107,7 @@ let option = {
|
|
|
},
|
|
|
},
|
|
|
itemStyle: {
|
|
|
- color: "rgb(0,225,255)",
|
|
|
+ color: "rgb(0,160,255)",
|
|
|
opacity: 1,
|
|
|
borderWidth: 4,
|
|
|
borderColor: "#fff",
|
|
@@ -151,7 +151,7 @@ let option = {
|
|
|
realisticMaterial: {
|
|
|
detailTexture: wenli,
|
|
|
metalness: 0,
|
|
|
-
|
|
|
+ textureOffset:0.05,
|
|
|
metalnessAdjust:0,
|
|
|
},
|
|
|
lambertMaterial: {
|
|
@@ -167,7 +167,7 @@ let option = {
|
|
|
shadowQuality: "high", //阴影亮度
|
|
|
shadow: true, //是否显示阴影
|
|
|
//shadowQuality: "medium", //阴影质量 ultra //阴影亮度
|
|
|
- alpha: 40, //上下
|
|
|
+ alpha: 45, //上下
|
|
|
beta: 10, //左右
|
|
|
},
|
|
|
ambient: {
|
|
@@ -220,7 +220,7 @@ const chartMap = () => {
|
|
|
};
|
|
|
const chartReLoad = () => {
|
|
|
console.log(option);
|
|
|
- //myChart.setOption(option);
|
|
|
+ myChart.setOption(option);
|
|
|
};
|
|
|
|
|
|
const form = reactive(option);
|