Commit c6cfc833 authored by zhangkuanguang's avatar zhangkuanguang

芜湖放心看

parent 92540fe6
...@@ -408,7 +408,9 @@ class Sell extends MY_Controller { ...@@ -408,7 +408,9 @@ class Sell extends MY_Controller {
//var_dump($owner->getContractType()); //var_dump($owner->getContractType());
$data_page['ownerContractType'] = $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); $this->render_publish($data_page);
} }
...@@ -739,22 +741,7 @@ class Sell extends MY_Controller { ...@@ -739,22 +741,7 @@ class Sell extends MY_Controller {
if($real_house_set>0) if($real_house_set>0)
{ {
$url_manage = $this->sell_model->find_func_url('add'); $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'); $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); $realnum_limit =$this->broker_model->get_realnum_by_packageid($package_id);
$realHouseNum= $this->real_house_model->getUidRealHouseNum($uid); $realHouseNum= $this->real_house_model->getUidRealHouseNum($uid);
...@@ -762,8 +749,6 @@ class Sell extends MY_Controller { ...@@ -762,8 +749,6 @@ class Sell extends MY_Controller {
{ {
$this->jump($url_manage, '放心看标签数量已达上限,请先取消已勾选标签或升级您的套餐',3000); $this->jump($url_manage, '放心看标签数量已达上限,请先取消已勾选标签或升级您的套餐',3000);
exit; exit;
//$this->jump($url_manage, '真房源标签数量已达上限,请先取消已勾选标签或升级您的套餐', 3000);
//exit;
} }
} }
...@@ -985,15 +970,17 @@ class Sell extends MY_Controller { ...@@ -985,15 +970,17 @@ class Sell extends MY_Controller {
} }
if($real_house_set==1) if ($house_id)
{ {
$this->load->model('real_house_model'); //设置放心看
//房源操作原因是添加 $infotype = $fields_values['infotype'];
$this->real_house_model->insertReal_House_Set_log2($uid, $house_id, 1,1); 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 ($house_id)
{
//判断房源价格是否在预警价格区间,仅对住宅类做判断 //判断房源价格是否在预警价格区间,仅对住宅类做判断
/*if ($fields_values['blockid'] && $fields_values['infotype']==1){ /*if ($fields_values['blockid'] && $fields_values['infotype']==1){
$_sell = $fields_values; $_sell = $fields_values;
...@@ -2180,7 +2167,6 @@ class Sell extends MY_Controller { ...@@ -2180,7 +2167,6 @@ class Sell extends MY_Controller {
$broker_info =$this->broker_model->get_broker_info(); $broker_info =$this->broker_model->get_broker_info();
$data_page['broker_starlevel'] = $broker_info['starlevel']; $data_page['broker_starlevel'] = $broker_info['starlevel'];
$data_page['real_status'] = $broker_info['real_status'];
//当天发布共获得多少成长值 //当天发布共获得多少成长值
$growthExpDayCount = new GrowthExpDayCount(); $growthExpDayCount = new GrowthExpDayCount();
...@@ -2231,13 +2217,17 @@ class Sell extends MY_Controller { ...@@ -2231,13 +2217,17 @@ class Sell extends MY_Controller {
$packageId = $this->user_arr['package_id']; $packageId = $this->user_arr['package_id'];
$realNumLimit =$this->broker_model->get_realnum_by_packageid($packageId); $realNumLimit =$this->broker_model->get_realnum_by_packageid($packageId);
$is_open_real_house = $this->config->item('is_open_real_house');
$data_page['realNumLimit'] = $realNumLimit; //套餐可发真房源数量 $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'); $this->load->model('real_house_model');
$data_page['realHouseNum']= $this->real_house_model->getUidRealHouseNum($uid); //经纪人 已发真房源数量
$data_page['balance']= $this->real_house_model->getBrokerRealHouseMoney($uid);//经纪人账号余额 $data_page['balance']= $this->real_house_model->getBrokerRealHouseMoney($uid);//经纪人账号余额
// print_r($data_page);die;
$this->render_publish($data_page); $this->render_publish($data_page);
} }
...@@ -2607,23 +2597,6 @@ class Sell extends MY_Controller { ...@@ -2607,23 +2597,6 @@ class Sell extends MY_Controller {
if($real_house_set>0) 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); $realnum_limit =$this->broker_model->get_realnum_by_packageid($package_id);
$realHouseNum= $this->real_house_model->getUidRealHouseNumExceptId($uid,$house_id); $realHouseNum= $this->real_house_model->getUidRealHouseNumExceptId($uid,$house_id);
...@@ -2637,25 +2610,20 @@ class Sell extends MY_Controller { ...@@ -2637,25 +2610,20 @@ class Sell extends MY_Controller {
} }
$this->load->model('real_house_model'); $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; $fields_values['is_real_house'] = $real_house_set;
$isRealHouse =$this->real_house_model->getInfoByRowid($house_id); $isRealHouse =$this->real_house_model->getInfoByRowid($house_id);
$isRealHouseNew =$this->real_house_model->get_real_house_sell_info($house_id); $isRealHouseNew =$this->real_house_model->get_real_house_sell_info($house_id);
//print_r($isRealHouseNew[0]['is_real_house']);die; //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) { 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) }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['buildingnum'] =$this->input->post('buildingnum', true);
$fields_values['unitnum'] =$this->input->post('unitnum', true); $fields_values['unitnum'] =$this->input->post('unitnum', true);
$fields_values['roomnum'] =$this->input->post('roomnum', true); $fields_values['roomnum'] =$this->input->post('roomnum', true);
......
...@@ -641,14 +641,14 @@ class real_house_model extends MY_Model ...@@ -641,14 +641,14 @@ class real_house_model extends MY_Model
public function getUidRealHouseNum($uid) public function getUidRealHouseNum($uid)
{ {
$sql = "SELECT id FROM sell where uid='$uid' and esta = 1 and is_real_house = 1"; $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; return $result->num_rows;
} }
public function getUidRealHouseNumExceptId($uid,$house_id) public function getUidRealHouseNumExceptId($uid,$house_id)
{ {
$sql = "SELECT id FROM sell where uid='$uid' and is_real_house = 1 and id!=$house_id"; $sql = "SELECT id FROM sell where uid='$uid' and is_real_house = 1 and id !={$house_id}";
$result = $this->dbback->query($sql); $result = $this->db->query($sql);
return $result->num_rows; return $result->num_rows;
} }
......
...@@ -51,21 +51,7 @@ if (isset($infotype)) { ...@@ -51,21 +51,7 @@ if (isset($infotype)) {
<div class="branchCommon radius5 " id="js_bcxx" style="margin:0;"> <div class="branchCommon radius5 " id="js_bcxx" style="margin:0;">
<div class="hd "> <div class="hd ">
<h3 class="h3">补充信息</h3> <h3 class="h3">补充信息</h3>
<?php <?php if($is_show_real){?>
// 真房源逻辑: 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 }?> >
<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']): ?> <?php if(!$house_detail['id']): ?>
...@@ -74,13 +60,17 @@ if (isset($infotype)) { ...@@ -74,13 +60,17 @@ if (isset($infotype)) {
<input id="jsAllcheckbox" name="real_house_set" class="input_c" type="checkbox" value=0> <input id="jsAllcheckbox" name="real_house_set" class="input_c" type="checkbox" value=0>
<span class="tex">放心看</span> <span class="tex">放心看</span>
</label> </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> </div>
<?php endif;?> <?php endif;?>
<?php }?> <?php }?>
<!--<div class="fgInput zsbnum_4 fxk">
<a target="_blank" href="http://zsb.house365.com/help/nj/?p=1373">放心看规则说明</a>
</div>-->
<div id="jsStitle" class="funSZ"> <div id="jsStitle" class="funSZ">
<p class="jsSQ funSZInner" title="收起" style="display: block;">收起</p> <p class="jsSQ funSZInner" title="收起" style="display: block;">收起</p>
...@@ -315,7 +305,7 @@ if (isset($infotype)) { ...@@ -315,7 +305,7 @@ if (isset($infotype)) {
</div> </div>
</div> </div>
</div></div> </div></div>
<?php } ?> <?php } ?>
<script type="text/javascript" > <script type="text/javascript" >
//收起 展开 jsStitle jsSmod //收起 展开 jsStitle jsSmod
function funSZ(hd, mod) { function funSZ(hd, mod) {
...@@ -332,27 +322,7 @@ if (isset($infotype)) { ...@@ -332,27 +322,7 @@ if (isset($infotype)) {
funSZ("jsPicDepotSZBtn", "jsPicDepotSZMod") funSZ("jsPicDepotSZBtn", "jsPicDepotSZMod")
funSZ("jsPicDepotSZBtn2", "jsPicDepotSZMod2") 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>
<script type='text/javascript'> <script type='text/javascript'>
......
...@@ -1496,9 +1496,10 @@ function change_nofee( rowid , secret_key) ...@@ -1496,9 +1496,10 @@ function change_nofee( rowid , secret_key)
function set_real(rowid,type) { function set_real(rowid,type) {
if(type == 1){ if(type == 1){
layer.confirm('设置放心看?', { layer.confirm('为避免您的放心看保证金受损,请您仔细核对并确认该套房源当前是否可售可看、价格是否为业主最新报价、房源信息填写是否准确(面积、税费、楼层、朝向、装修)、房源标题及描述与房源基本信息是否一致、房源图片及户型图与实际是否一致。', {
btn: ['设置','取消'], //按钮 btn: ['设置','取消'], //按钮
title:'放心看', title:'放心看',
skin: 'layer-skin-theme'
}, function(){ }, function(){
change_real(rowid); change_real(rowid);
}); });
...@@ -1508,6 +1509,7 @@ function set_real(rowid,type) { ...@@ -1508,6 +1509,7 @@ function set_real(rowid,type) {
layer.confirm('取消放心看?', { layer.confirm('取消放心看?', {
btn: ['确定','取消'], //按钮 btn: ['确定','取消'], //按钮
title:'放心看', title:'放心看',
skin: 'layer-skin-theme'
}, function(){ }, function(){
cancle_real(rowid); cancle_real(rowid);
}); });
...@@ -1569,6 +1571,7 @@ function waringOpen(msg) { ...@@ -1569,6 +1571,7 @@ function waringOpen(msg) {
}) })
} }
</script> </script>
......
...@@ -796,15 +796,15 @@ ...@@ -796,15 +796,15 @@
$publish_block_tip = $publish_block == '' ? '暂无历史发布小区' : '历史发布小区'; $publish_block_tip = $publish_block == '' ? '暂无历史发布小区' : '历史发布小区';
?> ?>
<a href='####'><?=$publish_block_tip?></a> <a href='####'><?=$publish_block_tip?></a>
<?php <?php
if (isset($publish_block) && !empty($publish_block)) { if (isset($publish_block) && !empty($publish_block)) {
if (count($publish_block) > 10) { //大于10个历史小区,显示滚动条 ?> if (count($publish_block) > 10) { //大于10个历史小区,显示滚动条 ?>
<style> <style>
#historyHouse{height:150px !important; overflow-x: hidden; overflow-y: scroll;} #historyHouse{height:150px !important; overflow-x: hidden; overflow-y: scroll;}
</style> </style>
<?php } foreach ($publish_block as $value) { ?> <?php } foreach ($publish_block as $value) { ?>
<a href='####' onclick="addlishi(<?= $value['blockid'] ?>);"><?= $value['blockshowname'] ?></a> <a href='####' onclick="addlishi(<?= $value['blockid'] ?>);"><?= $value['blockshowname'] ?></a>
<?php }} ?> <?php }} ?>
</div> </div>
...@@ -998,6 +998,7 @@ if (isset($publish_block) && !empty($publish_block)) { ...@@ -998,6 +998,7 @@ if (isset($publish_block) && !empty($publish_block)) {
<?= $page_js ?> <?= $page_js ?>
<script src="/source/zsb/js/layer-v3.1.1/layer/layer.js"></script>
<script type="text/javascript"> <script type="text/javascript">
var area_prices = <?=json_encode($area_prices)?>; var area_prices = <?=json_encode($area_prices)?>;
function getBlockAreaPrices(block_id){ function getBlockAreaPrices(block_id){
...@@ -1007,6 +1008,11 @@ if (isset($publish_block) && !empty($publish_block)) { ...@@ -1007,6 +1008,11 @@ if (isset($publish_block) && !empty($publish_block)) {
},'json'); },'json');
} }
$(function() { $(function() {
layer.config({
extend: 'myskin/style.css' //同样需要加载新皮肤
});
var str = $("#address").val(); var str = $("#address").val();
var obj_value_arr = str.split(""); var obj_value_arr = str.split("");
var num = 0; var num = 0;
...@@ -1102,6 +1108,33 @@ if (isset($publish_block) && !empty($publish_block)) { ...@@ -1102,6 +1108,33 @@ if (isset($publish_block) && !empty($publish_block)) {
$("#blockshowname").val(""); $("#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) function showPop(show)
...@@ -1146,5 +1179,5 @@ if (isset($publish_block) && !empty($publish_block)) { ...@@ -1146,5 +1179,5 @@ if (isset($publish_block) && !empty($publish_block)) {
}); });
</script> </script>
<style> <style>
.btnFBbox{padding: 13px 10px 35px;} .btnFBbox{padding: 13px 10px 35px;}
</style> </style>
\ No newline at end of file
/** 透明侧边栏导航 */ /** ͸����������� */
.layer-skin-yellow .layui-side .layui-nav { .layer-skin-yellow .layui-side .layui-nav {
background-color: transparent; background-color: transparent;
} }
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
background: rgba(255, 255, 255, .03); background: rgba(255, 255, 255, .03);
} }
/** logo部分样式 */ /** logo������ʽ */
.layer-skin-yellow .layui-header .layui-logo { .layer-skin-yellow .layui-header .layui-logo {
background-color: #F78400; background-color: #F78400;
color: #fff; color: #fff;
} }
/** header式 */ /** header��ʽ */
.layer-skin-yellow .layui-header { .layer-skin-yellow .layui-header {
background-color: #F78400; background-color: #F78400;
} }
...@@ -34,17 +34,17 @@ ...@@ -34,17 +34,17 @@
border-color: transparent transparent #eee; 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 { .layer-skin-yellow .layui-header .layui-nav .layui-this:after, .layer-skin-yellow .layui-header .layui-nav-bar {
background-color: #fff; background-color: #fff;
} }
/** 侧边栏样式 */ /** �������ʽ */
.layer-skin-yellow .layui-side { .layer-skin-yellow .layui-side {
background-color: #222D32; background-color: #222D32;
} }
/** 侧边栏文字颜色 */ /** �����������ɫ */
.layui-side .layui-nav .layui-nav-item a { .layui-side .layui-nav .layui-nav-item a {
color: #b8c7ce; color: #b8c7ce;
} }
...@@ -65,57 +65,57 @@ ...@@ -65,57 +65,57 @@
background-color: rgba(0, 0, 0, .2) !important; 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 { .layer-skin-yellow.admin-nav-mini .layui-side .layui-nav .admin-nav-hover > .layui-nav-child:before {
background: #222D32 !important; background: #222D32 !important;
} }
/** tab下划线 */ /** tab�»��� */
.layer-skin-yellow .layui-body > .layui-tab > .layui-tab-title li.layui-this:after { .layer-skin-yellow .layui-body > .layui-tab > .layui-tab-title li.layui-this:after {
background-color: #F78400; background-color: #F78400;
top: 38px; top: 38px;
} }
/** 主体标题 */ /** ������� */
.layui-body-header-title { .layui-body-header-title {
border-left-color: #F78400; border-left-color: #F78400;
} }
/** 主题切换 */ /** �����л� */
.btnTheme:hover, .btnTheme.active { .btnTheme:hover, .btnTheme.active {
border-color: #F78400; border-color: #F78400;
} }
/** admin风格弹窗样式 */ /** admin��񵯴���ʽ */
.layui-layer.layer-skin-yellow .layui-layer-title { .layui-layer.layer-skin-yellow .layui-layer-title {
background-color: #F78400; background-color: #F78400;
color: #ffffff; color: #ffffff;
} }
/** 按钮颜色 */ /** ��ť��ɫ */
.layui-layer.layer-skin-yellow .layui-layer-setwin a { .layui-layer.layer-skin-yellow .layui-layer-setwin a {
color: #ffffff; color: #ffffff;
} }
/* 最小化按钮 */ /* ��С����ť */
.layui-layer.layer-skin-yellow .layui-layer-setwin .layui-layer-min cite { .layui-layer.layer-skin-yellow .layui-layer-setwin .layui-layer-min cite {
background-color: #dddddd; background-color: #dddddd;
} }
/** 弹窗按钮 */ /** ������ť */
.layui-layer.layer-skin-yellow .layui-layer-btn .layui-layer-btn0 { .layui-layer.layer-skin-yellow .layui-layer-btn .layui-layer-btn0 {
border-color: #F78400; border-color: #F78400;
background-color: #F78400; background-color: #F78400;
} }
/* 圆形按钮 */ /* Բ�ΰ�ť */
.btn-circle { .btn-circle {
background: #F78400; background: #F78400;
} }
/** 主题颜色 */ /** ������ɫ */
/** 钮 */ /** ��ť */
.layui-btn:not(.layui-btn-primary):not(.layui-btn-normal):not(.layui-btn-warm):not(.layui-btn-danger):not(.layui-btn-disabled) { .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; background-color: #F78400;
} }
...@@ -124,13 +124,13 @@ ...@@ -124,13 +124,13 @@
border-color: #F78400; border-color: #F78400;
} }
/** 开关 */ /** ���� */
.layui-form-onswitch { .layui-form-onswitch {
border-color: #F78400; border-color: #F78400;
background-color: #F78400; background-color: #F78400;
} }
/** 分页插件 */ /** ��ҳ��� */
.layui-laypage .layui-laypage-curr .layui-laypage-em { .layui-laypage .layui-laypage-curr .layui-laypage-em {
background-color: #F78400; background-color: #F78400;
} }
...@@ -147,17 +147,17 @@ ...@@ -147,17 +147,17 @@
color: #F78400; color: #F78400;
} }
/** 单选按钮 */ /** ��ѡ��ť */
.layui-form-radio > i:hover, .layui-form-radioed > i { .layui-form-radio > i:hover, .layui-form-radioed > i {
color: #F78400; color: #F78400;
} }
/** 下拉条目选中 */ /** ������Ŀѡ�� */
.layui-form-select dl dd.layui-this { .layui-form-select dl dd.layui-this {
background-color: #F78400; background-color: #F78400;
} }
/** 选卡 */ /** ѡ� */
.layui-tab-brief > .layui-tab-title .layui-this { .layui-tab-brief > .layui-tab-title .layui-this {
color: #F78400; color: #F78400;
} }
...@@ -166,22 +166,22 @@ ...@@ -166,22 +166,22 @@
border-color: #F78400 !important; border-color: #F78400 !important;
} }
/** 面包屑导航 */ /** ���м���� */
.layui-breadcrumb a:hover { .layui-breadcrumb a:hover {
color: #F78400 !important; color: #F78400 !important;
} }
/** 日期选择器按钮 */ /** ����ѡ������ť */
.laydate-footer-btns span:hover { .laydate-footer-btns span:hover {
color: #F78400 !important; color: #F78400 !important;
} }
/** 时间轴 */ /** ʱ���� */
.layui-timeline-axis { .layui-timeline-axis {
color: #F78400; color: #F78400;
} }
/** 复选框 */ /** ��ѡ�� */
.layui-form-checked[lay-skin=primary] i { .layui-form-checked[lay-skin=primary] i {
border-color: #F78400; border-color: #F78400;
background-color: #F78400; background-color: #F78400;
...@@ -191,7 +191,215 @@ ...@@ -191,7 +191,215 @@
border-color: #F78400; border-color: #F78400;
} }
/** 加载动画颜色 */ /** ���ض�����ɫ */
.ball-loader > span, .signal-loader > span { .ball-loader > span, .signal-loader > span {
background-color: #F78400; 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) ...@@ -58,6 +58,7 @@ function addlishi(id)
// ---start @todo 放心看暂时开放区域 code by :wmc // ---start @todo 放心看暂时开放区域 code by :wmc
function tem_fxk_district(district) { function tem_fxk_district(district) {
return false;
var tab_dd = $(".titleTabBox").find('.list').find('.itemOn'); var tab_dd = $(".titleTabBox").find('.list').find('.itemOn');
if(tab_dd.length >0 && (tab_dd.attr('id') == '1' || tab_dd.attr('id') == '2')){ if(tab_dd.length >0 && (tab_dd.attr('id') == '1' || tab_dd.attr('id') == '2')){
if($.inArray(district,['建邺区','雨花台区','秦淮区','栖霞区','鼓楼区','江宁区','浦口区']) < 0){ 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