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
c5e1e0f4
Commit
c5e1e0f4
authored
Sep 18, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺上下架
parent
b38806b1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
Houses.php
application/index/controller/Houses.php
+1
-1
houseList.html
application/index/view/houses/houseList.html
+1
-1
house_template_tpl.html
public/resource/template/house_template_tpl.html
+8
-4
No files found.
application/index/controller/Houses.php
View file @
c5e1e0f4
...
@@ -307,7 +307,7 @@ class Houses extends Basic
...
@@ -307,7 +307,7 @@ class Houses extends Basic
$where
[
'industry_type'
]
=
[
'LIKE'
,
'%'
.
$this
->
params
[
'industry_type'
]
.
'%'
];
$where
[
'industry_type'
]
=
[
'LIKE'
,
'%'
.
$this
->
params
[
'industry_type'
]
.
'%'
];
}
}
$fields
=
'id,shop_type,internal_title,rent_price,is_show,create_time,residue_num,rent_type,
$fields
=
'id,shop_type,internal_title,rent_price,is_show,create_time,residue_num,rent_type,
status,
shop_area_start,shop_area_end,industry_type,disc,is_carefully_chosen,is_exclusive_type,is_lock'
;
shop_area_start,shop_area_end,industry_type,disc,is_carefully_chosen,is_exclusive_type,is_lock'
;
/*楼盘编号*/
/*楼盘编号*/
...
...
application/index/view/houses/houseList.html
View file @
c5e1e0f4
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
<th
class=
"text-center"
>
面积
</th>
<th
class=
"text-center"
>
面积
</th>
<th
class=
"text-center"
>
业态
</th>
<th
class=
"text-center"
>
业态
</th>
<th
class=
"text-center"
>
创建时间
</th>
<th
class=
"text-center"
>
创建时间
</th>
<th
class=
"text-center"
>
状态
</th>
<th
class=
"text-center"
>
上下架
</th>
<!--<th class="text-center">盘方</th>-->
<!--<th class="text-center">盘方</th>-->
<th
class=
"text-center"
>
操作
</th>
<th
class=
"text-center"
>
操作
</th>
</tr>
</tr>
...
...
public/resource/template/house_template_tpl.html
View file @
c5e1e0f4
...
@@ -36,10 +36,14 @@
...
@@ -36,10 +36,14 @@
<
td
width
=
"15%"
>
[
%=
it
[
item
][
'industry_type'
]
%
]
<
/td
>
<
td
width
=
"15%"
>
[
%=
it
[
item
][
'industry_type'
]
%
]
<
/td
>
<
td
width
=
"10%"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
width
=
"10%"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"residue_num"
]
==
0
)
{
%
]
[
%
if
(
it
[
item
][
"status"
]
==
0
)
{
%
]
已租
审核
[
%
}
else
{
%
]
[
%
}
else
if
(
it
[
item
][
"status"
]
==
1
){
%
]
待租
上架
[
%
}
else
if
(
it
[
item
][
"status"
]
==
2
){
%
]
下架
[
%
}
else
if
(
it
[
item
][
"status"
]
==
3
){
%
]
回收
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
...
...
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