Browse Source

右边图表

zhangyaojie 1 year ago
parent
commit
d47ee934e4
3 changed files with 1147 additions and 632 deletions
  1. 635 378
      investmentNew/index.html
  2. 482 225
      investmentNew/js/index.js
  3. 30 29
      investmentNew/styles/index.css

+ 635 - 378
investmentNew/index.html

@@ -1,448 +1,705 @@
 <!DOCTYPE html>
 <html lang="en">
+  <head>
+    <meta charset="utf-8" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <!-- 引入样式 -->
+    <link rel="stylesheet" href="./styles/index.css" />
+    <link rel="stylesheet" href="./styles/animate.css" />
+    <!-- 引入js -->
+    <script src="./libs/vue@2.7.10.js"></script>
+    <script src="./libs/echarts.min2.js"></script>
+    <script src="./libs/datav.map.vue.js"></script>
+    <script src="./libs/axios.min.js"></script>
+    <script src="./js/request.js"></script>
+    <script src="./js/map/china.json"></script>
+    <script src="./js/Data.js"></script>
+    <script src="./libs/echarts-tooltip-carousel.js"></script>
+  </head>
 
-<head>
-  <meta charset="utf-8" />
-  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
-  <meta name="viewport" content="width=device-width, initial-scale=1" />
-  <!-- 引入样式 -->
-  <link rel="stylesheet" href="./styles/index.css" />
-  <link rel="stylesheet" href="./styles/animate.css" />
-  <!-- 引入js -->
-  <script src="./libs/vue@2.7.10.js"></script>
-  <script src="./libs/echarts.min2.js"></script>
-  <script src="./libs/datav.map.vue.js"></script>
-  <script src="./libs/axios.min.js"></script>
-  <script src="./js/request.js"></script>
-  <script src="./js/map/china.json"></script>
-  <script src="./js/Data.js"></script>
-  <script src="./libs/echarts-tooltip-carousel.js"></script>
-</head>
-
-<body>
-  <!-- <dv-full-screen-container> -->
-  <div id="app" class="w-full h-full">
-    <div class="top">
-      <div class="title" style="padding-top: 2%;">
-        <span>投前管理</span>
-        <div></div>
-      </div>
-      <div class="mainTitle">数智化投资管理驾驶舱</div>
-      <div class="title" style="padding-top: 2%;">
-        <span>投中、投后管理</span>
-        <div></div>
+  <body>
+    <!-- <dv-full-screen-container> -->
+    <div id="app" class="w-full h-full">
+      <div class="top">
+        <div class="title" style="padding-top: 2%">
+          <span>投前管理</span>
+          <div></div>
+        </div>
+        <div class="mainTitle">数智化投资管理驾驶舱</div>
+        <div class="title" style="padding-top: 2%">
+          <span>投中、投后管理</span>
+          <div></div>
+        </div>
       </div>
-    </div>
-    <div class="bottom">
-      <div class="left">
-        <div>
-          <div class="title">投资计划分析</div>
-          <div class="content left1">
-            <div class="overflow-hidden">
-              <div class="child">
-                <div style="font-size: 28px;">固定资产类项目</div>
-                <div></div>
-                <div style="font-size: 60px;color: #68BDFF;font-weight: bold">251.63<span
-                    style="font-size: 28px;">亿</span></div>
-                <div style="font-size: 60px;color: #68BDFF;font-weight: bold;justify-self: center;">103<span
-                    style="font-size: 28px;">个</span></div>
-                <div style="font-size: 28px;">投资金额</div>
-                <div style="font-size: 28px;justify-self:center">项目数量</div>
-              </div>
-              <div class="child">
-                <div style="font-size: 28px;">股权类项目</div>
-                <div></div>
-                <div style="font-size: 60px;color: #68BDFF;font-weight: bold">17.09<span
-                    style="font-size: 28px;">亿</span></div>
-                <div style="font-size: 60px;color: #68BDFF;font-weight: bold;justify-self: center;">58<span
-                    style="font-size: 28px;">个</span></div>
-                <div style="font-size: 28px;">投资金额</div>
-                <div style="font-size: 28px;justify-self:center">项目数量</div>
-              </div>
-            </div>
-            <div class="overflow-hidden left1B">
-              <div class="flex items-center justify-center flex-col">
-                <div style="font-size: 72px;color: #FFE036;font-weight: bold">450.12<span
-                    style="font-size: 28px;">亿</span></div>
-                <div style="font-size: 28px;">年度投资计划总额</div>
+      <div class="bottom">
+        <div class="left">
+          <div>
+            <div class="title">投资计划分析</div>
+            <div class="content left1">
+              <div class="overflow-hidden">
+                <div class="child">
+                  <div style="font-size: 28px">固定资产类项目</div>
+                  <div></div>
+                  <div
+                    style="font-size: 60px; color: #68bdff; font-weight: bold"
+                  >
+                    251.63<span style="font-size: 28px">亿</span>
+                  </div>
+                  <div
+                    style="
+                      font-size: 60px;
+                      color: #68bdff;
+                      font-weight: bold;
+                      justify-self: center;
+                    "
+                  >
+                    103<span style="font-size: 28px">个</span>
+                  </div>
+                  <div style="font-size: 28px">投资金额</div>
+                  <div style="font-size: 28px; justify-self: center">
+                    项目数量
+                  </div>
+                </div>
+                <div class="child">
+                  <div style="font-size: 28px">股权类项目</div>
+                  <div></div>
+                  <div
+                    style="font-size: 60px; color: #68bdff; font-weight: bold"
+                  >
+                    17.09<span style="font-size: 28px">亿</span>
+                  </div>
+                  <div
+                    style="
+                      font-size: 60px;
+                      color: #68bdff;
+                      font-weight: bold;
+                      justify-self: center;
+                    "
+                  >
+                    58<span style="font-size: 28px">个</span>
+                  </div>
+                  <div style="font-size: 28px">投资金额</div>
+                  <div style="font-size: 28px; justify-self: center">
+                    项目数量
+                  </div>
+                </div>
               </div>
