Commit 20a9de79 by 匡雅琴

饼图详情修改

1 parent d83597ed
......@@ -14,7 +14,7 @@
<div v-if="itm.type == 'number'">{{numAddSymbol(item[itm.name])}}</div>
<div v-else-if="itm.type == 'decimal'">{{toPercent(item[itm.name])}}</div>
<div v-else>{{ item[itm.name] }}</div> -->
{{ itm.hasIcon ? itm.hasIcon : '' }}{{ itm.type == 'number' ? numAddSymbol(item[itm.name]) : itm.type == 'decimal' ? toPercent(item[itm.name]) : item[itm.name] }}
{{ itm.hasIcon ? itm.hasIcon : '' }}{{ itm.type == 'number' ? numAddSymbol(item[itm.name]) : itm.type == 'decimal' ? toPercent(item[itm.name]) : item[itm.name] }}{{ itm.unitIcon ? itm.unitIcon : '' }}
</div>
</template>
</div>
......@@ -61,9 +61,9 @@ export default {
font-weight: 400;
line-height: 18px;
color: #c9c9c9ff;
// justify-content: space-between;
justify-content: space-between;
&-text {
margin-right: 1.39vw;
// margin-right: 1.39vw;
}
&-text:last-child {
margin-right: 0;
......
......@@ -52,7 +52,8 @@ export default {
{
name: 'orderNum',
type: 'number',
width: '5vw'
width: '5vw',
unitIcon: '单'
}
]
}
......
......@@ -59,7 +59,8 @@ export default {
{
name: 'goodsNum',
type: 'number',
width: '5vw'
width: '5vw',
unitIcon: '件'
}
]
}
......
......@@ -86,6 +86,7 @@ export default {
margin-bottom: 1.78vh;
.content-box {
// padding: 2.78vh 1.39vw 2.78vh 0;
margin-right: 1.54vw;
height: 21.67vh;
}
.empty {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!