Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
2017-05-17 10:22:58 +0800
Commit
ccaad0d9a538fabaeae65d675e242e8660d994e8
2 parents
0144a07d
580d66c9
Merge branch 'feature/grow' into 'release/5.7'
Feature/grow See merge request
!563
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
apps/home/models/grade-new.js
apps/home/views/action/grade-new/grow.hbs
apps/home/models/grade-new.js
View file @
ccaad0d
...
...
@@ -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
});
});
...
...
apps/home/views/action/grade-new/grow.hbs
View file @
ccaad0d
...
...
@@ -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>
...
...
Please
register
or
login
to post a comment