-              <div class="left1C">
-                <div class="flex justify-between left1C-child">
-                  <div style="height: 100%;width: 48%;" class="flex items-center justify-center font28 pointer"
-                    @click="industryProportionChange(1)"
-                    :class="industryProportion==1?'industryProportion1':'industryProportion2'">主辅业计划占比</div>
-                  <div style="height: 100%;width: 48%;" class="flex items-center justify-center font28 pointer"
-                    @click="industryProportionChange(2)"
-                    :class="industryProportion==2?'industryProportion1':'industryProportion2'">项目管理类型</div>
-                </div>
-                <div class="flex overflow-hidden items-center" style="padding: 1% 0;">
-                  <div ref="leftEcharts1" style="height: 100%;aspect-ratio:1/1;flex-shrink: 0;"></div>
-                  <div style="width:95%;margin-left: 5%;">
-                    <div class="flex items-center font28">
-                      <img src="./img/title-icon.png" style="width: 32px;height: 52px;" alt="">
-                      <span style="margin: 0 10px;">{{industryProportion==1?'主业':'特别监管类'}}</span>
-                      <span style="color: #68BDFF;">41个</span>
-                    </div>
-                    <div ref="leftEcharts2" style="height: 50%;width: 100%;"></div>
+              <div class="overflow-hidden left1B">
+                <div class="flex items-center justify-center flex-col">
+                  <div
+                    style="font-size: 72px; color: #ffe036; font-weight: bold"
+                  >
+                    450.12<span style="font-size: 28px">亿</span>
                   </div>
+                  <div style="font-size: 28px">年度投资计划总额</div>
                 </div>
-                <div class="flex overflow-hidden items-center" style="padding: 1% 0;">
-                  <div ref="leftEcharts3" style="height: 100%;aspect-ratio:1/1;flex-shrink: 0;"></div>
-                  <div style="width:95%;margin-left: 5%;">
-                    <div class="flex items-center font28">
-                      <img src="./img/title-icon.png" style="width: 32px;height: 52px;" alt="">
-                      <span style="margin: 0 10px;">{{industryProportion==1?'辅业':'备案类'}}</span>
-                      <span style="color: #68BDFF;">62个</span>
+                <div class="left1C">
+                  <div class="flex justify-between left1C-child">
+                    <div
+                      style="height: 100%; width: 48%"
+                      class="flex items-center justify-center font28 pointer"
+                      @click="industryProportionChange(1)"
+                      :class="industryProportion==1?'industryProportion1':'industryProportion2'"
+                    >
+                      主辅业计划占比
+                    </div>
+                    <div
+                      style="height: 100%; width: 48%"
+                      class="flex items-center justify-center font28 pointer"
+                      @click="industryProportionChange(2)"
+                      :class="industryProportion==2?'industryProportion1':'industryProportion2'"
+                    >
+                      项目管理类型
+                    </div>
+                  </div>
+                  <div
+                    class="flex overflow-hidden items-center"
+                    style="padding: 1% 0"
+                  >
+                    <div
+                      ref="leftEcharts1"
+                      style="height: 100%; aspect-ratio: 1/1; flex-shrink: 0"
+                    ></div>
+                    <div style="width: 95%; margin-left: 5%">
+                      <div class="flex items-center font28">
+                        <img
+                          src="./img/title-icon.png"
+                          style="width: 32px; height: 52px"
+                          alt=""
+                        />
+                        <span style="margin: 0 10px"
+                          >{{industryProportion==1?'主业':'特别监管类'}}</span
+                        >
+                        <span style="color: #68bdff">41个</span>
+                      </div>
+                      <div
+                        ref="leftEcharts2"
+                        style="height: 50%; width: 100%"
+                      ></div>
+                    </div>
+                  </div>
+                  <div
+                    class="flex overflow-hidden items-center"
+                    style="padding: 1% 0"
+                  >
+                    <div
+                      ref="leftEcharts3"
+                      style="height: 100%; aspect-ratio: 1/1; flex-shrink: 0"
+                    ></div>
+                    <div style="width: 95%; margin-left: 5%">
+                      <div class="flex items-center font28">
+                        <img
+                          src="./img/title-icon.png"
+                          style="width: 32px; height: 52px"
+                          alt=""
+                        />
+                        <span style="margin: 0 10px"
+                          >{{industryProportion==1?'辅业':'备案类'}}</span
+                        >
+                        <span style="color: #68bdff">62个</span>
+                      </div>
+                      <div
+                        ref="leftEcharts4"
+                        style="height: 50%; width: 100%"
+                      ></div>
                     </div>
-                    <div ref="leftEcharts4" style="height: 50%;width: 100%;"></div>
                   </div>
                 </div>
               </div>
             </div>
           </div>
