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
de9c2dde
Commit
de9c2dde
authored
Jul 10, 2019
by
胡畅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
signup
parent
c1183736
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 @
de9c2dde
...
...
@@ -7,9 +7,10 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1,user-scalable=no"
>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<title>
宝贝,因“喂”爱你
</title>
<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"
>
<link
rel=
"stylesheet"
href=
"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/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/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>
...
...
@@ -253,6 +254,7 @@
}
}
var
params
=
{
reviewStatus
:
1
,
// 审核状态
descs
:
descs
,
// 降序排列
curPage
:
page
?
page
:
1
,
pageSize
:
10
,
...
...
@@ -283,6 +285,13 @@
gb_rank_loaded
=
false
}
}
},
error
:
function
()
{
if
(
type
==
'player'
||
type
==
'search'
)
{
gb_player_loaded
=
false
}
else
if
(
type
==
'rank'
)
{
gb_rank_loaded
=
false
}
}
})
}
...
...
@@ -298,13 +307,13 @@
if
(
playerListData
.
records
.
length
)
{
for
(;
i
<
playerListData
.
records
.
length
;
i
++
){
// 序号替换
$
(
'.number-icon'
,
item
).
text
(
i
+
1
);
$
(
'.number-icon'
,
item
).
text
(
playerListData
.
records
[
i
].
userNumber
);
// 图片url替换
$
(
'img'
,
item
).
attr
(
'src'
,
playerListData
.
records
[
i
].
imageUrl
);
// 名称替换
$
(
'.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
+
'票'
);
...
...
@@ -348,6 +357,7 @@
// 替换名字,图片
$
(
'.table-info img'
,
tr
).
attr
(
'src'
,
rankListData
.
records
[
i
].
imageUrl
);
$
(
'.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
);
...
...
@@ -405,7 +415,7 @@
// 选手主页
function
playPageFn
()
{
var
id
=
$
(
this
).
attr
(
'id'
);
var
urlParam
=
'?
i
d='
+
id
;
var
urlParam
=
'?
UserI
d='
+
id
;
transPage
(
'3'
,
activityCode
,
xtoken
,
urlParam
);
}
...
...
showPhotos/signup.html
View file @
de9c2dde
This diff is collapsed.
Click to expand it.
showPhotos/user.html
View file @
de9c2dde
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