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
xuqi
9 years ago
Commit
40d1e5ea4323494413e891a215b6f73960d1f36a
1 parent
fd870e85
jump to app
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
static/js/guang/plus-star/detail.js
template/m.yohobuy.com/actions/guang/plusstar/detail.phtml
static/js/guang/plus-star/detail.js
View file @
40d1e5e
...
...
@@ -19,6 +19,8 @@ var tip = require('../../plugin/tip');
var
brandId
=
$
(
'#brand-info'
).
data
(
'id'
);
var
jumpToApp
=
$
(
'#jump-to-app'
).
val
();
var
mIntro
,
aIntro
;
var
moreHammer
,
likeHammer
;
...
...
@@ -71,6 +73,12 @@ likeHammer.on('tap', function(e) {
var
opt
=
'ok'
,
$this
=
$
(
e
.
target
);
//jumpToApp = 1表示APP未登录的情况,此时不发送ajax请求而由a链接直接跳转APP
if
(
jumpToApp
===
'1'
)
{
return
;
}
e
.
preventDefault
();
if
(
$this
.
hasClass
(
'like'
))
{
...
...
template/m.yohobuy.com/actions/guang/plusstar/detail.phtml
View file @
40d1e5e
...
...
@@ -52,6 +52,8 @@
</div>
{
{/if
}
}
<input
id=
"jump-to-app"
type=
"hidden"
value=
{
{jumpToApp
}
}>
{
{!--
wx-share
--
}
}
<input
id=
"shareLink"
type=
"hidden"
value=
{
{shareLink
}
}>
<input
id=
"shareImg"
type=
"hidden"
value=
{
{shareImg
}
}>
...
...
Please
register
or
login
to post a comment