-        </div>
-        <div>
-          <div class="title">投资额度分析</div>
-          <div class="content left3">
-            <div ref="leftEcharts6" style="width: 100%;height: 100%;"></div>
-            <div></div>
-          </div>
-        </div>
-        <div>
-          <div class="title">产业布局分析</div>
-          <div class="content left2">
-            <div class="flex items-center justify-around font28" style="padding: 0 10%;">
-              <div @click="industryLayoutChange(0)" class="pointer"
-                :class="industryLayout==0?'industryProportion1':'industryProportion2'" style="padding: 1% 2%;">传统产业分析
-              </div>
-              <div @click="industryLayoutChange(1)" class="pointer"
-                :class="industryLayout==1?'industryProportion1':'industryProportion2'" style="padding: 1% 2%;">战略性新兴产业
-              </div>
-              <div @click="industryLayoutChange(2)" class="pointer"
-                :class="industryLayout==2?'industryProportion1':'industryProportion2'" style="padding: 1% 2%;">特色优势产业
-              </div>
-              <div @click="industryLayoutChange(3)" class="pointer"
-                :class="industryLayout==3?'industryProportion1':'industryProportion2'" style="padding: 1% 2%;">公共基础等产业
-              </div>
-            </div>
-            <div ref="leftEcharts5" style="width: 100%;height: 100%;"></div>
-          </div>
-        </div>
-        <div>
-          <div class="title">企业额度分析</div>
-          <div class="content"></div>
-        </div>
-        <div>
-          <div class="title">项目阶段分析</div>
-          <div class="content left4">
-            <div ref="leftEcharts7" style="height: 100%;width: 100%;"></div>
-            <div ref="leftEcharts8" style="height: 100%;width: 100%;"></div>
-            <div class="left4A">
-              <!-- 第一列 -->
-              <div style="width:104px;top: 21%;left: 9%;animation-delay:1s">
-                <div class="text-center">1230亿</div>
-                <img src="./img/left-blue.png" class="" style="width:104px;height: 112px;" alt="">
-              </div>
-              <div style="width:104px;top: 51%;left: 9%;animation-delay:1s">
-                <img src="./img/left-green.png" class="" style="width:104px;height: 112px;" alt="">
-                <div class="text-center">1036亿</div>
-              </div>
-              <!-- 第二列 -->
-              <div style="width:104px;top: 30%;left: 19%;">
-                <div class="text-center">1830亿</div>
-                <img src="./img/left-blue.png" class="" style="width:104px;height: 112px;" alt="">
-              </div>
-              <div style="width:104px;top: 62%;left: 19%;">
-                <img src="./img/left-green.png" class="" style="width:104px;height: 112px;" alt="">
-                <div class="text-center">1025亿</div>
-              </div>
-              <!-- 第三列 -->
-              <div style="width:104px;top: 35%;left: 29%;animation-delay:1s">
-                <div class="text-center">1830亿</div>
-                <img src="./img/left-blue.png" class="" style="width:104px;height: 112px;" alt="">
-              </div>
-              <div style="width:104px;top: 60%;left: 29%;animation-delay:1s">
-                <img src="./img/left-green.png" class="" style="width:104px;height: 112px;" alt="">
-                <div class="text-center">1025亿</div>
-              </div>
-              <!-- 第四列 -->
-              <div style="width:104px;top: 31%;left: 39%;">
-                <div class="text-center">1830亿</div>
-                <img src="./img/left-blue.png" class="" style="width:104px;height: 112px;" alt="">
-              </div>
-              <div style="width:104px;top: 61%;left: 39%;">
-                <img src="./img/left-green.png" class="" style="width:104px;height: 112px;" alt="">
-                <div class="text-center">1025亿</div>
-              </div>
-              <!-- 第五列 -->
-              <div style="width:104px;top: 41%;left: 58%;animation-delay:1s">
-                <div class="text-center">1830亿</div>
-                <img src="./img/left-blue.png" class="" style="width:104px;height: 112px;" alt="">
-              </div>
-              <div style="width:104px;top: 65%;left: 58%;animation-delay:1s">
-                <img src="./img/left-green.png" class="" style="width:104px;height: 112px;" alt="">
-                <div class="text-center">1025亿</div>
-              </div>
-              <!-- 第六列 -->
-              <div style="width:104px;top: 35%;left: 68%;">
-                <div class="text-center">1830亿</div>
-                <img src="./img/left-blue.png" class="" style="width:104px;height: 112px;" alt="">
-              </div>
-              <div style="width:104px;top: 63%;left: 68%;">
-                <img src="./img/left-green.png" class="" style="width:104px;height: 112px;" alt="">
-                <div class="text-center">1025亿</div>
-              </div>
-              <!-- 第七列 -->
-              <div style="width:104px;top: 21%;left: 78%;animation-delay:1s">
-                <div class="text-center">1830亿</div>
-                <img src="./img/left-blue.png" class="" style="width:104px;height: 112px;" alt="">
-              </div>
-              <div style="width:104px;top: 51%;left: 78%;animation-delay:1s">
-                <img src="./img/left-green.png" class="" style="width:104px;height: 112px;" alt="">
-                <div class="text-center">1025亿</div>
-              </div>
-              <!-- 第八列 -->
-              <div style="width:104px;top: 31%;left: 88%;">
-                <div class="text-center">1830亿</div>
-                <img src="./img/left-blue.png" class="" style="width:104px;height: 112px;" alt="">
-              </div>
-              <div style="width:104px;top: 61%;left: 88%;">
-                <img src="./img/left-green.png" class="" style="width:104px;height: 112px;" alt="">
-                <div class="text-center">1025亿</div>
-              </div>
+          <div>
+            <div class="title">投资额度分析</div>
+            <div class="content left3">
+              <div ref="leftEcharts6" style="width: 100%; height: 100%"></div>
+              <div></div>
             </div>
           </div>
-        </div>
-        <div>
-          <div class="title">重点项目两线指标</div>
-          <div class="content"></div>
-        </div>
-      </div>
-      <div class="center">
-        <div>
           <div>
