Authored by lijing

成长值负值去掉+号

... ... @@ -244,7 +244,8 @@ module.exports = class extends global.yoho.BaseModel {
build.push({
title: val.typeDesc,
time: _formatDay(val.createTime * 1000),
value: val.growthValue
value: val.growthValue,
plus: val.growthValue >= 0 ? true : false
});
});
... ...
... ... @@ -11,7 +11,7 @@
<p>{{title}}</p>
<p>{{time}}</p>
</div>
<div class="num">+{{value}}</div>
<div class="num">{{#if plus}}+{{/if}}{{value}}</div>
</div>
{{/ detailHis}}
</div>
... ...