Explorar el Código

feat: 增加预计投入进度条显示

million hace 1 año
padre
commit
67a3ec1ca5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      front/admin-front/src/views/dashboard/index.vue

+ 2 - 1
front/admin-front/src/views/dashboard/index.vue

@@ -101,9 +101,10 @@
               {{ getRoundedNumber(countFee.expendGas * ethToUsdt) }}
             </div>
             <div class="progress">
-              <div class="progress">
+              <div class="progress" :style="{width:((countFee.expendGas * ethToUsdt)/countFee.predictTotalCost*100)+'%'}">
 
               </div>
+
             </div>
           </div>
         </div>