Commit 25a58da4 authored by zhangkuanguang's avatar zhangkuanguang

VR申请

parent 75417b7c
......@@ -4121,7 +4121,7 @@ class Sell extends MY_Controller {
'streetid', 'blockid', 'isreal', 'blockshowname', 'buildyear', 'buildarea',
'subfloor', 'floor', 'totalfloor', 'room', 'hall', 'toilet', 'kitchen', 'balcony',
'forward', 'price', 'averprice', 'priceterm', 'pricetype', 'fitment', 'contactor',
'telno', 'creattime', 'updatetime', 'expiretime', 'isstar', 'istag', 'nofee', 'is360', 'is_real_house');
'telno', 'creattime', 'updatetime', 'expiretime', 'isstar', 'istag', 'nofee', 'is360', 'is_real_house','vr_model_id');
$this->sell_model->set_select_fields($select_fields);
$data_info = $this->sell_model->find_all_by( $cond_where , $this->_offset ,
......@@ -7021,8 +7021,8 @@ class Sell extends MY_Controller {
echo json_encode(array('result'=>0, 'msg'=>iconv('gb2312','utf-8','您的价格过高或过低,调价失败')));
exit();
}
$this->sell_model->update(array('price'=>$new_price), $hid, $uid);
$averprice = round(10000 * $new_price / $house['buildarea'], 2);
$this->sell_model->update(array('price'=>$new_price,'averprice'=>$averprice), $hid, $uid);
echo json_encode(array('result'=>1, 'msg'=>iconv('gb2312','utf-8','调价成功')));
}
......
......@@ -282,7 +282,7 @@
<img alt="急推房源" title="急推房源" src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/new_jitui.gif" />
<?php } ?>
<?php if($value['vr_model_id'] && $value['vr_model_id'] != 'vr_id_empty') { ?>
<?php if($value['vr_model_id'] && $value['vr_model_id'] != 'vr_id_empty') { ?>
<img alt="VR房源" title="VR房源" src="http://nj.zsb.house365.com/source/zsb/images/v1.0/new_vr.png" />
<?php } ?>
......@@ -693,9 +693,9 @@
<span title="关闭" class="close close-win">&Chi;</span>
</div>
<div class="mod">
<?php if($tishi): ?>
<!-- <?php /*if($tishi): */?>
<div style="color: red;margin-left: 27px;margin-top: 10px;">国庆期间10月1-7日摄影师放假,赶快整理好需要拍的房子哦,我们10月8日恢复VR正常拍摄。如有紧急拍摄尽快约单,或请联系18662715825(客服微信:njhouse365),给您带来不便敬请谅解,祝您十一愉快!</div>
<?php endif; ?>
--><?php /*endif; */?>
<div class="vr-content">
<ul>
<li class="clearfix mb10">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment