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
毕凯
8 years ago
Commit
033e570072916dfbfe326a373cdf0df51fc5a540
2 parents
59ef6b30
2676ba66
Merge branch 'release/5.7.1' of git.yoho.cn:fe/yohobuywap-node into release/5.7.1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
12 deletions
apps/api/controllers/apple.js
apps/product/views/partial/reds-shop/item.hbs
utils/redshop-process.js
apps/api/controllers/apple.js
View file @
033e570
...
...
@@ -15,6 +15,10 @@ let configFile = `
{
"appID"
:
"EX33S4LRW7.com.yoho.buy"
,
"paths"
:
[
"*"
]
},
{
"appID"
:
"FP8T8KM2NE.com.yoho.buy.c3"
,
"paths"
:
[
"*"
]
}
]
}
...
...
apps/product/views/partial/reds-shop/item.hbs
View file @
033e570
...
...
@@ -16,14 +16,16 @@
{{/
within
}}
{{/if}}
</a>
{{#
ifor
isGood
four
}}
{{#
unless
parent
.
noShowProductInfo
}}
<div
class=
"item-info"
>
<div
class=
"text"
>
{{
text
}}
</div>
<div
class=
"name"
>
{{
name
}}
</div>
<div
class=
"price"
>
{{
salesPrice
}}
</div>
</div>
{{/
unless
}}
{{/
ifor
}}
{{#if
showProductInfo
}}
{{#
ifor
isGood
four
}}
{{#
unless
parent
.
noShowProductInfo
}}
<div
class=
"item-info"
>
<div
class=
"text"
>
{{
text
}}
</div>
<div
class=
"name"
>
{{
name
}}
</div>
<div
class=
"price"
>
{{
salesPrice
}}
</div>
</div>
{{/
unless
}}
{{/
ifor
}}
{{/if}}
</div>
...
...
utils/redshop-process.js
View file @
033e570
...
...
@@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2017-03-23 11:02:31
* @Last Modified by: Targaryen
* @Last Modified time: 2017-05-2
3 15:33:28
* @Last Modified time: 2017-05-2
6 16:42:29
*/
/* 红人店铺数据处理 */
...
...
@@ -57,7 +57,7 @@ const _picsHandle = (moduleData) => {
let
pics
=
[];
_
.
forEach
(
_
.
get
(
moduleData
,
'data'
,
[]),
value
=>
{
let
showProductInfo
=
fals
e
;
let
showProductInfo
=
tru
e
;
if
(
_
.
has
(
value
,
'showProductInfo'
))
{
showProductInfo
=
value
.
showProductInfo
;
...
...
Please
register
or
login
to post a comment