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
46b55c3c
Commit
46b55c3c
authored
Jul 10, 2019
by
txy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.icaremgt.com:tanxinyu/h5_activity into develop
parents
6c15dc57
87a38a97
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
index.html
showPhotos/index.html
+16
-6
signup.html
showPhotos/signup.html
+0
-0
user.html
showPhotos/user.html
+0
-0
No files found.
showPhotos/index.html
View file @
46b55c3c
...
@@ -7,9 +7,10 @@
...
@@ -7,9 +7,10 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1,user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1,user-scalable=no"
>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<title>
宝贝,因“喂”爱你
</title>
<title>
宝贝,因“喂”爱你
</title>
<link
rel=
"stylesheet"
href=
"css/activity.css"
>
<link
rel=
"stylesheet"
href=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/css/activity.css"
>
<link
rel=
"stylesheet"
href=
"css/toast.css"
>
<link
rel=
"stylesheet"
href=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/css/toast.css"
>
<!-- <link rel="stylesheet" href="https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/css/activity.css">
<link rel="stylesheet" href="https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/css/toast.css"> -->
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/jquery-3.4.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/jquery-3.4.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/toast.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/toast.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/html2Json.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/html2Json.js"
></script>
...
@@ -250,6 +251,7 @@
...
@@ -250,6 +251,7 @@
}
}
}
}
var
params
=
{
var
params
=
{
reviewStatus
:
1
,
// 审核状态
descs
:
descs
,
// 降序排列
descs
:
descs
,
// 降序排列
curPage
:
page
?
page
:
1
,
curPage
:
page
?
page
:
1
,
pageSize
:
10
,
pageSize
:
10
,
...
@@ -280,6 +282,13 @@
...
@@ -280,6 +282,13 @@
gb_rank_loaded
=
false
gb_rank_loaded
=
false
}
}
}
}
},
error
:
function
()
{
if
(
type
==
'player'
||
type
==
'search'
)
{
gb_player_loaded
=
false
}
else
if
(
type
==
'rank'
)
{
gb_rank_loaded
=
false
}
}
}
})
})
}
}
...
@@ -295,13 +304,13 @@
...
@@ -295,13 +304,13 @@
if
(
playerListData
.
records
.
length
)
{
if
(
playerListData
.
records
.
length
)
{
for
(;
i
<
playerListData
.
records
.
length
;
i
++
){
for
(;
i
<
playerListData
.
records
.
length
;
i
++
){
// 序号替换
// 序号替换
$
(
'.number-icon'
,
item
).
text
(
i
+
1
);
$
(
'.number-icon'
,
item
).
text
(
playerListData
.
records
[
i
].
userNumber
);
// 图片url替换
// 图片url替换
$
(
'img'
,
item
).
attr
(
'src'
,
playerListData
.
records
[
i
].
imageUrl
);
$
(
'img'
,
item
).
attr
(
'src'
,
playerListData
.
records
[
i
].
imageUrl
);
// 名称替换
// 名称替换
$
(
'.user-name'
,
item
).
text
(
playerListData
.
records
[
i
].
name
);
$
(
'.user-name'
,
item
).
text
(
playerListData
.
records
[
i
].
name
);
// 机构名称替换
// 机构名称替换
$
(
'.vote-struct'
,
item
).
text
(
'贵阳市乌当区新天社区卫生服务中心测试'
);
$
(
'.vote-struct'
,
item
).
text
(
playerListData
.
records
[
i
].
orgName
);
// 票数替换
// 票数替换
$
(
'.vote-num'
,
item
).
text
(
playerListData
.
records
[
i
].
voteNum
+
'票'
);
$
(
'.vote-num'
,
item
).
text
(
playerListData
.
records
[
i
].
voteNum
+
'票'
);
...
@@ -345,6 +354,7 @@
...
@@ -345,6 +354,7 @@
// 替换名字,图片
// 替换名字,图片
$
(
'.table-info img'
,
tr
).
attr
(
'src'
,
rankListData
.
records
[
i
].
imageUrl
);
$
(
'.table-info img'
,
tr
).
attr
(
'src'
,
rankListData
.
records
[
i
].
imageUrl
);
$
(
'.cell-info h4'
,
tr
).
text
(
rankListData
.
records
[
i
].
name
);
$
(
'.cell-info h4'
,
tr
).
text
(
rankListData
.
records
[
i
].
name
);
// $('.cell-info small', tr).text(rankListData.records[i].userNumber);
// 票数
// 票数
$
(
'.ticket-total .text-red'
,
tr
).
text
(
rankListData
.
records
[
i
].
voteNum
);
$
(
'.ticket-total .text-red'
,
tr
).
text
(
rankListData
.
records
[
i
].
voteNum
);
...
@@ -402,7 +412,7 @@
...
@@ -402,7 +412,7 @@
// 选手主页
// 选手主页
function
playPageFn
()
{
function
playPageFn
()
{
var
id
=
$
(
this
).
attr
(
'id'
);
var
id
=
$
(
this
).
attr
(
'id'
);
var
urlParam
=
'?
i
d='
+
id
;
var
urlParam
=
'?
UserI
d='
+
id
;
transPage
(
'3'
,
activityCode
,
xtoken
,
urlParam
);
transPage
(
'3'
,
activityCode
,
xtoken
,
urlParam
);
}
}
...
...
showPhotos/signup.html
View file @
46b55c3c
This diff is collapsed.
Click to expand it.
showPhotos/user.html
View file @
46b55c3c
This diff is collapsed.
Click to expand it.
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