-            <div class="title">两个转型</div>
-            <div class="content relative center1">
-              <div class="flex items-center justify-end" style="font-size: 24px;">
-                <span
-                  style="display:inline-block;margin-right:15px;border-radius:10px;width:25px;height:25px;background: url('../img/blueBig.png') no-repeat center center;background-size: 100% 100%;"></span>
-                <span style="margin-right: 40px;">产业转型</span>
-                <span
-                  style="display:inline-block;margin-right:15px;border-radius:10px;width:25px;height:25px;background: url('../img/greenBig.png') no-repeat center center;background-size: 100% 100%;"></span>
-
-                <span>数字转型</span>
-              </div>
-              <div></div>
-              <div class="absolute flex items-center justify-center flex-col bubble"
-                style="width: 192px;height: 192px;top: 25%;left: 25%;animation-delay:1s;">
-                <span style="font-size: 30px;font-weight: bold;color: #68BDFF;">206<span class="font28">亿</span></span>
-                <span class="font28">投资金额</span>
-              </div>
-              <div class="absolute flex items-center justify-center flex-col bubble"
-                style="width: 170px;height: 170px;top: 60%;left: 70%;animation-delay:1s">
-                <span style="font-size: 30px;font-weight: bold;color: #68BDFF;">153<span class="font28">个</span></span>
-                <span class="font28">项目数量</span>
-              </div>
-              <div class="absolute flex items-center justify-center flex-col bubble"
-                style="width: 175px;height: 175px;top: 65%;left: 15%;">
-                <span style="font-size: 30px;font-weight: bold;color: #EBDE27;">113<span class="font28">个</span></span>
-                <span class="font28">项目数量</span>
-              </div>
-              <div class="absolute flex items-center justify-center flex-col bubble"
-                style="width: 190px;height: 190px;top: 35%;left: 50%;">
-                <span style="font-size: 30px;font-weight: bold;color: #EBDE27;">168<span class="font28">亿</span></span>
-                <span class="font28">投资金额</span>
+            <div class="title">产业布局分析</div>
+            <div class="content left2">
+              <div
+                class="flex items-center justify-around font28"
+                style="padding: 0 10%"
+              >
+                <div
+                  @click="industryLayoutChange(0)"
+                  class="pointer"
+                  :class="industryLayout==0?'industryProportion1':'industryProportion2'"
+                  style="padding: 1% 2%"
+                >
+                  传统产业分析
+                </div>
+                <div
+                  @click="industryLayoutChange(1)"
+                  class="pointer"
+                  :class="industryLayout==1?'industryProportion1':'industryProportion2'"
+                  style="padding: 1% 2%"
+                >
+                  战略性新兴产业
+                </div>
+                <div
+                  @click="industryLayoutChange(2)"
+                  class="pointer"
+                  :class="industryLayout==2?'industryProportion1':'industryProportion2'"
+                  style="padding: 1% 2%"
+                >
+                  特色优势产业
+                </div>
+                <div
+                  @click="industryLayoutChange(3)"
+                  class="pointer"
+                  :class="industryLayout==3?'industryProportion1':'industryProportion2'"
+                  style="padding: 1% 2%"
+                >
+                  公共基础等产业
+                </div>
               </div>
+              <div ref="leftEcharts5" style="width: 100%; height: 100%"></div>
             </div>
           </div>
           <div>
-            <div class="title">投资产业分布</div>
+            <div class="title">企业额度分析</div>
             <div class="content"></div>
           </div>
           <div>
-            <div class="title">投资执行情况</div>
+            <div class="title">项目阶段分析</div>
+            <div class="content left4">
+              <div ref="leftEcharts7" style="height: 100%; width: 100%"></div>
+              <div ref="leftEcharts8" style="height: 100%; width: 100%"></div>
+              <div class="left4A">
+                <!-- 第一列 -->
+                <div
+                  style="width: 104px; top: 21%; left: 9%; animation-delay: 1s"
+                >
+                  <div class="text-center">1230亿</div>
+                  <img
+                    src="./img/left-blue.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                </div>
+                <div
+                  style="width: 104px; top: 51%; left: 9%; animation-delay: 1s"
+                >
+                  <img
+                    src="./img/left-green.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                  <div class="text-center">1036亿</div>
+                </div>
+                <!-- 第二列 -->
+                <div style="width: 104px; top: 30%; left: 19%">
+                  <div class="text-center">1830亿</div>
+                  <img
+                    src="./img/left-blue.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                </div>
+                <div style="width: 104px; top: 62%; left: 19%">
+                  <img
+                    src="./img/left-green.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                  <div class="text-center">1025亿</div>
+                </div>
+                <!-- 第三列 -->
+                <div
+                  style="width: 104px; top: 35%; left: 29%; animation-delay: 1s"
+                >
+                  <div class="text-center">1830亿</div>
+                  <img
+                    src="./img/left-blue.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                </div>
+                <div
+                  style="width: 104px; top: 60%; left: 29%; animation-delay: 1s"
+                >
+                  <img
+                    src="./img/left-green.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                  <div class="text-center">1025亿</div>
+                </div>
+                <!-- 第四列 -->
+                <div style="width: 104px; top: 31%; left: 39%">
+                  <div class="text-center">1830亿</div>
+                  <img
+                    src="./img/left-blue.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                </div>
+                <div style="width: 104px; top: 61%; left: 39%">
+                  <img
+                    src="./img/left-green.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                  <div class="text-center">1025亿</div>
+                </div>
+                <!-- 第五列 -->
+                <div
+                  style="width: 104px; top: 41%; left: 58%; animation-delay: 1s"
+                >
+                  <div class="text-center">1830亿</div>
+                  <img
+                    src="./img/left-blue.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                </div>
+                <div
+                  style="width: 104px; top: 65%; left: 58%; animation-delay: 1s"
+                >
+                  <img
+                    src="./img/left-green.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                  <div class="text-center">1025亿</div>
+                </div>
+                <!-- 第六列 -->
+                <div style="width: 104px; top: 35%; left: 68%">
+                  <div class="text-center">1830亿</div>
+                  <img
+                    src="./img/left-blue.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                </div>
+                <div style="width: 104px; top: 63%; left: 68%">
+                  <img
+                    src="./img/left-green.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                  <div class="text-center">1025亿</div>
+                </div>
+                <!-- 第七列 -->
+                <div
+                  style="width: 104px; top: 21%; left: 78%; animation-delay: 1s"
+                >
+                  <div class="text-center">1830亿</div>
+                  <img
+                    src="./img/left-blue.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                </div>
+                <div
+                  style="width: 104px; top: 51%; left: 78%; animation-delay: 1s"
+                >
+                  <img
+                    src="./img/left-green.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                  <div class="text-center">1025亿</div>
+                </div>
+                <!-- 第八列 -->
+                <div style="width: 104px; top: 31%; left: 88%">
+                  <div class="text-center">1830亿</div>
+                  <img
+                    src="./img/left-blue.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                </div>
+                <div style="width: 104px; top: 61%; left: 88%">
+                  <img
+                    src="./img/left-green.png"
+                    class=""
+                    style="width: 104px; height: 112px"
+                    alt=""
+                  />
+                  <div class="text-center">1025亿</div>
+                </div>
+              </div>
+            </div>
+          </div>
+          <div>
+            <div class="title">重点项目两线指标</div>
             <div class="content"></div>
           </div>
         </div>
