Authored by lijing

成长值负值去掉+号

@@ -244,7 +244,8 @@ module.exports = class extends global.yoho.BaseModel { @@ -244,7 +244,8 @@ module.exports = class extends global.yoho.BaseModel {
244 build.push({ 244 build.push({
245 title: val.typeDesc, 245 title: val.typeDesc,
246 time: _formatDay(val.createTime * 1000), 246 time: _formatDay(val.createTime * 1000),
247 - value: val.growthValue 247 + value: val.growthValue,
  248 + plus: val.growthValue >= 0 ? true : false
248 }); 249 });
249 }); 250 });
250 251
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 <p>{{title}}</p> 11 <p>{{title}}</p>
12 <p>{{time}}</p> 12 <p>{{time}}</p>
13 </div> 13 </div>
14 - <div class="num">+{{value}}</div> 14 + <div class="num">{{#if plus}}+{{/if}}{{value}}</div>
15 </div> 15 </div>
16 {{/ detailHis}} 16 {{/ detailHis}}
17 </div> 17 </div>