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
b0ea8a35
Commit
b0ea8a35
authored
Jul 11, 2019
by
txy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.icaremgt.com:tanxinyu/h5_activity into develop
parents
b6e74b3d
fe756625
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
index.js
showPhotos/js/page/index.js
+0
-1
signup.js
showPhotos/js/page/signup.js
+2
-2
user.js
showPhotos/js/page/user.js
+2
-3
No files found.
showPhotos/js/page/index.js
View file @
b0ea8a35
...
@@ -10,7 +10,6 @@ loadHtmlJson();
...
@@ -10,7 +10,6 @@ loadHtmlJson();
var
gb_player_loaded
=
false
var
gb_player_loaded
=
false
var
gb_rank_loaded
=
false
var
gb_rank_loaded
=
false
var
gb_token
=
'admin.725.fbbd4294a56047e7926b7ebab088ade4'
$
(
function
(){
$
(
function
(){
setToken
();
setToken
();
...
...
showPhotos/js/page/signup.js
View file @
b0ea8a35
// 公共变量
// 公共变量
var
pageNumber
=
"1"
;
var
pageNumber
=
"1"
;
var
activityCode
=
rules
.
acActivity
.
code
var
baseUrl
=
"https://space-api.check.icaremgt.com"
;
var
baseUrl
=
"https://space-api.check.icaremgt.com"
;
// 微信鉴权
// 微信鉴权
...
@@ -96,7 +97,7 @@ function btnBindClick() {
...
@@ -96,7 +97,7 @@ function btnBindClick() {
$
.
ajax
({
$
.
ajax
({
type
:
'POST'
,
type
:
'POST'
,
url
:
'http://api-admin-manage.check.icaremgt.com/system/components/upload'
,
url
:
'http://api-admin-manage.check.icaremgt.com/system/components/upload'
,
headers
:
{
'x-token'
:
user
.
token
},
headers
:
{
'x-token'
:
getToken
()
},
data
:
formData
,
data
:
formData
,
contentType
:
false
,
contentType
:
false
,
processData
:
false
,
processData
:
false
,
...
@@ -193,7 +194,6 @@ function btnBindClick() {
...
@@ -193,7 +194,6 @@ function btnBindClick() {
params
[
'x'
+
(
i
+
1
)]
=
$
(
'#'
+
addInput
[
i
].
id
).
val
()
params
[
'x'
+
(
i
+
1
)]
=
$
(
'#'
+
addInput
[
i
].
id
).
val
()
}
}
}
}
var
activityCode
=
rules
.
acActivity
.
code
$
.
ajax
({
$
.
ajax
({
type
:
'POST'
,
type
:
'POST'
,
headers
:
{
'content-type'
:
'application/json'
},
headers
:
{
'content-type'
:
'application/json'
},
...
...
showPhotos/js/page/user.js
View file @
b0ea8a35
// 公共变量
// 公共变量
var
pageNumber
=
"1"
;
var
pageNumber
=
"1"
;
var
activityCode
=
rules
.
acActivity
.
code
;
var
baseUrl
=
"https://space-api.check.icaremgt.com"
;
var
baseUrl
=
"https://space-api.check.icaremgt.com"
;
var
gb_vote_loaded
=
false
var
gb_vote_loaded
=
false
...
@@ -12,7 +13,7 @@ loadHtmlJson();
...
@@ -12,7 +13,7 @@ loadHtmlJson();
$
(
function
(){
$
(
function
(){
setToken
();
setToken
();
btnBindClick
();
// 绑定点击事件
btnBindClick
();
// 绑定点击事件
var
showTime
=
new
Date
(
rules
.
acActivity
.
endTime
).
getTime
()
-
new
Date
(
currentTime
)
var
showTime
=
new
Date
(
rules
.
acActivity
.
endTime
).
getTime
()
-
new
Date
(
currentTime
)
.
getTime
()
userCountDown
(
showTime
/
1000
,
$
(
'#act31142119991744 span'
));
//倒计时
userCountDown
(
showTime
/
1000
,
$
(
'#act31142119991744 span'
));
//倒计时
userTabInfo
();
userTabInfo
();
});
});
...
@@ -142,7 +143,6 @@ function userCountDown(times,ids){
...
@@ -142,7 +143,6 @@ function userCountDown(times,ids){
// 个人信息展示
// 个人信息展示
function
userTabInfo
()
{
function
userTabInfo
()
{
var
activityCode
=
rules
.
acActivity
.
code
var
id
=
getQueryString
(
'UserId'
)?
getQueryString
(
'UserId'
):
user
.
id
;
var
id
=
getQueryString
(
'UserId'
)?
getQueryString
(
'UserId'
):
user
.
id
;
var
params
=
{
var
params
=
{
id
:
id
,
id
:
id
,
...
@@ -179,7 +179,6 @@ function voteClickFn(){
...
@@ -179,7 +179,6 @@ function voteClickFn(){
var
params
=
{
var
params
=
{
userId
:
id
userId
:
id
}
}
var
activityCode
=
rules
.
acActivity
.
code
;
if
(
gb_vote_loaded
)
{
if
(
gb_vote_loaded
)
{
return
return
}
}
...
...
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