Bläddra i källkod

Merge remote-tracking branch 'origin/main'

fengxu 2 år sedan
förälder
incheckning
a4162d9e23
100 ändrade filer med 394 tillägg och 77 borttagningar
  1. BIN
      investmentNew/img/close.png
  2. BIN
      investmentNew/img/logos/logo1.png
  3. BIN
      investmentNew/img/logos/logo10.png
  4. BIN
      investmentNew/img/logos/logo11.png
  5. BIN
      investmentNew/img/logos/logo12.png
  6. BIN
      investmentNew/img/logos/logo13.png
  7. BIN
      investmentNew/img/logos/logo14.png
  8. BIN
      investmentNew/img/logos/logo15.png
  9. BIN
      investmentNew/img/logos/logo16.png
  10. BIN
      investmentNew/img/logos/logo17.png
  11. BIN
      investmentNew/img/logos/logo18.png
  12. BIN
      investmentNew/img/logos/logo2.png
  13. BIN
      investmentNew/img/logos/logo3.png
  14. BIN
      investmentNew/img/logos/logo4.png
  15. BIN
      investmentNew/img/logos/logo5.png
  16. BIN
      investmentNew/img/logos/logo6.png
  17. BIN
      investmentNew/img/logos/logo7.png
  18. BIN
      investmentNew/img/logos/logo8.png
  19. BIN
      investmentNew/img/logos/logo9.png
  20. BIN
      investmentNew/img/pop.png
  21. BIN
      investmentNew/img/titleImg/1.png
  22. BIN
      investmentNew/img/titleImg/10.png
  23. BIN
      investmentNew/img/titleImg/11.png
  24. BIN
      investmentNew/img/titleImg/2.png
  25. BIN
      investmentNew/img/titleImg/3.png
  26. BIN
      investmentNew/img/titleImg/4.png
  27. BIN
      investmentNew/img/titleImg/5.png
  28. BIN
      investmentNew/img/titleImg/6.png
  29. BIN
      investmentNew/img/titleImg/7.png
  30. BIN
      investmentNew/img/titleImg/8.png
  31. BIN
      investmentNew/img/titleImg/9.png
  32. 28 23
      investmentNew/index.html
  33. 322 52
      investmentNew/js/index.js
  34. 44 2
      investmentNew/styles/index.css
  35. BIN
      investmentNew/合屏-中国-最新-切图_slices.zip
  36. BIN
      investmentNew/合屏-中国-最新-切图_slices/图标 拷贝 10.png
  37. BIN
      investmentNew/合屏-中国-最新-切图_slices/图标.png
  38. BIN
      investmentNew/合屏-中国-最新-切图_slices/图标1 拷贝 2.png
  39. BIN
      investmentNew/合屏-中国-最新-切图_slices/图标1 拷贝 5.png
  40. BIN
      investmentNew/合屏-中国-最新-切图_slices/图标1 拷贝 7.png
  41. BIN
      investmentNew/合屏-中国-最新-切图_slices/图标1 拷贝.png
  42. BIN
      investmentNew/合屏-中国-最新-切图_slices/圆盘.png
  43. BIN
      investmentNew/合屏-中国-最新-切图_slices/地球.png
  44. BIN
      investmentNew/合屏-中国-最新-切图_slices/显示弹框.png
  45. BIN
      investmentNew/合屏-中国-最新-切图_slices/框.png
  46. BIN
      investmentNew/山西省市_slices.zip
  47. 0 0
      investmentNewPort/img/1.png
  48. BIN
      investmentNewPort/img/10.png
  49. BIN
      investmentNewPort/img/11.png
  50. 0 0
      investmentNewPort/img/2.png
  51. BIN
      investmentNewPort/img/21.png
  52. BIN
      investmentNewPort/img/22.png
  53. BIN
      investmentNewPort/img/23.png
  54. BIN
      investmentNewPort/img/24.png
  55. BIN
      investmentNewPort/img/25.png
  56. 0 0
      investmentNewPort/img/3.png
  57. BIN
      investmentNewPort/img/3D/world1.jpg
  58. BIN
      investmentNewPort/img/3D/world2.jpg
  59. BIN
      investmentNewPort/img/3D/world3.jpg
  60. 0 0
      investmentNewPort/img/4.png
  61. 0 0
      investmentNewPort/img/5.png
  62. 0 0
      investmentNewPort/img/6.png
  63. BIN
      investmentNewPort/img/70.png
  64. BIN
      investmentNewPort/img/71.png
  65. 0 0
      investmentNewPort/img/8.png
  66. 0 0
      investmentNewPort/img/9.png
  67. BIN
      investmentNewPort/img/blueBig.png
  68. BIN
      investmentNewPort/img/blueSmall.png
  69. BIN
      investmentNewPort/img/bubbleBg.png
  70. BIN
      investmentNewPort/img/center-bottonm.png
  71. BIN
      investmentNewPort/img/center-bottonm2.png
  72. BIN
      investmentNewPort/img/centerTop1.png
  73. BIN
      investmentNewPort/img/centerTop2.png
  74. BIN
      investmentNewPort/img/centerTop3.png
  75. BIN
      investmentNewPort/img/centerTop4.png
  76. BIN
      investmentNewPort/img/chinaLight.png
  77. BIN
      investmentNewPort/img/close.png
  78. BIN
      investmentNewPort/img/disk.png
  79. BIN
      investmentNewPort/img/greenBig.png
  80. BIN
      investmentNewPort/img/greenSmall.png
  81. BIN
      investmentNewPort/img/industryProportion.png
  82. 0 0
      investmentNewPort/img/left-blue.png
  83. 0 0
      investmentNewPort/img/left-green.png
  84. 0 0
      investmentNewPort/img/left1.png
  85. BIN
      investmentNewPort/img/logos/logo1.png
  86. BIN
      investmentNewPort/img/logos/logo10.png
  87. BIN
      investmentNewPort/img/logos/logo11.png
  88. BIN
      investmentNewPort/img/logos/logo12.png
  89. BIN
      investmentNewPort/img/logos/logo13.png
  90. BIN
      investmentNewPort/img/logos/logo14.png
  91. BIN
      investmentNewPort/img/logos/logo15.png
  92. BIN
      investmentNewPort/img/logos/logo16.png
  93. BIN
      investmentNewPort/img/logos/logo17.png
  94. BIN
      investmentNewPort/img/logos/logo18.png
  95. BIN
      investmentNewPort/img/logos/logo2.png
  96. BIN
      investmentNewPort/img/logos/logo3.png
  97. BIN
      investmentNewPort/img/logos/logo4.png
  98. BIN
      investmentNewPort/img/logos/logo5.png
  99. BIN
      investmentNewPort/img/logos/logo6.png
  100. BIN
      investmentNewPort/img/logos/logo7.png

