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
李靖
2017-10-30 18:29:10 +0800
Commit
ca15952f8869771be3a23355094d45a62ac6c224
1 parent
6b42a9ce
分享
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
5 deletions
apps/activity/controllers/coupon-list.js
apps/activity/views/action/coupon-list.hbs
public/js/activity/coupon-list.page.js
public/js/activity/coupon-list/share.js
public/scss/activity/coupon-list.page.css
apps/activity/controllers/coupon-list.js
View file @
ca15952
...
...
@@ -9,9 +9,9 @@ exports.index = (req, res, next) => {
module
:
'activity'
,
page
:
'coupon-list'
,
pageHeader
:
headerModel
.
setNav
({
navTitle
:
'
领券中心
'
navTitle
:
'
11.11 4000元优惠券 限量抢
'
}),
title
:
'
领券中心 | Yoho!Buy有货 | 潮流购物逛不停
'
,
title
:
'
11.11 4000元优惠券 限量抢
'
,
width750
:
true
,
localCss
:
true
};
...
...
apps/activity/views/action/coupon-list.hbs
View file @
ca15952
...
...
@@ -31,7 +31,7 @@
</div>
<a
href=
'//m.yohobuy.com/product/shop?shop_id=
{{
shopsId
}}
&openby:yohobuy={"action":"go.shop","params":{"shop_template_type":"1","is_red_shop":"1","shop_id":"
{{
shopsId
}}
","shop_name":"
{{
shopName
}}
"}}'
>
<div
class=
"shop"
>
<div
class=
"logo"
{{#if
shopLogo
}}
style=
"background-image:url(
{{
image2
shopLogo
w
=
105
h
=
42
q
=
6
0
}}
)"
{{/if}}
></div>
<div
class=
"logo"
{{#if
shopLogo
}}
style=
"background-image:url(
{{
image2
shopLogo
w
=
210
h
=
84
q
=
10
0
}}
)"
{{/if}}
></div>
<div
class=
"go"
>
进入店铺
</div>
</div>
</a>
...
...
public/js/activity/coupon-list.page.js
View file @
ca15952
import
'activity/coupon-list.page.css'
;
import
$
from
'yoho-jquery'
;
import
Page
from
'yoho-page'
;
import
'
common
/share'
;
import
'
activity/coupon-list
/share'
;
class
CouponList
extends
Page
{
constructor
()
{
...
...
public/js/activity/coupon-list/share.js
0 → 100644
View file @
ca15952
import
share
from
'common/share'
;
share
({
title
:
'YOHO!BUY有货【11.11】4000元超值券即刻开抢!'
,
desc
:
'11.11先抢券,再购物!更超值'
,
link
:
location
.
href
,
imgUrl
:
'https://cdn.yoho.cn/couponlist/00D3E2B3962F038EB428F2C22166D0EC.jpg'
});
...
...
public/scss/activity/coupon-list.page.css
View file @
ca15952
...
...
@@ -234,10 +234,13 @@
}
.logo
{
background-size
:
100%
100%
;
width
:
103px
;
height
:
65px
;
border-bottom
:
solid
4px
#bd4701
;
background-size
:
100%
auto
;
background-position
:
center
center
;
background-repeat
:
no-repeat
;
background-color
:
#fff
;
}
}
}
...
...
Please
register
or
login
to post a comment