unknown 1 год назад
Родитель
Сommit
8677d5fdd7
2 измененных файлов с 11 добавлено и 11 удалено
  1. 8 8
      investment/investHome2.html
  2. 3 3
      investment/js/investHome2.js

+ 8 - 8
investment/investHome2.html

@@ -65,7 +65,7 @@
                 </div>
                 <div class="content-left-bottom">
                   <div class="item2">
-                    <div class="item2-title" style="color: #DD9CFF;">423.91<span>亿</span></div>
+                    <div class="item2-title" style="color: #DD9CFF;">621.62<span>亿</span></div>
                     <div class="item2-img">
                       <img style="width: 100%; height: 100%;" src="./images/icon-5-home2.png" alt="">
                     </div>
@@ -88,7 +88,7 @@
                 </div> -->
               </div>
               <div class="content-right" style="position:relative">
-                <div class="total">总额度<span style="font-size: 25px;">1,123.85亿</span></div>
+                <div class="total">总额度<span style="font-size: 25px;">1,323.85亿</span></div>
                 <div ref="echartL2" style="width: 100%; height: 100%;"></div>
               </div>
             </div>
@@ -126,7 +126,7 @@
               <div class="content-left">
                 <div class="content-left-l">
                   <div class="item3">
-                    <div class="item3-title">1,163.88<span>亿</span></div>
+                    <div class="item3-title">1,363.88<span>亿</span></div>
                     <div class="item3-img">
                       <img style="width: 100%; height: 100%;" src="./images/icon-8-home2.png" alt="">
                     </div>
@@ -143,7 +143,7 @@
                       <div class="item4-con">
                         <div class="item">
                           <div class="text" style="margin-top: 10px;">投资金额</div>
-                          <div class="title">644.83<span>亿</span></div>
+                          <div class="title">1,198.19<span>亿</span></div>
                         </div>
                         <div class="item">
                           <div class="text" style="margin-top: 10px;">项目数量</div>
@@ -158,7 +158,7 @@
                       <div class="item4-con">
                         <div class="item">
                           <div class="text" style="margin-top: 10px;">投资金额</div>
-                          <div class="title">95.69<span>亿</span></div>
+                          <div class="title">165.69<span>亿</span></div>
                         </div>
                         <div class="item">
                           <div class="text" style="margin-top: 10px;">项目数量</div>
@@ -256,11 +256,11 @@
               </div>
               <div>
                 <span>已用额度</span>
-                <span style="color:#4C96CB"><span style="font-size: 20px;font-weight: bold;">30</span>亿元</span>
+                <span style="color:#4C96CB"><span style="font-size: 20px;font-weight: bold;">46.02</span>亿元</span>
               </div>
               <div>
                 <span>剩余额度</span>
-                <span style="color:#4C96CB"><span style="font-size: 20px;font-weight: bold;">370.49</span>亿元</span>
+                <span style="color:#4C96CB"><span style="font-size: 20px;font-weight: bold;">354.47</span>亿元</span>
               </div>
             </div>
           </div>
@@ -278,7 +278,7 @@
       </div>
     </dv-full-screen-container>
   </div>
-  <script src="./js/copyHome2.js"></script>
+  <script src="./js/investHome2.js"></script>
 </body>
 
 </html>

+ 3 - 3
investment/js/investHome2.js

@@ -3615,7 +3615,7 @@ let app = new Vue({
       // })
 
       var chartData = list
-      console.log(list)
+      //console.log(list)
       setTimeout(()=>{
           Highcharts.chart('echartT1', {
               colors: ['#5783ab', '#1a5389', '#a79c57', '#cc8c29', '#91a65f', '#383062', '#034a39'],
@@ -3661,9 +3661,9 @@ let app = new Vue({
                       slicedOffset: 23, //动画距离
                       dataLabels: {
                       enabled: true,  // 是否展示指示线
-                      formatter: function(point) {
-                          console.log(point, this)
+                      formatter: function(point) {                         
                           let num = chartData[this.colorIndex].num
+                          console.log(num)
                           this.percentage = this.percentage.toFixed(2)
                           return `${this.key}:${this.percentage}%<br/>${this.y}亿,${num}个`
                           } //''