BIN
investmentNew/img/close.png


BIN
investmentNew/img/logos/logo1.png


BIN
investmentNew/img/logos/logo10.png


BIN
investmentNew/img/logos/logo11.png


BIN
investmentNew/img/logos/logo12.png


BIN
investmentNew/img/logos/logo13.png


BIN
investmentNew/img/logos/logo14.png


BIN
investmentNew/img/logos/logo15.png


BIN
investmentNew/img/logos/logo16.png


BIN
investmentNew/img/logos/logo17.png


BIN
investmentNew/img/logos/logo18.png


BIN
investmentNew/img/logos/logo2.png


BIN
investmentNew/img/logos/logo3.png


BIN
investmentNew/img/logos/logo4.png


BIN
investmentNew/img/logos/logo5.png


BIN
investmentNew/img/logos/logo6.png


BIN
investmentNew/img/logos/logo7.png


BIN
investmentNew/img/logos/logo8.png


BIN
investmentNew/img/logos/logo9.png


BIN
investmentNew/img/pop.png


BIN
investmentNew/img/titleImg/1.png


BIN
investmentNew/img/titleImg/10.png


BIN
investmentNew/img/titleImg/11.png


BIN
investmentNew/img/titleImg/2.png


BIN
investmentNew/img/titleImg/3.png


BIN
investmentNew/img/titleImg/4.png


BIN
investmentNew/img/titleImg/5.png


BIN
investmentNew/img/titleImg/6.png


BIN
investmentNew/img/titleImg/7.png


BIN
investmentNew/img/titleImg/8.png


BIN
investmentNew/img/titleImg/9.png


+ 28 - 23
investmentNew/index.html

@@ -22,16 +22,15 @@
 </head>
 
 <body>
-  <!-- <dv-full-screen-container> -->
   <div id="app" class="w-full h-full overflow-hidden" :class="mapShow?'appbg1':'appbg2'">
     <div class="top overflow-hidden">
       <div class="title" style="padding-top: 2%">
-        <span>投前管理</span>
+        <span @click="tipShow1Fun('2.png','投前管理')" class="pointer">投前管理</span>
         <div></div>
       </div>
