123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334 |
- <?php
- use frontend\assets\AppAsset;
- use yii\helpers\Html;
- use yii\helpers\Url;
- use common\fm\Opencc;
- AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/lp_list.css");
- AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/js/qrcode/qrcode.js');
- AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/js/scrollfix.min.js');
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/search.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/applyVerify.min.js");
- use yii\widgets\LinkPager;
- $this->title = '海南楼盘列表';
- $this->metaTags[] = '<meta name="keywords" content="楼盘,最新楼盘,最新楼盘信息,新房价格信息,楼盘价格、一手房价格、新房价格、最新房源" />';//第二种
- $this->metaTags[] = '<meta name="description" content="欢迎您访问品房海外海南站楼盘频道,品房海外海南楼盘频道为您提供楼盘信息、在售楼盘、最新楼盘,新房价格信息,更多楼盘信息尽在品房海外海南站-专注为您找好房."/>';
- ?>
- <div class="m_nav_box">
- <div class="m_nav_qy">
- <div class="c">
- <div class="m_nav_qy_l">
- <em>区域</em>
- <a href="javascript:void(0)" name="city" value="68" <?php if (!isset($get['city']) || $get['city'] == 68) echo 'id="nav"' ?> >不限</a>
- </div>
- <?php if (!empty($cityone)) { ?>
- <p class="m_nav_qy_listsjs m_nav_qy_listsjs2 c">
- <?php foreach ($cityone as $val) { ?>
- <a href="javascript:void(0)" name="city" pinyin="<?= $val['pinyin'] ?>" value="<?= $val['id'] ?>"><?= $val['city_name'] ?></a>
- <?php } ?>
- </p>
- <?php } ?>
- </div>
- </div>
- <div class="m_nav_qy c">
- <div class="m_nav_qy_l">
- <em>价格</em>
- <a href="javascript:void(0)" name="price"
- value="0" <?php if (!isset($get['price']) || $get['price'] == 0) echo 'id="nav"' ?> >不限</a>
- </div>
- <?php if (!empty($price)) { ?>
- <p class="m_nav_qy_list">
- <?php foreach ($price as $val) { ?>
- <a href="javascript:void(0)" name="price" value="<?php echo $val['id'] ?>"><?= $val['price'] ?></a>
- <?php } ?>
- </p>
- <?php } ?>
- </div>
- <div class="m_nav_qy c">
- <div class="m_nav_qy_l">
- <em>户型</em>
- <a href="javascript:void(0)" name="type" value="0" <?php if (!isset($get['type']) || $get['type'] == 0) echo 'id="nav"' ?> >不限</a>
- </div>
- <?php if (!empty($type)) { ?>
- <p class="m_nav_qy_list">
- <?php foreach ($type as $val) { ?>
- <a href="javascript:void(0)" name="type" value="<?php echo $val['id'] ?>"><?php echo $val['huxing_name'] ?></a>
- <?php } ?>
- </p>
- <?php } ?>
- </div>
- <div class="m_nav_qy c">
- <div class="m_nav_qy_l">
- <em>类型</em>
- <a href="javascript:void(0)" name="label"
- value="0" <?php if (!isset($get['label']) || $get['label'] == 0) echo 'id="nav"' ?> >不限</a>
- </div>
- <?php if (!empty($label)) { ?>
- <p class="m_nav_qy_list">
- <?php foreach ($label as $val) { ?>
- <a href="javascript:void(0)" name="label" value="<?php echo $val['id'] ?>"><?php echo $val['name'] ?></a>
- <?php } ?>
- </p>
- <?php } ?>
- </div>
- <div class="m_nav_qy c">
- <div class="m_nav_qy_l">
- <em>品牌</em>
- <a href="javascript:void(0)" name="zhuti" value="0" <?php if (!isset($get['zhuti']) || $get['zhuti'] == 0) echo 'id="nav"' ?> >不限</a>
- </div>
- <?php if (!empty($brand)) { ?>
- <p class="m_nav_qy_list m_nav_qy_tese">
- <?php foreach ($brand as $val) { ?>
- <a href="javascript:void(0)" name="zhuti" value="<?= $val['id'] ?>"><?= $val['name'] ?></a>
- <?php } ?>
- </p>
- <?php } ?>
- </div>
- <div class="yv2_selected js_yv2_selected">
- <div class="yv2_selected_main">已选条件:</div>
- <div class="yv2_selected_cnter">
- <div class="yv2_selected_list js_yv2_selected_list">
- <!-- <a href="javascript:;" name="" value=""><span>三亚市</span><i>X</i></a>
- <a href="javascript:;"><span>三亚市</span><i>X</i></a> -->
- </div>
- <div class="yv2_selected_right">
- <a href="/house/search"><img src="/overseas/img/v2image/v2_ico22.png" alt="">清空筛选</a>
- </div>
- </div>
- </div>
- </div>
- <!--排序-->
- <div class="m_sort c">
- <ul class="c">
- <!-- id="sort" -->
- <li name="default" value="1" class="sort m_sortClick">默认排序</li>
- <li name="pricesort" class="sort_jg"><span class="fnt">按价格</span>
- <div class="m_sort_jg">
- <span name="pricesort" value="1" class="m_sortClick">低到高</span>
- <span name="pricesort" value="2" class="m_sortClick">高到低</span>
- </div>
- </li>
- <li name="vrread" value="1" class="m_sortClick">全景看房</li>
- <div class="yv2_map fl"><a target="_blank" href="/map/home"><img src="/overseas/img/v2image/v2_ico23.png" alt="">地图找房</a></div>
- </ul>
- <span class="m_sort_gs">共 <i><?php echo $count ?></i> 个楼盘</span>
- </div>
- <div class="m_lp_box js_listLp_box">
- <ul class="m_lp_list">
- <?php if (!empty($list['data'])) { ?>
- <?php foreach ($list['data'] as $key => $val) { ?>
- <li>
- <div class="list_main">
- <div class="lpleft_img">
- <a target="_blank" href="/house/<?= $val['id'] ?>">
- <p class="lpico"><img src="<?= Yii::$app->params['httpImg']['hosts'], Yii::$app->params['httpImg']['houses'], $val['thumb'] ?>/same" alt=""></p>
- <p class="city"><?php echo $val['city_name'] ?></p>
- <p class="video_ico">
- <?php if (!empty($val['video_url'])) { ?>
- <i><img src="/overseas/img/v2image/v2_ico30.png" alt=""></i>
- <?php } ?>
- <?php if (!empty($val['albumCount'])) { ?>
- <i><img src="/overseas/img/v2image/v2_ico31.png" alt=""></i>
- <?php } ?>
- </p>
- <?php if (!empty($val['panorama'])) { ?>
- <div class="sdin">
- <div class="vvid_pic_ico vr-animation-forever"></div>
- </div>
- <?php } ?>
- </a>
- </div>
- <div class="lpright_text">
- <div class="lpright_text_l">
- <p class="title">
- <a target="_blank" href="/house/<?= $val['id'] ?>"><?php echo $val['name'] ?></a>
- <span>在售</span>
- </p>
- <?php if(!empty($val['preferential'])){?>
- <p class="lpzk lp_puic">
- <i><img src="/overseas/img/v2image/v2_ico24.png" alt=""></i>
- <span><?=$val['preferential']?></span>
- <a href="javascript:;" class="pic_jjtz" data-buttom="立即锁定" data-title="锁定折扣优惠" data-hid="<?= $val['id'] ?>" data-text="<em>【<?php echo $val['name'] ?>】</em>开发商直销,享特惠折扣,在线预约锁定 优惠。" data-source="126">锁定优惠</a>
- </p>
- <?php }?>
- <p class="lphx lp_puic">
- <i><img src="/overseas/img/v2image/v2_ico25.png" alt=""></i>
- <span><?php echo '(建筑面积)' . $val['main_units'] ?></span>
- </p>
- <p class="lpdiz lp_puic">
- <i><img src="/overseas/img/v2image/v2_ico26.png" alt=""></i>
- <span><?php echo $val['address'] ?></span>
- <a href="javascript:;" class="y_idckdt" data-jwd="<?php echo $val['longitude_latitude'] ?>" data-title="<?php echo $val['name'] ?>"><img src="/overseas/img/v2image/v2_ico28.png" alt="">查看地图</a>
- </p>
- <div class="lptell_main">
- <div class="lptell_main_l">
- <img src="/overseas/img/v2image/v2_ico27.png" alt="">
- <span><?php echo $val['citytel'] ?></span>
- </div>
- <div class="lptell_main_r js_lptell_main_r">
- <div class="lptell_main_r_main"><a href="javascript:;"><img src="/overseas/img/v2image/v2_ico29.png" alt="">扫码拨号</a></div>
- <div class="lptell_main_show js_lptell_main_show">
- <p class="ewm_main js_ewm_main" id="list_sm<?= $key ?>" src="http://m.pinfanghw.com/house/selftel/<?= $val['id'] ?>?tel=<?php echo $val['citytel'] ?>"></p>
- <p class="text">
- <i>微信扫码拨号</i>
- <i>询问底价</i>
- </p>
- </div>
- </div>
- </div>
- <p class="style">
- <?php if (!empty($val['characteristic']) && is_array($val['characteristic'])) {
- foreach ($val['characteristic'] as $v) { ?>
- <i><?php echo $v ?></i>
- <?php }
- } ?>
- </p>
- </div>
- <div class="lpright_text_r">
- <div class="lppric_main">
- <?php if (!empty($val['sale_price'])) { ?>
- <p class="lppric">
- <span><?php echo $val['sale_price'] ?></span>
- <em><?php echo $val['price_unit'] ?></em>
- </p>
- <?php } else { ?>
- <p class="lppric">
- <span>待定</span>
- <em></em>
- </p>
- <?php } ?>
- <p class="lptime yv2_puicTime">有效期至:</p>
- </div>
- <div class="lpzx_main js_lpzx_main">
- <p class="ico_top"><img src="/overseas/img/service2.png" alt=""></p>
- <a href="javascript:;" onclick="$53click()">向Ta咨询></a>
- </div>
- </div>
- </div>
- </div>
- <?php if(!empty($val['news'])){?>
- <div class="yv2List_news">
- <span>【最新动态】</span>
- <a target="_blank" href="/news/details/<?=$val['news']['id']?>"><h2><?=$val['news']['subject']?></h2></a>
- </div>
- <?php }?>
- </li>
- <?php if ($key == 3) { ?>
- <div class="m_lp_list_gg">
- <div class="wadlabel" style="top:0;right:0;">广告</div>
- <img src="/overseas/img/v2image/v2_ico32.png" alt="">
- <form class="submit_area">
- <div class="m_lp_list_gg_form">
- <input type="hidden" name="aid" value="0"> <!-- 0 为公共报名,其它为楼盘ID-->
- <input type="hidden" name="source" value="83">
- <!--报名来源 具体查看applyVerify.js文件中source 标识说明-->
- <input type="hidden" name="equipment" value="2"> <!--来源设备 ( PC端 2,手机端 1 )-->
- <input name="mobile" type="text" placeholder="请输入手机号,预约找房"
- class="f_input sign-mobile2">
- <input type="button" value="立即咨询" class="f_submit sign-btn2 m_lp_list_button">
- </div>
- </form>
- </div>
- <?php } ?>
- <?php }
- } ?>
- <div class="page_list c">
- <?php if (!empty($list['page'])) { ?>
- <?=
- LinkPager::widget(['pagination' => $list['page'],
- 'nextPageLabel' => '下一页',
- 'prevPageLabel' => '上一页',]);
- } ?>
- </div>
- </ul>
- <div class="m_lp_r">
- <div class="lp_xuangua" id="lp_xuangua">
- <div class="listHothome">
- <div class="listHothome_title">
- <i></i>
- <span>本周热销楼盘</span>
- </div>
- <div class="listHothome_main">
- <ul>
- <?php if(!empty($hothouselist)){ foreach ($hothouselist as $k => $val){?>
- <li>
- <a href="/house/<?=$val['id']?>">
- <div class="top_texzt">
- <i><?= ++$k?></i>
- <span><?=$val['name']?></span>
- <em><?=$val['city_name']?></em>
- <?php if(!empty($val['sale_price'])){?>
- <b><?=$val['sale_price']?><?=$val['price_unit']?></b>
- <?php }else{ ?>
- <b>待定</b>
- <?php } ?>
- </div>
- <div class="bot_img">
- <img src="<?=Yii::$app->params['httpImg']['hosts'],Yii::$app->params['httpImg']['houses'],$val['thumb'],'/same'?>" alt="">
- </div>
- </a>
- </li>
- <?php }} ?>
- </ul>
- </div>
- </div>
- <div class="yv2_customization">
- <div class="listHothome_title">
- <i></i>
- <span>定制看房方案</span>
- </div>
- <div class="yv2_customization_Box">
- <div class="yv2_maing_text">
- <p>专业置业顾问,帮你定制好房</p>
- <p>免费咨询 一分钟内回复</p>
- </div>
- <div class="yv2_customization_form">
- <form class="submit_area">
- <input type="hidden" name="aid" value="0"> <!-- 0 为公共报名,其它为楼盘ID-->
- <input type="hidden" name="source" value="125">
- <!--报名来源 具体查看applyVerify.js文件中source 标识说明-->
- <input type="hidden" name="equipment" value="2"> <!--来源设备 ( PC端 2,手机端 1 )-->
- <input type="text" name="name" class="in_text" onfocus="this.placeholder=''" onblur="this.placeholder='请输入您的姓名'" placeholder="请输入您的姓名">
- <input type="text" name="mobile" class="in_text" onfocus="this.placeholder=''" onblur="this.placeholder='请输入您的手机号码'" placeholder="请输入您的手机号码">
- <a href="javascript:;" class="in_buttom m_lp_list_button">立即提交</a>
- </form>
- </div>
- <div class="yv2_customization_ico">
- <img src="/overseas/img/v2image/v2_ico33.png" alt="">
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
|