Commit ef8629a3 authored by 黄奎's avatar 黄奎

客户数据统计

parent 50b7b266
...@@ -52,9 +52,15 @@ ...@@ -52,9 +52,15 @@
</div> </div>
<div class="text-info"> <div class="text-info">
<span>较昨日</span> <span>较昨日</span>
<span class="green" style="margin:0 12px 0 5px;">+23%</span>
<span>较昨日</span> <template v-if="customerObj">
<span class="red" style="margin-left: 5px;">-125%</span> <template v-if="customerObj.CustomerPercent>0">
<span class="green" style="margin:0 12px 0 5px;"> {{customerObj.CustomerPercent}}%</span>
</template>
<template v-else>
<span class="red" style="margin-left: 5px;">{{customerObj.CustomerPercent}}%</span>
</template>
</template>
</div> </div>
</div> </div>
<el-divider direction="vertical" style="margin: 0 12px;"></el-divider> <el-divider direction="vertical" style="margin: 0 12px;"></el-divider>
...@@ -81,9 +87,14 @@ ...@@ -81,9 +87,14 @@
</div> </div>
<div class="text-info"> <div class="text-info">
<span>较昨日</span> <span>较昨日</span>
<span class="green" style="margin:0 12px 0 5px;">+23%</span> <template v-if="customerObj">
<span>较昨日</span> <template v-if="customerObj.ActivationPrecent>0">
<span class="red" style="margin-left: 5px;">-125%</span> <span class="green" style="margin:0 12px 0 5px;"> {{customerObj.ActivationPrecent}}%</span>
</template>
<template v-else>
<span class="red" style="margin-left: 5px;">{{customerObj.ActivationPrecent}}%</span>
</template>
</template>
</div> </div>
</div> </div>
</div> </div>
......
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