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
57b8ed8d
Commit
57b8ed8d
authored
Nov 19, 2018
by
zw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
0e102d16
bb1af2a8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
7 deletions
+15
-7
RankingListService.php
application/index/service/RankingListService.php
+1
-1
performance_ranking.html
...n/index/view/performance_ranking/performance_ranking.html
+3
-6
no1.png
public/resource/image/no1.png
+0
-0
no2.png
public/resource/image/no2.png
+0
-0
no3.png
public/resource/image/no3.png
+0
-0
performance_ranking.js
public/resource/js/performance_ranking.js
+11
-0
No files found.
application/index/service/RankingListService.php
View file @
57b8ed8d
...
@@ -70,7 +70,7 @@ class RankingListService
...
@@ -70,7 +70,7 @@ class RankingListService
foreach
(
$resultArr
as
$key
=>
$item
)
{
foreach
(
$resultArr
as
$key
=>
$item
)
{
$result
[
$i
][
$k
++
]
=
$item
;
$result
[
$i
][
$k
++
]
=
$item
;
if
(
$y
==
$total_page
)
{
if
(
$y
==
$total_page
)
{
if
((
$k
==
$x
-
1
)
&&
(
$i
+
1
)
<=
(
$total_page
-
(
$residue
%
$total_page
)))
{
if
((
$k
==
$x
-
1
)
&&
(
$
residue
%
$total_page
)
>
0
&&
(
$
i
+
1
)
<=
(
$total_page
-
(
$residue
%
$total_page
)))
{
$k
=
0
;
$k
=
0
;
++
$i
;
++
$i
;
}
elseif
(
$k
==
$x
)
{
}
elseif
(
$k
==
$x
)
{
...
...
application/index/view/performance_ranking/performance_ranking.html
View file @
57b8ed8d
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
text-align
:
center
;
text-align
:
center
;
width
:
20%
;
width
:
20%
;
float
:
left
;
float
:
left
;
padding-bottom
:
0.
3
0rem
;
padding-bottom
:
0.
1
0rem
;
/*border : 1px solid red;*/
/*border : 1px solid red;*/
}
}
.header-area
{
.header-area
{
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
height
:
0.58rem
;
height
:
0.58rem
;
border-radius
:
50%
;
border-radius
:
50%
;
overflow
:
hidden
;
overflow
:
hidden
;
background-color
:
#999999
;
/*background-color:#999999;*/
position
:
relative
;
position
:
relative
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
...
@@ -147,9 +147,6 @@
...
@@ -147,9 +147,6 @@
.table
{
.table
{
margin-bottom
:
0rem
!important
;
margin-bottom
:
0rem
!important
;
}
}
.table-scro
::-webkit-scrollbar-track
.table-scro
::-webkit-scrollbar-track
{
{
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
...
@@ -185,7 +182,7 @@
...
@@ -185,7 +182,7 @@
<span><strong>
个人荣誉榜
</strong></span>
<span><strong>
个人荣誉榜
</strong></span>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-12"
style=
"margin-top:0.07rem;"
id=
"personList"
></div>
<div
class=
"col-xs-12"
style=
"margin-top:0.07rem;
padding-bottom:0.05rem;
"
id=
"personList"
></div>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-4 p-a-10 p-t-0"
>
<div
class=
"col-xs-4 p-a-10 p-t-0"
>
...
...
public/resource/image/no1.png
0 → 100644
View file @
57b8ed8d
1.72 KB
public/resource/image/no2.png
0 → 100644
View file @
57b8ed8d
1.55 KB
public/resource/image/no3.png
0 → 100644
View file @
57b8ed8d
1.58 KB
public/resource/js/performance_ranking.js
View file @
57b8ed8d
...
@@ -125,6 +125,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
...
@@ -125,6 +125,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
console
.
log
(
data
.
data
.
list
);
console
.
log
(
data
.
data
.
list
);
var
tag
=
''
;
var
tag
=
''
;
for
(
var
i
=
0
;
i
<
data
.
data
.
list
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
data
.
data
.
list
.
length
;
i
++
){
tag
+=
'<div class="content" style="overflow:hidden;">'
;
tag
+=
'<div class="content" style="overflow:hidden;">'
;
tag
+=
' <div class="col-xs-9 p-a-0">'
;
tag
+=
' <div class="col-xs-9 p-a-0">'
;
tag
+=
' <div class="col-xs-12 p-a-0 ">'
;
tag
+=
' <div class="col-xs-12 p-a-0 ">'
;
...
@@ -181,6 +182,11 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
...
@@ -181,6 +182,11 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
imgUrl
=
url
+
data
[
i
].
img
;
imgUrl
=
url
+
data
[
i
].
img
;
}
}
tag
+=
'<div class="harf-in-five">'
;
tag
+=
'<div class="harf-in-five">'
;
tag
+=
' <div style="height:.2rem;width:40%;margin-left:30%">'
;
if
(
i
<
3
){
tag
+=
' <image src="/resource/image/no'
+
(
i
+
1
)
+
'.png" />'
;
}
tag
+=
' </div>'
;
tag
+=
' <div class="header-area">'
;
tag
+=
' <div class="header-area">'
;
tag
+=
' <image src="'
+
imgUrl
+
'"></image>'
;
tag
+=
' <image src="'
+
imgUrl
+
'"></image>'
;
tag
+=
' </div>'
;
tag
+=
' </div>'
;
...
@@ -216,6 +222,11 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
...
@@ -216,6 +222,11 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
imgUrl
=
url
+
data
[
i
].
img
;
imgUrl
=
url
+
data
[
i
].
img
;
}
}
tag
+=
'<div class="harf-in-five">'
;
tag
+=
'<div class="harf-in-five">'
;
tag
+=
' <div style="height:.2rem;width:40%;margin-left:30%">'
;
if
(
i
<
3
){
tag
+=
' <image src="/resource/image/no'
+
(
i
+
1
)
+
'.png" />'
;
}
tag
+=
' </div>'
;
tag
+=
' <div class="header-area">'
;
tag
+=
' <div class="header-area">'
;
tag
+=
' <image src="'
+
imgUrl
+
'"></image>'
;
tag
+=
' <image src="'
+
imgUrl
+
'"></image>'
;
tag
+=
' </div>'
;
tag
+=
' </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