-        <div class="center2">
+        <div class="center">
           <div>
-            <div class="flex justify-center  flex-col">
-              <div style="padding-left: 40%;">
-                <div style="font-size: 60px;color: #68BDFF;font-weight: bold">17.09<span
-                    style="font-size: 28px;">亿</span>
+            <div>
+              <div class="title">两个转型</div>
+              <div class="content relative center1">
+                <div
+                  class="flex items-center justify-end"
+                  style="font-size: 24px"
+                >
+                  <span
+                    style="
+                      display: inline-block;
+                      margin-right: 15px;
+                      border-radius: 10px;
+                      width: 25px;
+                      height: 25px;
+                      background: url('../img/blueBig.png') no-repeat center
+                        center;
+                      background-size: 100% 100%;
+                    "
+                  ></span>
+                  <span style="margin-right: 40px">产业转型</span>
+                  <span
+                    style="
+                      display: inline-block;
+                      margin-right: 15px;
+                      border-radius: 10px;
+                      width: 25px;
+                      height: 25px;
+                      background: url('../img/greenBig.png') no-repeat center
+                        center;
+                      background-size: 100% 100%;
+                    "
+                  ></span>
+
+                  <span>数字转型</span>
+                </div>
+                <div></div>
+                <div
+                  class="absolute flex items-center justify-center flex-col bubble"
+                  style="
+                    width: 192px;
+                    height: 192px;
+                    top: 25%;
+                    left: 25%;
+                    animation-delay: 1s;
+                  "
+                >
+                  <span
+                    style="font-size: 30px; font-weight: bold; color: #68bdff"
+                    >206<span class="font28">亿</span></span
+                  >
+                  <span class="font28">投资金额</span>
+                </div>
+                <div
+                  class="absolute flex items-center justify-center flex-col bubble"
+                  style="
+                    width: 170px;
+                    height: 170px;
+                    top: 60%;
+                    left: 70%;
+                    animation-delay: 1s;
+                  "
+                >
+                  <span
+                    style="font-size: 30px; font-weight: bold; color: #68bdff"
+                    >153<span class="font28">个</span></span
+                  >
+                  <span class="font28">项目数量</span>
+                </div>
+                <div
+                  class="absolute flex items-center justify-center flex-col bubble"
+                  style="width: 175px; height: 175px; top: 65%; left: 15%"
+                >
+                  <span
+                    style="font-size: 30px; font-weight: bold; color: #ebde27"
+                    >113<span class="font28">个</span></span
+                  >
+                  <span class="font28">项目数量</span>
+                </div>
+                <div
+                  class="absolute flex items-center justify-center flex-col bubble"
+                  style="width: 190px; height: 190px; top: 35%; left: 50%"
+                >
+                  <span
+                    style="font-size: 30px; font-weight: bold; color: #ebde27"
+                    >168<span class="font28">亿</span></span
+                  >
+                  <span class="font28">投资金额</span>
                 </div>
-                <div style="font-size: 28px;justify-self:center">总投资额</div>
               </div>
             </div>
-            <div class="flex justify-center  flex-col">
-              <div style="padding-left: 40%;">
-                <div style="font-size: 60px;color: #5BDCC8;font-weight: bold">353.07<span
-                    style="font-size: 28px;">亿</span>
+            <div>
+              <div class="title">投资产业分布</div>
+              <div class="content"></div>
+            </div>
+            <div>
+              <div class="title">投资执行情况</div>
+              <div class="content"></div>
+            </div>
+          </div>
+          <div class="center2">
+            <div>
+              <div class="flex justify-center flex-col">
+                <div style="padding-left: 40%">
+                  <div
+                    style="font-size: 60px; color: #68bdff; font-weight: bold"
+                  >
+                    17.09<span style="font-size: 28px">亿</span>
+                  </div>
+                  <div style="font-size: 28px; justify-self: center">
+                    总投资额
+                  </div>
                 </div>
-                <div style="font-size: 28px;justify-self:center">项目总数</div>
               </div>
-            </div>
-            <div class="flex justify-center flex-col">
-              <div style="padding-left: 40%;">
-                <div style="font-size: 60px;color: #5BDCC8;font-weight: bold">2.22<span
-                    style="font-size: 28px;">亿</span>
+              <div class="flex justify-center flex-col">
+                <div style="padding-left: 40%">
+                  <div
+                    style="font-size: 60px; color: #5bdcc8; font-weight: bold"
+                  >
+                    353.07<span style="font-size: 28px">亿</span>
+                  </div>
+                  <div style="font-size: 28px; justify-self: center">
+                    项目总数
+                  </div>
                 </div>
