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
毕凯
7 years ago
Commit
0834a61dd536ee7835bc22ab4fd8afffae9120a7
2 parents
0782c489
9b6a1f00
Merge branch 'hotfix/coupon' into 'gray'
优惠券刷新 文案 See merge request
!1328
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
apps/activity/models/droit-util.js
public/js/cart/buynow-select-coupon.page.js
public/js/cart/select-coupon.page.js
apps/activity/models/droit-util.js
View file @
0834a61
...
...
@@ -56,7 +56,7 @@ function droitHtml(contents) {
{
title
:
'特权介绍'
,
data
:
[
'金卡及以上会员享受限定次数的免费送达服务。'
]},
{
title
:
'使用说明'
,
data
:
[
'金卡会员每月可享3次普通快递免邮,白金会员每月可享5次顺丰快递免邮(顺丰无法触达地区将改发其他快递)。'
,
'免邮次数每月一日更新,会员等级升级时,免邮次数当天更新。'
,
'金卡会员可消耗一次免邮次数将已达到免邮门槛的普通快递订单升级至顺丰快递。'
]},
'免邮次数每月一日更新,会员等级升级时,免邮次数当天更新。'
]},
],
interlocution
:
[]
};
...
...
public/js/cart/buynow-select-coupon.page.js
View file @
0834a61
...
...
@@ -21,6 +21,7 @@ let $useCoupon = $('#useCoupon');
let
$notUseCoupon
=
$
(
'#notUseCoupon'
);
let
winH
=
$
(
window
).
height
();
let
linkUrl
=
document
.
referrer
;
require
(
'common'
);
require
(
'cart/cartbuynow/select-coupon'
);
...
...
@@ -40,7 +41,11 @@ function fixedLayOut() {
}
function
goToBack
()
{
history
.
go
(
-
1
);
if
(
linkUrl
)
{
window
.
location
.
href
=
linkUrl
;
}
else
{
history
.
go
(
-
1
);
}
}
/**
...
...
public/js/cart/select-coupon.page.js
View file @
0834a61
...
...
@@ -20,6 +20,7 @@ let $useCoupon = $('#useCoupon');
let
$notUseCoupon
=
$
(
'#notUseCoupon'
);
let
winH
=
$
(
window
).
height
();
let
linkUrl
=
document
.
referrer
;
require
(
'common'
);
require
(
'cart/cartbuynow/select-coupon'
);
...
...
@@ -39,7 +40,11 @@ function fixedLayOut() {
}
function
goToBack
()
{
history
.
go
(
-
1
);
if
(
linkUrl
)
{
window
.
location
.
href
=
linkUrl
;
}
else
{
history
.
go
(
-
1
);
}
}
/**
...
...
@@ -88,6 +93,7 @@ $useCoupon.on('click', function() {
}
orderInfo
(
'couponCode'
,
couponCodeArray
.
join
(
','
));
if
(
couponCodeArray
.
length
>
0
)
{
goToBack
();
}
else
{
...
...
Please
register
or
login
to post a comment