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
09370a92
Commit
09370a92
authored
Jul 11, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d3632b31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
69 deletions
+51
-69
user_template_tpl.html
public/resource/template/user_template_tpl.html
+51
-69
No files found.
public/resource/template/user_template_tpl.html
View file @
09370a92
<script
id=
"user_list_tpl"
type=
"text/template"
>
<script
id=
"user_list_tpl"
type=
"text/template"
>
[
%
if
(
it
[
0
])
{
%
]
[
%
if
(
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
tr
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"user_name"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"user_name"
]
%
]
[
%
}
%
]
[
%
if
(
it
[
item
][
"user_name"
]
!=
null
)
{
%
]
<
/td
>
[
%=
it
[
item
][
"user_name"
]
%
]
<
td
>
[
%=
hideTel
(
it
[
item
][
"user_phone"
])
%
]
<
/td
>
[
%
}
%
]
<
td
>
[
%=
it
[
item
][
"create_time"
]
%
]
<
/td
>
<
/td
>
<
td
>
<
td
>
[
%=
hideTel
(
it
[
item
][
"user_phone"
])
%
]
<
/td
>
[
%
if
(
it
[
item
][
"follow_time"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"follow_time"
]
%
]
[
%
}
%
]
<
td
>
[
%=
it
[
item
][
"create_time"
]
%
]
<
/td
>
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"follow_time"
]
!=
null
)
{
%
]
[
%
if
(
it
[
item
][
"status"
]
==
-
1
)
{
%
]
未注册
[
%
}
else
if
(
it
[
item
][
"status"
]
==
0
)
{
%
]
注册
[
%
}
else
{
%
]
删除
[
%
}
%
]
[
%=
it
[
item
][
"follow_time"
]
%
]
<
/td
>
[
%
}
%
]
<
td
>
<
/td
>
[
%
if
(
it
[
item
][
'first_login_time'
]
==
null
){
%
]
否
[
%
}
else
{
%
]
是
[
%
}
%
]
<
td
>
<
/td
>
[
%
if
(
it
[
item
][
"status"
]
==
-
1
)
{
%
]
<
td
>
未注册
[
%
if
(
it
[
item
][
'user_nick'
]
!=
null
){
%
]
[
%=
it
[
item
][
"user_nick"
]
%
]
[
%
}
%
]
[
%
}
else
if
(
it
[
item
][
"status"
]
==
0
)
{
%
]
<
/td
>
注册
<
td
>
[
%
}
else
{
%
]
[
%
if
(
it
[
item
][
'registration_time'
]
!=
null
){
%
]
[
%=
it
[
item
][
"registration_time"
]
%
]
[
%
}
%
]
删除
<
/td
>
[
%
}
%
]
<
td
>
<
/td
>
[
%
if
(
it
[
item
][
'first_login_time'
]
!=
null
){
%
]
[
%=
it
[
item
][
"first_login_time"
]
%
]
[
%
}
%
]
<
td
>
<
/td
>
[
%
if
(
it
[
item
][
'first_login_time'
]
==
null
){
%
]
<
td
>
否
[
%
if
((
check_auth
(
'auth_vip '
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]))
{
%
]
[
%
}
else
{
%
]
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
是
详细信息
[
%
}
%
]
<
/a
>
<
/td
>
<
a
class
=
"btn1 btn-success genj_ure"
href
=
"#modal-add"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
<
td
>
跟进
[
%
if
(
it
[
item
][
'user_nick'
]
!=
null
){
%
]
<
/a
>
[
%=
it
[
item
][
"user_nick"
]
%
]
<
a
class
=
"btn1 btn-success take-look"
href
=
"#modal-takeLook"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
data
-
phone
=
'[%= it[item]["user_phone"] %]'
>
[
%
}
%
]
约带看
<
/td
>
<
/a
>
<
td
>
[
%
}
%
]
[
%
if
(
it
[
item
][
'registration_time'
]
!=
null
){
%
]
[
%=
it
[
item
][
"registration_time"
]
%
]
<!--<
a
class
=
"btn1 btn-danger "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
onclick
=
"delete_user(this)"
data
-
id
=
'[%= it[item]["id"] %]'
>-->
[
%
}
%
]
<!--
删除
-->
<
/td
>
<!--<
/a>--
>
<
td
>
<
/td
>
[
%
if
(
it
[
item
][
'first_login_time'
]
!=
null
){
%
]
<
/tr
>
[
%=
it
[
item
][
"first_login_time"
]
%
]
[
%
}
%
]
[
%
}
else
{
%
]
[
%
}
%
]
<
tr
>
<
/td
>
<
td
colspan
=
"7"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
td
>
<
/tr
>
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
[
%
}
%
]
详细信息
</script>
<
/a
>
\ No newline at end of file
<
a
class
=
"btn1 btn-success genj_ure"
href
=
"#modal-add"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a
>
<
a
class
=
"btn1 btn-success take-look"
href
=
"#modal-takeLook"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
data
-
phone
=
'[%= it[item]["user_phone"] %]'
>
约带看
<
/a
>
<!--<
a
class
=
"btn1 btn-danger "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
onclick
=
"delete_user(this)"
data
-
id
=
'[%= it[item]["id"] %]'
>-->
<!--
删除
-->
<!--<
/a>--
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"7"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
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