-      <div class="mainTitle">数智化投资管理驾驶舱</div>
+      <div class="mainTitle pointer" @click.stop="tipShow1Fun('1.png','数智化投资管理驾驶舱')">数智化投资管理驾驶舱</div>
       <div class="title" style="padding-top: 2%">
-        <span>投中、投后管理</span>
+        <span class="pointer" @click.stop="tipShow1Fun('7.png','投中、投后管理')">投中、投后管理</span>
         <div></div>
       </div>
     </div>
@@ -45,7 +44,8 @@
                 <div style="font-size: 28px">固定资产类项目</div>
                 <div></div>
                 <div style="font-size: 50px; color: #68bdff; font-weight: bold">
-                  1,608.69<span style="font-size: 28px">亿</span>
+                  1,608.69<span style="font-size: 28px"
+                    @click.stop="showChartLTipSingle('投资金额','left','','','投资计划分析','固定资产投资金额','','','','','',2141)">亿</span>
                 </div>
                 <div style="
                       font-size: 50px;
@@ -437,7 +437,7 @@
               <div class="content relative">
                 <div ref="leftEcharts13" style="height: 100%;width: 100%;"></div>
                 <div class="absolute flex flex-col items-center justify-center" style="top: 40%;left: 38%;">
-                  <span style="color: #58E6F7;font-size: 50px;font-weight: bold;" >{{stageTitle2}}</span>
+                  <span style="color: #58E6F7;font-size: 50px;font-weight: bold;">{{stageTitle2}}</span>
                   <span class="font28">{{stageTitle}}</span>
                 </div>
               </div>
@@ -615,24 +615,29 @@
       </div>
       <div class="bottom-tip" @click="backChina"></div>
     </div>
-    <!-- <svg style="height: 700px; width: 700px" class="svg_box">
-      <circle cx="240" cy="260" r="150" stroke-width="30px" stroke="rgb(140 201 249)" fill="none"
-        stroke-dasharray="40 10">
-        <animateTransform attributeName="transform" repeatCount="indefinite" type="rotate" from="0 240 260" /
-          to="-360 240 260" dur="20" />
-      </circle>
-    </svg>
-    <svg style="height: 700px;width: 700px" class="svg_box">
-      <circle cx="240" cy="120" r="100" stroke-width="10px" stroke="rgb(140 201 249)" fill="none"
-        stroke-dasharray="10 20">
-        <animateTransform attributeName="transform" repeatCount="indefinite" type="rotate" from="0 240 120"
-          to="360 240 120" dur="20" />
-      </circle>
-    </svg> -->
-    <!-- 双柱状图弹窗 -->
-    <div class="absolute twoPop"></div>
+    <!-- 标题状图弹窗 -->
+    <div class="absolute  backBlack" v-if="tipShow1 || tipShow2 ">
+      <div class="tip-box1" v-show="tipShow1">
+        <img src="./img/close.png" style="width: 40px;height: 40px;top: 30px;right: 30px;" class="absolute pointer"
+          alt="" @click="closeTap()">
+        <div class="pop-title1">{{titleName}}</div>
+        <div class="pop-content1 text-center">
+          <div class="absolute popLeft" @click.stop="popLeftClick()"></div>
+          <div class="absolute popright" @click.stop="poprightClick()"></div>
+          <img :src="`./img/titleImg/${titleUrl}`" class="titleImg" alt="">
+        </div>
+      </div>
+      <!-- 单个柱状图弹窗 -->
+      <div class="tip-box1" v-show="tipShow2">
+        <img src="./img/close.png" style="width: 40px;height: 40px;top: 30px;right: 30px;" class="absolute pointer"
+          alt="" @click="closeTap()">
+        <div class="pop-title1">{{titleName}}</div>
+        <div class="pop-content1 text-center">
+          <div class="h-full w-full" ref=""></div>
+        </div>
+      </div>
+    </div>
   </div>
-  <!-- </dv-full-screen-container> -->
   <script src="./js/index.js"></script>
 </body>
 

+ 322 - 52
investmentNew/js/index.js

