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
918d3415
Commit
918d3415
authored
Jul 10, 2019
by
txy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'调整'
parent
c03b9c1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
index.js
showPhotos/js/page/index.js
+2
-4
No files found.
showPhotos/js/page/index.js
View file @
918d3415
// 公共变量
// 公共变量
var
xtoken
=
"123123"
;
var
xtoken
=
"123123"
;
var
activityCode
=
"hdtbsztest1"
;
var
activityCode
=
rules
.
acActivity
.
code
;
var
pageNumber
=
"1"
;
var
pageNumber
=
"1"
;
var
baseUrl
=
"https://space-api.check.icaremgt.com"
;
var
baseUrl
=
"https://space-api.check.icaremgt.com"
;
...
@@ -16,7 +16,6 @@ var gb_token = 'admin.725.fbbd4294a56047e7926b7ebab088ade4'
...
@@ -16,7 +16,6 @@ var gb_token = 'admin.725.fbbd4294a56047e7926b7ebab088ade4'
$
(
function
(){
$
(
function
(){
btnBindClick
();
// 绑定点击事件
btnBindClick
();
// 绑定点击事件
getQueryString
(
''
);
// 根据query参数控制排行榜显示
removeAttr
();
removeAttr
();
getAjaxListSearch
(
'player'
,
1
,
function
(
playerListData
){
getAjaxListSearch
(
'player'
,
1
,
function
(
playerListData
){
getPlayerList
(
playerListData
);
getPlayerList
(
playerListData
);
...
@@ -181,7 +180,6 @@ function btnBindClick() {
...
@@ -181,7 +180,6 @@ function btnBindClick() {
// 检索参数选手列表
// 检索参数选手列表
function
getAjaxListSearch
(
type
,
page
,
callback
)
{
function
getAjaxListSearch
(
type
,
page
,
callback
)
{
var
activityCode
=
getQueryString
(
'activityCode'
)
if
(
type
==
'player'
)
{
if
(
type
==
'player'
)
{
if
(
gb_player_loaded
)
{
if
(
gb_player_loaded
)
{
return
return
...
@@ -349,7 +347,7 @@ function voteClickFn(){
...
@@ -349,7 +347,7 @@ function voteClickFn(){
var
params
=
{
var
params
=
{
userId
:
id
userId
:
id
}
}
var
activityCode
=
getQueryString
(
'activityCode'
);
$
.
ajax
({
$
.
ajax
({
type
:
'PUT'
,
type
:
'PUT'
,
url
:
baseUrl
+
'/ACTIVITY/sz/vote/'
+
activityCode
,
url
:
baseUrl
+
'/ACTIVITY/sz/vote/'
+
activityCode
,
...
...
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