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
7a225b7b
Commit
7a225b7b
authored
Nov 13, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pk修改
parent
65ae0e0a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
9 deletions
+7
-9
pkListCon.html
application/index/view/pkList/pkListCon.html
+1
-1
pkList.js
public/resource/js/pkList.js
+4
-7
pk_list_template_tpl.html.html
public/resource/template/pk_list_template_tpl.html.html
+2
-1
No files found.
application/index/view/pkList/pkListCon.html
View file @
7a225b7b
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
</div>
</div>
<div
class=
"pk-container-detail-con"
>
<div
class=
"pk-container-detail-con"
>
<div
class=
"pk-container-detail-team"
>
<div
class=
"pk-container-detail-team"
>
<
span
class=
"team-span team-span-pk"
>
团队PK榜
</span
>
<
!--<span class="team-span team-span-pk">团队PK榜</span>--
>
<span
class=
"team-span-active team-span-pk"
>
店长PK榜
</span>
<span
class=
"team-span-active team-span-pk"
>
店长PK榜
</span>
<span
class=
"team-span team-span-pk"
>
经理PK榜
</span>
<span
class=
"team-span team-span-pk"
>
经理PK榜
</span>
<span
class=
"team-span team-span-pk"
>
主任PK榜
</span>
<span
class=
"team-span team-span-pk"
>
主任PK榜
</span>
...
...
public/resource/js/pkList.js
View file @
7a225b7b
...
@@ -23,21 +23,18 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
...
@@ -23,21 +23,18 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
_this
.
removeClass
(
'team-span'
).
addClass
(
'team-span-active'
).
siblings
().
removeClass
(
'team-span-active'
).
addClass
(
'team-span'
);
_this
.
removeClass
(
'team-span'
).
addClass
(
'team-span-active'
).
siblings
().
removeClass
(
'team-span-active'
).
addClass
(
'team-span'
);
if
(
_this
.
index
()
==
0
){
if
(
_this
.
index
()
==
0
){
pkList
.
mainTabIndex
=
-
1
pkList
.
mainTabIndex
=
1
}
}
if
(
_this
.
index
()
==
1
){
if
(
_this
.
index
()
==
1
){
pkList
.
mainTabIndex
=
1
;
}
if
(
_this
.
index
()
==
2
){
pkList
.
mainTabIndex
=
2
;
pkList
.
mainTabIndex
=
2
;
}
}
if
(
_this
.
index
()
==
3
){
if
(
_this
.
index
()
==
2
){
pkList
.
mainTabIndex
=
3
;
pkList
.
mainTabIndex
=
3
;
}
}
if
(
_this
.
index
()
==
4
){
if
(
_this
.
index
()
==
3
){
pkList
.
mainTabIndex
=
4
;
pkList
.
mainTabIndex
=
4
;
}
}
if
(
_this
.
index
()
==
5
){
if
(
_this
.
index
()
==
4
){
pkList
.
mainTabIndex
=
0
;
pkList
.
mainTabIndex
=
0
;
}
}
});
});
...
...
public/resource/template/pk_list_template_tpl.html.html
View file @
7a225b7b
<script
id=
"pk_list_tpl"
type=
"text/template"
>
<script
id=
"pk_list_tpl"
type=
"text/template"
>
[
%
var
sw
=
function
(
s
){
return
++
s
};
%
]
[
%
if
(
it
)
{
%
]
[
%
if
(
it
)
{
%
]
<
tr
>
<
tr
>
<
th
class
=
"text-center"
>
排名
<
/th
>
<
th
class
=
"text-center"
>
排名
<
/th
>
...
@@ -8,7 +9,7 @@
...
@@ -8,7 +9,7 @@
<
/tr
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
"name"
]
%
]
<
/td
>
<
td
>
[
%=
sw
(
item
)
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"evaluate_content"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"evaluate_content"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"name"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"name"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"performance"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"performance"
]
%
]
<
/td
>
...
...
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