-                <div style="font-size: 28px;justify-self:center">股权资产</div>
               </div>
-            </div>
-            <div class="flex justify-center  flex-col">
-              <div style="padding-left: 40%;">
-                <div style="font-size: 60px;color: #68BDFF;font-weight: bold">66.28<span
-                    style="font-size: 28px;">亿</span>
+              <div class="flex justify-center flex-col">
+                <div style="padding-left: 40%">
+                  <div
+                    style="font-size: 60px; color: #5bdcc8; font-weight: bold"
+                  >
+                    2.22<span style="font-size: 28px">亿</span>
+                  </div>
+                  <div style="font-size: 28px; justify-self: center">
+                    股权资产
+                  </div>
+                </div>
+              </div>
+              <div class="flex justify-center flex-col">
+                <div style="padding-left: 40%">
+                  <div
+                    style="font-size: 60px; color: #68bdff; font-weight: bold"
+                  >
+                    66.28<span style="font-size: 28px">亿</span>
+                  </div>
+                  <div style="font-size: 28px; justify-self: center">
+                    固定资产
+                  </div>
                 </div>
-                <div style="font-size: 28px;justify-self:center">固定资产</div>
               </div>
             </div>
+            <div ref="shanxi" style="width: 100%; height: 100%"></div>
           </div>
-          <div ref="shanxi" style="width: 100%;height: 100%;"></div>
-        </div>
-        <div>
           <div>
             <div>
-              <div class="title">五个一体化</div>
-              <div class="content"></div>
+              <div>
+                <div class="title">五个一体化</div>
+                <div class="content"></div>
+              </div>
             </div>
-          </div>
-          <div>
             <div>
-              <div class="title">投资阶段分析</div>
-              <div class="content"></div>
+              <div>
+                <div class="title">投资阶段分析</div>
+                <div class="content"></div>
+              </div>
             </div>
-          </div>
-          <div>
             <div>
-              <div class="title">重点项目监控</div>
-              <div class="content"></div>
+              <div>
+                <div class="title">重点项目监控</div>
+                <div class="content"></div>
+              </div>
             </div>
           </div>
         </div>
-      </div>
-      <div class="right">
-        <div class="means">
-          <div class="meansWrap">
-            <div class="meansHead">
-              <img src="./img/1.png" alt="" />
-              固定资产
-            </div>
-            <div class="wrapMeansItem">
-              <div
-                v-for="(item, index) in meansList"
-                class="itemWid"
-                :class="[topIndex == index ? 'active': '']"
-              >
-                <div class="itemBac">
-                  <div>
-                    {{item.value}}
-                    <p>个</p>
+        <div class="right">
+          <div class="means">
+            <div class="meansWrap">
+              <div class="meansHead">
+                <img src="./img/1.png" alt="" />
+                固定资产
+              </div>
+              <div class="wrapMeansItem">
+                <div
+                  v-for="(item, index) in meansList"
+                  class="itemWid"
+                  :class="[topIndex == index ? 'active': '']"
+                >
+                  <div class="itemBac">
+                    <div>
+                      {{item.value}}
+                      <p>个</p>
+                    </div>
+                    <span>{{item.label}}</span>
                   </div>
-                  <span>{{item.label}}</span>
+                  <img
+                    v-if="index != meansList.length -1"
+                    src="./img/6.png"
+                    alt=""
+                  />
                 </div>
-                <img
-                  v-if="index != meansList.length -1"
-                  src="./img/6.png"
-                  alt=""
-                />
               </div>
             </div>
-          </div>
-          <div class="shareholding">
-            <div class="meansHead">
-              <img src="./img/2.png" alt="" />
-              股权类
+            <div class="shareholding">
+              <div class="meansHead">
+                <img src="./img/2.png" alt="" />
+                股权类
+              </div>
             </div>
           </div>
-        </div>
-        <div>
-          <div class="publicTitle">进度成本偏差概览</div>
-          <div class="progressCost">
-            <div class="costItem" v-for="(item, index) in costList">
-              <div class="itemTop">
-                <div class="topDiv">
-                  <p>项目数量</p>
-                  <div class="costNum">
-                    {{item.num}}
-                    <span>个</span>
+          <div>
+            <div class="publicTitle">进度成本偏差概览</div>
+            <div class="progressCost">
+              <div class="costItem" v-for="(item, index) in costList">
+                <div class="itemTop">
+                  <div class="topDiv">
+                    <p>项目数量</p>
+                    <div class="costNum">
+                      {{item.num}}
+                      <span>个</span>
+                    </div>
                   </div>
-                </div>
-                <div class="topDiv" style="margin-top: 1.875rem">
-                  <p>项目数量</p>
-                  <div class="costNum">
-                    {{item.value}}
-                    <span>亿</span>
+                  <div class="topDiv" style="margin-top: 1.875rem">
+                    <p>项目数量</p>
+                    <div class="costNum">
+                      {{item.value}}
+                      <span>亿</span>
+                    </div>
                   </div>
                 </div>
-              </div>
-              <div class="itemBottom">
-                <img class="aniLeft" src="./img/8.png" alt="" />
-                <div>{{item.status}}</div>
-                <img class="aniRight" src="./img/9.png" alt="" />
+                <div class="itemBottom">
+                  <img class="aniLeft" src="./img/8.png" alt="" />
+                  <div>{{item.status}}</div>
+                  <img class="aniRight" src="./img/9.png" alt="" />
+                </div>
               </div>
             </div>
           </div>
