zhbyyy 2 жил өмнө
parent
commit
391d54c537

BIN
investmentNew/img/3D/chinaMap.png


+ 30 - 27
investmentNew/js/index.js

@@ -1344,7 +1344,7 @@ let app = new Vue({
           top: 20,
           data: ['正偏差', '容差', '负偏差'],
           textStyle: {
-            fontSize: 20,
+            fontSize: 24,
             color: '#fff',
             fontFamily: 'Microsoft YaHei'
           }
@@ -1363,7 +1363,7 @@ let app = new Vue({
             color: "#fff",
             fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
             fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
-            fontSize: "20", // 文字字体大小
+            fontSize: "24", // 文字字体大小
             fontFamily: 'Microsoft YaHei',
           },
           formatter: data => {
@@ -1655,7 +1655,7 @@ let app = new Vue({
         legend: {
           top: 10,
           textStyle: {
-            fontSize: 20,
+            fontSize: 24,
             color: "#fff",
             fontFamily: "Microsoft YaHei",
           },
@@ -1675,7 +1675,7 @@ let app = new Vue({
             color: "#fff",
             fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
             fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
-            fontSize: "20", // 文字字体大小
+            fontSize: "24", // 文字字体大小
             fontFamily: 'Microsoft YaHei',
           },
           formatter: function (p) {
@@ -1931,7 +1931,7 @@ let app = new Vue({
           confine: true, // 不超出当前表
           textStyle: {
             color: '#FFF',     // 文字的颜色
-            fontSize: '20',    // 文字字体大小
+            fontSize: '24',    // 文字字体大小
             fontFamily: 'Microsoft YaHei'
           },
           backgroundColor: "#00000050", // 提示框浮层的背景颜色
@@ -1985,7 +1985,7 @@ let app = new Vue({
           y: '15',
           textStyle: {
             color: '#fff',
-            fontSize: "20",
+            fontSize: "24",
             fontFamily: 'Microsoft YaHei'
           },
         },
@@ -4390,11 +4390,11 @@ let app = new Vue({
                 colorStops: [
                   {
                     offset: 0,
-                    color: "#468ff850", // 0% 处的颜色
+                    color: "#468ff800", // 0% 处的颜色
                   },
                   {
                     offset: 1,
-                    color: "#0a2c6d50", // 100% 处的颜色
+                    color: "#0a2c6d00", // 100% 处的颜色
                   },
                 ],
                 globalCoord: false, // 缺省为 false
@@ -4556,11 +4556,10 @@ let app = new Vue({
             type: 'image',//需要填充图片,配置image,如果不需要图片可以配置其他的, text, circle, sector, ring, polygon, polyline, rect, line, bezierCurve, arc, group,
             style: {
               image: './img/3D/chinaMap.png', //这里添加图片地址
-              width: 1680,
-              // height: auto
+              width: 2055,
             },
-            left: 'center',//
-            top: '260' //配置图片居中
+            left: '9.4%',
+            top: '162' //配置图片居中
           }]
         },
         series: [
@@ -5944,9 +5943,9 @@ let app = new Vue({
       this.tipShow2 = false
       this.tipShow3 = false
       this.projectListTipShow = false
-      this.leftEcharts18 && that.leftEcharts18.dispose()
-      this.echartSingleTip2 && that.echartSingleTip2.dispose()
-      this.echartSingleTip3 && that.echartSingleTip3.dispose()
+      this.leftEcharts18 && this.leftEcharts18.dispose()
+      this.echartSingleTip2 && this.echartSingleTip2.dispose()
+      this.echartSingleTip3 && this.echartSingleTip3.dispose()
     },
     //点击弹窗左半部分
     popLeftClick () {
@@ -6726,10 +6725,13 @@ let app = new Vue({
               return `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(that.numSub(data[0].value, 1))}亿`
             }
           },
+          backgroundColor: "rgba(50,50,50,0.7)", // 提示框浮层的背景颜色
+          borderColor: "rgba(50,50,50,0.7)",
           textStyle: {
-            color: '#FFF',     // 文字的颜色
-            fontSize: '20',    // 文字字体大小
-            fontFamily: 'Microsoft YaHei'
+            color: "#fff",
+            fontStyle: "normal", // 文字字体的风格('normal',无样式;'italic',斜体;'oblique',倾斜字体)
+            fontWeight: "normal", // 文字字体的粗细('normal',无样式;'bold',加粗;'bolder',加粗的基础上再加粗;'lighter',变细;数字定义粗细也可以,取值范围100至700)
+            fontSize: "24", // 文字字体大小
           },
         },
         xAxis: {
@@ -6831,7 +6833,7 @@ let app = new Vue({
           textStyle: {
             // 图列内容样式
             color: "#fff", // 字体颜色
-            fontSize: "20",
+            fontSize: "24",
             fontFamily: 'Microsoft YaHei'
           },
           right: 'center',
@@ -6844,7 +6846,7 @@ let app = new Vue({
         option.yAxis.type = 'log'
         option.yAxis.logBase = 5
       }
-      tools.loopShowTooltip(this.myChartTip1, option, {
+      tools.loopShowTooltip(this.leftEcharts18, option, {
         interval: 2000,
         loopSeries: true,
       })
@@ -6884,8 +6886,9 @@ let app = new Vue({
           borderColor: "#00000050",
           textStyle: {
             color: '#FFF',     // 文字的颜色
-            fontSize: '20',    // 文字字体大小
-            fontFamily: 'Microsoft YaHei'
+            fontSize: '24',    // 文字字体大小
+            fontFamily: 'Microsoft YaHei',
+
           },
         },
         xAxis: {
@@ -6987,11 +6990,11 @@ let app = new Vue({
           textStyle: {
             // 图列内容样式
             color: "#fff", // 字体颜色
-            fontSize: "20",
-            fontFamily: 'Microsoft YaHei'
+            fontSize: "24",
+            fontFamily: 'Microsoft YaHei',
           },
           right: 'center',
-          y: 0,
+          y: 10,
           // 小图标的宽高
         },
       };
@@ -7042,7 +7045,7 @@ let app = new Vue({
           borderColor: "#00000050",
           textStyle: {
             color: '#FFF',     // 文字的颜色
-            fontSize: '20',    // 文字字体大小
+            fontSize: '24',    // 文字字体大小
             fontFamily: 'Microsoft YaHei'
           },
         },
@@ -7143,7 +7146,7 @@ let app = new Vue({
           textStyle: {
             // 图列内容样式
             color: "#fff", // 字体颜色
-            fontSize: "20",
+            fontSize: "24",
             fontFamily: 'Microsoft YaHei'
           },
           right: 'center',

+ 3 - 3
investmentNew/styles/index.css

@@ -364,10 +364,10 @@ a {
 }
 .bgTooltip {
   overflow: hidden;
-  padding: 10% 15% !important;
+  padding: 5% 10% !important;
   margin: 0 !important;
-  width: 450px;
-  height: 250px;
+  width: 400px;
+  height: 200px;
   color: #fff;
   display: grid;
   grid-template-rows: repeat(3, 1fr);