@@ -5,7 +5,9 @@ let app = new Vue({
       count: 0, //重点项目两线指标轮到哪个
       list: [], //重点项目两线指标数组
       countType: 0, //重点项目两线指标数组
-      mapShow: true, // false为中国地图 true为山西地图
+      mapShow: false, // false为中国地图 true为山西地图
+      titleUrl: '',// 标题弹窗显示的内容
+      titleName: '', // 弹窗的名字显示
       leftEcharts1: "",
       leftEcharts2: "",
       leftEcharts3: "",
@@ -22,8 +24,11 @@ let app = new Vue({
       leftEcharts14: '',
       leftEcharts15: '',
       leftEcharts17: '', //投资产业分布中间的水球图
-      stageTitle:'', // 投资阶段分析圆环图内容
-      stageTitle2:'', // 投资阶段分析圆环图内容
+      leftEcharts18: '', //单个柱状图弹窗
+      tipShow1: false, // 标题弹窗显示
+      tipShow2: false, // 单柱状图弹窗 
+      stageTitle: '', // 投资阶段分析圆环图内容
+      stageTitle2: '', // 投资阶段分析圆环图内容
       echartR2Fd: true, // 投后进度成本偏差防抖
       leftEcharts16: '', // 中国地图背景地球
       rightEcharts1: '', // 投后进度成本偏差
@@ -485,42 +490,71 @@ let app = new Vue({
     clearInterval(this.time2);
   },
   mounted () {
-    let that = this
-    this.time4s();
-    this.timeNs();
-    this.filterLpData();
-    this.lpRotate();
-    setTimeout(() => {
-      if (that.mapShow) {
-        that.leftEcharts12Fun()
-        that.leftEcharts14Fun()
-        that.leftEcharts9Fun()
-        that.leftEcharts15Fun()
-        that.leftEcharts13Fun()
-        that.shanxiEchartsFun()
-        that.leftEcharts17Fun()
-      } else {
-        that.chinaEchartsFun()
-        that.leftEcharts16Fun() // 中国地图背景地球
-      }
-      this.leftEcharts1Fun();
-      this.leftEcharts2Fun();
-      this.leftEcharts3Fun();
-      this.leftEcharts4Fun();
-      this.leftEcharts5Fun();
-      this.leftEcharts6Fun();
-      this.leftEcharts7Fun();
-      this.leftEcharts8Fun();
-      this.leftEcharts10Fun();
-      this.leftEcharts11Fun();
-      this.rightEcharts1Fun();
-      this.initChartR2();
-      this.initChartR4();
-    });
+    this.getUrlParams()
   },
   methods: {
+    // 获取地址栏参数
+    getUrlParams (id) {
+      let url = window.location.href
+      // 通过 ? 分割获取后面的参数字符串
+      let urlStr = url.split('?')[1]
+      if (!urlStr) {
+        this.comeIn()
+        return
+      }
+      // 创建空对象存储参数
+      let obj = {};
+      // 再通过 & 将每一个参数单独分割出来
+      let paramsArr = urlStr.split('&')
+      for (let i = 0, len = paramsArr.length; i < len; i++) {
+        // 再通过 = 将每一个参数分割为 key:value 的形式
+        let arr = paramsArr[i].split('=')
+        obj[arr[0]] = arr[1];
+      }
+      if (obj.model) {
+        obj.model == 'A' || obj.model == 'a' ? this.mockData = false : this.mockData = true
+      }
+      obj.env && (this.env = obj.env)
+      this.goUrl = (obj.env == 'SIT' || obj.env == 'sit') ? '172.21.3.68:8081' : (obj.env == 'UAT' || obj.env == 'uat') ? '172.21.3.149:8081' : '172.21.3.242:8081'
+      this.accountId = obj.accountid
+      this.comeIn()
+    },
+    comeIn () {
+      let that = this
+      this.time4s();
+      this.timeNs();
+      this.filterLpData();
+      this.lpRotate();
+      setTimeout(() => {
+        if (that.mapShow) {
+          that.leftEcharts17Fun()
+          that.leftEcharts12Fun()
+          that.leftEcharts14Fun()
+          that.leftEcharts9Fun()
+          that.leftEcharts15Fun()
+          that.leftEcharts13Fun()
+          that.shanxiEchartsFun()
+        } else {
+          that.chinaEchartsFun()
+          that.leftEcharts16Fun() // 中国地图背景地球
+        }
+        this.leftEcharts1Fun();
+        this.leftEcharts2Fun();
+        this.leftEcharts3Fun();
+        this.leftEcharts4Fun();
+        this.leftEcharts5Fun();
+        this.leftEcharts6Fun();
+        this.leftEcharts7Fun();
+        this.leftEcharts8Fun();
+        this.leftEcharts10Fun();
+        this.leftEcharts11Fun();
+        this.rightEcharts1Fun();
+        this.initChartR2();
+        this.initChartR4();
+      });
+    },
     // 解决除法是去精度
-    numDiv(num1, num2) {
+    numDiv (num1, num2) {
       var baseNum1 = 0, baseNum2 = 0;
       var baseNum3, baseNum4;
       try {
@@ -1620,6 +1654,7 @@ let app = new Vue({
         }
       }, 2000);
     },
+    // 转盘计算角度
     filterLpData () {
       const angle = 360 / this.investData.investList.length;
       for (let i in this.investData.investList) {
@@ -3189,13 +3224,15 @@ let app = new Vue({
               });
               let a = window.location.href.split('/')
               a.pop()
-              return `<div class="bgTooltip" style="background: url('${a.join('/')}/img/shanxi/${params.dataIndex}.png') no-repeat center center;background-size: 100% 100%;font-size:36px">
-              <div class="flex items-center">
-                <img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
-              </div>
-                <div class="blueIcon flex items-center">项目数量:<span class="fb" style="color:#68BDFF;">${params.value[3]}<span style="font-size:20px" class="fn">个</span></span></div>
-                <div class="blueIcon flex items-center">投资总额:<span class="fb" style="color:#68BDFF">${params.value[2]}<span style="font-size:20px" class="fn">亿</span></span></div>
-              </div>`;
+              if (params.value) {
+                return `<div class="bgTooltip" style="background: url('${a.join('/')}/img/shanxi/${params.dataIndex}.png') no-repeat center center;background-size: 100% 100%;font-size:36px">
+                <div class="flex items-center">
+                  <img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
+                </div>
+                  <div class="blueIcon flex items-center">项目数量:<span class="fb" style="color:#68BDFF;">${params.value[3]}<span style="font-size:20px" class="fn">个</span></span></div>
+                  <div class="blueIcon flex items-center">投资总额:<span class="fb" style="color:#68BDFF">${params.value[2]}<span style="font-size:20px" class="fn">亿</span></span></div>
+                </div>`;
+              }
             },
           },
           regions: [
@@ -3615,13 +3652,15 @@ let app = new Vue({
                 name: params.name,
                 seriesName: "series\u00001",
               });
-              return `<div class="bgTooltip" style="background: rgba(50,50,50,0.7);font-size:36px">
-              <div class="flex items-center">
-                <img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
-              </div>
-                <div class="blueIcon flex items-center">项目数量:<span class="fb" style="color:#68BDFF;">${params.value[3]}<span style="font-size:20px" class="fn">个</span></span></div>
-                <div class="blueIcon flex items-center">投资总额:<span class="fb" style="color:#68BDFF">${params.value[2]}<span style="font-size:20px" class="fn">亿</span></span></div>
-              </div>`;
+              if (params.value) {
+                return `<div class="bgTooltip" style="background: rgba(50,50,50,0.7);font-size:36px">
+                <div class="flex items-center">
+                  <img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>
+                </div>
+                  <div class="blueIcon flex items-center">项目数量:<span class="fb" style="color:#68BDFF;">${params.value[3]}<span style="font-size:20px" class="fn">个</span></span></div>
+                  <div class="blueIcon flex items-center">投资总额:<span class="fb" style="color:#68BDFF">${params.value[2]}<span style="font-size:20px" class="fn">亿</span></span></div>
+                </div>`;
+              }
             },
           },
           regions: [
@@ -3812,6 +3851,7 @@ let app = new Vue({
           that.mapShow = true
           setTimeout(() => {
             that.leftEcharts12Fun()
+            that.leftEcharts17Fun()
             that.leftEcharts14Fun()
             that.leftEcharts9Fun()
             that.leftEcharts15Fun()
@@ -4285,8 +4325,8 @@ let app = new Vue({
           show: true,
           formatter: function (params) {
             that.leftEcharts17.dispose()
-            left2[0] = that.numDiv(params.percent+3.2,100)
             that.leftEcharts17Fun()
+            left2[0] = that.numDiv(params.percent + 3.2, 100)
             if (params.seriesIndex === 2) {
               return null; // 隐藏部分2的tooltip
             } else {
@@ -4381,6 +4421,7 @@ let app = new Vue({
       that.leftEcharts12.setOption(option);
     },
     leftEcharts17Fun () {
+      console.log('就没走了么??')
       let that = this;
       this.leftEcharts17 = echarts.init(this.$refs["leftEcharts17"]);
       var seriesOption = [
@@ -4618,7 +4659,7 @@ let app = new Vue({
             fontSize: "28", // 文字字体大小
           },
           formatter: (params) => {
-            that.stageTitle = params.name 
+            that.stageTitle = params.name
             that.stageTitle2 = params.percent + '%'
             return `${params.name}:<br/>金额:<b>${totalData[params.seriesIndex].radio}</b>亿<br/>数量:<b>${params.value}</b>个`
           }
@@ -5089,5 +5130,234 @@ let app = new Vue({
         that.leftEcharts16Fun()
       });
     },
+    tipShow1Fun (e, name) {
+      this.closeTap()
+      this.titleUrl = e
+      this.titleName = name
+      this.$nextTick(() => {
+        this.tipShow1 = true
+      })
+    },
+    // 关闭所有弹窗的方法
+    closeTap () {
+      this.tipShow1 = false
+    },
+    //点击弹窗左半部分
+    popLeftClick () {
+      if (this.titleUrl == '2.png') {
+        this.titleUrl = '3.png'
+      } else if (this.titleUrl == '7.png') {
+        this.titleUrl = '8.png'
+      } else if (this.titleUrl == '3.png') {
+        this.titleUrl = '2.png'
+      } else if (this.titleUrl == '8.png') {
+        this.titleUrl = '7.png'
+      } else if (this.titleUrl == '5.png') {
+        this.titleUrl = '2.png'
+      } else if (this.titleUrl == '10.png') {
+        this.titleUrl = '7.png'
+      }
+    },
+    //点击弹窗右半部分
+    poprightClick () {
+      if (this.titleUrl == '2.png') {
+        this.titleUrl = '5.png'
+      } else if (this.titleUrl == '7.png') {
+        this.titleUrl = '10.png'
+      } else if (this.titleUrl == '5.png') {
+        this.titleUrl = '2.png'
+      } else if (this.titleUrl == '10.png') {
+        this.titleUrl = '7.png'
+      } else if (this.titleUrl == '3.png') {
+        this.titleUrl = '2.png'
+      } else if (this.titleUrl == '8.png') {
+        this.titleUrl = '7.png'
+      }
+    },
+    // 单个柱状图的弹窗
+    showChartLTipSingle (e, location, type, param, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeCTwo, paramCTwo, portType, num) {
+      this.projectNum = num
+      this.closeTap()
+      this.titleName = e
+      this.echartSingleTipShow = true
+      if (this.versions) {
+        if (location == 'center') {
+          this.centerPenetrateOne(type, param, 1, typeCTwo, paramCTwo, portType)
+        }
+        if (location == 'left') {
+          this.leftPenetrateOne(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, 1, type, param)
+        }
+      } else {
+        setTimeout(() => {
+          this.initChartLTip(location)
+        })
+      }
+    },
+    initChartLTip (location, mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, typeCTwo, paramCTwo, portType) {
+      this.myChartTip1 = echarts.init(document.getElementById("echartSingleTip"));
+      if (!(this.titleName == '项目数量' || this.titleName == '项目总数')) {
+        common3 = common3.map((item) => Number(item) + 1)
+      }
+      let option = {
+        grid: {
+          top: 40,
+          right: 0,
+          left: 60,
+          bottom: 70,
+        },
+        tooltip: {
+          show: true,
+          trigger: "axis",
+          axisPointer: {
+            // 坐标轴指示器,坐标轴触发有效
+            type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
+          },
+          formatter: data => {
+            if (this.titleName == '项目数量' || this.titleName == '项目总数') {
+              return `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(data[0].value)}个`
+            } else {
+              return `${data[0].name}</br>${data[0].seriesName}:${that.numFormat(that.numSub(data[0].value, 1))}亿`
+            }
+          },
+          textStyle: {
+            color: '#FFF',     // 文字的颜色
+            fontSize: '20',    // 文字字体大小
+            fontFamily: 'Microsoft YaHei'
+          },
+        },
+        xAxis: {
+          data: commonCompany,
+          axisTick: {
+            show: false,
+          },
+          // x轴的字体颜色
+          axisLabel: {
+            rotate: 40,
+            textStyle: {
+              color: "white",
+              fontSize: '20',
+              fontFamily: 'Microsoft YaHei'
+            },
+          },
+          //y轴线的颜色以及宽度
+          axisLine: {
+            show: true,
+            lineStyle: {
+              color: "#1E5389",
+              width: 1,
+              type: "solid",
+            },
+          },
+        },
+        yAxis: {
+          minInterval: 1,
+          // onZero:true,
+          name: (this.titleName == '项目数量' || this.titleName == '项目总数') ? '个' : '亿',
+          nameTextStyle: {//y轴上方单位的颜色
+            color: '#fff',
+            fontSize: '20',
+            fontFamily: 'Microsoft YaHei'
+          },
+          axisTick: {
+            lineStyle: {
+              color: "#18416F",
+            },
+          },
+          // y轴的字体颜色
+          axisLabel: {
+            textStyle: {
+              color: "white",
+              fontSize: '20'
+            },
+            formatter: function (value) {
+              if (that.titleName == '项目数量' || that.titleName == '项目总数') {
+                return value
+              } else {
+                return value === 1 ? 0 : value
+              }
+            }
+          },
+          splitLine: {
+            show: true,
+            lineStyle: {
+              color: '#68b4dd66',
+              type: 'dashed',
+            },
+          },
+          //y轴线的颜色以及宽度
+          axisLine: {
+            show: true,
+            lineStyle: {
+              color: "#1E5389",
+              width: 1,
+              type: "solid",
+            },
+          },
+        },
+        series: [
+          {
+            name: (this.titleName == '项目数量' || this.titleName == '项目总数') ? '总数量' : "总额度",
+            type: "bar",
+            data: common3,
+            showBackground: false,
+            backgroundStyle: {
+              color: "#18416F",
+            },
+            barWidth: "30%",
+            itemStyle: {
+              // barBorderRadius: [10, 10, 0, 0],
+              color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
+                {
+                  offset: 0,
+                  color: '#082550',
+                },
+                {
+                  offset: 1,
+                  color: '#957DFF',
+
+                },
+              ]),
+            },
+          },
+        ],
+        legend: {
+          // data: ["2022年额度", "2023年额度"],
+          data: (this.titleName == '项目数量' || this.titleName == '项目总数') ? ["总数量"] : ["总额度"],
+          textStyle: {
+            // 图列内容样式
+            color: "#fff", // 字体颜色
+            fontSize: "20",
+            fontFamily: 'Microsoft YaHei'
+          },
+          right: 'center',
+          y: 5,
+          // 小图标的宽高
+        },
+      };
+      if (!(this.titleName == '项目数量' || this.titleName == '项目总数')) {
+        option.yAxis.min = 1
+        option.yAxis.type = 'log'
+        option.yAxis.logBase = 5
+      }
+      tools.loopShowTooltip(this.myChartTip1, option, {
+        interval: 2000,
+        loopSeries: true,
+      })
+      let that = this
+      that.myChartTip1.on('click', function (param) {
+        if (that.versions) {
+          if (location == 'right') {
+            that.rightPenetrateTwo(that.rightPenetrateTwo.modelName, '', that.findCode(param.name))
+          } else if (location == 'left') {
+            that.leftPenetrateTwo(mdnb_textfield11, mdnb_textfield13, mdnb_textfield16, mdnb_textfield23, param.name, that.projectNum)
+          } else if (location == 'center') {
+            that.centerPenetrateTwo(typeCTwo, paramCTwo, that.findCode(param.name), portType)
+          }
+        } else {
+          that.projectListTipShow = true
+        }
+      })
+      that.myChartTip1.setOption(option);
+    },
   },
 });

+ 44 - 2
investmentNew/styles/index.css

@@ -443,10 +443,52 @@ a {
   font-size: 28px;
   transition: all 0.3s;
 }
-.twoPop {
+.backBlack {
+  width: 7680px !important;
+  min-height: 2120px;
+  height: 100%;
+  top: 0;
+  left: 0;
+  background-color: rgba(0, 5, 16, 0.7);
+  z-index: 999999999;
+}
+.tip-box1{
+  position: absolute;
+  width: 2300px !important;
+  height: 1500px !important;
+  top: calc(50% - 650px);
+  left: calc(50% - 1150px);
+  background: url('../img/pop.png') no-repeat center;
+  background-size: 100% auto;
+  padding: 0px 100px 100px 100px;
+  border-radius: 55px;
+}
+.pop-title1{
   width: 100%;
+  height: 160px;
+  line-height: 160px;
+  text-align: center;
+  font-size: 48px;
+  background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
+  -webkit-background-clip: text;
+  -webkit-text-fill-color: transparent;
+}
+.pop-content1{
+  width: 100%;
+  height: calc( 100% - 260px );
+}
+.titleImg {
+  width: auto;
   height: 100%;
-  background-color: rgba(50, 50, 50, 0.7);
+  border-radius: 10px;
+}
+.popLeft,
+.popright {
+  height: 75%;
+  width: 45%;
+}
+.popright {
+  right: 5%;
 }
 /* 公共css */
 /* 宽高纵横比 */

BIN
investmentNew/合屏-中国-最新-切图_slices.zip


BIN
investmentNew/合屏-中国-最新-切图_slices/图标 拷贝 10.png


BIN
investmentNew/合屏-中国-最新-切图_slices/图标.png


BIN
investmentNew/合屏-中国-最新-切图_slices/图标1 拷贝 2.png


BIN
investmentNew/合屏-中国-最新-切图_slices/图标1 拷贝 5.png


BIN
investmentNew/合屏-中国-最新-切图_slices/图标1 拷贝 7.png


BIN
investmentNew/合屏-中国-最新-切图_slices/图标1 拷贝.png


BIN
investmentNew/合屏-中国-最新-切图_slices/圆盘.png


BIN
investmentNew/合屏-中国-最新-切图_slices/地球.png


BIN
investmentNew/合屏-中国-最新-切图_slices/显示弹框.png


BIN
investmentNew/合屏-中国-最新-切图_slices/框.png


BIN
investmentNew/山西省市_slices.zip


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/固定资产(1).png → investmentNewPort/img/1.png


BIN
investmentNewPort/img/10.png


BIN
investmentNewPort/img/11.png


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/股权类.png → investmentNewPort/img/2.png


BIN
investmentNewPort/img/21.png


BIN
investmentNewPort/img/22.png


BIN
investmentNewPort/img/23.png


BIN
investmentNewPort/img/24.png


BIN
investmentNewPort/img/25.png


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/蓝图标.png → investmentNewPort/img/3.png


BIN
investmentNewPort/img/3D/world1.jpg


BIN
investmentNewPort/img/3D/world2.jpg


BIN
investmentNewPort/img/3D/world3.jpg


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/绿图标.png → investmentNewPort/img/4.png


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/黄图标.png → investmentNewPort/img/5.png


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/圆点.png → investmentNewPort/img/6.png


BIN
investmentNewPort/img/70.png


BIN
investmentNewPort/img/71.png


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/左(1).png → investmentNewPort/img/8.png


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/右(1).png → investmentNewPort/img/9.png


BIN
investmentNewPort/img/blueBig.png


BIN
investmentNewPort/img/blueSmall.png


BIN
investmentNewPort/img/bubbleBg.png


BIN
investmentNewPort/img/center-bottonm.png


BIN
investmentNewPort/img/center-bottonm2.png


BIN
investmentNewPort/img/centerTop1.png


BIN
investmentNewPort/img/centerTop2.png


BIN
investmentNewPort/img/centerTop3.png


BIN
investmentNewPort/img/centerTop4.png


BIN
investmentNewPort/img/chinaLight.png


BIN
investmentNewPort/img/close.png


BIN
investmentNewPort/img/disk.png


BIN
investmentNew/合屏-山西-新-切图_slices.zip → investmentNewPort/img/greenBig.png


BIN
investmentNewPort/img/greenSmall.png


BIN
investmentNewPort/img/industryProportion.png


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/图标 拷贝.png → investmentNewPort/img/left-blue.png


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/图标 拷贝 5.png → investmentNewPort/img/left-green.png


+ 0 - 0
investmentNew/合屏-中国-最新-切图_slices/固定资产类项目框.png → investmentNewPort/img/left1.png


BIN
investmentNewPort/img/logos/logo1.png


BIN
investmentNewPort/img/logos/logo10.png


BIN
investmentNewPort/img/logos/logo11.png


BIN
investmentNewPort/img/logos/logo12.png


BIN
investmentNewPort/img/logos/logo13.png


BIN
investmentNewPort/img/logos/logo14.png


BIN
investmentNewPort/img/logos/logo15.png


BIN
investmentNewPort/img/logos/logo16.png


BIN
investmentNewPort/img/logos/logo17.png


BIN
investmentNewPort/img/logos/logo18.png


BIN
investmentNewPort/img/logos/logo2.png


BIN
investmentNewPort/img/logos/logo3.png


BIN
investmentNewPort/img/logos/logo4.png


BIN
investmentNewPort/img/logos/logo5.png


BIN
investmentNewPort/img/logos/logo6.png


BIN
investmentNewPort/img/logos/logo7.png


Vissa filer visades inte eftersom för många filer har ändrats