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
李靖
7 years ago
Commit
0f11c5097f4d91f08ca38c75206ca89775ae3307
1 parent
1dd7dd80
卷错别字
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
13 deletions
apps/activity/controllers/store-home.js
apps/activity/models/free-mail.js
apps/activity/router.js
apps/home/controllers/message.js
apps/home/router.js
apps/product/views/action/newshop/shop-list.hbs
apps/product/views/action/shop/index.hbs
apps/product/views/partial/search/list.hbs
apps/activity/controllers/store-home.js
View file @
0f11c50
...
...
@@ -149,9 +149,9 @@ exports.coupon = (req, res, next) => {
module
:
'activity'
,
page
:
'store-coupon'
,
pageHeader
:
headerModel
.
setNav
({
navTitle
:
'我的优惠
卷
'
navTitle
:
'我的优惠
券
'
}),
title
:
'我的优惠
卷
'
,
title
:
'我的优惠
券
'
,
width750
:
true
,
localCss
:
true
,
};
...
...
apps/activity/models/free-mail.js
View file @
0f11c50
...
...
@@ -8,7 +8,7 @@ module.exports = class extends global.yoho.BaseModel {
}
/**
* 领取验证以及领
卷
列表
* 领取验证以及领
券
列表
*/
freeMail
(
uid
,
verify
)
{
return
api
.
get
(
''
,
{
...
...
apps/activity/router.js
View file @
0f11c50
...
...
@@ -262,8 +262,8 @@ router.get('/app-downloads', appDownloads.index);
router
.
get
(
'/couponSend'
,
couponFloor
.
couponSend
);
// 获取优惠券
router
.
get
(
'/birthday'
,
auth
,
birthday
.
index
);
// 生日卷活动
router
.
get
(
'/getCoupon'
,
birthday
.
getCoupon
);
// 获取生日卷状态
router
.
get
(
'/birthday'
,
auth
,
birthday
.
index
);
// 生日券活动
router
.
get
(
'/getCoupon'
,
birthday
.
getCoupon
);
// 获取生日券状态
router
.
get
(
'/share-buy'
,
update
(
'5.7.0'
),
auth
,
shareBuy
.
index
);
// 分享购首页
router
.
get
(
'/share-buy/detail'
,
update
(
'5.7.0'
),
shareBuy
.
detail
);
// 分享购详情页
...
...
@@ -292,7 +292,7 @@ router.get('/store-home/coffee', storeHome.storeAuth, storeHome.coffee); // 线
router
.
get
(
'/store-home/green'
,
storeHome
.
storeAuth
,
storeHome
.
green
);
// 线下店个人中心-绿植
router
.
get
(
'/store-home/history'
,
storeHome
.
storeAuth
,
storeHome
.
history
);
// 线下店个人中心-消费明细
router
.
get
(
'/store-home/ewm'
,
storeHome
.
storeAuth
,
storeHome
.
ewm
);
// 线下店个人中心-二维码
router
.
get
(
'/store-home/coupon'
,
storeHome
.
storeAuth
,
storeHome
.
coupon
);
// 线下店个人中心-优惠
卷
router
.
get
(
'/store-home/coupon'
,
storeHome
.
storeAuth
,
storeHome
.
coupon
);
// 线下店个人中心-优惠
券
router
.
get
(
'/store-home/moreHistory'
,
storeHome
.
storeAuth
,
storeHome
.
moreHistory
);
// 线下店个人中心-更多记录
router
.
get
(
'/store-home/modify'
,
storeHome
.
storeAuth
,
storeHome
.
modify
);
// 线下店个人中心-修改宝宝信息
...
...
apps/home/controllers/message.js
View file @
0f11c50
...
...
@@ -80,15 +80,15 @@ exports.pickCoupon = (req, res, next) => {
}).
catch
(
next
);
};
// 生日
卷
// 生日
券
exports
.
birthCoupon
=
(
req
,
res
,
next
)
=>
{
let
responseData
=
{
module
:
'home'
,
page
:
'message'
,
pageHeader
:
headerModel
.
setNav
({
navTitle
:
'生日
卷
'
navTitle
:
'生日
券
'
}),
title
:
'生日
卷
'
,
title
:
'生日
券
'
,
pageFooter
:
true
};
...
...
apps/home/router.js
View file @
0f11c50
...
...
@@ -107,7 +107,7 @@ router.get('/messageDetail', auth, message.index);
router
.
post
(
'/ajaxDelMes'
,
auth
,
message
.
ajaxDelMes
);
router
.
post
(
'/pickCoupon'
,
auth
,
message
.
pickCoupon
);
// 生日
卷
消息
// 生日
券
消息
router
.
get
(
'/birthCoupon'
,
auth
,
message
.
birthCoupon
);
// 在线客服
...
...
apps/product/views/action/newshop/shop-list.hbs
View file @
0f11c50
...
...
@@ -25,7 +25,7 @@
</div>
{{/
shopInfo
}}
<!-- 优惠
卷
-->
<!-- 优惠
券
-->
<div
class=
"shop-coupon coupon-group"
>
{{>
reds-shop
/
coupon
}}
</div>
...
...
apps/product/views/action/shop/index.hbs
View file @
0f11c50
...
...
@@ -53,7 +53,7 @@
<div
id=
"home-page"
class=
"main"
>
<div
id=
"nav-main"
class=
"nav-main"
>
<!-- 优惠
卷
-->
<!-- 优惠
券
-->
<div
class=
"shop-coupon coupon-group"
></div>
<!-- 大导航 -->
...
...
apps/product/views/partial/search/list.hbs
View file @
0f11c50
...
...
@@ -109,7 +109,7 @@
{{!--/基础店铺页面--}}
{{#
ifor
brandHome
baseShopHome
}}
{{!--优惠
卷
--}}
{{!--优惠
券
--}}
<div
class=
"shop-coupon coupon-group"
></div>
{{/
ifor
}}
...
...
Please
register
or
login
to post a comment