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-06-07 13:54:52 +0800
Commit
deaf9e71f82bec0e72cbea4d7855d5486c7b5129
2 parents
cd6c94f7
6a03eccc
Merge branch 'feature/guang2' into release/5.8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
apps/guang/views/partial/detail/related-reco.hbs
utils/product-process.js
apps/guang/views/partial/detail/related-reco.hbs
View file @
deaf9e7
...
...
@@ -11,7 +11,7 @@
<span
class=
"sale-price"
>
¥
{{
sales_price
}}
</span>
</p>
</a>
{{#
unlessor
isApp
isGlobal
}}
{{#
unlessor
isApp
isGlobal
isLimitbuy
}}
<p>
<span
class=
"check-detail add-to-cart"
data-skn=
"
{{
product_skn
}}
"
>
<span
class=
"iconfont"
>

</span>
...
...
utils/product-process.js
View file @
deaf9e7
...
...
@@ -179,6 +179,13 @@ exports.processProductList = (list, options) => {
product
.
isGlobal
=
true
;
}
/**
* 限定商品标记
*/
if
(
product
.
is_limitbuy
===
'Y'
)
{
product
.
isLimitbuy
=
true
;
}
// APP访问需要加附加的参数
// 备注:如果以后APP的接口太多,可以把这边参数提取出来,变成一个公共的方法来生成,便于以后管理维护
if
(
options
.
isApp
)
{
...
...
Please
register
or
login
to post a comment