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
d274ccc7
Commit
d274ccc7
authored
Jul 18, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户列表 约带看优化
parent
68512074
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
15 deletions
+12
-15
users_list.html
application/index/view/member/users_list.html
+4
-0
main.js
public/resource/js/main.js
+2
-1
user.js
public/resource/js/user.js
+6
-14
bootstrap-datetimepicker.js
public/resource/lib/js/bootstrap-datetimepicker.js
+0
-0
No files found.
application/index/view/member/users_list.html
View file @
d274ccc7
...
...
@@ -231,6 +231,10 @@
height
:
30px
;
border-radius
:
15px
;
}
/*初始化 隐藏时间控件*/
/*.datetimepicker{
opacity: 0;
}*/
</style>
<!--导航star-->
...
...
public/resource/js/main.js
View file @
d274ccc7
...
...
@@ -15,7 +15,8 @@ require.config ({
'ckfinder'
:
'lib/Ckfinder/ckfinder'
,
'ckfinderStart'
:
'lib/js/ckfinderStart'
,
'bootstrapJs'
:
'lib/js/bootstrap.min'
,
'datetimepicker'
:
'lib/js/bootstrap-datetimepicker.min'
,
// 'datetimepicker': 'lib/js/bootstrap-datetimepicker.min',
'datetimepicker'
:
'lib/js/bootstrap-datetimepicker'
,
'pagination'
:
'lib/js/Pagination'
,
'paginationStart'
:
'lib/js/zw.pagination'
,
'blow-up'
:
'lib/js/blow-up'
,
...
...
public/resource/js/user.js
View file @
d274ccc7
...
...
@@ -33,7 +33,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
};
}(
jQuery
));
$
(
".form_datetime"
).
datetimepicker
({
//format: 'yyyy-mm-dd hh:ii:ss',
format
:
'yyyy-mm-dd hh:ii:00'
,
...
...
@@ -43,6 +43,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
minuteStep
:
30
//hourStep: 1
});
$
(
'.datetimepicker'
).
hide
();
//初始化隐藏时间控件
},
event
:
function
()
{
var
_doc
=
$
(
document
);
...
...
@@ -67,19 +69,9 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
this
).
parent
().
remove
();
});
//点击input 出现时间控件
// _doc.on('click', '#look_shop_date', function(e) {
// $(".form_datetime").datetimepicker({
// //format: 'yyyy-mm-dd hh:ii:ss',
// format: 'yyyy-mm-dd hh:00:00',
// autoclose: true,
// language: 'zh-CN',
// minView: 1,
// //minuteStep: 30
// //hourStep: 1
// });
// });
_doc
.
on
(
'click'
,
'#look_shop_date'
,
function
()
{
$
(
'.datetimepicker'
).
show
();
});
_doc
.
on
(
'click'
,
'.take-look'
,
function
(
e
)
{
//点击约带看 获取 客户姓名 编号 电话
e
.
preventDefault
();
e
.
stopPropagation
();
...
...
public/resource/lib/js/bootstrap-datetimepicker.js
0 → 100644
View file @
d274ccc7
This diff is collapsed.
Click to expand it.
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