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
c014e875
Commit
c014e875
authored
Jul 10, 2019
by
txy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'调整js'
parent
ece095bb
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
50 deletions
+40
-50
index_data.js
showPhotos/index_data.js
+1
-13
common.js
showPhotos/js/page/common.js
+6
-3
index.js
showPhotos/js/page/index.js
+15
-6
signup.js
showPhotos/js/page/signup.js
+8
-3
user.js
showPhotos/js/page/user.js
+8
-3
signup_data.js
showPhotos/signup_data.js
+1
-9
user_data.js
showPhotos/user_data.js
+1
-13
No files found.
showPhotos/index_data.js
View file @
c014e875
...
...
@@ -4,19 +4,7 @@ var data = {
"backgroundColor"
:
""
,
"htmlJson"
:
'{"node":"root","child":[{"node":"element","tag":"div","attr":{"id":"html-template-1","class":["container","j-index-container"]},"child":[{"node":"element","tag":"div","attr":{"id":"act3152753824111","class":"full-width"},"child":[{"node":"element","tag":"img","attr":{"id":"act31526319445723","c_typename":"logo","c_type":"image","c_width":"135","c_height":"50","c_desc":"建议上传135x50的图片","src":"http://qnfile.icareyou.net/f6ec1cb23c0740d0995c91de7a9964c21560411548597.jpg","class":"act-logo"}},{"node":"text","text":" "},{"node":"element","tag":"img","attr":{"id":"act31526568868457","c_typename":"mainBanner","c_type":"image","c_width":"375","c_height":"450","c_desc":"建议上传750x750的图片","src":"http://qnfile.icareyou.net/e1e347fa1d3a4eb79839e40c6ba312531560307520219.jpg","class":"full-width"}}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"selectable-banner"},"child":[{"node":"element","tag":"img","attr":{"id":"act3152727598431","c_typename":"subBanner","c_type":"image","c_width":"375","c_height":"450","c_desc":"建议上传750x750的图片","src":"http://qnfile.icareyou.net/223161d1afdc4d7a8757d6a79a92b42e1560411594265.jpg","class":"full-width"}},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"select-info"},"child":[{"node":"element","tag":"div","attr":{"class":["text-center","m-b"]},"child":[{"node":"element","tag":"a","attr":{"href":"javascript:;","id":"act31527459124456","c_typename":"registerBtn","c_type":"imageBtn","c_innerlink":"2","c_outlink":"","c_width":"182","c_height":"52","c_desc":"建议上传364x104的图片","class":"btn-enroll"},"child":[{"node":"element","tag":"img","attr":{"src":"http://qnfile.icareyou.net/dc0ca5c0aca14cfb8dc868ef7df00ec41560411624397.jpg"}}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"form-inline"},"child":[{"node":"element","tag":"div","attr":{"class":"form-pic"},"child":[{"node":"element","tag":"img","attr":{"src":"http://qnfile.icareyou.net/ea8fa9d58ad441ab80b2332aade10e931560411700171.jpg"}}]},{"node":"text","text":" "},{"node":"element","tag":"input","attr":{"type":"text","placeholder":"请输入编号/姓名","class":["search-input","c-read-only"]}},{"node":"text","text":" "},{"node":"element","tag":"button","attr":{"id":"act3152814816164","class":["act-btn","search-btn","j-index-search"]},"child":[{"node":"text","text":"搜索"}]}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"content"},"child":[{"node":"element","tag":"ul","attr":{"class":["tab-list","m-b"]},"child":[{"node":"element","tag":"li","child":[{"node":"element","tag":"img","attr":{"id":"act31528123692525","c_width":"184","c_height":"82","c_desc":"建议上传184x82的图片","src":"http://qnfile.icareyou.net/34f4f47150224b62aa5ff90d149312691560411762418.jpg","c_typename":"playerListBtn"}}]},{"node":"text","text":" "},{"node":"element","tag":"li","child":[{"node":"element","tag":"img","attr":{"id":"act3152823482970","c_width":"184","c_height":"82","c_desc":"建议上传184x82的图片","src":"http://qnfile.icareyou.net/bd96dda6884843719d63dc2c7699b5711560411734046.jpg","c_typename":"rangerListBtn"}}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"id":"user-list","class":"user-list"},"child":[{"node":"element","tag":"div","attr":{"id":"act592324923890","class":"vote-con"},"child":[{"node":"element","tag":"div","attr":{"class":"item"},"child":[{"node":"element","tag":"span","attr":{"class":"number-icon"},"child":[{"node":"text","text":"233"}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"item-photo"},"child":[{"node":"element","tag":"a","attr":{"href":"javascript:;"},"child":[{"node":"element","tag":"img","attr":{"id":"act31528357438128","src":"http://qnfile.icareyou.net/jpg119_4_11_18_22_43_1557570163811zSy.jpg"}}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"item-title"},"child":[{"node":"element","tag":"p","attr":{"class":"item-info"},"child":[{"node":"element","tag":"span","attr":{"class":"user-name"},"child":[{"node":"text","text":"测试"}]}]},{"node":"element","tag":"p"},{"node":"element","tag":"p","attr":{"class":"vote-struct"},"child":[{"node":"text","text":"贵阳市乌当区新天社区卫生服务中心测试"}]},{"node":"text","text":" "},{"node":"element","tag":"p","attr":{"style":["text-align:","right;"]},"child":[{"node":"element","tag":"span","attr":{"class":"vote-num"},"child":[{"node":"text","text":"1票"}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":["item-title","item-vote"]},"child":[{"node":"element","tag":"button","attr":{"id":"act5135962301304","class":["act-btn","btn-pink"]},"child":[{"node":"text","text":"投票"}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"item"},"child":[{"node":"element","tag":"span","attr":{"class":"number-icon"},"child":[{"node":"text","text":"233"}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"item-photo"},"child":[{"node":"element","tag":"a","attr":{"href":"javascript:;"},"child":[{"node":"element","tag":"img","attr":{"id":"act31528473528545","src":"http://qnfile.icareyou.net/jpg119_4_11_18_22_43_1557570163811zSy.jpg"}}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"item-title"},"child":[{"node":"element","tag":"p","attr":{"class":"item-info"},"child":[{"node":"element","tag":"span","attr":{"class":"user-name"},"child":[{"node":"text","text":"测试"}]}]},{"node":"element","tag":"p"},{"node":"element","tag":"p","attr":{"class":"vote-struct"},"child":[{"node":"text","text":"贵阳市乌当区新天社区卫生服务中心测试"}]},{"node":"text","text":" "},{"node":"element","tag":"p","attr":{"style":["text-align:","right;"]},"child":[{"node":"element","tag":"span","attr":{"class":"vote-num"},"child":[{"node":"text","text":"1票"}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":["item-title","item-vote"]},"child":[{"node":"element","tag":"button","attr":{"id":"act5141147407988","class":["act-btn","btn-pink"]},"child":[{"node":"text","text":"投票"}]}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"list-empty"},"child":[{"node":"text","text":"没有更多数据了"}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"navigation"},"child":[{"node":"element","tag":"p","attr":{"id":"act61214527684747","c_pagesize":"10"},"child":[{"node":"text","text":"当前"},{"node":"element","tag":"span","attr":{"class":"curpage"},"child":[{"node":"text","text":"1"}]},{"node":"text","text":"页 共"},{"node":"element","tag":"span","attr":{"class":"totalpage"},"child":[{"node":"text","text":"5"}]},{"node":"text","text":"条 "},{"node":"element","tag":"span","child":[{"node":"text","text":"每页展示10条"}]}]},{"node":"text","text":" "},{"node":"element","tag":"ul","attr":{"class":"prev-next"},"child":[{"node":"element","tag":"li","child":[{"node":"element","tag":"img","attr":{"id":"act3152978551035","c_typename":"prePageBtn","c_type":"image","c_width":"239","c_height":"80","c_desc":"建议上传239x80的图片","src":"http://qnfile.icareyou.net/547087afeea842179f2f3c3f1cf8a9591560411787452.jpg"}}]},{"node":"text","text":" "},{"node":"element","tag":"li","child":[{"node":"element","tag":"img","attr":{"id":"act315291899997","c_typename":"nextPageBtn","c_type":"image","c_width":"239","c_height":"80","c_desc":"建议上传239x80的图片","src":"http://qnfile.icareyou.net/301b71ed53af45b59911c1047c839fd61560412020634.jpg"}}]}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"id":"range-list","class":"user-list","style":["display:","none;"]},"child":[{"node":"element","tag":"div","attr":{"class":"rank-scroll"},"child":[{"node":"element","tag":"table","attr":{"class":"full-width"},"child":[{"node":"element","tag":"thead","child":[{"node":"element","tag":"tr","child":[{"node":"element","tag":"th","attr":{"style":["width:","20%;"]},"child":[{"node":"text","text":"排行"}]},{"node":"text","text":" "},{"node":"element","tag":"th","attr":{"style":["width:","60%;"]},"child":[{"node":"text","text":"名字"}]},{"node":"text","text":" "},{"node":"element","tag":"th","child":[{"node":"text","text":"票数"}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"tbody","child":[{"node":"element","tag":"tr","child":[{"node":"element","tag":"td","child":[{"node":"element","tag":"span","attr":{"class":["number","badge-no1"]},"child":[{"node":"text","text":"1"}]}]},{"node":"text","text":" "},{"node":"element","tag":"td","child":[{"node":"element","tag":"div","attr":{"class":"table-info"},"child":[{"node":"element","tag":"div","attr":{"class":"cell"},"child":[{"node":"element","tag":"a","attr":{"href":"javascript:;"},"child":[{"node":"element","tag":"img","attr":{"src":"http://qnfile.icareyou.net/jpg119_4_10_10_38_13_1557455893225UrM.jpg","class":"info-pic"}}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":["cell","cell-info"]},"child":[{"node":"element","tag":"h4","child":[{"node":"text","text":"喻小刚"}]},{"node":"text","text":" "},{"node":"element","tag":"small","child":[{"node":"text","text":"编号:232号"}]}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"td","child":[{"node":"element","tag":"div","attr":{"class":"ticket-total"},"child":[{"node":"element","tag":"span","attr":{"class":"text-red"},"child":[{"node":"text","text":"1800"}]},{"node":"text","text":"票"}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"tr","child":[{"node":"element","tag":"td","child":[{"node":"element","tag":"span","attr":{"class":["number","badge-no2"]},"child":[{"node":"text","text":"2"}]}]},{"node":"text","text":" "},{"node":"element","tag":"td","child":[{"node":"element","tag":"div","attr":{"class":"table-info"},"child":[{"node":"element","tag":"div","attr":{"class":"cell"},"child":[{"node":"element","tag":"a","attr":{"href":"javascript:;"},"child":[{"node":"element","tag":"img","attr":{"src":"http://qnfile.icareyou.net/jpg119_4_10_10_38_13_1557455893225UrM.jpg","class":"info-pic"}}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":["cell","cell-info"]},"child":[{"node":"element","tag":"h4","child":[{"node":"text","text":"喻小刚"}]},{"node":"text","text":" "},{"node":"element","tag":"small","child":[{"node":"text","text":"编号:232号"}]}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"td","child":[{"node":"element","tag":"div","attr":{"class":"ticket-total"},"child":[{"node":"element","tag":"span","attr":{"class":"text-red"},"child":[{"node":"text","text":"1800"}]},{"node":"text","text":"票"}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"tr","child":[{"node":"element","tag":"td","child":[{"node":"element","tag":"span","attr":{"class":["number","badge-no3"]},"child":[{"node":"text","text":"3"}]}]},{"node":"text","text":" "},{"node":"element","tag":"td","child":[{"node":"element","tag":"div","attr":{"class":"table-info"},"child":[{"node":"element","tag":"div","attr":{"class":"cell"},"child":[{"node":"element","tag":"a","attr":{"href":"javascript:;"},"child":[{"node":"element","tag":"img","attr":{"src":"http://qnfile.icareyou.net/jpg119_4_10_10_38_13_1557455893225UrM.jpg","class":"info-pic"}}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":["cell","cell-info"]},"child":[{"node":"element","tag":"h4","child":[{"node":"text","text":"喻小刚"}]},{"node":"text","text":" "},{"node":"element","tag":"small","child":[{"node":"text","text":"编号:232号"}]}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"td","child":[{"node":"element","tag":"div","attr":{"class":"ticket-total"},"child":[{"node":"element","tag":"span","attr":{"class":"text-red"},"child":[{"node":"text","text":"1800"}]},{"node":"text","text":"票"}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"tr","child":[{"node":"element","tag":"td","attr":{"colspan":"3"},"child":[{"node":"element","tag":"h4","attr":{"class":"message"},"child":[{"node":"text","text":"加载中..."}]}]}]}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"navigation"},"child":[{"node":"element","tag":"p","attr":{"id":"act111398324601","c_pagesize":"10"},"child":[{"node":"text","text":"当前"},{"node":"element","tag":"span","attr":{"class":"curpage"},"child":[{"node":"text","text":"1"}]},{"node":"text","text":"页 共"},{"node":"element","tag":"span","attr":{"class":"totalpage"},"child":[{"node":"text","text":"5"}]},{"node":"text","text":"条 "},{"node":"element","tag":"span","child":[{"node":"text","text":"每页展示10条"}]}]},{"node":"text","text":" "},{"node":"element","tag":"ul","attr":{"class":"prev-next"},"child":[{"node":"element","tag":"li","child":[{"node":"element","tag":"img","attr":{"id":"act514245671026","c_typename":"prePageBtn","c_type":"image","c_width":"239","c_height":"80","c_desc":"建议上传239x80的图片","src":"http://qnfile.icareyou.net/547087afeea842179f2f3c3f1cf8a9591560411787452.jpg"}}]},{"node":"text","text":" "},{"node":"element","tag":"li","child":[{"node":"element","tag":"img","attr":{"id":"act5142157597939","c_typename":"nextPageBtn","c_type":"image","c_width":"239","c_height":"80","c_desc":"建议上传239x80的图片","src":"http://qnfile.icareyou.net/301b71ed53af45b59911c1047c839fd61560412020634.jpg"}}]}]}]}]}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"index-bottom"},"child":[{"node":"element","tag":"div","attr":{"class":"btn-group-info"},"child":[{"node":"element","tag":"img","attr":{"id":"act2165045664554","c_typename":"rangeListBtn","c_type":"image","c_width":"154","c_height":"64","c_desc":"建议上传154x64的图片","src":"http://qnfile.icareyou.net/1b560d6dfe2d4e8e8a05fe90336cc5f61560411872708.jpg"}}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"btn-group-info"},"child":[{"node":"element","tag":"img","attr":{"id":"act21650126678793","c_typename":"playerIndexBtn","c_type":"image","c_width":"154","c_height":"64","c_desc":"建议上传154x64的图片","src":"http://qnfile.icareyou.net/1c24d979349f482aafd737c2d5acb8e11560411839686.jpg"}}]},{"node":"text","text":" "},{"node":"element","tag":"div","attr":{"class":"btn-group-info"},"child":[{"node":"element","tag":"img","attr":{"id":"act21650195017743","c_typename":"ruleBtn","c_type":"image","c_width":"154","c_height":"64","c_desc":"建议上传154x64的图片","src":"http://qnfile.icareyou.net/c5f549aeb74749ac9529b28cc78c715f1560411823738.jpg"}}]}]}]}]}'
,
"dataJson"
:
'{"page":{"id":"html-template-1","style":""},"logo":{"id":"act31526319445723","c_typename":"logo","c_type":"image","c_width":"135","c_height":"50","c_desc":"建议上传135x50的图片","src":"http://qnfile.icareyou.net/f6ec1cb23c0740d0995c91de7a9964c21560411548597.jpg"},"mainBanner":{"id":"act31526568868457","c_typename":"mainBanner","c_type":"image","c_width":"375","c_height":"450","c_desc":"建议上传750x750的图片","src":"http://qnfile.icareyou.net/e1e347fa1d3a4eb79839e40c6ba312531560307520219.jpg"},"subBanner":{"id":"act3152727598431","c_typename":"subBanner","c_type":"image","c_width":"375","c_height":"450","c_desc":"建议上传750x750的图片","src":"http://qnfile.icareyou.net/223161d1afdc4d7a8757d6a79a92b42e1560411594265.jpg"},"registerBtn":{"id":"act31527459124456","c_typename":"registerBtn","c_type":"imageBtn","c_innerlink":"2","c_outlink":"","c_width":"182","c_height":"52","c_desc":"建议上传364x104的图片","src":"http://qnfile.icareyou.net/dc0ca5c0aca14cfb8dc868ef7df00ec41560411624397.jpg"},"searchBtn":{"id":"act3152814816164","c_typename":"searchBtn","c_type":"btn","c_text":"搜索","style":""},"playerListBtn":{"id":"act31528123692525","c_typename":"playerListBtn","c_type":"image","c_width":"184","c_height":"82","c_desc":"建议上传184x82的图片","src":"http://qnfile.icareyou.net/34f4f47150224b62aa5ff90d149312691560411762418.jpg"},"rangerListBtn":{"id":"act3152823482970","c_typename":"rangerListBtn","c_type":"image","c_width":"184","c_height":"82","c_desc":"建议上传184x82的图片","src":"http://qnfile.icareyou.net/bd96dda6884843719d63dc2c7699b5711560411734046.jpg"},"pageSize":{"id":"act61214527684747","c_typename":"pageSize","c_type":"pageSize","c_pagesize":10},"rangePageSize":{"id":"act111398324601","c_typename":"pageSize","c_type":"pageSize","c_pagesize":10},"voteBtn":{"id":"act5135962301304","id2":"act5141147407988","c_typename":"voteBtn","c_type":"btn","c_text":"投票","style":""},"prePageBtn":{"id":"act3152978551035","id2":"act514245671026","c_typename":"prePageBtn","c_type":"image","c_width":"239","c_height":"80","c_desc":"建议上传239x80的图片","src":"http://qnfile.icareyou.net/547087afeea842179f2f3c3f1cf8a9591560411787452.jpg"},"nextPageBtn":{"id":"act315291899997","id2":"act5142157597939","c_typename":"nextPageBtn","c_type":"image","c_width":"239","c_height":"80","c_desc":"建议上传239x80的图片","src":"http://qnfile.icareyou.net/301b71ed53af45b59911c1047c839fd61560412020634.jpg"},"rangeListBtn":{"id":"act2165045664554","c_typename":"rangeListBtn","c_type":"image","src":"http://qnfile.icareyou.net/1b560d6dfe2d4e8e8a05fe90336cc5f61560411872708.jpg","c_width":"154","c_height":"64","c_desc":"建议上传154x64的图片"},"playerIndexBtn":{"id":"act21650126678793","c_typename":"playerIndexBtn","c_type":"image","src":"http://qnfile.icareyou.net/1c24d979349f482aafd737c2d5acb8e11560411839686.jpg","c_width":"154","c_height":"64","c_desc":"建议上传154x64的图片"},"ruleBtn":{"id":"act21650195017743","c_typename":"ruleBtn","c_type":"image","src":"http://qnfile.icareyou.net/c5f549aeb74749ac9529b28cc78c715f1560411823738.jpg","c_width":"154","c_height":"64","c_desc":"建议上传154x64的图片"}}'
,
"relationship"
:
{
pageNumber
:
'1'
,
page
:
'index'
,
name
:
'活动首页'
,
type
:
'page'
,
childs
:
[
{
pageNumber
:
'4'
,
page
:
'playerVote1'
,
name
:
'参与者投票-有票'
,
type
:
'dialog'
},
{
pageNumber
:
'5'
,
page
:
'playerVote2'
,
name
:
'参与者投票-无票'
,
type
:
'dialog'
},
{
pageNumber
:
'6'
,
page
:
'touristVote1'
,
name
:
'投票者-有票'
,
type
:
'dialog'
},
{
pageNumber
:
'7'
,
page
:
'touristVote2'
,
name
:
'投票者-无票'
,
type
:
'dialog'
},
{
pageNumber
:
'8'
,
page
:
'solicitVote'
,
name
:
'拉票/活动秘籍'
,
type
:
'dialog'
}
]
},
"relationship"
:
'{"pageNumber": "1","page": "index","name": "活动首页","type": "page","childs": [{ "pageNumber": "4", "page": "playerVote1", "name": "参与者投票-有票", "type": "dialog" },{ "pageNumber": "5", "page": "playerVote2", "name": "参与者投票-无票", "type": "dialog" },{ "pageNumber": "6", "page": "touristVote1", "name": "投票者-有票", "type": "dialog" },{ "pageNumber": "7", "page": "touristVote2", "name": "投票者-无票", "type": "dialog" },{ "pageNumber": "8", "page": "solicitVote", "name": "拉票/活动秘籍", "type": "dialog" }]}'
,
"playerVote1"
:
{
"id"
:
"18"
,
"pageNumber"
:
"4"
,
...
...
showPhotos/js/page/common.js
View file @
c014e875
...
...
@@ -16,7 +16,7 @@ function getToken() {
}
// 页面跳转
function
transPage
(
_pageNumber
,
_activityCode
,
_token
,
_
url
Param
)
{
function
transPage
(
_pageNumber
,
_activityCode
,
_token
,
_
add
Param
)
{
var
url
=
''
// if (typeof _urlParam !== 'undefined' && _urlParam !== '') {
// url = baseUrl + "/ACTIVITY/view/" + _activityCode + "/" + _pageNumber + '?' + _urlParam;
...
...
@@ -24,10 +24,12 @@ function transPage(_pageNumber, _activityCode, _token, _urlParam) {
// url = baseUrl + "/ACTIVITY/view/" + _activityCode + "/" + _pageNumber;
// }
var
_urlParam
=
location
.
search
;
if
(
typeof
_urlParam
!==
'undefined'
&&
_urlParam
!==
''
)
{
url
=
"/ACTIVITY/view/"
+
_pageNumber
+
"/"
+
_activityCode
+
'?'
+
_urlParam
;
url
=
"/ACTIVITY/view/"
+
_pageNumber
+
"/"
+
_activityCode
+
_urlParam
+
(
_addParam
!==
undefined
?
(
'&'
+
_addParam
)
:
''
)
;
}
else
{
url
=
"/ACTIVITY/view/"
+
_pageNumber
+
"/"
+
_activityCode
;
url
=
"/ACTIVITY/view/"
+
_pageNumber
+
"/"
+
_activityCode
+
(
_addParam
!==
undefined
?
(
'?'
+
_addParam
)
:
''
)
;
}
var
_form
=
document
.
createElement
(
'form'
);
...
...
@@ -53,6 +55,7 @@ function getQueryString(name) {
return
null
;
}
// 加载HTML结构
function
loadHtmlJson
()
{
$
(
'body'
).
prepend
(
json2html
(
data
.
htmlJson
));
...
...
showPhotos/js/page/index.js
View file @
c014e875
...
...
@@ -22,6 +22,12 @@ $(function(){
getAjaxListSearch
(
'rank'
,
1
,
function
(
rankListData
){
getRangeList
(
rankListData
);
});
// 排行榜列表
// 打开排行榜
debugger
if
(
getQueryString
(
"toRanger"
)
===
'1'
)
{
$
(
"#act3152823482970"
).
click
()
}
});
// 微信鉴权
...
...
@@ -128,10 +134,8 @@ function btnBindClick() {
// 报名按钮
$
(
"#act31527459124456"
).
off
(
"click"
).
on
(
"click"
,
function
(){
// window.location.href = '/signup.html'
var
_t
=
getToken
();
transPage
(
activityCode
,
'2'
,
_t
);
transPage
(
'2'
,
activityCode
,
_t
);
});
// 继续投票
...
...
@@ -164,12 +168,16 @@ function btnBindClick() {
// 排行榜
$
(
"#act2165045664554"
).
off
(
'click'
).
on
(
"click"
,
function
(){
window
.
location
.
href
=
'/index.html'
var
_t
=
getToken
();
var
_addParam
=
'toRanger=1'
transPage
(
'1'
,
activityCode
,
_t
,
_addParam
);
});
// 选手主页
$
(
"#act21650126678793"
).
off
(
"click"
).
on
(
"click"
,
function
(){
window
.
location
.
href
=
'/user.html'
var
_t
=
getToken
();
var
urlParam
=
'UserId='
+
user
.
id
;
transPage
(
'3'
,
activityCode
,
_t
,
urlParam
);
});
// 活动秘籍
...
...
@@ -368,7 +376,7 @@ function voteClickFn(){
// 选手主页
function
playPageFn
()
{
var
id
=
$
(
this
).
attr
(
'id'
);
var
urlParam
=
'
?
UserId='
+
id
;
var
urlParam
=
'UserId='
+
id
;
var
_t
=
getToken
();
transPage
(
'3'
,
activityCode
,
_t
,
urlParam
);
}
\ No newline at end of file
showPhotos/js/page/signup.js
View file @
c014e875
...
...
@@ -62,16 +62,21 @@ function wxpermission() {
function
btnBindClick
()
{
// 返回首页
$
(
"#act11534485971254"
).
off
(
"click"
).
on
(
"click"
,
function
()
{
window
.
location
.
href
=
'/index.html'
var
_t
=
getToken
();
transPage
(
'1'
,
activityCode
,
_t
);
});
// 排行榜
$
(
"#act41612547506702"
).
off
(
'click'
).
on
(
"click"
,
function
()
{
window
.
location
.
href
=
'/index.html'
var
_t
=
getToken
();
var
_addParam
=
'toRanger=1'
transPage
(
'1'
,
activityCode
,
_t
,
_addParam
);
});
// 选手主页
$
(
"#act4161336684689"
).
off
(
"click"
).
on
(
"click"
,
function
()
{
window
.
location
.
href
=
'/user.html'
var
_t
=
getToken
();
var
urlParam
=
'UserId='
+
user
.
id
;
transPage
(
'3'
,
activityCode
,
_t
,
urlParam
);
});
// 活动秘籍
...
...
showPhotos/js/page/user.js
View file @
c014e875
...
...
@@ -64,7 +64,8 @@ function wxpermission() {
function
btnBindClick
()
{
// 返回首页
$
(
"#act3110143885264"
).
off
(
"click"
).
on
(
"click"
,
function
(){
window
.
location
.
href
=
'/index.html'
var
_t
=
getToken
();
transPage
(
'1'
,
activityCode
,
_t
);
});
// 拉票
$
(
'#act31119351441050'
).
off
(
"click"
).
on
(
"click"
,
function
(){
...
...
@@ -93,12 +94,16 @@ function btnBindClick() {
// 排行榜
$
(
"#act41612547506702"
).
off
(
'click'
).
on
(
"click"
,
function
(){
window
.
location
.
href
=
'/index.html'
var
_t
=
getToken
();
var
_addParam
=
'toRanger=1'
transPage
(
'1'
,
activityCode
,
_t
,
_addParam
);
});
// 选手主页
$
(
"#act4161336684689"
).
off
(
"click"
).
on
(
"click"
,
function
(){
window
.
location
.
href
=
'/user.html'
var
_t
=
getToken
();
var
urlParam
=
'UserId='
+
user
.
id
;
transPage
(
'3'
,
activityCode
,
_t
,
urlParam
);
});
// 活动秘籍
...
...
showPhotos/signup_data.js
View file @
c014e875
...
...
@@ -4,15 +4,7 @@ var data = {
"backgroundColor"
:
""
,
"dataJson"
:
{
"page"
:{
"id"
:
"html-template-2"
,
"style"
:
""
},
"logo"
:{
"id"
:
"act11533271231743"
,
"c_typename"
:
"logo"
,
"c_type"
:
"image"
,
"c_width"
:
"135"
,
"c_height"
:
"50"
,
"c_desc"
:
"建议上传135x50的图片"
,
"src"
:
"http://qnfile.icareyou.net/f6ec1cb23c0740d0995c91de7a9964c21560411548597.jpg"
},
"mainBanner"
:{
"id"
:
"act11534392314548"
,
"c_typename"
:
"mainBanner"
,
"c_type"
:
"image"
,
"c_width"
:
"375"
,
"c_height"
:
"450"
,
"c_desc"
:
"建议上传750x750的图片"
,
"src"
:
"http://qnfile.icareyou.net/6e233bff93d94f0b98e15447fcda3f931562124610970.jpg"
},
"backBtn"
:{
"id"
:
"act11534485971254"
,
"c_typename"
:
"returnBack"
,
"c_type"
:
"image"
,
"c_width"
:
"375"
,
"c_height"
:
"450"
,
"c_desc"
:
"建议上传750x750的图片"
,
"src"
:
"http://qnfile.icareyou.net/1b38000b991e432a9e1726557694044e1560915885635.jpg"
},
"defaultInputGroup"
:[{
"id"
:
"act11738585285947"
,
"type"
:
"text"
,
"name"
:
"name"
,
"placeholder"
:
"请输入参与者姓名"
,
"readonly"
:
"readonly"
,
"c_validateempty"
:
"yes"
,
"c_validate"
:
""
,
"c_len"
:
"15"
,
"c_name"
:
"姓名"
,
"c_remove"
:
"readonly"
,
"c_deletebtn"
:
false
,
"c_typename"
:
"input"
,
"c_type"
:
"input"
},{
"id"
:
"act11739141518360"
,
"type"
:
"number"
,
"name"
:
"phoneNumber"
,
"placeholder"
:
"请输入参与者手机号码"
,
"readonly"
:
"readonly"
,
"c_validateempty"
:
"yes"
,
"c_validate"
:
""
,
"c_len"
:
"15"
,
"c_name"
:
"手机号"
,
"c_remove"
:
"readonly"
,
"c_deletebtn"
:
false
,
"c_typename"
:
"input"
,
"c_type"
:
"input"
},{
"id"
:
"act11739232574395"
,
"type"
:
"text"
,
"name"
:
"orgName"
,
"placeholder"
:
"请选择区域/社区卫生服务中心"
,
"readonly"
:
"readonly"
,
"c_validateempty"
:
"yes"
,
"c_validate"
:
""
,
"c_len"
:
"50"
,
"c_name"
:
"社区名称"
,
"c_remove"
:
"readonly"
,
"c_deletebtn"
:
false
,
"c_typename"
:
"input"
,
"c_type"
:
"input"
},{
"id"
:
"act11739381874636"
,
"type"
:
"text"
,
"name"
:
"note"
,
"placeholder"
:
"请输入介绍/拉票宣言等,仅限50字数"
,
"readonly"
:
"readonly"
,
"c_validateempty"
:
"yes"
,
"c_validate"
:
""
,
"c_len"
:
"50"
,
"c_name"
:
"拉票宣言"
,
"c_remove"
:
"readonly"
,
"c_deletebtn"
:
false
,
"c_typename"
:
"input"
,
"c_type"
:
"input"
}],
"addGroup"
:[{
"id"
:
"act3142743690966"
,
"type"
:
"text"
,
"name"
:
"act3142743690966_name"
,
"placeholder"
:
""
,
"readonly"
:
"readonly"
,
"c_validateempty"
:
"no"
,
"c_validate"
:
""
,
"c_len"
:
""
,
"c_name"
:
""
,
"c_remove"
:
"readonly"
,
"c_deletebtn"
:
true
,
"c_typename"
:
"input"
,
"c_type"
:
"input"
},{
"id"
:
"act31427476043427"
,
"type"
:
"text"
,
"name"
:
"act31427476043427_name"
,
"placeholder"
:
"test"
,
"readonly"
:
"readonly"
,
"c_validateempty"
:
"no"
,
"c_validate"
:
""
,
"c_len"
:
""
,
"c_name"
:
""
,
"c_remove"
:
"readonly"
,
"c_deletebtn"
:
true
,
"c_typename"
:
"input"
,
"c_type"
:
"input"
}],
"submitBtn"
:{
"id"
:
"act31023318459940"
,
"c_typename"
:
"submitBtn"
,
"c_type"
:
"image"
,
"src"
:
"http://qnfile.icareyou.net/51716f7726094423b45758cd14759e7f1560915244483"
,
"c_width"
:
"364"
,
"c_height"
:
"104"
,
"c_desc"
:
"建议上传364x104的图片"
},
"rangeListBtn"
:{
"id"
:
"act41612547506702"
,
"c_typename"
:
"rangeListBtn"
,
"c_type"
:
"image"
,
"src"
:
"http://qnfile.icareyou.net/1b560d6dfe2d4e8e8a05fe90336cc5f61560411872708.jpg"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
},
"playerIndexBtn"
:{
"id"
:
"act4161336684689"
,
"c_typename"
:
"playerIndexBtn"
,
"c_type"
:
"image"
,
"src"
:
"http://qnfile.icareyou.net/1c24d979349f482aafd737c2d5acb8e11560411839686.jpg"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
},
"ruleBtn"
:{
"id"
:
"act41613113951133"
,
"c_typename"
:
"ruleBtn"
,
"c_type"
:
"image"
,
"src"
:
"http://qnfile.icareyou.net/c5f549aeb74749ac9529b28cc78c715f1560411823738.jpg"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
}},
"htmlJson"
:
{
"node"
:
"root"
,
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"id"
:
"html-template-2"
,
"class"
:
"container"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"full-width"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act11533271231743"
,
"c_type"
:
"image"
,
"c_typename"
:
"logo"
,
"c_width"
:
"135"
,
"c_height"
:
"50"
,
"c_desc"
:
"建议上传135x50的图片"
,
"src"
:
"http://qnfile.icareyou.net/f6ec1cb23c0740d0995c91de7a9964c21560411548597.jpg"
,
"class"
:
"act-logo"
}},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act11534392314548"
,
"c_type"
:
"image"
,
"c_typename"
:
"mainBanner"
,
"c_width"
:
"375"
,
"c_height"
:
"450"
,
"c_desc"
:
"建议上传750x750的图片"
,
"src"
:
"http://qnfile.icareyou.net/6e233bff93d94f0b98e15447fcda3f931562124610970.jpg"
,
"class"
:
"full-width"
}},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act11534485971254"
,
"c_type"
:
"image"
,
"c_typename"
:
"returnBack"
,
"c_width"
:
"375"
,
"c_height"
:
"450"
,
"c_desc"
:
"建议上传750x750的图片"
,
"src"
:
"http://qnfile.icareyou.net/1b38000b991e432a9e1726557694044e1560915885635.jpg"
,
"class"
:
"return-back"
}}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"content"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"form"
,
"attr"
:{
"class"
:
"sign-form"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"form-row"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group-inner"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"input"
,
"attr"
:{
"id"
:
"act11738585285947"
,
"type"
:
"text"
,
"c_typename"
:
"input"
,
"name"
:
"name"
,
"placeholder"
:
"请输入参与者姓名"
,
"c_validateempty"
:
"yes"
,
"c_validate"
:
""
,
"c_len"
:
"15"
,
"c_name"
:
"姓名"
,
"c_remove"
:
"readonly"
,
"readonly"
:
"readonly"
}}]}]}]},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"form-row"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group-inner"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"input"
,
"attr"
:{
"id"
:
"act11739141518360"
,
"type"
:
"number"
,
"c_typename"
:
"input"
,
"name"
:
"phoneNumber"
,
"placeholder"
:
"请输入参与者手机号码"
,
"c_validateempty"
:
"yes"
,
"c_validate"
:
""
,
"c_len"
:
"15"
,
"c_name"
:
"手机号"
,
"c_remove"
:
"readonly"
,
"readonly"
:
"readonly"
}}]}]}]},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"form-row"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group-inner"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"input"
,
"attr"
:{
"id"
:
"act11739232574395"
,
"type"
:
"text"
,
"c_typename"
:
"input"
,
"name"
:
"orgName"
,
"placeholder"
:
"请选择区域/社区卫生服务中心"
,
"c_validateempty"
:
"yes"
,
"c_validate"
:
""
,
"c_len"
:
"50"
,
"c_name"
:
"社区名称"
,
"c_remove"
:
"readonly"
,
"readonly"
:
"readonly"
}}]}]}]},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"form-row"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group-inner"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"input"
,
"attr"
:{
"id"
:
"act11739381874636"
,
"type"
:
"text"
,
"c_typename"
:
"input"
,
"name"
:
"note"
,
"placeholder"
:
"请输入介绍/拉票宣言等,仅限50字数"
,
"c_validateempty"
:
"yes"
,
"c_validate"
:
""
,
"c_len"
:
"50"
,
"c_name"
:
"拉票宣言"
,
"c_remove"
:
"readonly"
,
"readonly"
:
"readonly"
}}]}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"form-row"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group-inner"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"input"
,
"attr"
:{
"id"
:
"act3142743690966"
,
"type"
:
"text"
,
"c_typename"
:
"input"
,
"name"
:
"act3142743690966_name"
,
"placeholder"
:
""
,
"c_validateempty"
:
"no"
,
"c_validate"
:
""
,
"c_len"
:
""
,
"c_name"
:
""
,
"c_remove"
:
"readonly"
,
"c_deletebtn"
:
"true"
,
"readonly"
:
"readonly"
}}]}]}]},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"form-row"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group-inner"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"input"
,
"attr"
:{
"id"
:
"act31427476043427"
,
"type"
:
"text"
,
"c_typename"
:
"input"
,
"name"
:
"act31427476043427_name"
,
"placeholder"
:
"test"
,
"c_validateempty"
:
"no"
,
"c_validate"
:
""
,
"c_len"
:
""
,
"c_name"
:
""
,
"c_remove"
:
"readonly"
,
"c_deletebtn"
:
"true"
,
"readonly"
:
"readonly"
}}]}]}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"add-input-btn"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"button"
,
"attr"
:{
"type"
:
"button"
,
"class"
:[
"el-button"
,
"el-button--info"
,
"el-button--mini"
,
"is-circle"
]},
"child"
:[{
"node"
:
"comment"
,
"text"
:
""
},{
"node"
:
"element"
,
"tag"
:
"i"
,
"attr"
:{
"class"
:
"el-icon-plus"
}},{
"node"
:
"comment"
,
"text"
:
""
}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"form-row"
,
"text-center"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"label"
,
"attr"
:{
"class"
:[
"btn-upload"
,
"c-read-only"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"input"
,
"attr"
:{
"type"
:
"file"
,
"id"
:
"uploadImage"
,
"accept"
:
"image/*"
,
"name"
:
"photo"
,
"class"
:
"c-read-only"
,
"style"
:[
"display:"
,
"none;"
]}},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"src"
:
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAABeCAYAAACq0qNuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+tpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgt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}},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"span"
,
"child"
:[{
"node"
:
"text"
,
"text"
:
"上传图片,仅限XX以内"
}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"id"
:
"act31419345204861"
,
"class"
:[
"upload-pic"
,
"global-none"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"src"
:
""
}}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"id"
:
"act21359468086634"
,
"class"
:[
"confirm-btn"
,
"text-center"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act31023318459940"
,
"c_typename"
:
"submitBtn"
,
"c_type"
:
"image"
,
"c_width"
:
"364"
,
"c_height"
:
"104"
,
"c_desc"
:
"建议上传364x104的图片"
,
"src"
:
"http://qnfile.icareyou.net/51716f7726094423b45758cd14759e7f1560915244483"
}}]}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"index-bottom"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"btn-group-info"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act41612547506702"
,
"c_typename"
:
"rangeListBtn"
,
"c_type"
:
"image"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
,
"src"
:
"http://qnfile.icareyou.net/1b560d6dfe2d4e8e8a05fe90336cc5f61560411872708.jpg"
}}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"btn-group-info"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act4161336684689"
,
"c_typename"
:
"playerIndexBtn"
,
"c_type"
:
"image"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
,
"src"
:
"http://qnfile.icareyou.net/1c24d979349f482aafd737c2d5acb8e11560411839686.jpg"
}}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"btn-group-info"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act41613113951133"
,
"c_typename"
:
"ruleBtn"
,
"c_type"
:
"image"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
,
"src"
:
"http://qnfile.icareyou.net/c5f549aeb74749ac9529b28cc78c715f1560411823738.jpg"
}}]}]}]}]},
"relationship"
:
{
pageNumber
:
'2'
,
page
:
'signup'
,
name
:
'活动报名'
,
type
:
'page'
,
childs
:
[
{
pageNumber
:
'8'
,
page
:
'solicitVote'
,
name
:
'拉票/活动秘籍'
,
type
:
'dialog'
}
]
},
"relationship"
:
'{"pageNumber": "2","page": "register","name": "报名页面","type": "page","childs": [{ "pageNumber": "8", "page": "solicitVote", "name": "拉票/活动秘籍", "type": "dialog" }]}'
,
"solicitVote"
:
{
"id"
:
"18"
,
"pageNumber"
:
"8"
,
...
...
showPhotos/user_data.js
View file @
c014e875
...
...
@@ -4,19 +4,7 @@ var data = {
"backgroundColor"
:
""
,
"htmlJson"
:
{
"node"
:
"root"
,
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"id"
:
"html-template-3"
,
"class"
:
"container"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"full-width"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act31044562973012"
,
"c_typename"
:
"logo"
,
"c_type"
:
"image"
,
"c_width"
:
"135"
,
"c_height"
:
"50"
,
"c_desc"
:
"建议上传135X50的图片"
,
"src"
:
"http://qnfile.icareyou.net/f6ec1cb23c0740d0995c91de7a9964c21560411548597.jpg"
,
"class"
:
"act-logo"
}},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act3105344332423"
,
"c_typename"
:
"mainBanner"
,
"c_type"
:
"image"
,
"c_width"
:
"375"
,
"c_height"
:
"367"
,
"c_desc"
:
"建议上传375X367的图片"
,
"src"
:
"http://qnfile.icareyou.net/6e233bff93d94f0b98e15447fcda3f931562124610970.jpg"
,
"class"
:
"full-width"
}},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act3110143885264"
,
"c_typename"
:
"returnBack"
,
"c_type"
:
"image"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154X64的图片"
,
"src"
:
"http://qnfile.icareyou.net/fa5b58b475bf40b9968804c3496845631560913467100"
,
"class"
:
"return-back"
}}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"content"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"id"
:
"act31142119991744"
,
"class"
:
"countdown"
},
"child"
:[{
"node"
:
"text"
,
"text"
:
" 投票结束倒计时:"
},{
"node"
:
"element"
,
"tag"
:
"span"
,
"child"
:[{
"node"
:
"text"
,
"text"
:
"0天00时00分"
}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"ul"
,
"attr"
:{
"class"
:[
"tab-list"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"li"
,
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act31119351441050"
,
"c_typename"
:
"playerVotingBtn"
,
"c_type"
:
"image"
,
"c_width"
:
"184"
,
"c_height"
:
"82"
,
"c_desc"
:
"建议上传184X82的图片"
,
"src"
:
"http://qnfile.icareyou.net/2706845413b541fcbcaaaea37a8a5a061560914799693"
}}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"li"
,
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act31119414834381"
,
"c_typename"
:
"playerVotedBtn"
,
"c_type"
:
"image"
,
"c_width"
:
"184"
,
"c_height"
:
"82"
,
"c_desc"
:
"建议上传184X82的图片"
,
"src"
:
"http://qnfile.icareyou.net/fcec94d65cb145518fd1b701465796f21560914835104"
}}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"form"
,
"attr"
:{
"id"
:
"act3932189955"
,
"class"
:
"sign-form"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"user-info"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"src"
:
"http://qnfile.icareyou.net/e1e347fa1d3a4eb79839e40c6ba312531560307520219.jpg"
,
"class"
:
"inner-pic"
}},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"inner-info"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"userName"
},
"child"
:[{
"node"
:
"text"
,
"text"
:
" 姓名:"
},{
"node"
:
"element"
,
"tag"
:
"span"
,
"child"
:[{
"node"
:
"text"
,
"text"
:
"hehe"
}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"userNo"
},
"child"
:[{
"node"
:
"text"
,
"text"
:
" 编号:"
},{
"node"
:
"element"
,
"tag"
:
"span"
,
"child"
:[{
"node"
:
"text"
,
"text"
:
"hehe"
}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"userRank"
},
"child"
:[{
"node"
:
"text"
,
"text"
:
" 排名:"
},{
"node"
:
"element"
,
"tag"
:
"span"
,
"child"
:[{
"node"
:
"text"
,
"text"
:
"hehe"
}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"userVoteNum"
},
"child"
:[{
"node"
:
"text"
,
"text"
:
" 票数:"
},{
"node"
:
"element"
,
"tag"
:
"span"
,
"child"
:[{
"node"
:
"text"
,
"text"
:
"hehe"
}]}]}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"form-row"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"form-input-group-inner"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"input"
,
"attr"
:{
"type"
:
"text"
,
"name"
:
"note"
,
"c_remove"
:
"readonly"
,
"placeholder"
:
"请输入介绍/拉票宣言等,字数仅限XXX"
,
"class"
:
"userState"
}}]}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:[
"form-row"
,
"text-center"
,
"m-b"
]},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"src"
:
"http://qnfile.icareyou.net/728ba828fe094d4c8dac41828561bdd61560926221478"
,
"class"
:
"show-pic"
}}]}]}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"index-bottom"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"btn-group-info"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act41612547506702"
,
"c_typename"
:
"rangeListBtn"
,
"c_type"
:
"image"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
,
"src"
:
"http://qnfile.icareyou.net/1b560d6dfe2d4e8e8a05fe90336cc5f61560411872708.jpg"
}}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"btn-group-info"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act4161336684689"
,
"c_typename"
:
"playerIndexBtn"
,
"c_type"
:
"image"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
,
"src"
:
"http://qnfile.icareyou.net/1c24d979349f482aafd737c2d5acb8e11560411839686.jpg"
}}]},{
"node"
:
"text"
,
"text"
:
" "
},{
"node"
:
"element"
,
"tag"
:
"div"
,
"attr"
:{
"class"
:
"btn-group-info"
},
"child"
:[{
"node"
:
"element"
,
"tag"
:
"img"
,
"attr"
:{
"id"
:
"act41613113951133"
,
"c_typename"
:
"ruleBtn"
,
"c_type"
:
"image"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
,
"src"
:
"http://qnfile.icareyou.net/c5f549aeb74749ac9529b28cc78c715f1560411823738.jpg"
}}]}]}]}]},
"dataJson"
:
{
"page"
:{
"id"
:
"html-template-3"
,
"style"
:
""
},
"logo"
:{
"id"
:
"act31044562973012"
,
"c_typename"
:
"logo"
,
"c_type"
:
"image"
,
"c_width"
:
"135"
,
"c_height"
:
"50"
,
"c_desc"
:
"建议上传135X50的图片"
,
"src"
:
"http://qnfile.icareyou.net/f6ec1cb23c0740d0995c91de7a9964c21560411548597.jpg"
},
"mainBanner"
:{
"id"
:
"act3105344332423"
,
"c_typename"
:
"mainBanner"
,
"c_type"
:
"image"
,
"c_width"
:
"375"
,
"c_height"
:
"367"
,
"c_desc"
:
"建议上传375X367的图片"
,
"src"
:
"http://qnfile.icareyou.net/6e233bff93d94f0b98e15447fcda3f931562124610970.jpg"
},
"returnBack"
:{
"id"
:
"act3110143885264"
,
"c_typename"
:
"returnBack"
,
"c_type"
:
"image"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154X64的图片"
,
"src"
:
"http://qnfile.icareyou.net/fa5b58b475bf40b9968804c3496845631560913467100"
},
"playerVotingBtn"
:{
"id"
:
"act31119351441050"
,
"c_typename"
:
"playerVotingBtn"
,
"c_type"
:
"image"
,
"src"
:
"http://qnfile.icareyou.net/2706845413b541fcbcaaaea37a8a5a061560914799693"
,
"c_width"
:
"184"
,
"c_height"
:
"82"
,
"c_desc"
:
"建议上传184X82的图片"
},
"playerVotedBtn"
:{
"id"
:
"act31119414834381"
,
"c_typename"
:
"playerVotedBtn"
,
"c_type"
:
"image"
,
"src"
:
"http://qnfile.icareyou.net/fcec94d65cb145518fd1b701465796f21560914835104"
,
"c_width"
:
"184"
,
"c_height"
:
"82"
,
"c_desc"
:
"建议上传184X82的图片"
},
"countDownSet"
:{
"id"
:
"act31142119991744"
,
"c_typename"
:
"countDownSet"
,
"c_type"
:
"text"
,
"style"
:
""
},
"rangeListBtn"
:{
"id"
:
"act41612547506702"
,
"c_typename"
:
"rangeListBtn"
,
"c_type"
:
"image"
,
"src"
:
"http://qnfile.icareyou.net/1b560d6dfe2d4e8e8a05fe90336cc5f61560411872708.jpg"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
},
"playerIndexBtn"
:{
"id"
:
"act4161336684689"
,
"c_typename"
:
"playerIndexBtn"
,
"c_type"
:
"image"
,
"src"
:
"http://qnfile.icareyou.net/1c24d979349f482aafd737c2d5acb8e11560411839686.jpg"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
},
"ruleBtn"
:{
"id"
:
"act41613113951133"
,
"c_typename"
:
"ruleBtn"
,
"c_type"
:
"image"
,
"src"
:
"http://qnfile.icareyou.net/c5f549aeb74749ac9529b28cc78c715f1560411823738.jpg"
,
"c_width"
:
"154"
,
"c_height"
:
"64"
,
"c_desc"
:
"建议上传154x64的图片"
}},
"relationship"
:
{
pageNumber
:
'3'
,
page
:
'index'
,
name
:
'活动首页'
,
type
:
'page'
,
childs
:
[
{
pageNumber
:
'4'
,
page
:
'playerVote1'
,
name
:
'参与者投票-有票'
,
type
:
'dialog'
},
{
pageNumber
:
'5'
,
page
:
'playerVote2'
,
name
:
'参与者投票-无票'
,
type
:
'dialog'
},
{
pageNumber
:
'6'
,
page
:
'touristVote1'
,
name
:
'投票者-有票'
,
type
:
'dialog'
},
{
pageNumber
:
'7'
,
page
:
'touristVote2'
,
name
:
'投票者-无票'
,
type
:
'dialog'
},
{
pageNumber
:
'8'
,
page
:
'solicitVote'
,
name
:
'拉票/活动秘籍'
,
type
:
'dialog'
}
]
},
"relationship"
:
'{"pageNumber": "3","page": "player","name": "参赛选手", "type": "page","childs": [{ "pageNumber": "4", "page": "playerVote1", "name": "参与者投票-有票", "type": "dialog" },{ "pageNumber": "5", "page": "playerVote2", "name": "参与者投票-无票", "type": "dialog" },{ "pageNumber": "6", "page": "touristVote1", "name": "投票者-有票", "type": "dialog" },{ "pageNumber": "7", "page": "touristVote2", "name": "投票者-无票", "type": "dialog" },{ "pageNumber": "8", "page": "solicitVote", "name": "拉票/活动秘籍", "type": "dialog" }]}'
,
"playerVote1"
:
{
"id"
:
"18"
,
"pageNumber"
:
"4"
,
...
...
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