Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5_activity
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谭新宇
h5_activity
Commits
1591b44e
Commit
1591b44e
authored
Jul 18, 2019
by
txy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'弹出框'
parent
cd2d14c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
index.js
showPhotos/js/page/index.js
+6
-4
user.js
showPhotos/js/page/user.js
+4
-2
No files found.
showPhotos/js/page/index.js
View file @
1591b44e
...
...
@@ -267,10 +267,12 @@ function getPlayerList(playerListData) {
var
params
=
{
userId
:
id
}
// 投票
voteClickFn
(
params
,
function
(
data
){
// success
_this
.
parent
(
'.item-title'
).
prev
().
find
(
'.vote-num'
).
text
(
data
.
result
.
voteNum
+
'票'
)
isAttention
(
function
(){
// 投票
voteClickFn
(
params
,
function
(
data
){
// success
_this
.
parent
(
'.item-title'
).
prev
().
find
(
'.vote-num'
).
text
(
data
.
result
.
voteNum
+
'票'
)
});
});
});
...
...
showPhotos/js/page/user.js
View file @
1591b44e
...
...
@@ -113,8 +113,10 @@ function btnBindClick() {
var
params
=
{
userId
:
_userId
}
voteClickFn
(
params
,
function
(
data
){
$
(
'#act3932189955 .userVoteNum span'
).
text
(
data
.
result
.
voteNum
);
isAttention
(
function
(){
voteClickFn
(
params
,
function
(
data
){
$
(
'#act3932189955 .userVoteNum span'
).
text
(
data
.
result
.
voteNum
);
});
});
});
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment