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
郝肖肖
2016-12-23 16:17:45 +0800
Commit
b096be4bb5ccc33932811b3c2b582ae0c242701d
1 parent
e79ed6db
优惠券,搜索页无店铺和品牌不显示
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
apps/product/views/partial/search/list.hbs
public/js/product/shop/coupon.js
apps/product/views/partial/search/list.hbs
View file @
b096be4
...
...
@@ -88,8 +88,10 @@
{{/
baseShopHome
}}
<!-- /基础店铺页面 -->
<!-- 优惠卷 -->
<div
class=
"coupon-group"
></div>
{{#
ifor
brandHome
baseShopHome
}}
<!-- 优惠卷 -->
<div
class=
"coupon-group"
></div>
{{/
ifor
}}
<div>
<ul
id=
"list-nav"
class=
"list-nav clearfix"
>
...
...
public/js/product/shop/coupon.js
View file @
b096be4
...
...
@@ -29,6 +29,10 @@ shopCoupon = {
var
that
=
this
,
_url
=
location
.
protocol
+
'//m.yohobuy.com'
;
if
(
$
(
'.coupon-group'
).
length
<=
0
)
{
return
false
;
}
if
(
that
.
common
.
shopId
)
{
// 店铺领券
_url
+=
'/product/index/getShopCouponsList'
;
...
...
Please
register
or
login
to post a comment