-        </div>
-        <div>
-          <div class="publicTitle">投资预算执行</div>
-          <div class="invest">
-            <div class="lp">
-              <div class="quan"></div>
-              <div class="bigq"></div>
-              <img :src="investData.investList[witchs].url" alt="" />
-              <div
-                class="plItem"
-                :style="{transform:'rotate('+innerDeg+'deg)'}"
-              >
+          <div>
+            <div class="publicTitle">投资预算执行</div>
+            <div class="invest">
+              <div class="lp">
+                <div class="quan"></div>
+                <div class="bigq"></div>
+                <img :src="investData.investList[witchs].url" alt="" />
                 <div
-                  :class="[witchs == index? 'active' : '']"
-                  v-for="(item, index) in investData.investList"
-                  :style="{ transform: 'translateY(-50%) rotate(-' + item.deg + 'deg)' }"
-                  @click="clickItem(index)"
+                  class="plItem"
+                  :style="{transform:'rotate('+innerDeg+'deg)'}"
                 >
-                  {{item.name}}
+                  <div
+                    :class="[witchs == index? 'active' : '']"
+                    v-for="(item, index) in investData.investList"
+                    :style="{ transform: 'translateY(-50%) rotate(-' + item.deg + 'deg)' }"
+                    @click="clickItem(index)"
+                  >
+                    {{item.name}}
+                  </div>
                 </div>
               </div>
-            </div>
-            <div class="investInfoWrap">
-              <div class="investInfo">
-                预算额<span>{{investData.investList[witchs].yse}}</span>亿
-              </div>
-              <div class="investInfo">
-                已签合同额<span>{{investData.investList[witchs].yqhte}}</span>亿
-              </div>
-              <div class="investInfo">
-                产值认定额<span>{{investData.investList[witchs].czrde}}</span>亿
-              </div>
-              <div class="investInfo">
-                结算额<span>{{investData.investList[witchs].jse}}</span>亿
-              </div>
-              <div class="investInfo">
-                付款额<span>{{investData.investList[witchs].fke}}</span>亿
+              <div class="investInfoWrap">
+                <div class="investInfo">
+                  预算额<span>{{investData.investList[witchs].yse}}</span>亿
+                </div>
+                <div class="investInfo">
+                  已签合同额<span>{{investData.investList[witchs].yqhte}}</span>亿
+                </div>
+                <div class="investInfo">
+                  产值认定额<span>{{investData.investList[witchs].czrde}}</span>亿
+                </div>
+                <div class="investInfo">
+                  结算额<span>{{investData.investList[witchs].jse}}</span>亿
+                </div>
+                <div class="investInfo">
+                  付款额<span>{{investData.investList[witchs].fke}}</span>亿
+                </div>
               </div>
             </div>
           </div>
-        </div>
-        <div>
-          <div class="publicTitle">进度成本偏差</div>
-          <div class="echartsWrap" ref="echartR1"></div>
-        </div>
-        <div>
-          <div class="publicTitle">项目风险分析</div>
-          <div class="projectRisk">
-            <div class="riskWrap" ref="echartR2">1</div>
-            <div class="riskWrap">2</div>
-            <div class="riskWrap longRisk">3</div>
+          <div>
+            <div class="publicTitle">进度成本偏差</div>
+            <div class="echartsWrap" ref="echartR1"></div>
+          </div>
+          <div>
+            <div class="publicTitle">项目风险分析</div>
+            <div class="projectRisk">
+              <div class="riskWrap" ref="echartR2"></div>
+              <div class="riskWrap" ref="echartR3"></div>
+              <div class="riskWrap longRisk" ref="echartR4"></div>
+            </div>
           </div>
         </div>
       </div>
+      <!-- <div style="width: 500px;height: 500px;" ref="echart1"></div> -->
     </div>
-    <!-- <div style="width: 500px;height: 500px;" ref="echart1"></div> -->
-  </div>
-  <!-- </dv-full-screen-container> -->
-  <script src="./js/index.js"></script>
-</body>
-
-</html>
+    <!-- </dv-full-screen-container> -->
+    <script src="./js/index.js"></script>
+  </body>
+</html>

File diff suppressed because it is too large
+ 482 - 225
investmentNew/js/index.js


+ 30 - 29
investmentNew/styles/index.css

