瀏覽代碼

Merge branch 'main' of https://git.sxidc.com/kingdee_large_screen/pc_kingdee_large_screen

unknown 1 年之前
父節點
當前提交
fad6adc0d9
共有 3 個文件被更改,包括 36 次插入36 次删除
  1. 4 4
      investment/investHome2.html
  2. 30 30
      investment/js/investHome2.js
  3. 2 2
      investment/styles/investHome2.css

+ 4 - 4
investment/investHome2.html

@@ -21,11 +21,11 @@
   <script src="./js/data2.js"></script>
 
   <!-- 轮播 -->
-  <link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.css" />
+  <!-- <link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.css" />
   <link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css" />
   <script src="https://unpkg.com/swiper@8/swiper-bundle.js"></script>
   <script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"></script>
-  <script src="https://unpkg.com/swiper@8/swiper-bundle.min.js.map"></script>
+  <script src="https://unpkg.com/swiper@8/swiper-bundle.min.js.map"></script> -->
 </head>
 
 <body>
@@ -49,7 +49,7 @@
                   <div class="item2-img">
                     <img style="width: 100%; height: 100%;" src="./images/icon-4-home2.png" alt="">
                   </div>
-                  <div class="item2-text">上年度经营利润</div>
+                  <div class="item2-text">上年度利润</div>
                 </div>
                 <div class="item2">
                   <div class="item2-title" style="color: #DD9CFF;">605.57<span>亿</span></div>
@@ -117,7 +117,7 @@
                       <img style="width: 100%; height: 100%;" src="./images/icon-8-home2.png" alt="">
                     </div>
                     <div class="item4-text" style="color: rgba(255, 255, 255, 0.6);">
-                      年度投资计划总额
+                      年度投资计划总额(含技改)
                     </div>
                   </div>
                 </div>

+ 30 - 30
investment/js/investHome2.js

@@ -2,7 +2,7 @@ let app = new Vue({
   el: '#app',
   data () {
     return {
-      count: 1,
+      count: 0,
       countType: 0,
       type: true, // 切换柱状图状态
       showTip2: false,
@@ -19,7 +19,7 @@ let app = new Vue({
         content: '{nt}个',
       },
       storageRecordConfig: {
-        // waitTime: '2000000',
+        // waitTime: '60000',
         hoverPause: false,
         header: ['企业集团', '项目名 ', '投资总额'],
         // headerBGC: '#05507b33',
@@ -36,7 +36,7 @@ let app = new Vue({
           ['国际能源', '平朔矿区150MW农光储氢一体化项目', "7.84亿元"],
           ['汾酒集团', '汾酒2030技改原酒产储能扩建项目(一期)', "91.02亿元 "],
           ['大地控股', '山西大地控股忻州新店矿业有限公司投资建设年产800万吨精品砂石骨料项目', "8.67亿元 "],
-          ['潞安化工', '分布式光伏发电项目', "2.00亿元 "],
+          ['潞安化工', '分布式光伏发电项目', "2.01亿元 "],
           ['太重集团', '设立太重(大同)新能源产业投资公司', "0.30亿元 "],
           ['大地控股', '山西大地宏翔环保科技有限公司电厂固废资源化综合利用建设项目', "3.60亿元 "],
           ['大地控股', '山西大地海科环保科技有限公司电厂固废资源化综合利用建设项目', "3.11亿元 "],
@@ -111,7 +111,7 @@ let app = new Vue({
         if (this.count < dataList.length - 1) {
           this.count++
         } else {
-          this.count = 1
+          this.count = 0
         }
         if (this.count > 14) {
           this.countType = 1
@@ -661,29 +661,29 @@ let app = new Vue({
           },
         },
         series: [
-          {
-            name: "2022年额度",
-            type: "bar",
-            data: [263.23, 402.18, 73.28, 144.80, 25.56, 8.23, 0, 12.97, 8.56, -1.72, 0, 0, 0, 76.90, 5.03, 9.14, 0, 0],
-            showBackground: false,
-            backgroundStyle: {
-              color: "#18416F",
-            },
-            barWidth: "10%",
-            itemStyle: {
-              barBorderRadius: [10, 10, 0, 0],
-              color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
-                {
-                  offset: 0,
-                  color: '#082550',
-                },
-                {
-                  offset: 1,
-                  color: '#69c0ff',
-                },
-              ]),
-            },
-          },
+          // {
+          //   name: "2022年额度",
+          //   type: "bar",
+          //   data: [263.23, 402.18, 73.28, 144.80, 25.56, 8.23, 0, 12.97, 8.56, -1.72, 0, 0, 0, 76.90, 5.03, 9.14, 0, 0],
+          //   showBackground: false,
+          //   backgroundStyle: {
+          //     color: "#18416F",
+          //   },
+          //   barWidth: "10%",
+          //   itemStyle: {
+          //     barBorderRadius: [10, 10, 0, 0],
+          //     color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
+          //       {
+          //         offset: 0,
+          //         color: '#082550',
+          //       },
+          //       {
+          //         offset: 1,
+          //         color: '#69c0ff',
+          //       },
+          //     ]),
+          //   },
+          // },
           {
             name: "2023年额度",
             type: "bar",
@@ -1072,7 +1072,7 @@ let app = new Vue({
       let myChart = echarts.init(this.$refs['echartL4'])
       let option = {
         title: {
-          text: '产业类型分析',
+          text: '传统产业分析',
           x: 'center',
           y: '0%',
           textStyle: {
@@ -1716,7 +1716,7 @@ let app = new Vue({
         tooltip: {
           trigger: "axis",
           formatter: function (params) {
-            var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + ':' + params[0].data[2] + '个,' + params[0].data[3] + '亿元' + '<br/>' + params[1].marker + params[1].data[1] + ':' + params[1].data[2] + '个,' + params[1].data[3] + '亿元';
+            var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + '' + params[0].data[2] + '个,' + params[0].data[3] + '亿元' + '<br/>' + params[1].marker + params[1].data[1] + '' + params[1].data[2] + '个,' + params[1].data[3] + '亿元';
             return tip
           },
           axisPointer: {
@@ -1862,7 +1862,7 @@ let app = new Vue({
         tooltip: {
           trigger: "axis",
           formatter: function (params) {
-            var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + ':' + params[0].data[2] + '个,' + params[0].data[3] + '亿元' + '<br/>' + params[1].marker + params[1].data[1] + ':' + params[1].data[2] + '个,' + params[1].data[3] + '亿元';
+            var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + '' + params[0].data[2] + '个,' + params[0].data[3] + '亿元' + '<br/>' + params[1].marker + params[1].data[1] + '' + params[1].data[2] + '个,' + params[1].data[3] + '亿元';
             return tip
           },
           axisPointer: {

+ 2 - 2
investment/styles/investHome2.css

@@ -584,9 +584,9 @@ a {
 .topChange2 {
   margin-right: 15px;
 }
-.rows > .row-item:nth-child(2) {
+/* .rows > .row-item:nth-child(2) {
   background-color: #79a4db6c !important;
-}
+} */
 .header {
   color: #2abbff;
   font-weight: bold;