Commit c6cfc833 authored by zhangkuanguang's avatar zhangkuanguang

芜湖放心看

parent 92540fe6
......@@ -408,7 +408,9 @@ class Sell extends MY_Controller {
//var_dump($owner->getContractType());
$data_page['ownerContractType'] = $owner->getContractType();
}
$is_open_real_house = $this->config->item('is_open_real_house');
$data_page['is_show_real'] = $is_open_real_house;
//加载模板
$this->render_publish($data_page);
}
......@@ -739,22 +741,7 @@ class Sell extends MY_Controller {
if($real_house_set>0)
{
$url_manage = $this->sell_model->find_func_url('add');
if(empty($_POST['buildingnum']) || empty($_POST['unitnum']) || empty($_POST['roomnum']) )
{
//echo "<script>alert('请先补充完整楼栋门牌信息'); history.go(-1);</script>";
//exit;
}
$this->load->model('real_house_model');
$num_real_num = $this->real_house_model->getUidRealHouseByOperate($fields_values, $uid,0);
if ($num_real_num > 0) {
//echo "<script>alert('已设置类似信息房源,请勿重复添加');history.go(-1);</script>";
//exit;
$this->jump($url_manage, '已设置类似信息房源,请勿重复添加',3000);
exit;
}
$realnum_limit =$this->broker_model->get_realnum_by_packageid($package_id);
$realHouseNum= $this->real_house_model->getUidRealHouseNum($uid);
......@@ -762,8 +749,6 @@ class Sell extends MY_Controller {
{
$this->jump($url_manage, '放心看标签数量已达上限,请先取消已勾选标签或升级您的套餐',3000);
exit;
//$this->jump($url_manage, '真房源标签数量已达上限,请先取消已勾选标签或升级您的套餐', 3000);
//exit;
}
}
......@@ -985,15 +970,17 @@ class Sell extends MY_Controller {
}
if($real_house_set==1)
{
$this->load->model('real_house_model');
//房源操作原因是添加
$this->real_house_model->insertReal_House_Set_log2($uid, $house_id, 1,1);
}
if ($house_id)
{
//设置放心看
$infotype = $fields_values['infotype'];
if(in_array($infotype,array(1,2))){
if($real_house_set){
$this->load->model('zsb_api_model');
$this->zsb_api_model->getRequrstData('setRealHouse',array('house_id'=>$house_id));
}
}
//判断房源价格是否在预警价格区间,仅对住宅类做判断
/*if ($fields_values['blockid'] && $fields_values['infotype']==1){
$_sell = $fields_values;
......@@ -2180,7 +2167,6 @@ class Sell extends MY_Controller {
$broker_info =$this->broker_model->get_broker_info();
$data_page['broker_starlevel'] = $broker_info['starlevel'];
$data_page['real_status'] = $broker_info['real_status'];
//当天发布共获得多少成长值
$growthExpDayCount = new GrowthExpDayCount();
......@@ -2231,13 +2217,17 @@ class Sell extends MY_Controller {
$packageId = $this->user_arr['package_id'];
$realNumLimit =$this->broker_model->get_realnum_by_packageid($packageId);
$data_page['realNumLimit'] = $realNumLimit; //套餐可发真房源数量
$is_open_real_house = $this->config->item('is_open_real_house');
$realHouseNum = $this->real_house_model->getUidRealHouseNum($uid);
$infotype = $house_detail['infotype'];
$is_show_real = 0;
if($is_open_real_house && $realNumLimit >0 && $realHouseNum <=$realNumLimit && in_array($infotype,array(1,2))){
$is_show_real = 1;
}
$data_page['is_show_real'] = $is_show_real;
$this->load->model('real_house_model');
$data_page['realHouseNum']= $this->real_house_model->getUidRealHouseNum($uid); //经纪人 已发真房源数量
$data_page['balance']= $this->real_house_model->getBrokerRealHouseMoney($uid);//经纪人账号余额
// print_r($data_page);die;
$this->render_publish($data_page);
}
......@@ -2607,23 +2597,6 @@ class Sell extends MY_Controller {
if($real_house_set>0)
{
if(empty($_POST['buildingnum']) || empty($_POST['unitnum']) || empty($_POST['roomnum']) )
{
//echo "<script>alert('请先补充完整楼栋门牌信息'); location.replace('/sell/modify/$house_id/');</script>";
//echo "<script>alert('请先补充完整楼栋门牌信息'); history.go(-1);</script>";
//exit;
}
$this->load->model('real_house_model');
$fields_values['blockid'] =$blockid;
$num_real_num = $this->real_house_model->getUidRealHouseByOperate($fields_values, $uid,$house_id);
if ($num_real_num > 0) {
$this->jump($url_manage, '已设置类似信息房源,请勿重复添加', 3000);
exit;
//$this->jump($url_manage, '已设置类似信息房源,请勿重复添加', 3000);
//exit;
}
$realnum_limit =$this->broker_model->get_realnum_by_packageid($package_id);
$realHouseNum= $this->real_house_model->getUidRealHouseNumExceptId($uid,$house_id);
......@@ -2637,25 +2610,20 @@ class Sell extends MY_Controller {
}
$this->load->model('real_house_model');
//取消vr绑定关系
$this->real_house_model->real_vr_option($uid,$house_id,$real_house_set,1);
$fields_values['is_real_house'] = $real_house_set;
$isRealHouse =$this->real_house_model->getInfoByRowid($house_id);
$isRealHouseNew =$this->real_house_model->get_real_house_sell_info($house_id);
//print_r($isRealHouseNew[0]['is_real_house']);die;
//操作原因
$this->load->model('zsb_api_model');
if(($isRealHouseNew[0]['is_real_house']==0) && $real_house_set==1) {
$this->real_house_model->insertReal_House_Set_log2($uid, $house_id, 1, 1);
$this->zsb_api_model->getRequrstData('setRealHouse',array('house_id'=>$house_id));
}elseif(($isRealHouseNew[0]['is_real_house']==1) && $real_house_set==0)
{
$this->real_house_model->insertReal_House_Set_log2($uid, $house_id, 0,2);
$this->zsb_api_model->getRequrstData('cancleRealHouse',array('house_id'=>$house_id));
}
$fields_values['buildingnum'] =$this->input->post('buildingnum', true);
$fields_values['unitnum'] =$this->input->post('unitnum', true);
$fields_values['roomnum'] =$this->input->post('roomnum', true);
......
......@@ -641,14 +641,14 @@ class real_house_model extends MY_Model
public function getUidRealHouseNum($uid)
{
$sql = "SELECT id FROM sell where uid='$uid' and esta = 1 and is_real_house = 1";
$result = $this->dbback->query($sql);
$result = $this->db->query($sql);
return $result->num_rows;
}
public function getUidRealHouseNumExceptId($uid,$house_id)
{
$sql = "SELECT id FROM sell where uid='$uid' and is_real_house = 1 and id!=$house_id";
$result = $this->dbback->query($sql);
$sql = "SELECT id FROM sell where uid='$uid' and is_real_house = 1 and id !={$house_id}";
$result = $this->db->query($sql);
return $result->num_rows;
}
......
<?php
header('Content-Type:text/html;charset=GB2312');
if (isset($infotype)) {
if (!isset($house_detail['baseservice'])) {
$house_detail['baseservice'] = '';
}
if ($infotype == 1) {
//基础设施
$baseservice = array(
'管道煤气', '暖气', '电梯', '车位',
'花园', '地下室', '阁楼', '露台', '阳光房'
);
} else if ($infotype == 2) {
$baseservice = array(
'管道煤气', '暖气', '电梯', '车位',
'花园', '地下室', '阁楼', '露台', '阳光房',
'游泳池'
);
//别墅类型
if (!isset($house_detail['housekind'])) {
$house_detail['housekind'] = '';
}
} else if ($infotype == 3 || $infotype == 4) {
$baseservice = array(
'管道煤气', '暖气', '电梯', '车位',
'卫生间'
);
if ($infotype == 3) {
//商业类型
$tradeclass = array('甲级', '乙级', '丙级');
} else {
$tradeclass = array('住宅底商', '连家店', '商业街商铺', '购物中心/百货');
}
//物业费
if (!isset($house_detail['strata_fee'])) {
$house_detail['strata_fee'] = '';
} else {
$house_detail['strata_fee'] = floatval($house_detail['strata_fee']);
}
if (!isset($house_detail['tradeclass'])) {
$house_detail['tradeclass'] = '';
}
} else if ($infotype == 5) {
$baseservice = array(
'管道煤气', '暖气', '电梯', '车位',
'卫生间'
);
}
?>
if (!isset($house_detail['baseservice'])) {
$house_detail['baseservice'] = '';
}
if ($infotype == 1) {
//基础设施
$baseservice = array(
'管道煤气', '暖气', '电梯', '车位',
'花园', '地下室', '阁楼', '露台', '阳光房'
);
} else if ($infotype == 2) {
$baseservice = array(
'管道煤气', '暖气', '电梯', '车位',
'花园', '地下室', '阁楼', '露台', '阳光房',
'游泳池'
);
//别墅类型
if (!isset($house_detail['housekind'])) {
$house_detail['housekind'] = '';
}
} else if ($infotype == 3 || $infotype == 4) {
$baseservice = array(
'管道煤气', '暖气', '电梯', '车位',
'卫生间'
);
if ($infotype == 3) {
//商业类型
$tradeclass = array('甲级', '乙级', '丙级');
} else {
$tradeclass = array('住宅底商', '连家店', '商业街商铺', '购物中心/百货');
}
//物业费
if (!isset($house_detail['strata_fee'])) {
$house_detail['strata_fee'] = '';
} else {
$house_detail['strata_fee'] = floatval($house_detail['strata_fee']);
}
if (!isset($house_detail['tradeclass'])) {
$house_detail['tradeclass'] = '';
}
} else if ($infotype == 5) {
$baseservice = array(
'管道煤气', '暖气', '电梯', '车位',
'卫生间'
);
}
?>
<!--补充信息 开始-->
<div class="branchCommon radius5 " id="js_bcxx" style="margin:0;">
<div class="hd ">
<h3 class="h3">补充信息</h3>
<?php
// 真房源逻辑: 1. nj && 真房源数量 <= 最大真房源数 && 住宅类型的房源 && 放心看状态
// 2. 新增 || 修改 && 真房源标识 && 区域覆盖
// edit by : wmc$infotype
if($_SERVER['HTTP_HOST']=='nj.zsb.house365.com' && isset($real_status) && $real_status && isset($realHouseNum) && isset($realNumLimit) && $realNumLimit >0 && $realHouseNum <=$realNumLimit && (!$infotype || $infotype <= 2)){?>
<?php if(
in_array($house_detail['district'],array('建邺区','雨花台区','秦淮区','栖霞区','鼓楼区','玄武区','江宁区','浦口区'))
){ ?>
<div class="fgInput zsbnum4 fxk" <?php if(!isset($house_detail['id'])){?> style="display: none;" <?php }?> >
<?php if($is_show_real){?>
<?php if(!$house_detail['id']): ?>
<div class="fgInput zsbnum4 fxk" >
<label for="jsAllcheckbox" class="textFg3 textFg5">
<input id="jsAllcheckbox" name="real_house_set" class="input_c" type="checkbox" value=0>
<span class="tex">放心看</span>
</label>
</div>
<?php else: ?>
<div class="fgInput zsbnum4 fxk" style="display: none;" >
<label for="jsAllcheckbox" class="textFg3 textFg5">
<input id="jsAllcheckbox" name="real_house_set" class="input_c" type="checkbox" value=<?php echo $house_detail['is_real_house'];?> <?php if($house_detail['is_real_house']==1){?>checked<?php }?>>
<span class="tex">放心看</span>
</label>
</div>
<?php }?>
<?php if(!$house_detail['id']): ?>
<div class="fgInput zsbnum4 fxk" >
<label for="jsAllcheckbox" class="textFg3 textFg5">
<input id="jsAllcheckbox" name="real_house_set" class="input_c" type="checkbox" value=0>
<span class="tex">放心看</span>
</label>
</div>
<?php endif;?>
<?php endif;?>
<?php }?>
<!--<div class="fgInput zsbnum_4 fxk">
<a target="_blank" href="http://zsb.house365.com/help/nj/?p=1373">放心看规则说明</a>
</div>-->
<?php }?>
<div id="jsStitle" class="funSZ">
<p class="jsSQ funSZInner" title="收起" style="display: block;">收起</p>
......@@ -92,95 +82,95 @@ if (isset($infotype)) {
<div class="modInner" >
<div class="forms clearfix">
<dl class="list zsbnum clearfix fl">
<?php if ($infotype == 6) { ?>
<dd class="list_item clearfix" id="buildyearShow1">
<div style="height:29px;">
<label class="label">建筑年代:</label>
<div class="fields nameInput ">
<div class="fgInput jsNameInput jsFgInput">
<label for="jsNameInputN" class="labelPrev labelPrevN jslabelPrev">格式:2010</label>
<?php
if (!isset($house_detail['buildyear'])) {
$house_detail['buildyear'] = '';
}
if (intval($house_detail['buildyear']) <= 1000) {
$house_detail['buildyear'] = '';
}
?>
<input type="text" class="input_text w215" id="jsNameInputN" name="buildyear1" value="<?= $house_detail['buildyear'] ?>" />
<?php if ($infotype == 6) { ?>
<dd class="list_item clearfix" id="buildyearShow1">
<div style="height:29px;">
<label class="label">建筑年代:</label>
<div class="fields nameInput ">
<div class="fgInput jsNameInput jsFgInput">
<label for="jsNameInputN" class="labelPrev labelPrevN jslabelPrev">格式:2010</label>
<?php
if (!isset($house_detail['buildyear'])) {
$house_detail['buildyear'] = '';
}
if (intval($house_detail['buildyear']) <= 1000) {
$house_detail['buildyear'] = '';
}
?>
<input type="text" class="input_text w215" id="jsNameInputN" name="buildyear1" value="<?= $house_detail['buildyear'] ?>" />
</div>
<p class="textFg"></p>
<!--<div class="fgInput textFgErroy"></div>-->
</div>
<p class="textFg"></p>
<!--<div class="fgInput textFgErroy"></div>-->
</div>
</div>
</dd>
<?php } ?>
</dd>
<?php } ?>
<!--类型选择别墅显示-->
<?php if ($infotype == 2) { ?>
<dd class="list_item clearfix">
<div style="height:29px;">
<label class="label">别墅类型:</label>
<div class="fields">
<div class="fgInput jsFgInput">
<div class="imitateSelect">
<label class="labelImitate">选择别墅类型</label>
<input type="text" readonly="" value="<?php echo $house_detail['housekind']; ?>" name="housekind" class="imitate imitateIe" style="width:210px">
<div class="listImitate zsbbieshu" style="display: none;">
<dl class="inner">
<?php foreach ($house['villatype'] as $v) { ?>
<dd><a href="#" class="link"><?= $v ?></a></dd>
<?php } ?>
</dl>
<?php if ($infotype == 2) { ?>
<dd class="list_item clearfix">
<div style="height:29px;">
<label class="label">别墅类型:</label>
<div class="fields">
<div class="fgInput jsFgInput">
<div class="imitateSelect">
<label class="labelImitate">选择别墅类型</label>
<input type="text" readonly="" value="<?php echo $house_detail['housekind']; ?>" name="housekind" class="imitate imitateIe" style="width:210px">
<div class="listImitate zsbbieshu" style="display: none;">
<dl class="inner">
<?php foreach ($house['villatype'] as $v) { ?>
<dd><a href="#" class="link"><?= $v ?></a></dd>
<?php } ?>
</dl>
</div>
</div>
</div>
</div>
<!--<div class="fgInput textFgErroy"></div>-->
<!--<div class="fgInput textFgErroy"></div>-->
</div>
</div>
</div>
</dd>
<?php } ?>
<?php if ($infotype == 3 || $infotype == 4) { ?>
<dd class="list_item clearfix">
<div style="height:29px;">
<label class="label">商业分类:</label>
<div class="fields">
<div class="fgInput jsFgInput">
<div class="imitateSelect">
<label class="labelImitate">选择商业分类</label>
<?php if ($infotype == 3) { ?>
<input type="text" readonly="" value="<?= $house_detail['tradeclass'] ?>" name="tradeclass" class="imitate imitateIe" style="width: 210px;">
<div class="listImitate">
<dl class="inner">
<?php foreach ($tradeclass as $v) { ?>
<dd><a href="#" class="link"><?= $v ?></a></dd>
<?php } ?>
</dl>
</div>
<?php } else {?>
<input type="text" readonly="" value="<?= $house_detail['housekind'] ?>" name="housekind" class="imitate imitateIe" style="width: 210px;">
<div class="listImitate">
<dl class="inner">
<?php foreach ($tradeclass as $v) { ?>
<dd><a href="#" class="link"><?= $v ?></a></dd>
<?php } ?>
</dl>
</dd>
<?php } ?>
<?php if ($infotype == 3 || $infotype == 4) { ?>
<dd class="list_item clearfix">
<div style="height:29px;">
<label class="label">商业分类:</label>
<div class="fields">
<div class="fgInput jsFgInput">
<div class="imitateSelect">
<label class="labelImitate">选择商业分类</label>
<?php if ($infotype == 3) { ?>
<input type="text" readonly="" value="<?= $house_detail['tradeclass'] ?>" name="tradeclass" class="imitate imitateIe" style="width: 210px;">
<div class="listImitate">
<dl class="inner">
<?php foreach ($tradeclass as $v) { ?>
<dd><a href="#" class="link"><?= $v ?></a></dd>
<?php } ?>
</dl>
</div>
<?php } else {?>
<input type="text" readonly="" value="<?= $house_detail['housekind'] ?>" name="housekind" class="imitate imitateIe" style="width: 210px;">
<div class="listImitate">
<dl class="inner">
<?php foreach ($tradeclass as $v) { ?>
<dd><a href="#" class="link"><?= $v ?></a></dd>
<?php } ?>
</dl>
</div>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
<!--<div class="fgInput textFgErroy"></div>-->
<!--<div class="fgInput textFgErroy"></div>-->
</div>
</div>
</div>
</dd>
<?php } ?>
</dd>
<?php } ?>
<?php
//暂时不需要,先注释,防止以后释放
if (/**$infotype != 6**/ false) { ?>
<dd class="list_item clearfix">
<div style="height:29px;">
<?php
//暂时不需要,先注释,防止以后释放
if (/**$infotype != 6**/ false) { ?>
<dd class="list_item clearfix">
<div style="height:29px;">
<label class="label">基础设施:</label>
<div class="fields" id="jsCheckboxBox">
<div class="fgInput">
......@@ -188,30 +178,30 @@ if (isset($infotype)) {
<input id="jsAllcheckbox" class="input_c" type="checkbox" />
<span class="tex">全选</span></label>
</div>
<?php foreach ($baseservice as $v) { ?>
<div class="fgInput">
<label class="textFg3 textFg5">
<input class="input_c" type="checkbox" name="baseservice[]" value="<?= $v ?>"
<?php
if (in_array($v, explode(',', $house_detail['baseservice']))) {
echo "checked";
}
?>/>
<span class="tex">
<?php foreach ($baseservice as $v) { ?>
<div class="fgInput">
<label class="textFg3 textFg5">
<input class="input_c" type="checkbox" name="baseservice[]" value="<?= $v ?>"
<?php
if (in_array($v, explode(',', $house_detail['baseservice']))) {
echo "checked";
}
?>/>
<span class="tex">
<?php
if ($v == '管道煤气') {
$v = '煤气/天然气';
$v = '煤气/天然气';
}
echo $v;
?>
</span>
</label>
</div>
<?php } ?>
</label>
</div>
<?php } ?>
</div>
</div>
</dd>
<?php } ?>
</div>
</dd>
<?php } ?>
<dd class="list_item clearfix">
<div style="height:29px;">
<label class="label">内部编号:</label>
......@@ -220,11 +210,11 @@ if (isset($infotype)) {
<div class="fields nameInput">
<div class="fgInput jsNameInput jsFgInput">
<label for="ownid" class="labelPrev labelPrevN jslabelPrev"></label>
<?php
if (!isset($house_detail['ownid'])) {
$house_detail['ownid'] = '';
}
?>
<?php
if (!isset($house_detail['ownid'])) {
$house_detail['ownid'] = '';
}
?>
<input type="text" id="ownid" name="ownid" class="input_text w215" value="<?php echo $house_detail['ownid']; ?>" />
</div>
......@@ -233,7 +223,7 @@ if (isset($infotype)) {
</div>
</div>
</div>
</div>
</dd>
......@@ -254,7 +244,7 @@ if (isset($infotype)) {
<dl class="list clearfix zsbnum fl">
<?php if ($infotype == 3 || $infotype == 4) { ?>
<?php if ($infotype == 3 || $infotype == 4) { ?>
<dd class="list_item clearfix">
<div style="height:29px;">
<label class="label">物业费:</label>
......@@ -267,7 +257,7 @@ if (isset($infotype)) {
</div>
</div>
</dd>
<?php } ?>
<?php } ?>
......@@ -296,11 +286,11 @@ if (isset($infotype)) {
<div class="zsbnum1" id="jsPicPreviewBoxM10" style="display: none">
<div id="thumbnails10" class="cf">
<?php if(!empty($p_filename_real)){?>
<?php foreach($p_filename_real as $key =>$rs){?>
<div class="housepic"><img width="130" height="100" alt="" src="<?php echo $rs['filename'];?>"><input type="hidden" name="p_filename_real[]" value="<?php echo $rs['filename'];?>"><div class="funMtext"><div imagesrc="<?php echo $rs['filename'];?>" class="delBtn" id="<?php echo $key;?>" title="删除"></div></div></div>
<?php }?>
<?php }?>
<?php if(!empty($p_filename_real)){?>
<?php foreach($p_filename_real as $key =>$rs){?>
<div class="housepic"><img width="130" height="100" alt="" src="<?php echo $rs['filename'];?>"><input type="hidden" name="p_filename_real[]" value="<?php echo $rs['filename'];?>"><div class="funMtext"><div imagesrc="<?php echo $rs['filename'];?>" class="delBtn" id="<?php echo $key;?>" title="删除"></div></div></div>
<?php }?>
<?php }?>
......@@ -315,7 +305,7 @@ if (isset($infotype)) {
</div>
</div>
</div></div>
<?php } ?>
<?php } ?>
<script type="text/javascript" >
//收起 展开 jsStitle jsSmod
function funSZ(hd, mod) {
......@@ -332,31 +322,11 @@ if (isset($infotype)) {
funSZ("jsPicDepotSZBtn", "jsPicDepotSZMod")
funSZ("jsPicDepotSZBtn2", "jsPicDepotSZMod2")
//补充信息全选
$("#jsAllcheckbox").click(function() {
if ($(this).attr("checked") == false || $(this).attr("checked") == undefined)
{
$("#jsAllcheckbox").val(0);
$("#jsCheckboxBox").find(".input_c").attr("checked", false)
}
else
{
$("input[type='checkbox']").attr('checked',false)
$("#dialogSaveDiv3").html("为避免您的放心看保证金受损,请您仔细核对并确认该套房源当前是否可售可看、价格是否为业主最新报价、房源信息填写是否准确(面积、税费、楼层、朝向、装修)、房源标题及描述与房源基本信息是否一致、房源图片及户型图与实际是否一致。");
openWin("dialog_rest");
}
})
</script>
<script type='text/javascript'>
function do_action() {
$("input[type='checkbox']").attr('checked',true);
......@@ -372,14 +342,14 @@ if (isset($infotype)) {
//模拟Select
$(".imitateSelect").find(".link").live("click", function() {
$(this).addClass("linkOn").parent("dd")
.siblings("dd").find(".link").removeClass("linkOn");
.siblings("dd").find(".link").removeClass("linkOn");
if ($(this).attr("oid"))
{
$(this).parents(".listImitate").siblings(".labelImitate").hide()
.siblings(".jsImitateHidden").val($(this).attr("oid")).focus();
.siblings(".jsImitateHidden").val($(this).attr("oid")).focus();
}
$(this).parents(".listImitate").siblings(".labelImitate").hide()
.siblings(".imitate").val($(this).text()).focus();
.siblings(".imitate").val($(this).text()).focus();
$(this).parents(".listImitate").hide();
return false;
})
......
......@@ -1496,9 +1496,10 @@ function change_nofee( rowid , secret_key)
function set_real(rowid,type) {
if(type == 1){
layer.confirm('设置放心看?', {
layer.confirm('为避免您的放心看保证金受损,请您仔细核对并确认该套房源当前是否可售可看、价格是否为业主最新报价、房源信息填写是否准确(面积、税费、楼层、朝向、装修)、房源标题及描述与房源基本信息是否一致、房源图片及户型图与实际是否一致。', {
btn: ['设置','取消'], //按钮
title:'放心看',
skin: 'layer-skin-theme'
}, function(){
change_real(rowid);
});
......@@ -1508,6 +1509,7 @@ function set_real(rowid,type) {
layer.confirm('取消放心看?', {
btn: ['确定','取消'], //按钮
title:'放心看',
skin: 'layer-skin-theme'
}, function(){
cancle_real(rowid);
});
......@@ -1569,6 +1571,7 @@ function waringOpen(msg) {
})
}
</script>
......
......@@ -6,85 +6,85 @@
<div class="titleTab">
<div class="titleTabB clearfix">
<dl class="list">
<?php
if (isset($house_detail['infotype']) && $house_detail['infotype'] != '') {
$infotype = $house_detail['infotype'];
} else {
$infotype = 1;
}
foreach ($house['infotype'] as $k => $v) {
$select_infotype = '';
if ($k == $infotype) {
$select_infotype = 'itemOn';
}
//判断可发布的房源类型
if (!in_array($k, $allow_publish_infotype)) {
continue;
}
?>
<dd id="<?=$k?>" class="item <?=$select_infotype?>">
<a class="link" href="####" id="<?=$k?>"> <?=$v?></a>
</dd>
<?php } ?>
<?php
if (isset($house_detail['infotype']) && $house_detail['infotype'] != '') {
$infotype = $house_detail['infotype'];
} else {
$infotype = 1;
}
foreach ($house['infotype'] as $k => $v) {
$select_infotype = '';
if ($k == $infotype) {
$select_infotype = 'itemOn';
}
//判断可发布的房源类型
if (!in_array($k, $allow_publish_infotype)) {
continue;
}
?>
<dd id="<?=$k?>" class="item <?=$select_infotype?>">
<a class="link" href="####" id="<?=$k?>"> <?=$v?></a>
</dd>
<?php } ?>
</dl>
</div>
</div>
</div>
<!--头部 tab 结束-->
<!--房源模板 开始-->
<?php
if ($method == 'add')
{
if (isset($template_num) && $template_num > 0)
{
?>
<div class="branchCommon radius5 " style="zoom:1;" id="js_fymb" >
<div class="hd ">
<h3 class="h3">房源模板</h3>
<p class="text">还可保存<strong class="strong"><?= $remain_num ?></strong>套模板</p>
<p class="more"><a class="link" target="_blank" href="<?= $url_template_manage ?>">编辑&gt;&gt;</a></p>
</div>
<div class="mod">
<div class="modInner" >
<div class="jsTemplateBox templateBox clearfix">
<?php
if (is_array($template_list) && !empty($template_list))
{
foreach ($template_list as $value)
{
?>
<p class="item radius4" id="muban" ids="<?= $value['id'] ?>">
<?= $value['template_name'] ?>
</p>
<?php }
} ?>
<?php
if ($method == 'add')
{
if (isset($template_num) && $template_num > 0)
{
?>
<div class="branchCommon radius5 " style="zoom:1;" id="js_fymb" >
<div class="hd ">
<h3 class="h3">房源模板</h3>
<p class="text">还可保存<strong class="strong"><?= $remain_num ?></strong>套模板</p>
<p class="more"><a class="link" target="_blank" href="<?= $url_template_manage ?>">编辑&gt;&gt;</a></p>
</div>
<div class="mod">
<div class="modInner" >
<div class="jsTemplateBox templateBox clearfix">
<?php
if (is_array($template_list) && !empty($template_list))
{
foreach ($template_list as $value)
{
?>
<p class="item radius4" id="muban" ids="<?= $value['id'] ?>">
<?= $value['template_name'] ?>
</p>
<?php }
} ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php } else { ?>
<div class="branchCommon radius5 " id="js_fymb">
<div class="hd ">
<h3 class="h3">房源模板</h3>
<p class="more"><a class="link" href="<?= $url_template_manage ?>" target="_blank">编辑&gt;&gt;</a></p>
</div>
<div class="mod">
<div class="modInner">
<div class="modInnerNone"><span class="text">您还没有保存出售房源模板</span><a class="link" href="<?= $url_template_manage ?>" target="_blank">快去添加吧&gt;&gt;</a></div>
<?php } else { ?>
<div class="branchCommon radius5 " id="js_fymb">
<div class="hd ">
<h3 class="h3">房源模板</h3>
<p class="more"><a class="link" href="<?= $url_template_manage ?>" target="_blank">编辑&gt;&gt;</a></p>
</div>
<div class="mod">
<div class="modInner">
<div class="modInnerNone"><span class="text">您还没有保存出售房源模板</span><a class="link" href="<?= $url_template_manage ?>" target="_blank">快去添加吧&gt;&gt;</a></div>
</div>
</div>
</div>
<?php } } ?>
<?php if($house['broker_new_info'][0]['starlevel']>=5){?>
<div class="add_new_sata_title" id="add_new_sata_title">
恭喜您,目前您已是最高星级5星!
</div>
</div>
<?php } } ?>
<?php if($house['broker_new_info'][0]['starlevel']>=5){?>
<div class="add_new_sata_title" id="add_new_sata_title">
恭喜您,目前您已是最高星级5星!
</div>
<?php } else {?>
<div class="add_new_sata_title" id="add_new_sata_title">
剩余<?php if($house['broker_new_info'][0]['distance_month']) {?><?php echo $house['broker_new_info'][0]['distance_month'];?><?php }?><?php if($house['broker_new_info'][0]['distance_days']) {?><?php echo $house['broker_new_info'][0]['distance_days'];?><?php }?>无违规记录,将升为<?php if($house['broker_new_info'][0]['starlevel']==5) {?><?php echo $house['broker_new_info'][0]['starlevel'];?><?php } else {?><?php echo $house['broker_new_info'][0]['starlevel']+1;?><?php }?>星!
</div>
<?php } ?>
<div class="add_new_sata_title" id="add_new_sata_title">
剩余<?php if($house['broker_new_info'][0]['distance_month']) {?><?php echo $house['broker_new_info'][0]['distance_month'];?><?php }?><?php if($house['broker_new_info'][0]['distance_days']) {?><?php echo $house['broker_new_info'][0]['distance_days'];?><?php }?>无违规记录,将升为<?php if($house['broker_new_info'][0]['starlevel']==5) {?><?php echo $house['broker_new_info'][0]['starlevel'];?><?php } else {?><?php echo $house['broker_new_info'][0]['starlevel']+1;?><?php }?>星!
</div>
<?php } ?>
<form action="<?= $url_house_submit ?>" id="jsForm_sell" method="post">
<input type="hidden" name="infotype" value="<?=$infotype?>">
<!--基本信息 开始-->
......@@ -101,20 +101,20 @@
<label class="label">小区:</label>
<div class="fields nameInput jsNameInput">
<div class="fgInput jsFgInput">
<?php
if (!isset($house_detail['block']['blockname'])) {
$house_detail['block']['blockname'] = '';
}
if (!isset($house_detail['block']['blockid'])) {
$house_detail['block']['blockid'] = '';
}
?>
<?php
if (!isset($house_detail['block']['blockname'])) {
$house_detail['block']['blockname'] = '';
}
if (!isset($house_detail['block']['blockid'])) {
$house_detail['block']['blockid'] = '';
}
?>
<label class="labelPrev jslabelPrev" for="blockshowname" id="jsLabelBlockshowname">输入小区名称 从下拉列表中选择</label>
<input type="text" class="input_text ui-autocomplete-input w205
<?php if($method=='modify'){ echo 'readonly_input_text';} ?>"
<?php if($method!='modify'){echo 'id="blockshowname"';} ?> name="blockshowname"
<?php if($method!='modify'){echo 'id="blockshowname"';} ?> name="blockshowname"
value="<?php echo $house_detail['block']['blockname']; ?>"
<?php if($method=='modify'){ echo 'readonly';} ?>/>
<?php if($method=='modify'){ echo 'readonly';} ?>/>
<input type="hidden" name="block_id" id="block_id" value="<?=$house_detail['block']['blockid']?>">
</div>
<div class="fgInput blockPBox" style="display:none;">
......@@ -131,20 +131,20 @@
</div>
</dd>
<!---->
<?php
if (!isset($house_detail['block']['district'])) {
$house_detail['block']['district'] = '';
}
if (!isset($house_detail['block']['streetid'])) {
$house_detail['block']['streetid'] = '';
}
if (!isset($house_detail['block']['streetname'])) {
$house_detail['block']['streetname'] = '';
}
if (!isset($house_detail['block']['address'])) {
$house_detail['block']['address'] = '';
}
?>
<?php
if (!isset($house_detail['block']['district'])) {
$house_detail['block']['district'] = '';
}
if (!isset($house_detail['block']['streetid'])) {
$house_detail['block']['streetid'] = '';
}
if (!isset($house_detail['block']['streetname'])) {
$house_detail['block']['streetname'] = '';
}
if (!isset($house_detail['block']['address'])) {
$house_detail['block']['address'] = '';
}
?>
<dd class="list_item clearfix">
<label class="label">地址:</label>
<div class="fields">
......@@ -162,27 +162,27 @@
</div>
</div>
</dd>
<?php if (isset($method) && $method == 'modify') {?>
<script>
$(function() {
<?php if ($house_detail['block']['blockid'] != 0){?>
showblockinfo("<?=$house_detail['block']['averprice']?>",
"<?=$house_detail['block']['address']?>", "<?=$house_detail['block']['esta_block']?>",
"<?=$house_detail['block']['url_block']?>");
<? } ?>
});
</script>
<?php } ?>
<?php
if (!isset($house_detail['housekind'])) {
$house_detail['housekind'] = '';
}
if ($infotype == 6) {
$housekind_display = 'block';
} else {
$housekind_display = 'none';
}
?>
<?php if (isset($method) && $method == 'modify') {?>
<script>
$(function() {
<?php if ($house_detail['block']['blockid'] != 0){?>
showblockinfo("<?=$house_detail['block']['averprice']?>",
"<?=$house_detail['block']['address']?>", "<?=$house_detail['block']['esta_block']?>",
"<?=$house_detail['block']['url_block']?>");
<? } ?>
});
</script>
<?php } ?>
<?php
if (!isset($house_detail['housekind'])) {
$house_detail['housekind'] = '';
}
if ($infotype == 6) {
$housekind_display = 'block';
} else {
$housekind_display = 'none';
}
?>
<dd class="list_item clearfix" id="housekindShow" style="display:<?=$housekind_display?>;">
<label class="label">车位属性:</label>
<div class="fields">
......@@ -192,7 +192,7 @@
<input type="text" class="imitate imitateIe" readonly="" name="housekindname" value="<?=$house_detail['housekind']?>">
<div class="listImitate">
<dl class="inner">
<?= get_attr_select($house['housekindname'])?>
<?= get_attr_select($house['housekindname'])?>
</dl>
</div>
</div>
......@@ -200,20 +200,20 @@
<div class="fgInput textFgErroy"><!--jsFgInput--></div>
</div>
</dd>
<?php
if (!isset($house_detail['price'])) {
$house_detail['price'] = '';
}
if (!isset($house_detail['price'])) {
$house_detail['price'] = '';
}
if (!isset($house_detail['priceterm'])) {
$house_detail['priceterm'] = '';
$house_detail['priceterm_name'] = '';
} else {
$house_detail['priceterm_name'] = $house['priceterm'][$house_detail['priceterm']];
}
?>
<?php
if (!isset($house_detail['price'])) {
$house_detail['price'] = '';
}
if (!isset($house_detail['price'])) {
$house_detail['price'] = '';
}
if (!isset($house_detail['priceterm'])) {
$house_detail['priceterm'] = '';
$house_detail['priceterm_name'] = '';
} else {
$house_detail['priceterm_name'] = $house['priceterm'][$house_detail['priceterm']];
}
?>
<dd class="list_item clearfix">
<label class="label">售价:</label>
<div class="fields">
......@@ -228,20 +228,20 @@
<input name="priceterm" class="jsImitateHidden" type="hidden" value="<?=$house_detail['priceterm']?>">
<div class="listImitate">
<dl class="inner">
<?= get_attr_select($house['priceterm'])?>
<?= get_attr_select($house['priceterm'])?>
</dl>
</div>
</div>
</div>
<p class="textFg textFg2">&nbsp;</p>
<?php
if (!isset($house_detail['pricetype'])) {
$house_detail['pricetype'] = '';
$house_detail['pricetypename'] = '';
} else {
$house_detail['pricetypename'] = $house['pricetype'][$house_detail['pricetype']];
}
?>
<?php
if (!isset($house_detail['pricetype'])) {
$house_detail['pricetype'] = '';
$house_detail['pricetypename'] = '';
} else {
$house_detail['pricetypename'] = $house['pricetype'][$house_detail['pricetype']];
}
?>
<div class="fgInput jsFgInput">
<div class="imitateSelect">
<label class="labelImitate" >有无增值税</label>
......@@ -249,23 +249,23 @@
<input name="pricetype" class="jsImitateHidden" type="hidden" value="<?=$house_detail['pricetype']?>">
<div class="listImitate">
<dl class="inner">
<?= get_attr_select($house['pricetype'])?>
<?= get_attr_select($house['pricetype'])?>
</dl>
</div>
</div>
</div>
<!-- 添加个税属性2015-5-27 zhou start -->
<p class="textFg textFg2">&nbsp;</p>
<!-- 添加个税属性2015-5-27 zhou start -->
<p class="textFg textFg2">&nbsp;</p>
<?php
if (!isset($house_detail['taxonlytype'])) {
$house_detail['taxonlytype'] = '';
$house_detail['taxonlytypename'] = '';
} else {
$house_detail['taxonlytypename'] = $house['taxonlytype'][$house_detail['taxonlytype']];
}
?>
if (!isset($house_detail['taxonlytype'])) {
$house_detail['taxonlytype'] = '';
$house_detail['taxonlytypename'] = '';
} else {
$house_detail['taxonlytypename'] = $house['taxonlytype'][$house_detail['taxonlytype']];
}
?>
<div class="fgInput jsFgInput">
<div class="imitateSelect">
<label class="labelImitate">有无个税</label>
......@@ -273,24 +273,24 @@
<input name="taxonlytype" class="jsImitateHidden" type="hidden" value="<?=$house_detail['taxonlytype']?>">
<div class="listImitate">
<dl class="inner">
<?= get_attr_select($house['taxonlytype'])?>
<?= get_attr_select($house['taxonlytype'])?>
</dl>
</div>
</div>
</div>
<!-- 添加个税属性2015-5-27 zhou end -->
<!-- 添加个税属性2015-5-27 zhou end -->
<div class="fgInput textFgErroy" id="lastname"></div>
</div>
</dd>
<!---->
<?php
if (!isset($house_detail['buildarea'])) {
$house_detail['buildarea'] = '';
}
?>
<?php
if (!isset($house_detail['buildarea'])) {
$house_detail['buildarea'] = '';
}
?>
<dd class="list_item clearfix">
<label class="label">产证面积:</label>
<div class="fields">
......@@ -301,22 +301,22 @@
<div class="textFg textFgErroy" style="width:230px;"></div>
</div>
</dd>
<?php
if ($infotype == 1 || $infotype == 2) {
if (!isset($house_detail['room'])) {
$house_detail['room'] = '';
}
if (!isset($house_detail['hall'])) {
$house_detail['hall'] = '';
}
if (!isset($house_detail['toilet'])) {
$house_detail['toilet'] = '';
}
$roomshowcss = 'display:block;';
} else {
$roomshowcss = 'display:none;';
}
?>
<?php
if ($infotype == 1 || $infotype == 2) {
if (!isset($house_detail['room'])) {
$house_detail['room'] = '';
}
if (!isset($house_detail['hall'])) {
$house_detail['hall'] = '';
}
if (!isset($house_detail['toilet'])) {
$house_detail['toilet'] = '';
}
$roomshowcss = 'display:block;';
} else {
$roomshowcss = 'display:none;';
}
?>
<dd class="list_item clearfix" id="roomshow" style="<?=$roomshowcss?>">
<label class="label">户型:</label>
<div class="fields">
......@@ -336,22 +336,22 @@
</div>
</dd>
<!---->
<?php
if ($infotype == 6) {
$floorshow = "display:none;";
} else {
if (!isset($house_detail['subfloor'])) {
$house_detail['subfloor'] = '';
}
if (!isset($house_detail['floor'])) {
$house_detail['floor'] = '';
}
if (!isset($house_detail['totalfloor'])) {
$house_detail['totalfloor'] = '';
}
$floorshow = "display:block;";
}
?>
<?php
if ($infotype == 6) {
$floorshow = "display:none;";
} else {
if (!isset($house_detail['subfloor'])) {
$house_detail['subfloor'] = '';
}
if (!isset($house_detail['floor'])) {
$house_detail['floor'] = '';
}
if (!isset($house_detail['totalfloor'])) {
$house_detail['totalfloor'] = '';
}
$floorshow = "display:block;";
}
?>
<dd class="list_item clearfix" id="floorshow" style="<?=$floorshow?>">
<label class="label">楼层:</label>
<div class="fields">
......@@ -399,19 +399,19 @@
</div>
</dd>
<!---->
<?php
if (!isset($house_detail['fitment'])) {
$house_detail['fitment'] = '';
}
if (!isset($house_detail['forward'])) {
$house_detail['forward'] = '';
}
if ($infotype == 6) {
$fitmentshowcss = "display:none;";
} else {
$fitmentshowcss = "display:block;";
}
?>
<?php
if (!isset($house_detail['fitment'])) {
$house_detail['fitment'] = '';
}
if (!isset($house_detail['forward'])) {
$house_detail['forward'] = '';
}
if ($infotype == 6) {
$fitmentshowcss = "display:none;";
} else {
$fitmentshowcss = "display:block;";
}
?>
<dd class="list_item clearfix" id="fitmentshow" style="<?=$fitmentshowcss?>">
<label class="label">装修朝向:</label>
<div class="fields">
......@@ -421,7 +421,7 @@
<input type="text" class="imitate imitateIe" readonly="" name="fitment" value="<?=$house_detail['fitment']?>">
<div class="listImitate">
<dl class="inner">
<?= get_attr_select($house['fitment'])?>
<?= get_attr_select($house['fitment'])?>
</dl>
</div>
</div>
......@@ -433,7 +433,7 @@
<input type="text" class="imitate imitateIe" readonly="" name="forward" value="<?php echo $house_detail['forward']=='南北'?'南北通透':$house_detail['forward'];?>">
<div class="listImitate" style="display: none;">
<dl class="inner">
<?= get_attr_select($house['forward'])?>
<?= get_attr_select($house['forward'])?>
</dl>
</div>
</div>
......@@ -441,11 +441,11 @@
<div class="textFg textFgErroy"></div>
</div>
</dd>
<?php
if (!isset($house_detail['mright'])) {
$house_detail['mright'] = '';
}
?>
<?php
if (!isset($house_detail['mright'])) {
$house_detail['mright'] = '';
}
?>
<dd class="list_item clearfix" id="mrightshow" >
<div style="height:29px;">
<label class="label">权属:</label>
......@@ -456,7 +456,7 @@
<input type="text" class="imitate imitateIe" readonly="" name="mright" value="<?=$house_detail['mright']?>">
<div class="listImitate">
<dl class="inner">
<?= get_attr_select($house['mright'])?>
<?= get_attr_select($house['mright'])?>
</dl>
</div>
</div>
......@@ -466,7 +466,7 @@
</div>
</dd>
<?php
<?php
if ($infotype == 6) {
$buildyearShow_display = 'none';
......@@ -479,14 +479,14 @@
<div class="fields nameInput ">
<div class="fgInput jsNameInput jsFgInput">
<label for="jsNameInputN" class="labelPrev labelPrevN jslabelPrev">格式:2010</label>
<?php
if (!isset($house_detail['buildyear'])) {
$house_detail['buildyear'] = '';
}
<?php
if (!isset($house_detail['buildyear'])) {
$house_detail['buildyear'] = '';
}
if (intval($house_detail['buildyear']) <= 1000) {
$house_detail['buildyear'] = '';
}
?>
$house_detail['buildyear'] = '';
}
?>
<input type="text" class="input_text w90" id="jsNameInputN" name="buildyear" value="<?= $house_detail['buildyear'] ?>" />
</div>
<p class="textFg"></p>
......@@ -506,7 +506,7 @@
<div id="infotypeblock" style="padding:15px 0;"> <!--补充信息 开始-->
<?php include_once "sell_add_ext.php"; ?>
<?php include_once "sell_add_ext.php"; ?>
</div>
<div class="branchCommon radius5 " id="js_xxxx" style="margin:0;">
......@@ -517,13 +517,13 @@
<div class="modInner">
<div class="forms">
<dl class="list">
<?php
if (!isset($house_detail['address']))
{
$house_detail['address'] = '';
<?php
if (!isset($house_detail['address']))
{
$house_detail['address'] = '';
}
?>
}
?>
<dd class="list_item clearfix clear">
<label class="label"><span class="fields_state">*</span>房源标题:</label>
<div class="fields nameInput ">
......@@ -535,12 +535,12 @@
<div class="fgInput textFgErroy" style="width:600px"><!--jsFgInput--></div>
</div>
</dd>
<?php
if (!isset($house_detail['remark']))
{
$house_detail['remark'] = '';
}
?>
<?php
if (!isset($house_detail['remark']))
{
$house_detail['remark'] = '';
}
?>
<dd class="list_item clearfix clear">
<label class="label">房源描述:</label>
......@@ -555,62 +555,62 @@
<div class="editorBox" style="height: 400px;"> <iframe id="remark_iframe" frameborder="0" scrolling="no" src="/editor/house/" style="margin-top:5px; width:830px; height:400px;"></iframe></div>
</dd>
<dd>
<?php
if ($infotype == 1 || $infotype == 2 || $infotype == 3 || $infotype == 4) {
$feature_css = 'display:block;';
} else {
$feature_css = 'display:none;';
}
?>
<div class="list_item clearfix clear" style="<?=$feature_css?>" id="feature_id">
<label class="label">房源特色:</label>
<div class="fields fields02">
<?php
$n = 0;
echo '<div id="jsAddTagBox" class="addTagBox">';
if ($feature) {
foreach ($feature as $key => $value) {
$featureselect[] = $value;
?>
<p num="<?= $key ?>" class="addTagInner radius4"><?= $value ?>
<span title="删除" class="delBtn" style="display: none;"></span>
<input type="hidden" value="<?= $key ?>" name="feature[]"></p>
<?php
$n++;
}
}
echo '</div>';
echo '<div id="jsAddTagBoxN" class="addTagBox">';
for ($i = 0; $i < 5 - $n; $i++) {
?>
<p class="addTag radius4" >+</p>
<?php
}
echo '</div>';
?>
<?php
if ($infotype == 1 || $infotype == 2 || $infotype == 3 || $infotype == 4) {
$feature_css = 'display:block;';
} else {
$feature_css = 'display:none;';
}
?>
<div class="list_item clearfix clear" style="<?=$feature_css?>" id="feature_id">
<label class="label">房源特色:</label>
<div class="fields fields02">
<?php
$n = 0;
echo '<div id="jsAddTagBox" class="addTagBox">';
if ($feature) {
foreach ($feature as $key => $value) {
$featureselect[] = $value;
?>
<p num="<?= $key ?>" class="addTagInner radius4"><?= $value ?>
<span title="删除" class="delBtn" style="display: none;"></span>
<input type="hidden" value="<?= $key ?>" name="feature[]"></p>
<?php
$n++;
}
}
echo '</div>';
echo '<div id="jsAddTagBoxN" class="addTagBox">';
for ($i = 0; $i < 5 - $n; $i++) {
?>
<p class="addTag radius4" >+</p>
<?php
}
echo '</div>';
?>
</div>
</div>
</div>
<div class="list_item clearfix clear">
<div id="jsAddTagInnerBox" class="addTagInnerBox clearfix">
<?php
if ($feature_arr) {
foreach ($feature_arr as $key => $value) {
$mark = 0;
if (isset($featureselect)) {
if (in_array($value, $featureselect)) {
$mark = 1;
} else {
$mark = 0;
}
}
?>
<p num="<?= $key ?>" class="addTagInner radius4 <?php if ($mark == 1) echo 'addTagInnerSelect'; ?>"><?= $value ?></p>
<?php }
} ?>
<div class="list_item clearfix clear">
<div id="jsAddTagInnerBox" class="addTagInnerBox clearfix">
<?php
if ($feature_arr) {
foreach ($feature_arr as $key => $value) {
$mark = 0;
if (isset($featureselect)) {
if (in_array($value, $featureselect)) {
$mark = 1;
} else {
$mark = 0;
}
}
?>
<p num="<?= $key ?>" class="addTagInner radius4 <?php if ($mark == 1) echo 'addTagInnerSelect'; ?>"><?= $value ?></p>
<?php }
} ?>
</div>
</div>
</div>
</dd>
</dl>
</div>
......@@ -623,10 +623,10 @@
<div class="hd ">
<h3 class="h3">图片上传</h3>
<?php if(!empty($notice360)): ?>
<span style="margin-left:20px;color:#4c4c4c;">
<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/notice.png">
<?php echo $notice360; ?>
</span>
<span style="margin-left:20px;color:#4c4c4c;">
<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/notice.png">
<?php echo $notice360; ?>
</span>
<?php endif; ?>
</div>
<div class="mod">
......@@ -634,10 +634,10 @@
<div class="forms">
<dl class="list">
<dd class="list_item clearfix">
<div class="mattersBox radius3" >
<div class="mattersBox radius3" >
<?php if($is_publish_360): ?>
<?php if($is_publish_360): ?>
<div class="leftImg radius3">
<p style="height:24px; overflow:hidden;">&nbsp;</p>
<p class="yz-bort" style="border: 0px;">&nbsp;</p>
......@@ -670,7 +670,7 @@
2、&nbsp;您上传的户型图、外景图将可能被365收入图库。<a class="link" target="_blank" href="<?=$documentation['pic_rule']?>">图片规则详情&gt;&gt;</a>
</p>
</div>
<?php else: ?>
<?php else: ?>
<div class="leftImg radius3" style="height:150px;">
<p style="height:10px; overflow:hidden;">&nbsp;</p>
<p class="title">多图房源</p>
......@@ -701,20 +701,20 @@
2、&nbsp;您上传的户型图、外景图将可能被365收入图库。<a class="link" target="_blank" href="<?=$documentation['pic_rule']?>">图片规则详情&gt;&gt;</a>
</p>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
</dd>
<?php if(GB_CITY == 'hf'): ?>
<?php if($is_publish_360): ?>
<?php if($broker_starlevel>2 && $panoramaStatus){?>
<?php require_once '360pic_inc.php'; ?>
<?php }?>
<?php endif; ?>
<?php endif; ?>
<?php require_once 'pic_inc.php'; ?>
</dd>
<?php if(GB_CITY == 'hf'): ?>
<?php if($is_publish_360): ?>
<?php if($broker_starlevel>2 && $panoramaStatus){?>
<?php require_once '360pic_inc.php'; ?>
<?php }?>
<?php endif; ?>
<?php endif; ?>
<?php require_once 'pic_inc.php'; ?>
</dl>
</div>
</div>
......@@ -722,38 +722,38 @@
</div>
<!--图片上传 结束-->
<div class="btnFBbox" style="height:35px;">
<?php
if (!isset($house_detail['id'])) {
$house_detail['id'] = '';
}
if (!isset($house_detail['esta'])) {
$house_detail['esta'] = '';
}
if (!isset($tab)) {
$tab = '';
}
?>
<?php
if (!isset($house_detail['id'])) {
$house_detail['id'] = '';
}
if (!isset($house_detail['esta'])) {
$house_detail['esta'] = '';
}
if (!isset($tab)) {
$tab = '';
}
?>
<input type="hidden" name="id" id="id" value="<?=$house_detail['id']?>">
<input type="hidden" name="tab" id="tab" value="<?=$tab?>">
<input type="hidden" name="tbl" id="tbl" value="sell">
<input type="hidden" name="GB_CITY" id="GB_CITY" value=<?php echo GB_CITY;?>>
<div style="line-height:29px;"><input style="margin-top:9px;margin-right:5px;" type="checkbox" name="checkConsent" checked value =1 id="checkConsent" class="input_c input_c_five">我已阅读并同意
<a style="color:#3887F2" target="_blank" class="submiTruleLink" href="http://<?php echo GB_CITY; ?>.zsb.house365.com/payment/houseagreement/">《365地产家居网房源发布规范》</a>
</div>
<?php if(empty($house_detail['esta']) || $house_detail['esta'] == 1 || $house_detail['esta'] == 2){ ?>
<div style="float:left;position:relative; width:117px; height:32px;margin:0 20px 0 285px;_display: inline;">
<a style="margin:0;" href="####" id="jsBtnSubmit_sell" class="btnB btnSubmit radius5">
<?php if($method=='modify'){echo '确认修改';}else{echo '发布';}?></a>
<div id="new_login_btn_none" class="radius5">&nbsp;</div>
<input type="hidden" name="GB_CITY" id="GB_CITY" value=<?php echo GB_CITY;?>>
<div style="line-height:29px;"><input style="margin-top:9px;margin-right:5px;" type="checkbox" name="checkConsent" checked value =1 id="checkConsent" class="input_c input_c_five">我已阅读并同意
<a style="color:#3887F2" target="_blank" class="submiTruleLink" href="http://<?php echo GB_CITY; ?>.zsb.house365.com/payment/houseagreement/">《365地产家居网房源发布规范》</a>
</div>
<a style="float:left;" href="####" class="btnB btnPreserve radius5" onclick="savetemplate()">保存为房源模板</a>
<a style="float:left;background-color:#4f82b7;text-decoration:none" href="####" class="btnB radius5" id="jsBtnSubmit_disablesell">保存为失效房源</a>
<?php } ?>
<?php if(empty($house_detail['esta']) || $house_detail['esta'] == 1 || $house_detail['esta'] == 2){ ?>
<div style="float:left;position:relative; width:117px; height:32px;margin:0 20px 0 285px;_display: inline;">
<a style="margin:0;" href="####" id="jsBtnSubmit_sell" class="btnB btnSubmit radius5">
<?php if($method=='modify'){echo '确认修改';}else{echo '发布';}?></a>
<div id="new_login_btn_none" class="radius5">&nbsp;</div>
</div>
<a style="float:left;" href="####" class="btnB btnPreserve radius5" onclick="savetemplate()">保存为房源模板</a>
<a style="float:left;background-color:#4f82b7;text-decoration:none" href="####" class="btnB radius5" id="jsBtnSubmit_disablesell">保存为失效房源</a>
<?php } ?>
</div>
<input type="hidden" name="<?=$post_rand['post_key']?>" value="<?=$post_rand['post_value']?>" >
<input type="hidden" name="<?=$post_rand['post_key']?>" value="<?=$post_rand['post_value']?>" >
</form>
<!---->
......@@ -792,19 +792,19 @@
<input type="hidden" name="flag" id="flag" value="1" >
</form>
<div id='historyHouse'>
<?php
$publish_block_tip = $publish_block == '' ? '暂无历史发布小区' : '历史发布小区';
?>
<?php
$publish_block_tip = $publish_block == '' ? '暂无历史发布小区' : '历史发布小区';
?>
<a href='####'><?=$publish_block_tip?></a>
<?php
if (isset($publish_block) && !empty($publish_block)) {
if (count($publish_block) > 10) { //大于10个历史小区,显示滚动条 ?>
<style>
#historyHouse{height:150px !important; overflow-x: hidden; overflow-y: scroll;}
</style>
<?php } foreach ($publish_block as $value) { ?>
<a href='####' onclick="addlishi(<?= $value['blockid'] ?>);"><?= $value['blockshowname'] ?></a>
<?php }} ?>
<?php
if (isset($publish_block) && !empty($publish_block)) {
if (count($publish_block) > 10) { //大于10个历史小区,显示滚动条 ?>
<style>
#historyHouse{height:150px !important; overflow-x: hidden; overflow-y: scroll;}
</style>
<?php } foreach ($publish_block as $value) { ?>
<a href='####' onclick="addlishi(<?= $value['blockid'] ?>);"><?= $value['blockshowname'] ?></a>
<?php }} ?>
</div>
......@@ -837,9 +837,9 @@ if (isset($publish_block) && !empty($publish_block)) {
<!--<label class="error">请选择区属</label>-->
<div class="listImitate">
<dl class="inner innerScroll">
<?php foreach ($house['district'] as $value) { ?>
<?php foreach ($house['district'] as $value) { ?>
<dd><a class="link" onclick="getstreet(this);" href="####" ><?= $value ?></a></dd>
<?php } ?>
<?php } ?>
</dl>
</div>
</div>
......@@ -920,7 +920,7 @@ if (isset($publish_block) && !empty($publish_block)) {
<div id="fixedLocation">
<dl class="list radius5">
<?php if($method == 'add'){ ?>
<dd class="item"><a href="####" title='房源模板' onClick="returnFixe('js_fymb')" class="link">房源模板</a></dd>
<dd class="item"><a href="####" title='房源模板' onClick="returnFixe('js_fymb')" class="link">房源模板</a></dd>
<?php } ?>
<dd class="item"><a href="####" title='基本信息' onClick="returnFixe('js_jbxx')" class="link">基本信息</a></dd>
......@@ -935,48 +935,48 @@ if (isset($publish_block) && !empty($publish_block)) {
<div class="cover"></div>
<!--疑似虚假-->
<div class="pop popfalse">
<div class="pre">
<div class="poptit">
<span class="h3">提示</span>
<span title="关闭" class="popright" onclick=hidePop('.pop')>Χ</span>
</div>
<div class="mod">
<div class="text">您的房源价格疑似虚假,一旦被核实为虚假房源,房源将被冻结!</div>
</div>
</div>
<div align="center" class="pb10">
<button class="btn submitPublishButton">确定发布</button>&nbsp;<button class="btn bg-o" onclick=hidePop('.pop')>检查后发布</button>
</div>
<div class="pre">
<div class="poptit">
<span class="h3">提示</span>
<span title="关闭" class="popright" onclick=hidePop('.pop')>Χ</span>
</div>
<div class="mod">
<div class="text">您的房源价格疑似虚假,一旦被核实为虚假房源,房源将被冻结!</div>
</div>
</div>
<div align="center" class="pb10">
<button class="btn submitPublishButton">确定发布</button>&nbsp;<button class="btn bg-o" onclick=hidePop('.pop')>检查后发布</button>
</div>
</div>
<!--系统拦截-->
<div class="pop popintercept">
<div class="pre">
<div class="poptit">
<span class="h3">提示</span>
<span title="关闭" class="popright" onclick=hidePop('.pop')>Χ</span>
</div>
<div class="mod">
<div class="text">您的房源价格严重低/高于市场价,发布后会被自动拦截,若需继续发布,可在“系统拦截”列表发起申诉!</div>
</div>
</div>
<div align="center" class="pb10">
<button class="btn submitPublishButton">确定发布</button>&nbsp;<button class="btn bg-o" onclick=hidePop('.pop')>检查后发布</button>
</div>
<div class="pre">
<div class="poptit">
<span class="h3">提示</span>
<span title="关闭" class="popright" onclick=hidePop('.pop')>Χ</span>
</div>
<div class="mod">
<div class="text">您的房源价格严重低/高于市场价,发布后会被自动拦截,若需继续发布,可在“系统拦截”列表发起申诉!</div>
</div>
</div>
<div align="center" class="pb10">
<button class="btn submitPublishButton">确定发布</button>&nbsp;<button class="btn bg-o" onclick=hidePop('.pop')>检查后发布</button>
</div>
</div>
<!--禁止发布-->
<div class="pop popban">
<div class="pre">
<div class="poptit">
<span class="h3">禁止发布</span>
<span title="关闭" class="popright" onclick=hidePop('.pop')>Χ</span>
</div>
<div class="mod">
<div class="text">您的房源价格过低或过高,请核实后发布!</div>
</div>
</div>
<div align="center" class="pb10">
<button class="btn bg-o" onclick=hidePop('.pop')>确定</button>
</div>
<div class="pre">
<div class="poptit">
<span class="h3">禁止发布</span>
<span title="关闭" class="popright" onclick=hidePop('.pop')>Χ</span>
</div>
<div class="mod">
<div class="text">您的房源价格过低或过高,请核实后发布!</div>
</div>
</div>
<div align="center" class="pb10">
<button class="btn bg-o" onclick=hidePop('.pop')>确定</button>
</div>
</div>
<script>
......@@ -998,6 +998,7 @@ if (isset($publish_block) && !empty($publish_block)) {
<?= $page_js ?>
<script src="/source/zsb/js/layer-v3.1.1/layer/layer.js"></script>
<script type="text/javascript">
var area_prices = <?=json_encode($area_prices)?>;
function getBlockAreaPrices(block_id){
......@@ -1007,6 +1008,11 @@ if (isset($publish_block) && !empty($publish_block)) {
},'json');
}
$(function() {
layer.config({
extend: 'myskin/style.css' //同样需要加载新皮肤
});
var str = $("#address").val();
var obj_value_arr = str.split("");
var num = 0;
......@@ -1102,49 +1108,76 @@ if (isset($publish_block) && !empty($publish_block)) {
$("#blockshowname").val("");
}
});
//补充信息
//补充信息全选
$("#jsAllcheckbox").click(function() {
if ($(this).attr("checked") == false || $(this).attr("checked") == undefined)
{
$("#jsAllcheckbox").val(0);
$("#jsCheckboxBox").find(".input_c").attr("checked", false)
}
else
{
$("input[type='checkbox']").attr('checked',false)
layer.confirm('为避免您的放心看保证金受损,请您仔细核对并确认该套房源当前是否可售可看、价格是否为业主最新报价、房源信息填写是否准确(面积、税费、楼层、朝向、装修)、房源标题及描述与房源基本信息是否一致、房源图片及户型图与实际是否一致。', {
btn: ['设置','取消'], //按钮
title:'放心看',
skin: 'layer-skin-theme'
}, function(){
$("#jsAllcheckbox").val(1);
$("#jsCheckboxBox").find(".input_c").attr("checked", true)
$("input[type='checkbox']").attr('checked',true)
layer.closeAll();
});
}
})
});
function showPop(show)
{
var bh = $(window).height();
var bw =$(window).width();
$(".cover").css({
display:"block"
});
$(show).css({
top:(bh - $(show).height())/2,
left:(bw - $(show).width())/2,
display:"block"
});
$(show).fadeIn(500);
}
function hidePop(show)
{
$(".cover").hide();
$(show).fadeOut();
}
//房源价格发布规则过滤,强制提交
$('.submitPublishButton').click(function(){
$("#jsForm_sell").submit();
});
function showPop(show)
{
var bh = $(window).height();
var bw =$(window).width();
$(".cover").css({
display:"block"
});
$(show).css({
top:(bh - $(show).height())/2,
left:(bw - $(show).width())/2,
display:"block"
});
$(show).fadeIn(500);
}
function hidePop(show)
{
$(".cover").hide();
$(show).fadeOut();
}
//房源价格发布规则过滤,强制提交
$('.submitPublishButton').click(function(){
$("#jsForm_sell").submit();
});
$("#checkConsent").click(function(){
if(this.checked)
{
$("#checkConsent").attr('value',1);
}
else
{
$("#checkConsent").attr('value',0);
}
});
$("#checkConsent").click(function(){
if(this.checked)
{
$("#checkConsent").attr('value',1);
}
else
{
$("#checkConsent").attr('value',0);
}
});
</script>
<style>
.btnFBbox{padding: 13px 10px 35px;}
.btnFBbox{padding: 13px 10px 35px;}
</style>
\ No newline at end of file
/** 透明侧边栏导航 */
/** ͸����������� */
.layer-skin-yellow .layui-side .layui-nav {
background-color: transparent;
}
......@@ -7,13 +7,13 @@
background: rgba(255, 255, 255, .03);
}
/** logo部分样式 */
/** logo������ʽ */
.layer-skin-yellow .layui-header .layui-logo {
background-color: #F78400;
color: #fff;
}
/** header式 */
/** header��ʽ */
.layer-skin-yellow .layui-header {
background-color: #F78400;
}
......@@ -34,17 +34,17 @@
border-color: transparent transparent #eee;
}
/** header线条 */
/** header���� */
.layer-skin-yellow .layui-header .layui-nav .layui-this:after, .layer-skin-yellow .layui-header .layui-nav-bar {
background-color: #fff;
}
/** 侧边栏样式 */
/** �������ʽ */
.layer-skin-yellow .layui-side {
background-color: #222D32;
}
/** 侧边栏文字颜色 */
/** �����������ɫ */
.layui-side .layui-nav .layui-nav-item a {
color: #b8c7ce;
}
......@@ -65,57 +65,57 @@
background-color: rgba(0, 0, 0, .2) !important;
}
/** PC端折叠鼠标经过样式 */
/** PC���۵���꾭����ʽ */
.layer-skin-yellow.admin-nav-mini .layui-side .layui-nav .admin-nav-hover > .layui-nav-child:before {
background: #222D32 !important;
}
/** tab下划线 */
/** tab�»��� */
.layer-skin-yellow .layui-body > .layui-tab > .layui-tab-title li.layui-this:after {
background-color: #F78400;
top: 38px;
}
/** 主体标题 */
/** ������� */
.layui-body-header-title {
border-left-color: #F78400;
}
/** 主题切换 */
/** �����л� */
.btnTheme:hover, .btnTheme.active {
border-color: #F78400;
}
/** admin风格弹窗样式 */
/** admin��񵯴���ʽ */
.layui-layer.layer-skin-yellow .layui-layer-title {
background-color: #F78400;
color: #ffffff;
}
/** 按钮颜色 */
/** ��ť��ɫ */
.layui-layer.layer-skin-yellow .layui-layer-setwin a {
color: #ffffff;
}
/* 最小化按钮 */
/* ��С����ť */
.layui-layer.layer-skin-yellow .layui-layer-setwin .layui-layer-min cite {
background-color: #dddddd;
}
/** 弹窗按钮 */
/** ������ť */
.layui-layer.layer-skin-yellow .layui-layer-btn .layui-layer-btn0 {
border-color: #F78400;
background-color: #F78400;
}
/* 圆形按钮 */
/* Բ�ΰ�ť */
.btn-circle {
background: #F78400;
}
/** 主题颜色 */
/** ������ɫ */
/** 钮 */
/** ��ť */
.layui-btn:not(.layui-btn-primary):not(.layui-btn-normal):not(.layui-btn-warm):not(.layui-btn-danger):not(.layui-btn-disabled) {
background-color: #F78400;
}
......@@ -124,13 +124,13 @@
border-color: #F78400;
}
/** 开关 */
/** ���� */
.layui-form-onswitch {
border-color: #F78400;
background-color: #F78400;
}
/** 分页插件 */
/** ��ҳ��� */
.layui-laypage .layui-laypage-curr .layui-laypage-em {
background-color: #F78400;
}
......@@ -147,17 +147,17 @@
color: #F78400;
}
/** 单选按钮 */
/** ��ѡ��ť */
.layui-form-radio > i:hover, .layui-form-radioed > i {
color: #F78400;
}
/** 下拉条目选中 */
/** ������Ŀѡ�� */
.layui-form-select dl dd.layui-this {
background-color: #F78400;
}
/** 选卡 */
/** ѡ� */
.layui-tab-brief > .layui-tab-title .layui-this {
color: #F78400;
}
......@@ -166,22 +166,22 @@
border-color: #F78400 !important;
}
/** 面包屑导航 */
/** ������ */
.layui-breadcrumb a:hover {
color: #F78400 !important;
}
/** 日期选择器按钮 */
/** ����ѡ������ť */
.laydate-footer-btns span:hover {
color: #F78400 !important;
}
/** 时间轴 */
/** ʱ���� */
.layui-timeline-axis {
color: #F78400;
}
/** 复选框 */
/** ��ѡ�� */
.layui-form-checked[lay-skin=primary] i {
border-color: #F78400;
background-color: #F78400;
......@@ -191,7 +191,215 @@
border-color: #F78400;
}
/** 加载动画颜色 */
/** ���ض�����ɫ */
.ball-loader > span, .signal-loader > span {
background-color: #F78400;
}
/** ͸����������� */
.layer-skin-theme .layui-side .layui-nav {
background-color: transparent;
}
.layer-skin-theme .layui-side .layui-nav .layui-nav-item > a:hover {
background: rgba(255, 255, 255, .03);
}
/** logo������ʽ */
.layer-skin-theme .layui-header .layui-logo {
background-color: #F78400;
color: #fff;
}
/** header��ʽ */
.layer-skin-theme .layui-header {
background-color: #F78400;
}
.layer-skin-theme .layui-header a {
color: #fff;
}
.layer-skin-theme .layui-header a:hover {
color: #fff;
}
.layer-skin-theme .layui-header .layui-nav .layui-nav-more {
border-color: #eee transparent transparent;
}
.layer-skin-theme .layui-header .layui-nav .layui-nav-mored {
border-color: transparent transparent #eee;
}
/** header���� */
.layer-skin-theme .layui-header .layui-nav .layui-this:after, .layer-skin-theme .layui-header .layui-nav-bar {
background-color: #fff;
}
/** �������ʽ */
.layer-skin-theme .layui-side {
background-color: #222D32;
}
/** �����������ɫ */
.layui-side .layui-nav .layui-nav-item a {
color: #b8c7ce;
}
.layui-nav-tree .layui-nav-child dd.layui-this, .layui-nav-tree .layui-nav-child dd.layui-this a, .layui-nav-tree .layui-this, .layui-nav-tree .layui-this > a, .layui-nav-tree .layui-this > a:hover {
background-color: #F78400;
}
.layui-nav-tree .layui-nav-bar {
background-color: #F78400;
}
.layui-side .layui-nav-itemed > a, .layui-nav-tree .layui-nav-title a, .layui-nav-tree .layui-nav-title a:hover, .layui-side .layui-nav-item.layui-this > a {
color: #fff !important;
}
.layer-skin-theme .layui-side .layui-nav .layui-nav-itemed > .layui-nav-child {
background-color: rgba(0, 0, 0, .2) !important;
}
/** PC���۵���꾭����ʽ */
.layer-skin-theme.admin-nav-mini .layui-side .layui-nav .admin-nav-hover > .layui-nav-child:before {
background: #222D32 !important;
}
/** tab�»��� */
.layer-skin-theme .layui-body > .layui-tab > .layui-tab-title li.layui-this:after {
background-color: #F78400;
top: 38px;
}
/** ������� */
.layui-body-header-title {
border-left-color: #F78400;
}
/** �����л� */
.btnTheme:hover, .btnTheme.active {
border-color: #F78400;
}
/** admin��񵯴���ʽ */
.layui-layer.layer-skin-theme .layui-layer-title {
background-color: #F57D3A;
color: #ffffff;
}
/** ��ť��ɫ */
.layui-layer.layer-skin-theme .layui-layer-setwin a {
color: #ffffff;
}
/* ��С����ť */
.layui-layer.layer-skin-theme .layui-layer-setwin .layui-layer-min cite {
background-color: #dddddd;
}
/** ������ť */
.layui-layer.layer-skin-theme .layui-layer-btn .layui-layer-btn0 {
border-color: #F57D3A;
background-color: #F57D3A;
}
/* Բ�ΰ�ť */
.btn-circle {
background: #F57D3A;
}
/** ������ɫ */
/** ��ť */
.layui-btn:not(.layui-btn-primary):not(.layui-btn-normal):not(.layui-btn-warm):not(.layui-btn-danger):not(.layui-btn-disabled) {
background-color: #F57D3A;
}
.layui-btn.layui-btn-primary:hover {
border-color: #F57D3A;
}
/** ���� */
.layui-form-onswitch {
border-color: #F57D3A;
background-color: #F57D3A;
}
/** ��ҳ��� */
.layui-laypage .layui-laypage-curr .layui-laypage-em {
background-color: #F57D3A;
}
.layui-table-page .layui-laypage input:focus {
border-color: #F57D3A !important;
}
.layui-table-view select:focus {
border-color: #F57D3A !important;
}
.layui-table-page .layui-laypage a:hover {
color: #F57D3A;
}
/** ��ѡ��ť */
.layui-form-radio > i:hover, .layui-form-radioed > i {
color: #F57D3A;
}
/** ������Ŀѡ�� */
.layui-form-select dl dd.layui-this {
background-color: #F57D3A;
}
/** ѡ� */
.layui-tab-brief > .layui-tab-title .layui-this {
color: #F57D3A;
}
.layui-tab-brief > .layui-tab-more li.layui-this:after, .layui-tab-brief > .layui-tab-title .layui-this:after {
border-color: #F57D3A !important;
}
/** ������ */
.layui-breadcrumb a:hover {
color: #F57D3A !important;
}
/** ����ѡ������ť */
.laydate-footer-btns span:hover {
color: #F57D3A !important;
}
/** ʱ���� */
.layui-timeline-axis {
color: #F57D3A;
}
/** ��ѡ�� */
.layui-form-checked[lay-skin=primary] i {
border-color: #F57D3A;
background-color: #F57D3A;
}
.layui-form-checkbox[lay-skin=primary] i:hover {
border-color: #F57D3A;
}
/** ���ض�����ɫ */
.ball-loader > span, .signal-loader > span {
background-color: #F57D3A;
}
......@@ -58,6 +58,7 @@ function addlishi(id)
// ---start @todo 放心看暂时开放区域 code by :wmc
function tem_fxk_district(district) {
return false;
var tab_dd = $(".titleTabBox").find('.list').find('.itemOn');
if(tab_dd.length >0 && (tab_dd.attr('id') == '1' || tab_dd.attr('id') == '2')){
if($.inArray(district,['建邺区','雨花台区','秦淮区','栖霞区','鼓楼区','江宁区','浦口区']) < 0){
......
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