@@ -5,7 +5,7 @@ body {
   height: 100%;
   font-size: 20px;
   color: #fff;
-  font-family: 'Microsoft YaHei';
+  font-family: "Microsoft YaHei";
   overflow-y: hidden;
 }
 * {
@@ -30,7 +30,7 @@ a {
   display: none;
 }
 #app {
-  background: url('../img/page-bg.png') center center no-repeat;
+  background: url("../img/page-bg.png") center center no-repeat;
   background-size: 100% 100%;
 }
 .top {
@@ -50,26 +50,26 @@ a {
   letter-spacing: 5px;
 }
 .top .title > span:before {
-  content: '';
+  content: "";
   display: inline-block;
   width: 66px; /*图标宽度*/
   height: 42px; /*图标高度*/
-  background: url('../img/title-left.png') no-repeat center center; /*图标路径*/
+  background: url("../img/title-left.png") no-repeat center center; /*图标路径*/
   background-size: contain; /*图标大小适应*/
   margin-right: 20px; /*图标与文字的间距*/
 }
 .top .title > div {
   height: 30px;
   width: 40%;
-  background: url('../img/title-light.png') center bottom no-repeat;
+  background: url("../img/title-light.png") center bottom no-repeat;
   background-size: 100% 100%;
 }
 .top .title > span:after {
-  content: '';
+  content: "";
   display: inline-block;
   width: 66px; /*图标宽度*/
   height: 42px; /*图标高度*/
-  background: url('../img/title-right.png') no-repeat center center; /*图标路径*/
+  background: url("../img/title-right.png") no-repeat center center; /*图标路径*/
   background-size: contain; /*图标大小适应*/
   margin-left: 20px; /*图标与文字的间距*/
 }
@@ -112,7 +112,7 @@ a {
   /* height: calc(100% / 7); */
   height: 100px;
   overflow: hidden;
-  background: url('../img/small-title.png') no-repeat center bottom; /*图标路径*/
+  background: url("../img/small-title.png") no-repeat center bottom; /*图标路径*/
   background-size: 100% 50%;
   display: flex;
   align-items: center;
@@ -123,7 +123,7 @@ a {
   letter-spacing: 5px;
 }
 .left .child > div:nth-child(1):before {
-  content: '●';
+  content: "●";
   margin-right: 10px;
   color: #40a9ff;
 }
@@ -146,7 +146,7 @@ a {
 .left1 .child {
   width: 47%;
   height: 100%;
-  background: url('../img/left1.png') no-repeat center center; /*图标路径*/
+  background: url("../img/left1.png") no-repeat center center; /*图标路径*/
   background-size: 100% 100%;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
@@ -161,7 +161,7 @@ a {
 }
 .left1B > div:nth-child(1) {
   overflow: hidden;
-  background: url('../img/disk.png') no-repeat center center; /*图标路径*/
+  background: url("../img/disk.png") no-repeat center center; /*图标路径*/
   background-size: 100% 100%;
 }
 .left1C {
@@ -173,12 +173,12 @@ a {
   padding: 1%;
 }
 .checkBg {
-  background: url('../img/disk.png') no-repeat center center; /*图标路径*/
+  background: url("../img/disk.png") no-repeat center center; /*图标路径*/
   background-size: 100% 100%;
 }
 .left .industryProportion1,
 .left2 .industryProportion1 {
-  background: url('../img/industryProportion.png') no-repeat center center; /*图标路径*/
+  background: url("../img/industryProportion.png") no-repeat center center; /*图标路径*/
   background-size: 100% 100%;
 }
 .left .industryProportion2 {
@@ -245,23 +245,23 @@ a {
   overflow: hidden;
 }
 .center1 > div:nth-child(2) {
-  background: url('../img/bubbleBg.png') no-repeat center center; /*图标路径*/
+  background: url("../img/bubbleBg.png") no-repeat center center; /*图标路径*/
   background-size: 100% 100%;
 }
 .center1 > div:nth-child(3) {
-  background: url('../img/blueBig.png') no-repeat center center; /*图标路径*/
+  background: url("../img/blueBig.png") no-repeat center center; /*图标路径*/
   background-size: 100% 100%;
 }
 .center1 > div:nth-child(4) {
-  background: url('../img/blueSmall.png') no-repeat center center; /*图标路径*/
+  background: url("../img/blueSmall.png") no-repeat center center; /*图标路径*/
   background-size: 100% 100%;
 }
 .center1 > div:nth-child(5) {
-  background: url('../img/greenSmall.png') no-repeat center center; /*图标路径*/
+  background: url("../img/greenSmall.png") no-repeat center center; /*图标路径*/
   background-size: 100% 100%;
 }
 .center1 > div:nth-child(6) {
-  background: url('../img/greenBig.png') no-repeat center center; /*图标路径*/
+  background: url("../img/greenBig.png") no-repeat center center; /*图标路径*/
   background-size: 100% 100%;
 }
 .center2 {
@@ -282,22 +282,22 @@ a {
   overflow: hidden;
 }
 .center2 > div:nth-child(1) > div:nth-child(1) {
-  background: url('../img/centerTop1.png') no-repeat center left; /*图标路径*/
+  background: url("../img/centerTop1.png") no-repeat center left; /*图标路径*/
   background-size: 140% 100%;
   overflow: hidden;
 }
 .center2 > div:nth-child(1) > div:nth-child(2) {
-  background: url('../img/centerTop2.png') no-repeat center left; /*图标路径*/
+  background: url("../img/centerTop2.png") no-repeat center left; /*图标路径*/
   background-size: 140% 100%;
   overflow: hidden;
 }
 .center2 > div:nth-child(1) > div:nth-child(3) {
-  background: url('../img/centerTop3.png') no-repeat center left; /*图标路径*/
+  background: url("../img/centerTop3.png") no-repeat center left; /*图标路径*/
   background-size: 140% 100%;
   overflow: hidden;
 }
 .center2 > div:nth-child(1) > div:nth-child(4) {
-  background: url('../img/centerTop4.png') no-repeat center left; /*图标路径*/
+  background: url("../img/centerTop4.png") no-repeat center left; /*图标路径*/
   background-size: 140% 100%;
   overflow: hidden;
 }
@@ -309,18 +309,18 @@ a {
   height: 250px;
   color: #fff;
   display: grid;
-  grid-template-rows: repeat(3, 1fr);   
+  grid-template-rows: repeat(3, 1fr);
 }
 .custom-tooltip-box {
   padding: 0 !important;
   border: none !important;
   background-color: transparent !important;
 }
-.blueIcon{
+.blueIcon {
   font-size: 32px !important;
 }
-.blueIcon::before{
-  content: '●';
+.blueIcon::before {
+  content: "●";
   margin-right: 10px;
   color: #40a9ff;
 }
@@ -332,7 +332,7 @@ a {
 .fb {
   font-weight: bold !important;
 }
-.fn{
+.fn {
   font-weight: normal !important;
 }
 .pointer {
@@ -748,7 +748,8 @@ i {
 .capitalize {
   text-transform: capitalize;
 }
-* right css start */
+
+/* right css start */
 .right {
   display: grid;
   grid-template-rows: 20% 34% 1fr;
@@ -1120,7 +1121,7 @@ i {
   grid-template-rows: repeat(2, 1fr);
   gap: 10px;
   width: 100%;
-  height: 100%;
+  height: calc(100% - 100% / 7);
 }
 
 .projectRisk .riskWrap {

Some files were not shown because too many files changed in this diff