Commit 8cbb2c6e by 胡悦

提交

1 parent 378b9032
......@@ -3,7 +3,7 @@
<div class="statistics-item" v-for="(item, index) in list" :key="index" :style="{'width': 100 / list.length + '%'}">
<div class="statistics-top">
<div class="statistics-name">{{item.name}}</div>
<div class="statistics-price"><span class="statistics-unit" v-if="item.unit == '¥'">¥</span><span class="statistics-price-number">{{numAddSymbol(item.value)}}</span><span v-if="item.unit == '%'">%</span></div>
<div class="statistics-price"><span class="statistics-unit" v-if="item.unitType == 'left'">{{item.unit}}</span><span class="statistics-price-number">{{numAddSymbol(item.value)}}</span><span v-if="item.unitType == 'right'">{{item.unit}}</span></div>
<div v-if="item.rate" class="statistics-top-rate">占比<span>{{item.rate}}%</span></div>
</div>
<div class="statistics-bottom" v-if="item.bottomLabel || item.bottomType">
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2023-07-26 14:24:59
* @LastEditTime: 2023-07-26 17:25:03
-->
<template>
<div class="left">
......@@ -77,6 +77,7 @@ export default {
valueName: 'outputvalue',
value: '1000000',
unit: '¥',
unitType: 'left',
bottomType: 'ratio',
ratioLeftLabel: '月环比',
ratioLeftValueName: 'outputvalueHB',
......@@ -90,6 +91,7 @@ export default {
valueName: 'perCusTrans',
value: '1003',
unit: '¥',
unitType: 'left',
bottomType: 'ratio',
ratioLeftLabel: '月环比',
ratioLeftValueName: 'perCusTransHB',
......@@ -103,6 +105,7 @@ export default {
valueName: 'conversionRate',
value: '58',
unit: '%',
unitType: 'right',
bottomType: 'ratio',
ratioLeftLabel: '月环比',
ratioLeftValueName: 'conversionRateHB',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!