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
张孝茹
2018-01-17 17:07:52 +0800
Commit
c2a27e16011aebd9bba3038172e90ebdddf00875
1 parent
52508ae6
逛 点赞数
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
public/js/guang/info-common.js
public/js/guang/info.js
public/js/guang/info-common.js
View file @
c2a27e1
...
...
@@ -118,7 +118,7 @@ function initInfosEvt($container) {
if
(
code
===
200
)
{
$btn
.
next
(
'.like-count'
).
text
(
data
.
data
);
$btn
.
prev
(
'.like-count'
).
text
(
data
.
data
);
// 切换点赞状态
$btn
.
toggleClass
(
'like'
);
...
...
public/js/guang/info.js
View file @
c2a27e1
...
...
@@ -110,7 +110,7 @@ function initInfosEvt($container) {
let
code
=
data
.
code
;
if
(
code
===
200
)
{
$btn
.
next
(
'.like-count'
).
text
(
data
.
data
);
$btn
.
prev
(
'.like-count'
).
text
(
data
.
data
);
// 切换点赞状态
$btn
.
toggleClass
(
'like'
);
...
...
Please
register
or
login
to post a comment