Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
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
esf
fenzhan_zsb
Commits
ecccf574
Commit
ecccf574
authored
Mar 19, 2021
by
liuqiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出售房源列表封面图
parent
f1ec094c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
sell.php
new_admincp/applications/zsb/controllers/sell.php
+10
-1
sell_manage.php
new_admincp/applications/zsb/views/nj/sell_manage.php
+10
-4
No files found.
new_admincp/applications/zsb/controllers/sell.php
View file @
ecccf574
...
@@ -4128,7 +4128,7 @@ class Sell extends MY_Controller {
...
@@ -4128,7 +4128,7 @@ class Sell extends MY_Controller {
'streetid'
,
'blockid'
,
'isreal'
,
'blockshowname'
,
'buildyear'
,
'buildarea'
,
'streetid'
,
'blockid'
,
'isreal'
,
'blockshowname'
,
'buildyear'
,
'buildarea'
,
'subfloor'
,
'floor'
,
'totalfloor'
,
'room'
,
'hall'
,
'toilet'
,
'kitchen'
,
'balcony'
,
'subfloor'
,
'floor'
,
'totalfloor'
,
'room'
,
'hall'
,
'toilet'
,
'kitchen'
,
'balcony'
,
'forward'
,
'price'
,
'averprice'
,
'priceterm'
,
'pricetype'
,
'fitment'
,
'contactor'
,
'forward'
,
'price'
,
'averprice'
,
'priceterm'
,
'pricetype'
,
'fitment'
,
'contactor'
,
'telno'
,
'creattime'
,
'updatetime'
,
'expiretime'
,
'isstar'
,
'istag'
,
'nofee'
,
'is360'
,
'is_real_house'
,
'vr_model_id'
);
'telno'
,
'creattime'
,
'updatetime'
,
'expiretime'
,
'isstar'
,
'istag'
,
'nofee'
,
'is360'
,
'is_real_house'
,
'vr_model_id'
,
'pic1'
);
$this
->
sell_model
->
set_select_fields
(
$select_fields
);
$this
->
sell_model
->
set_select_fields
(
$select_fields
);
$data_info
=
$this
->
sell_model
->
find_all_by
(
$cond_where
,
$this
->
_offset
,
$data_info
=
$this
->
sell_model
->
find_all_by
(
$cond_where
,
$this
->
_offset
,
...
@@ -4256,6 +4256,8 @@ class Sell extends MY_Controller {
...
@@ -4256,6 +4256,8 @@ class Sell extends MY_Controller {
}
}
else
else
{
{
$this
->
load
->
model
(
'pic_model'
);
for
(
$i
=
0
;
$i
<
$row_num
;
$i
++
)
for
(
$i
=
0
;
$i
<
$row_num
;
$i
++
)
{
{
//房源地址
//房源地址
...
@@ -4432,6 +4434,13 @@ class Sell extends MY_Controller {
...
@@ -4432,6 +4434,13 @@ class Sell extends MY_Controller {
}
}
}
}
// 封面图
$pic1
=
$data_info
[
$i
][
'pic1'
]
?
$data_info
[
$i
][
'pic1'
]
:
''
;
if
(
!
$pic1
)
{
$housePics
=
$this
->
pic_model
->
find_house_pic_by
(
'sell'
,
$data_info
[
$i
][
'id'
]);
$data_info
[
$i
][
'pic1'
]
=
$housePics
?
$housePics
[
0
][
'filename'
]
:
STATIC_SOURCE_URL
.
'/zsb/images/v1.0/default.jpg'
;
}
$arr_rowid
[]
=
$data_info
[
$i
][
'id'
];
$arr_rowid
[]
=
$data_info
[
$i
][
'id'
];
}
}
...
...
new_admincp/applications/zsb/views/nj/sell_manage.php
View file @
ecccf574
...
@@ -268,6 +268,11 @@
...
@@ -268,6 +268,11 @@
<tr>
<tr>
<td
class=
"td first"
><input
class=
"jsSelectItem"
type=
"checkbox"
name=
"rows_id"
value=
"
<?php
echo
$value
[
'id'
];
?>
"
/></td>
<td
class=
"td first"
><input
class=
"jsSelectItem"
type=
"checkbox"
name=
"rows_id"
value=
"
<?php
echo
$value
[
'id'
];
?>
"
/></td>
<td
class=
"td second"
style=
"width:380px;"
>
<td
class=
"td second"
style=
"width:380px;"
>
<div
style=
"float: left;margin-top: 20px"
>
<img
src=
"
<?=
$value
[
'pic1'
]
?>
"
style=
"width: 80px; height: 65px;"
>
</div>
<div
style=
"float: left;width: 260px;margin-left: 10px"
>
<div
class=
"itemTex"
>
<div
class=
"itemTex"
>
<a
class=
"name"
title =
"
<?php
echo
$value
[
'address'
];
?>
"
href=
"
<?php
echo
$value
[
'info_url'
];
?>
"
target=
"_blank"
>
<?php
echo
$value
[
'address_str'
];
?>
</a>
<a
class=
"name"
title =
"
<?php
echo
$value
[
'address'
];
?>
"
href=
"
<?php
echo
$value
[
'info_url'
];
?>
"
target=
"_blank"
>
<?php
echo
$value
[
'address_str'
];
?>
</a>
</div>
</div>
...
@@ -356,9 +361,9 @@
...
@@ -356,9 +361,9 @@
<a
class=
"bds_sqq"
></a>
<a
class=
"bds_sqq"
></a>
<a
class=
"bds_qzone"
></a>
<a
class=
"bds_qzone"
></a>
<a
class=
"bds_tsina"
></a>
<a
class=
"bds_tsina"
></a>
<!-- <a class="bds_tqq"></a>-->
<!-- <a class="bds_tqq"></a>-->
<!-- <a class="bds_renren"></a>-->
<!-- <a class="bds_renren"></a>-->
<!-- <span class="bds_more"></span>-->
<!-- <span class="bds_more"></span>-->
...
@@ -370,7 +375,7 @@
...
@@ -370,7 +375,7 @@
</script>
</script>
<?php
if
(
GB_CITY
==
'nj'
){
?>
<?php
if
(
GB_CITY
==
'nj'
){
?>
<!-- <a style="margin-left:2px;" value="-->
<?php
//echo $value['id'];?><!--" id="wx_share" class="wx_share_c" href="javascript:void(0)"><img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/weixin_tu.jpg"></a>-->
<!-- <a style="margin-left:2px;" value="-->
<?php
//echo $value['id'];?><!--" id="wx_share" class="wx_share_c" href="javascript:void(0)"><img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/weixin_tu.jpg"></a>-->
<?
php
}
?>
<?
php
}
?>
...
@@ -378,6 +383,7 @@
...
@@ -378,6 +383,7 @@
<!-- Baidu Button END -->
<!-- Baidu Button END -->
</div>
</div>
</div>
</td>
</td>
<td
class=
"td w90"
>
<td
class=
"td w90"
>
<p>
<?php
echo
date
(
'm-d H:i'
,
$value
[
'creattime'
]);
?>
</p>
<p>
<?php
echo
date
(
'm-d H:i'
,
$value
[
'creattime'
]);
?>
</p>
...
...
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