Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Lynnic
2015-11-24 21:32:51 +0800
Commit
f454ee9038c061fd8a4c3128371c630ac995c3c9
1 parent
87a4d31a
update
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
static/js/product/detail/like.js
template/m.yohobuy.com/actions/product/detail/index.phtml
static/js/product/detail/like.js
View file @
f454ee9
...
...
@@ -40,4 +40,9 @@ likeHammer.on('tap', function(e) {
tip
.
show
(
'网络断开连接了~'
);
}
});
});
$
(
'#likeBtn'
).
on
(
'click'
,
function
(
e
)
{
return
false
;
});
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
f454ee9
...
...
@@ -119,7 +119,7 @@
<a
href=
""
class=
"sold-out"
>已售罄</a>
{
{/if
}
}
{
{#if
isCollect
}
}
<a
href=
""
id=
"likeBtn"
class=
"favorite iconfont liked"
>
605
;</a>
<a
href=
"
#
"
id=
"likeBtn"
class=
"favorite iconfont liked"
>
605
;</a>
{
{else
}
}
<a
href=
""
id=
"likeBtn"
class=
"favorite iconfont"
>
605
;</a>
{
{/if
}
}
...
...
Please
register
or
login
to post a comment