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
c2c91a7d
Commit
c2c91a7d
authored
Nov 14, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pk优化
parent
1fa54efc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
pkListCon.html
application/index/view/pkList/pkListCon.html
+1
-1
pkList.js
public/resource/js/pkList.js
+11
-1
No files found.
application/index/view/pkList/pkListCon.html
View file @
c2c91a7d
...
...
@@ -137,7 +137,7 @@
<div
class=
"pk-container-detail"
>
<div
class=
"pk-container-detail-header"
>
<span
class=
"margain-right-10 pk-yeji-bang"
>
业绩PK榜
</span>
<span
class=
"margain-right-10 pk-yeji-time"
>
(
2018.11.01-2018.11.16
)
</span>
<span
class=
"margain-right-10 pk-yeji-time"
>
(
<span
id=
'start_date'
></span>
-
<span
id=
'end_date'
></span>
)
</span>
<!--<select class="results-pk">
</select>-->
<img
src=
"/resource/image/gold@1x.png"
class=
"img-gold"
/>
...
...
public/resource/js/pkList.js
View file @
c2c91a7d
...
...
@@ -11,7 +11,17 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
pkList
.
getCitySite
();
//获取初始化时间
var
myDate
=
new
Date
();
var
y
=
myDate
.
getFullYear
();
var
m
=
myDate
.
getMonth
()
+
1
;
var
d
=
myDate
.
getDate
();
var
day_start
=
y
+
'.'
+
(
m
<
10
?
(
'0'
+
m
)
:
m
)
+
'.'
+
(
'01'
);
var
day_end
=
y
+
'.'
+
(
m
<
10
?
(
'0'
+
m
)
:
m
)
+
'.'
+
(
d
<
10
?
(
'0'
+
d
)
:
d
);
$
(
'#start_date'
).
html
(
day_start
);
$
(
'#end_date'
).
html
(
day_end
);
// pkList.getCitySite();
pkList
.
getList
(
0
);
pkList
.
event
();
},
...
...
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