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
244b485f
Commit
244b485f
authored
Apr 04, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
55192a44
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
1 deletion
+53
-1
weekly.html
application/app_broker/view/index/weekly.html
+37
-1
weekly.css
public/app/css/weekly.css
+2
-0
weekly.js
public/app/js/weekly.js
+14
-0
No files found.
application/app_broker/view/index/weekly.html
View file @
244b485f
...
...
@@ -10,7 +10,30 @@
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
</head>
<style
type=
"text/css"
>
.city-zongjian
{
float
:
right
;
margin-right
:
.3rem
;
}
.city-zongjian
span
{
display
:
inline-block
;
width
:
1.4rem
;
height
:
.66rem
;
line-height
:
.66rem
;
text-align
:
center
;
font-size
:
.24rem
;
border-radius
:
.1rem
;
margin-left
:
.16rem
;
}
.no-achieve-span
{
color
:
rgba
(
74
,
74
,
74
,
1
);
background
:
rgba
(
221
,
225
,
239
,
0.2
);
}
.achieve-span
{
color
:
rgba
(
255
,
128
,
24
,
1
);
background
:
rgba
(
255
,
128
,
24
,
0.2
);
}
</style>
<body
style=
"display: none;"
>
<div
id=
"app"
>
<header
id=
"header"
>
...
...
@@ -46,6 +69,19 @@
<input
type=
"date"
v-model
.
trim=
"dateEnd"
name=
"date"
class=
"name_date"
id=
"datePicker2"
>
</p>
</li>
<!--选择城市-->
<li
style=
"overflow: hidden;line-height: .9rem;padding-bottom: 1.6rem;display: none;"
class=
"is-zongjian-week"
>
<span
style=
"margin-left: .76rem;font-size: .3rem;color: #333;"
>
选择城市
</span>
<span
class=
"city-zongjian"
>
<span
class=
"achieve-span"
data-city=
'10001'
>
上海
</span>
<span
class=
"no-achieve-span"
data-city=
'10002'
>
杭州
</span>
<span
class=
"no-achieve-span"
data-city=
'10003'
>
深圳
</span>
</span>
</li>
</ul>
</div>
<div
class=
"weekly_time liudan"
>
...
...
public/app/css/weekly.css
View file @
244b485f
...
...
@@ -125,3 +125,5 @@ body{
ul
.choose-type-right
>
li
.selected
{
background
:
#ff9419
;
}
/*城市样式*/
public/app/js/weekly.js
View file @
244b485f
...
...
@@ -6,6 +6,20 @@ require(['vue', 'vconsole', 'css!style/weekly.css', 'jquery0325', 'common'], fun
var
vConsole
=
new
VConsole
();
}
var
_appToken
=
getUrlParam
(
'token'
);
//总监周报 城市选择
if
(
localStorage
.
getItem
(
'userlevel'
)
*
1
!=
20
){
//总监
$
(
'.is-zongjian-week'
).
show
();
var
city_zhongjian
=
'10001'
;
$
(
document
).
on
(
'click'
,
'.city-zongjian>span'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
_this
.
removeClass
(
'no-achieve-span'
).
addClass
(
'achieve-span'
).
siblings
().
removeClass
(
'achieve-span'
).
addClass
(
'no-achieve-span'
);
var
city_zhongjian
=
_this
.
attr
(
'data-city'
);
localStorage
.
setItem
(
'city_zongjian_liu'
,
city_zhongjian
);
});
}
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
...
...
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