Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
hujun
tl_estate
Commits
16a4a1da
Commit
16a4a1da
authored
Dec 14, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new Date --> ymd
parent
4ddd7271
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
performance_ranking.html
...n/index/view/performance_ranking/performance_ranking.html
+2
-2
performance_ranking.js
public/resource/js/performance_ranking.js
+11
-1
No files found.
application/index/view/performance_ranking/performance_ranking.html
View file @
16a4a1da
...
@@ -187,12 +187,12 @@
...
@@ -187,12 +187,12 @@
<div
class=
"col-xs-8 p-a-10 p-t-0"
>
<div
class=
"col-xs-8 p-a-10 p-t-0"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel panel-default"
>
<div
class=
"area-title p-a-15 p-tb-10"
>
<div
class=
"area-title p-a-15 p-tb-10"
>
<span><strong>
团队荣誉榜
</strong></span>
<span><strong>
团队荣誉榜
</strong><
span
id=
"tymd"
></span><
/span>
</div>
</div>
<div
class=
"col-xs-12"
style=
"margin-top:0.07rem;"
id=
"teamList"
></div>
<div
class=
"col-xs-12"
style=
"margin-top:0.07rem;"
id=
"teamList"
></div>
<div
class=
"col-xs-12 p-a-0"
>
<div
class=
"col-xs-12 p-a-0"
>
<div
class=
"area-title p-a-15"
>
<div
class=
"area-title p-a-15"
>
<span><strong>
个人荣誉榜
</strong></span>
<span><strong>
个人荣誉榜
</strong><
span
id=
"pymd"
></span><
/span>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-12"
style=
"margin-top:0.07rem;padding-bottom:0.05rem;"
id=
"personList"
></div>
<div
class=
"col-xs-12"
style=
"margin-top:0.07rem;padding-bottom:0.05rem;"
id=
"personList"
></div>
...
...
public/resource/js/performance_ranking.js
View file @
16a4a1da
...
@@ -23,7 +23,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
...
@@ -23,7 +23,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
},
},
event
:
function
()
{
event
:
function
()
{
var
that
=
this
;
var
that
=
this
;
that
.
initDate
();
$
(
document
).
on
(
'click'
,
'.business_more'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'.business_more'
,
function
(
e
){
var
id
=
$
(
this
).
attr
(
"id"
);
var
id
=
$
(
this
).
attr
(
"id"
);
console
.
log
(
id
);
console
.
log
(
id
);
...
@@ -76,6 +76,16 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
...
@@ -76,6 +76,16 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
},
},
initDate
:
function
(){
var
date
=
new
Date
();
var
year
=
date
.
getFullYear
();
var
month
=
date
.
getMonth
()
+
1
;
var
day
=
date
.
getDate
();
var
dateArea
=
year
+
"."
+
month
+
"."
+
"01"
+
"--"
+
year
+
"."
+
month
+
"."
+
day
;
$
(
'#tymd'
).
text
(
dateArea
);
$
(
'#pymd'
).
text
(
dateArea
);
},
addDark
:
function
(){
addDark
:
function
(){
var
docHeight
=
'7.52rem'
//获取窗口高度
var
docHeight
=
'7.52rem'
//获取窗口高度
$
(
'#paihang'
).
append
(
'<div id="overlay" style="padding-top:25%;height:7.52rem;position:relative;top:0;left:0"><div style="position:relative;top:50%font-size:20px;color:red;transform: translate(-25%,-50%);">数据加载中,请稍后。。。</div></div>'
);
$
(
'#paihang'
).
append
(
'<div id="overlay" style="padding-top:25%;height:7.52rem;position:relative;top:0;left:0"><div style="position:relative;top:50%font-size:20px;color:red;transform: translate(-25%,-50%);">数据加载中,请稍后。。。</div></div>'
);
...
...
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