Commit 20a9de79 by 匡雅琴

饼图详情修改

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