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 18:17:40 +0800
Commit
e691d6cbf7e843f65e2f068664945e9f1486e5ef
2 parents
78aabb13
4dc44e38
Merge branch 'feature/grow' into 'release/5.7'
分页+-错误 See merge request
!570
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
apps/home/models/grade-new.js
public/hbs/home/grade-new.hbs
apps/home/models/grade-new.js
View file @
e691d6c
...
...
@@ -272,7 +272,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
});
});
...
...
public/hbs/home/grade-new.hbs
View file @
e691d6c
...
...
@@ -4,6 +4,6 @@
<p>
{{
title
}}
</p>
<p>
{{
time
}}
</p>
</div>
<div
class=
"num"
>
+
{{
value
}}
</div>
<div
class=
"num"
>
{{#if
plus
}}
+
{{/if}}
{{
value
}}
</div>
</div>
{{/
detailHis
}}
...
...
Please
register
or
login
to post a comment