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
ccbikai(👎🏻🍜)
2016-12-23 16:20:06 +0800
Commit
89998d72a0d7e9e2c20e9bf92eab05672b84dcb6
2 parents
3b23900a
b096be4b
Merge remote-tracking branch 'origin/hotfix/searchCoupon' into feature/captcha
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 @
89998d7
...
...
@@ -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 @
89998d7
...
...
@@ -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