Commit f72df932 authored by 陈明豪's avatar 陈明豪

bug修改

parent a8481f89
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
/> />
</div> </div>
<div class="prestoredRankFont"> <div class="prestoredRankFont">
{{ item.total }} {{ moneyFormat(item.total) }}
</div> </div>
</div> </div>
</div> </div>
......
...@@ -126,21 +126,19 @@ ...@@ -126,21 +126,19 @@
<div class="rank_hospital_name_font"> <div class="rank_hospital_name_font">
<overlong-tool :text="(item.ownerId || '-') + ' (' + item.nickname + ')'" :max="30" /> <overlong-tool :text="(item.ownerId || '-') + ' (' + item.nickname + ')'" :max="30" />
</div> </div>
<el-row> <div style="display: flex">
<el-col :span="18"> <div class="progressWidth">
<el-progress <el-progress
:percentage="item.money/petOwnerConsumeRank[0].money*100" :percentage="item.money/petOwnerConsumeRank[0].money*100"
:stroke-width="9" :stroke-width="9"
:show-text="false" :show-text="false"
class="consumeRankProgress" class="consumeRankProgress"
/> />
</el-col> </div>
<el-col :span="6">
<div class="consumeRankFont"> <div class="consumeRankFont">
{{ item.money }} {{ moneyFormat(item.money) }}
</div>
</div> </div>
</el-col>
</el-row>
</div> </div>
</div> </div>
<empty-tool v-else title="宠主累计消费排行" /> <empty-tool v-else title="宠主累计消费排行" />
...@@ -434,7 +432,7 @@ ...@@ -434,7 +432,7 @@
<overlong-tool :text="item.ownerId + '('+(item.nickname || '-')+')'" :max="30" /> <overlong-tool :text="item.ownerId + '('+(item.nickname || '-')+')'" :max="30" />
</div> </div>
<el-row> <el-row>
<el-col :span="19"> <el-col :span="16">
<el-progress <el-progress
:percentage="item.money/vipTopUpRank[0].money*100" :percentage="item.money/vipTopUpRank[0].money*100"
:stroke-width="9" :stroke-width="9"
...@@ -442,9 +440,9 @@ ...@@ -442,9 +440,9 @@
class="consumeRankProgress" class="consumeRankProgress"
/> />
</el-col> </el-col>
<el-col :span="5"> <el-col :span="8">
<div class="consumeRankFont"> <div class="consumeRankFont">
{{ moneyFormat(item.money) }}元 {{ moneyFormat(item.money) }}
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -662,8 +660,7 @@ export default { ...@@ -662,8 +660,7 @@ export default {
data: [], data: [],
line_color: '#5FB54B', line_color: '#5FB54B',
area_color: 'rgba(95,181,75,0.3)', area_color: 'rgba(95,181,75,0.3)',
unit: '万元', unit: '万元'
fixNum: 2
}, },
petOwnerConsumeRank: [], petOwnerConsumeRank: [],
vipTopUpRank: [], vipTopUpRank: [],
...@@ -1217,4 +1214,7 @@ export default { ...@@ -1217,4 +1214,7 @@ export default {
height: 500px; height: 500px;
} }
} }
.progressWidth {
width: 330px;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment