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
129473fc
Commit
129473fc
authored
Dec 12, 2017
by
刘丹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端
parent
25c26831
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
121 additions
and
40 deletions
+121
-40
Index.php
application/index/controller/member/Index.php
+2
-1
footer_tpl.html
application/index/view/global/footer_tpl.html
+2
-2
consumer_list.html
application/index/view/member/consumer_list.html
+91
-37
home.css
public/resource/css/home.css
+25
-0
public.css
public/resource/css/public.css
+1
-0
No files found.
application/index/controller/member/Index.php
View file @
129473fc
...
...
@@ -21,7 +21,7 @@ class Index {
//$this->response('100',array(),'json');
}
public
function
consumer_list
(){
return
view
(
'member/
entrust
_list'
);
return
view
(
'member/
consumer
_list'
);
//$this->response('100',array(),'json');
}
}
\ No newline at end of file
application/index/view/global/footer_tpl.html
View file @
129473fc
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=2225'
charset=
'utf-8'
></script>
\ No newline at end of file
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=11555'
charset=
'utf-8'
></script>
\ No newline at end of file
application/index/view/member/consumer_list.html
View file @
129473fc
...
...
@@ -13,7 +13,16 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
用户列表
<div
class=
"pull-right"
>
<ul
class=
"bread_btn"
>
<li>
<a
href=
"#modal_add_user"
data-toggle=
"modal"
class=
"btn btn-default"
><i
class=
"icon-plus"
></i>
添加用户
</a>
</li>
</ul>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover"
>
...
...
@@ -48,7 +57,7 @@
<td>
张大大
</td>
<td>
Thornton
</td>
<td>
<a
class=
"btn1 btn-success "
href=
"#modal-
process
"
data-toggle=
"modal"
>
<a
class=
"btn1 btn-success "
href=
"#modal-
do
"
data-toggle=
"modal"
>
编辑
</a>
<a
class=
"btn1 btn-warning "
href=
"#modal-details"
data-toggle=
"modal"
onclick=
"show_details(2244)"
>
...
...
@@ -63,11 +72,11 @@
<td>
刘丹丹
</td>
<td>
Thornton
</td>
<td>
<a
class=
"btn1 btn-success "
href=
"#modal-
process
"
data-toggle=
"modal"
>
<a
class=
"btn1 btn-success "
href=
"#modal-
do
"
data-toggle=
"modal"
>
编辑
</a>
<a
class=
"btn1 btn-
warning
"
href=
"#modal-details"
data-toggle=
"modal"
onclick=
"show_details(2244)"
>
锁定
<a
class=
"btn1 btn-
danger
"
href=
"#modal-details"
data-toggle=
"modal"
onclick=
"show_details(2244)"
>
解锁
</a>
</td>
</tr>
...
...
@@ -78,7 +87,7 @@
<td>
@twitter
</td>
<td>
Thornton
</td>
<td>
<a
class=
"btn1 btn-success "
href=
"#modal-
process
"
data-toggle=
"modal"
>
<a
class=
"btn1 btn-success "
href=
"#modal-
do
"
data-toggle=
"modal"
>
编辑
</a>
<a
class=
"btn1 btn-danger"
href=
"#modal-details"
data-toggle=
"modal"
onclick=
"show_details(2244)"
>
...
...
@@ -109,50 +118,95 @@
</div>
<!-- /#wrapper -->
<!-- /#
跟进
模态框 -->
<div
class=
"modal fade"
id=
"modal
-process
"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<!-- /#
新增用户
模态框 -->
<div
class=
"modal fade"
id=
"modal
_add_user
"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
id=
"myModalLabel"
>
跟进
<h4
class=
"modal-title"
>
添加用户
</h4>
</div>
<div
class=
"modal-body"
>
<div
class=
"table-responsive table-responsive1"
>
<table
class=
"table table-striped table-bordered table-hover"
>
<thead>
<tr>
<th>
跟进内容
</th>
<th>
跟进人
</th>
<th>
跟进时间
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
更近人
</td>
<td>
Mark
</td>
<td>
Otto
</td>
</tr>
<tr>
<td>
更近时间
</td>
<td>
Jacob
</td>
<td>
Thornton
</td>
</tr>
</tbody>
</table>
<form
class=
"form-horizontal"
action=
"/agents/add_user"
method=
"post"
onsubmit=
"return check()"
>
<div
class=
"form-group"
>
<label
for=
"inputEmail3"
class=
"col-sm-3 control-label"
>
姓名:
</label>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6"
name=
"realname"
id=
"inputEmail3"
placeholder=
"请输入姓名"
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputPassword3"
class=
"col-sm-3 control-label"
>
手机(登录账号):
</label>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6"
name=
"phone"
id=
"inputPassword3"
placeholder=
"请输入手机号"
>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
备注
</label>
<div
class=
"controls"
>
<input
class=
"form-control"
type=
"text"
id=
"content1"
name=
"content"
>
<p
class=
"help-block"
>
</p></div>
<div
class=
"form-group"
>
<label
for=
"inputPassword3"
class=
"col-sm-3 control-label"
>
绑定门店/小组:
</label>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6"
name=
"father_id"
autocomplete=
"off"
id=
"set_father_id2"
>
<span
class=
"use-span"
>
(选填)
</span>
</div>
</div>
</form>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-primary"
>
提交
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- /#用户编辑模态框 -->
<div
class=
"modal fade"
id=
"modal-do"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
用户编辑
</h4>
</div>
<div
class=
"modal-body"
>
<form
class=
"form-horizontal"
action=
"/adminAgents/update_agent_level02456"
method=
"post"
onsubmit=
"return check2()"
>
<div
class=
"form-group"
>
<label
for=
"inputPassword3"
class=
"col-sm-3 control-label"
>
手机(登录账号):
</label>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6"
name=
"phone"
placeholder=
"请输入手机号"
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputPassword3"
class=
"col-sm-3 control-label"
>
密码:
</label>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6"
name=
"password"
placeholder=
"******"
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputPassword3"
class=
"col-sm-3 control-label"
>
邀请人姓名:
</label>
<div
class=
"col-sm-9"
>
<span
class=
"use-span1"
>
(选填)
</span>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputPassword3"
class=
"col-sm-3 control-label"
>
邀请人手机:
</label>
<div
class=
"col-sm-9"
>
<span
class=
"use-span1"
>
dsdaad填)
</span>
</div>
</div>
</form>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
...
...
public/resource/css/home.css
View file @
129473fc
...
...
@@ -44,3 +44,27 @@
overflow-y
:
auto
;
max-height
:
140px
;
}
/*用户列表*/
.bread_btn
{
color
:
#333333
;
float
:
right
;
list-style
:
none
;
background
:
transparent
;
margin-bottom
:
0px
;
margin-top
:
-7px
;
}
/*添加用户弹窗*/
.btn6
{
width
:
49%
!important
;
float
:
left
;
}
.use-span
{
float
:
left
;
margin-top
:
5px
;
margin-left
:
10px
;
}
.use-span1
{
float
:
left
;
margin-top
:
6px
;
margin-left
:
10px
;
}
\ No newline at end of file
public/resource/css/public.css
View file @
129473fc
...
...
@@ -4,6 +4,7 @@ body {
margin
:
0
;
margin
:
0
auto
;
background-color
:
#F2F2F2
;
list-style
:
none
}
a
:hover
{
text-decoration
:
none
;
...
...
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