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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
index.js
showPhotos/js/page/index.js
+2
-0
user.js
showPhotos/js/page/user.js
+2
-0
No files found.
showPhotos/js/page/index.js
View file @
1591b44e
...
@@ -267,12 +267,14 @@ function getPlayerList(playerListData) {
...
@@ -267,12 +267,14 @@ function getPlayerList(playerListData) {
var
params
=
{
var
params
=
{
userId
:
id
userId
:
id
}
}
isAttention
(
function
(){
// 投票
// 投票
voteClickFn
(
params
,
function
(
data
){
voteClickFn
(
params
,
function
(
data
){
// success
// success
_this
.
parent
(
'.item-title'
).
prev
().
find
(
'.vote-num'
).
text
(
data
.
result
.
voteNum
+
'票'
)
_this
.
parent
(
'.item-title'
).
prev
().
find
(
'.vote-num'
).
text
(
data
.
result
.
voteNum
+
'票'
)
});
});
});
});
});
// 参数选手点击事件
// 参数选手点击事件
cloneItem
.
find
(
'.item-photo'
).
attr
(
'id'
,
playerListData
.
records
[
i
].
id
).
on
(
'click'
,
playPageFn
);
cloneItem
.
find
(
'.item-photo'
).
attr
(
'id'
,
playerListData
.
records
[
i
].
id
).
on
(
'click'
,
playPageFn
);
...
...
showPhotos/js/page/user.js
View file @
1591b44e
...
@@ -113,10 +113,12 @@ function btnBindClick() {
...
@@ -113,10 +113,12 @@ function btnBindClick() {
var
params
=
{
var
params
=
{
userId
:
_userId
userId
:
_userId
}
}
isAttention
(
function
(){
voteClickFn
(
params
,
function
(
data
){
voteClickFn
(
params
,
function
(
data
){
$
(
'#act3932189955 .userVoteNum span'
).
text
(
data
.
result
.
voteNum
);
$
(
'#act3932189955 .userVoteNum span'
).
text
(
data
.
result
.
voteNum
);
});
});
});
});
});
}
}
// 倒计时
// 倒计时
function
userCountDown
(
times
,
ids
){
function
userCountDown
(
times
,
ids
){
...
...
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