소스 검색

修改球有小数 修改排序

zhbyyy 1 년 전
부모
커밋
c86ecefda1
2개의 변경된 파일10개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      investment/investHome2.html
  2. 3 0
      investment/js/investHome2.js

+ 7 - 7
investment/investHome2.html

@@ -52,6 +52,13 @@
                   </div>
                   <div class="item2-text">上年度净利润</div>
                 </div>
+                <div class="item2">
+                  <div class="item2-title" style="color: #08E4FA;">179.39<span>亿</span></div>
+                  <div class="item2-img">
+                    <img style="width: 100%; height: 100%;" src="./images/icon-7-home2.png" alt="">
+                  </div>
+                  <div class="item2-text">带息负债压降指标</div>
+                </div>
                 <div class="item2">
                   <div class="item2-title" style="color: #DD9CFF;">386.29<span>亿</span></div>
                   <div class="item2-img">
@@ -66,13 +73,6 @@
                   </div>
                   <div class="item2-text">无形资产摊销</div>
                 </div>
-                <div class="item2">
-                  <div class="item2-title" style="color: #08E4FA;">179.39<span>亿</span></div>
-                  <div class="item2-img">
-                    <img style="width: 100%; height: 100%;" src="./images/icon-7-home2.png" alt="">
-                  </div>
-                  <div class="item2-text">带息负债压降指标</div>
-                </div>
               </div>
               <div class="content-right" style="position:relative">
                 <div class="total">总额度<span style="font-size: 25px;">1,123.85亿</span></div>

+ 3 - 0
investment/js/investHome2.js

@@ -887,6 +887,9 @@ let app = new Vue({
             },
             label: {
               normal: {
+                formatter: function (data) {
+                  return (data.value * 100).toFixed(2) +'%'
+                },
                 textStyle: {
                   fontSize: 30,
                   color: '#fff',