Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
毕凯
9 years ago
Commit
74b2de2fe6bb9e6616b10b0fa0d88abdd3b00284
1 parent
5409ff50
跳转地址修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
static/huodong/cuxiao/js/newuser/coupon2.js
static/huodong/cuxiao/js/newuser/coupon2.js
View file @
74b2de2
...
...
@@ -236,8 +236,8 @@ function getNamedCoupon(activityId, couponId, isApp, userIsLogged)
//showTip('请先登录!');
//跳app登陆页面
if
(
$
(
'.go-login'
).
length
<=
0
)
{
var
href
=
location
.
href
.
split
(
'?'
)[
0
];
var
loginUrl
=
href
+
'?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'
+
href
+
'","param":{}},"requesturl":{"url":"'
+
href
+
'"},"priority":"Y"}}'
;
var
href
=
location
.
href
.
split
(
'?'
)[
0
].
replace
(
/
\/
/g
,
'\\/'
);
var
loginUrl
=
href
+
'?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'
+
href
+
'","param":{}},"requesturl":{"url":""},"priority":"Y"}}'
;
console
.
log
(
loginUrl
);
$
(
'body'
).
append
(
'<a href=\''
+
loginUrl
+
'\' ><span class="go-login"></span></a>'
);
}
...
...
Please
register
or
login
to post a comment