2 Commits edc275ff15 ... c118df3764

Author SHA1 Message Date
  l1448442195@163.com c118df3764 Merge branch 'main' of https://git.sxidc.com/kingdee_large_screen/pc_kingdee_large_screen 1 year ago
  l1448442195@163.com a873013628 修改中文号 1 year ago
2 changed files with 8 additions and 8 deletions
  1. 6 6
      investment/js/investHome2.js
  2. 2 2
      investment/styles/investHome2.css

+ 6 - 6
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',
@@ -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
@@ -119,7 +119,7 @@ let app = new Vue({
           this.countType = 0
         }
         this.initChartL3()
-      }, 2000)
+      }, 60000)
     }, 300)
     // setTimeout(() => {
     //   var swiper = new Swiper(".mySwiper", {
@@ -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;