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
a1982898
Commit
a1982898
authored
Mar 02, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add file
parent
fbc6c2c8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
0 deletions
+66
-0
houseList.js
public/resource/js/houseList.js
+0
-0
house_template_tpl.html
public/resource/template/house_template_tpl.html
+66
-0
No files found.
public/resource/js/houseList.js
0 → 100644
View file @
a1982898
This diff is collapsed.
Click to expand it.
public/resource/template/house_template_tpl.html
0 → 100644
View file @
a1982898
<script
id=
"house_list_tpl"
type=
"text/template"
>
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"shop_type"
]
==
0
)
{
%
]
商场
[
%
}
else
{
%
]
街铺
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_title'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"rent_price"
]
==
0
)
{
%
]
30000
以上
[
%
}
else
if
(
it
[
item
][
"rent_price"
]
==
1
)
{
%
]
10000
-
30000
[
%
}
else
{
%
]
10000
以下
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"is_show"
]
==
0
)
{
%
]
是
[
%
}
else
{
%
]
否
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"leased"
]
==
0
)
{
%
]
已租
[
%
}
else
{
%
]
待租
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"dish_name"
]
==
""
)
{
%
]
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-anch"
class
=
"btn1 btn-danger add_applies"
>
修改
<
/a
>
[
%
}
else
{
%
]
[
%=
it
[
item
][
'dish_name'
]
%
]
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-anch"
class
=
"btn1 btn-danger add_applies"
>
修改
<
/a
>
[
%
}
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success "
href
=
"/admin.php/index/houseEdit?id=[%= it[item]['id']%]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-success is_show"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
推荐至首页
<
/a
>
<
a
class
=
"btn1 btn-success anch"
data
-
target
=
"#modal-anch"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
设置案场权限人
<
/a
>
<
a
class
=
"btn1 btn-success dujia"
href
=
"#modal-dujia"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
是否独家
<
/a
>
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
操作记录
<
/a
>
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-delete"
class
=
"btn1 btn-danger add_applies del_modal"
>
删除
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
\ No newline at end of file
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