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
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
9 years ago
Commit
9cca21f0b4c5a9e1b70835c9b5775ebe179291d8
1 parent
d051d692
命名
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
apps/product/models/recom.js
doraemon/views/partial/download_app.hbs → doraemon/views/partial/download-app.hbs
doraemon/views/partial/maybe_like.hbs → doraemon/views/partial/maybe-like.hbs
apps/product/models/recom.js
View file @
9cca21f
...
...
@@ -17,6 +17,9 @@ const formatProduct = (list) => {
val
.
isSoonSoldOut
=
val
.
isSoonSoldOut
===
'Y'
;
}
val
.
url
=
'/product/pro_'
+
val
.
productId
+
'_'
+
val
.
goodsList
[
0
].
goodsId
+
'/'
+
val
.
cnAlphabet
+
'.html'
;
tag
.
push
({
isNew
:
val
.
isNew
===
'Y'
,
isDiscount
:
val
.
isDiscount
===
'Y'
,
...
...
@@ -25,7 +28,6 @@ const formatProduct = (list) => {
isAdvance
:
val
.
isAdvance
===
'Y'
});
_
.
forEach
(
tag
,
function
(
data
)
{
if
(
data
.
isDiscount
===
true
&&
val
.
isSoonSoldOut
===
true
)
{
...
...
doraemon/views/partial/download
_
app.hbs → doraemon/views/partial/download
-
app.hbs
View file @
9cca21f
doraemon/views/partial/maybe
_
like.hbs → doraemon/views/partial/maybe
-
like.hbs
View file @
9cca21f
Please
register
or
login
to post a comment