Commit 6857b086 authored by aifen@azjy1.onexmail.com's avatar aifen@azjy1.onexmail.com

Merge branch 'V1.7.3_report_feature' into develop

parents b1722e22 f1805d53
......@@ -318,7 +318,9 @@
:key="index" class="consumer-details-sum">
<view v-for="(e,i) in item.consumerDetailsSumArr" class="consumer-details-sum-item"
:key="i" :class="i?'':'consumer-details-sum-type'">
<text :style="{color:item.calculateType=='较上'?trendColorList[i]:''}"> {{e}} </text>
<text
:style="{color:item.calculateType=='较上'?trendColorList[i]:'','font-size':item.calculateType=='较上'&&i!=0?'20rpx':''}">
{{e}} </text>
<template v-if="item.calculateType=='较上'&&i == 0">
<span>{{['',''][reportTypeIndex]}}</span>
</template>
......@@ -2593,10 +2595,9 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
} else {
tmpColorList.push('');
}
e[item] = e[item] > 0 ? e[item] +
e[item] = e[item] >= 1000 ? '-' : (e[item] > 0 ? e[item] +
'%↑' : (e[item] < 0 ? e[item].toString().slice(1) + '%↓' :
'-');
'-'));
}
}
}
......
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