Commit 5441d91f authored by 陈明豪's avatar 陈明豪

bug修改

parent 5749cd95
<template> <template>
<div> <div>
<div v-if="value >= 0" class="upPercentDiv"> <div v-if="value > 0" class="upPercentDiv">
<span v-if="value > 0">+</span>{{ value || 0.0 }}% <img v-if="value > 0" src="../../../assets/data_statistics/caiwu_icon_sheng.png" height="12" width="8"> <span v-if="value > 0">+</span>{{ value || 0.0 }}% <img v-if="value > 0" src="../../../assets/data_statistics/caiwu_icon_sheng.png" height="12" width="8">
</div> </div>
<div v-else class="downPercentDiv"> <div v-else class="downPercentDiv">
{{ value || 0.0 }}% <img src="../../../assets/data_statistics/caiwu_icon_zjiang.png" height="12" width="8"> {{ value || 0.0 }}% <img v-if="value < 0" src="../../../assets/data_statistics/caiwu_icon_zjiang.png" height="12" width="8">
</div> </div>
</div> </div>
</template> </template>
......
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