123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- <?php
- use frontend\assets\AppAsset;
- use yii\helpers\Html;
- use common\fm\Opencc;
- AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/lpdetails.css");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/lpdetails.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/applyVerify.js");
- $this->title = '楼盘信息_项目介绍_开盘时间_售楼电话';
- ?>
- <?php $this->beginContent('@app/views/house/publichousenav.php', ['hid' => $public['id']]); ?>
- <?php $this->endContent(); ?>
- <?php $this->beginContent('@app/views/house/publichouse.php', ['public' => $public, 'module' => 94]); ?>
- <?php $this->endContent(); ?>
- <div style="height:20px;"></div>
- <div class="y_detav2">
- <div class="y_detav2_main puic_wid puic_color">
- <div class="y_detav2_cent">
- <div class="y_details_h"><h2><?php echo Opencc::ConvertHn('项目参数') ?></h2></div>
- <div class="y_detav2_table">
- <table>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('参考价格') ?></td>
- <td class="y_cont"><?php if (!empty($model['house']['sale_price'])) {
- echo $model['house']['sale_price'] . Opencc::ConvertHn($model['house']['price_unit']);
- } else {
- echo Opencc::ConvertHn('待定');
- } ?></td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('项目特色') ?></td>
- <td class="y_cont y_lpdatats y_lptese_color c">
- <?php if (!empty($model['house']['characteristic'])) foreach ($model['house']['characteristic'] as $val) { ?>
- <i><?php echo Opencc::ConvertHn($val) ?></i>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('建筑类别') ?></td>
- <td class="y_cont">
- <?php foreach ($model['house']['architecture_type'] as $val) { ?>
- <?php echo Opencc::ConvertHn($val) . ' ' ?>
- <?php } ?>
- </td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('装修状况') ?></td>
- <td class="y_cont"><?= isset(Yii::$app->params['Housefit'][$model['house']['fit']]) ? Yii::$app->params['Housefit'][$model['house']['fit']] : '暂无资料' ?></td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('产权年限') ?></td>
- <td class="y_cont">
- <?= Opencc::ConvertHn(f_unit($model['house']['house_cx'], '年')) ?>
- </td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('开 发 商') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['developers'])) ?></td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('楼盘地址') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['address'])) ?></td>
- <td class="y_leimu"></td>
- <td class="y_cont"></td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div style="height:20px;"></div>
- <div class="y_detav2">
- <div class="y_detav2_main puic_wid puic_color">
- <div class="y_detav2_cent">
- <div class="y_details_h"><h2><?php echo Opencc::ConvertHn('销售信息') ?></h2></div>
- <div class="y_detav2_table">
- <table>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('销售状态') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(Yii::$app->params['HouseSalesStatus'][$model['house']['state']]) ?></td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('楼盘优惠') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['preferential'])) ?></td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('开盘时间') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['open_time'])) ?></td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('交房时间') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['launch_time'])) ?></td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('售楼地址') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['sales_address'])) ?></td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('咨询电话') ?></td>
- <td class="y_cont" style="color:#FF5849"><?= f_unit($model['house']['tel']) ?></td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('主力户型') ?></td>
- <td class="y_cont">(<?php echo Opencc::ConvertHn('建筑面积') ?>
- )<?= f_unit($model['house']['main_units']) ?></td>
- <td class="y_leimu"></td>
- <td class="y_cont"></td>
- </tr>
- </table>
- <div class="y_lpysz">
- <p class="y_lpysz_h"><?php echo Opencc::ConvertHn('预售许可证') ?>:</p>
- <div class="y_lpysz_table">
- <?php if (!empty($model['house']['zhengshu'])) { ?>
- <table>
- <thead>
- <tr>
- <th class="y_ind2"><?php echo Opencc::ConvertHn('预售许可证') ?></th>
- <th class="y_ind"><?php echo Opencc::ConvertHn('发证时间') ?></th>
- <th class="y_ind"><?php echo Opencc::ConvertHn('绑定楼栋') ?></th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($model['house']['zhengshu'] as $val) { ?>
- <tr>
- <td><?php echo $val['permit'] ?></td>
- <td><?php echo $val['time'] ?></td>
- <td><?php echo $val['building_num'] ?></td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
- <div class="y_lpyszsq">
- <a href="javascript:;"><span><?php echo Opencc::ConvertHn('展开') ?></span><i><img
- src="/overseas/img/jt_down.png"
- alt=""></i></a>
- </div>
- <?php } else { ?>
- <div class="y_nodata">
- <p class="y_img"><img src="/overseas/img/ico_52.png" alt=""></p>
- <p class="y_text"><?php echo Opencc::ConvertHn('暂无预售证资料') ?></p>
- </div>
- <?php } ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div style="height:20px;"></div>
- <?php if (!empty($model['peitao'])) { ?>
- <div class="y_detav2">
- <div class="y_detav2_main puic_wid puic_color">
- <div class="y_detav2_cent">
- <div class="y_details_h"><h2><?php echo Opencc::ConvertHn('配套信息') ?></h2></div>
- <div class="y_detav2_table y_detav2_table_pt">
- <table>
- <?php if (!empty($model['peitao'])) {
- foreach ($model['peitao'] as $key => $val) { ?>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn($key) ?></td>
- <td class="y_cont">
- <?php
- echo implode('、', $model['peitao'][$key]['name']);
- ?>
- </td>
- </tr>
- <?php }
- } ?>
- </table>
- </div>
- </div>
- </div>
- </div>
- <?php } ?>
- <div style="height:20px;"></div>
- <div class="y_detav2">
- <div class="y_detav2_main puic_wid puic_color">
- <div class="y_detav2_cent">
- <div class="y_details_h"><h2><?php echo Opencc::ConvertHn('小区规划') ?></h2></div>
- <div class="y_detav2_table">
- <table>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('占地面积') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['planning_area'], 'm²')) ?></td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('建筑面积') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['construction_area'], 'm²')) ?></td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('容 积 率') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['volume_rate'])) ?></td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('绿 化 率') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['greening_rate'])) ?></td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('停 车 位') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['parking_num'], '个')) ?></td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('楼栋总数') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['total_building'], '栋')) ?></td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('总 户 数') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['planning_households'], '户')) ?></td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('物业公司') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['property_company'])) ?></td>
- </tr>
- <tr>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('物 业 费') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['property_costs'])) ?></td>
- <td class="y_leimu"><?php echo Opencc::ConvertHn('楼层状况') ?></td>
- <td class="y_cont"><?= Opencc::ConvertHn(f_unit($model['house']['floor_condition'])) ?></td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div style="height:20px;"></div>
- <div class="y_detav2">
- <div class="y_detav2_main puic_wid puic_color">
- <div class="y_detav2_cent">
- <div class="y_details_h"><h2><?php echo Opencc::ConvertHn('价格信息') ?></h2></div>
- <div class="y_detav2_pic">
- <?php if (!empty($model['house']['price_record'])) { ?>
- <table>
- <thead>
- <tr>
- <th class="y_ind"><em><?php echo Opencc::ConvertHn('记录时间') ?></em><i><img
- src="/overseas/img/ico_53.png" alt=""></i></th>
- <th class="y_ind"><em><?php echo Opencc::ConvertHn('均价') ?></em><i><img
- src="/overseas/img/ico_54.png" alt=""></i></th>
- <th class="y_ind"><em><?php echo Opencc::ConvertHn('起价') ?></em><i><img
- src="/overseas/img/ico_55.png" alt=""></i></th>
- <th class="y_ind2"><em><?php echo Opencc::ConvertHn('价格说明') ?></em><i><img
- src="/overseas/img/ico_56.png" alt=""></i></th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($model['house']['price_record'] as $val) { ?>
- <tr>
- <td><?php echo $val['create_time'] ?></td>
- <td><?php
- echo $val['price'] == 0 ? '待定' : $val['price'];
- if (!empty($val['price_unit'])) echo $val['price_unit'];
- ?></td>
- <td><?php echo f_unit($val['min_price']) ?></td>
- <td><?php echo $val['explain'] ?></td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
- <?php } else { ?>
- <div class="y_nodata">
- <p class="y_img"><img src="/overseas/img/ico_52.png" alt=""></p>
- <p class="y_text"><?php echo Opencc::ConvertHn('暂无价格信息数据') ?></p>
- </div>
- <?php } ?>
- </div>
- </div>
- </div>
- </div>
- <!-- 项目介绍 -->
- <?php if (!empty($model['house']['info'])) { ?>
- <div class="y_intro" style="">
- <div class="y_intro_main puic_wid puic_color">
- <div class="y_intro_cent">
- <div class="y_details_h"><h2><?php echo Opencc::ConvertHn('项目介绍') ?></h2></div>
- <div class="y_intro_nr">
- <?= Opencc::ConvertHn($model['house']['info']) ?>
- </div>
- </div>
- </div>
- </div>
- <?php } ?>
- <!-- 猜你喜欢 -->
- <div class="y_love mt20">
- <div class="y_love_main puic_wid puic_color">
- <div class="y_love_h"><h2><?= Opencc::ConvertHn('猜你喜欢') ?></h2></div>
- <div class="y_love_list">
- <ul class="c">
- <?php if (!empty($public['randhouse'])) {
- foreach ($public['randhouse'] as $val) { ?>
- <li>
- <div class="y_love_list_main">
- <div class="y_tu">
- <a target="_blank" href="/house/<?= $val['id'] ?>"><img
- src="<?= Yii::$app->params['httpImg']['hosts'], Yii::$app->params['httpImg']['houses'] . $val['thumb'], '/same' ?>"
- alt=""></a>
- </div>
- <div class="y_text">
- <h2><a target="_blank"
- href="/house/<?= $val['id'] ?>"><?php echo Opencc::ConvertHn($val['name']) ?></a><i>[<?php echo Opencc::ConvertHn($val['city_name']) ?>
- ]</i></h2>
- <p class="y_pic">
- <?php if (!empty($val['sale_price'])) { ?>
- <span><?php echo $val['sale_price'] ?></span>
- <i><?php echo Opencc::ConvertHn($val['price_unit']) ?></i>
- <?php } else { ?>
- <span><?= Opencc::ConvertHn('待定') ?></span>
- <i></i>
- <?php } ?>
- </p>
- <i class="yv2_puicTime" style="color:#c2bfbf;font-size:12px;margin-top:2px;display: block;"></i>
- </div>
- </div>
- </li>
- <?php }
- } ?>
- </ul>
- </div>
- </div>
- </div>
|