123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?php
- use mobile\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/menu/iscroll.js'); //菜单滑动
- AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/menu/navbarscroll.js'); //菜单滑动
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/house/details.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/search_public.js');
- AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/menu/lpnav.js');
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/publicuse/housenav.js");
- $this->title = '楼盘详情';
- ?>
- <div id="serachBox2">
- <div id="y_sidebarl">
- <!-- 导航 -->
- <?php $this->beginContent('@app/views/public/nav.php'); ?>
- <?php $this->endContent(); ?>
- <!-- <div style="height:55px;"></div> -->
- <!-- 导航 -->
- <?php $this->beginContent('@app/views/public/housenav.php', ['hid' => $hid]); ?>
- <?php $this->endContent(); ?>
- <!-- 项目介绍 2019-10-15 添加需要调数据-->
- <div class="y_lpjbxx" style="">
- <div class="y_lpjbxx_main">
- <div class="y_lphome_h2 c">
- <span><?= Opencc::ConvertHn('项目介绍') ?></span>
- </div>
- <div class="w-font">
- <?= Opencc::ConvertHn($model['house']['info']); ?>
- </div>
- <div class="font-more">
- <a class="w-more" href="javascript:void(0);"><?= Opencc::ConvertHn('展开') ?></a>
- </div>
- </div>
- </div>
- <!-- 基本信息 -->
- <div class="y_lpjbxx">
- <div class="y_lpjbxx_main">
- <div class="y_lphome_h2 c">
- <span><?= Opencc::ConvertHn('基本信息') ?></span>
- </div>
- <div class="y_lpjbxx_cent">
- <ul>
- <li class="c">
- <span><?= Opencc::ConvertHn('开 发 商') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['developers'])) ?></em>
- </li>
- <li class="tese c"><span><?= Opencc::ConvertHn('项目特色') ?>:</span><em class="y_lptese_color">
- <?php if (!empty($model['house']['characteristic'])) foreach ($model['house']['characteristic'] as $val) { ?>
- <i><?= Opencc::ConvertHn($val) ?></i>
- <?php } ?>
- </em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('建筑类别') ?>:</span><em> <?php foreach ($model['house']['architecture_type'] as $val) { ?>
- <?= Opencc::ConvertHn($val) . ' ' ?>
- <?php } ?></em></li>
- <li class="c">
- <span><?= Opencc::ConvertHn('装修状况') ?>:</span><em><?php if (!empty($model['house']['fit'])) {
- echo Yii::$app->params['Housefit'][$model['house']['fit']];
- } else {
- echo '暂无信息';
- } ?></em></li>
- <li class="c">
- <span><?= Opencc::ConvertHn('产权年限') ?>:</span><em><?= f_unit($model['house']['house_cx'], '年') ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('楼盘地址') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['address'])) ?></em>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div class="y_lpjbxx">
- <div class="y_lpjbxx_main">
- <div class="y_lphome_h2 c">
- <span><?= Opencc::ConvertHn('销售信息') ?></span>
- </div>
- <div class="y_lpjbxx_cent">
- <ul>
- <li class="c">
- <span><?= Opencc::ConvertHn('销售状态') ?>:</span><em><?= Yii::$app->params['HouseSalesStatus'][$model['house']['state']] ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('楼盘优惠') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['preferential'])) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('开盘时间') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['open_time'])) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('交房时间') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['launch_time'])) ?></em>
- </li>
- <li class="c"><span><?= Opencc::ConvertHn('咨询电话') ?>:</span><em><a style="color:red;"
- href="tel:<?= $model['house']['tel'] ?>"><?= $model['house']['tel'] ?></a></em>
- </li>
- <li class="c"><span><?= Opencc::ConvertHn('主力户型') ?>:</span><em>(<?= Opencc::ConvertHn('建筑面积') ?>
- )<?= Opencc::ConvertHn(f_unit($model['house']['main_units'])) ?></em></li>
- <li class="c"><span><?= Opencc::ConvertHn('预售许可证') ?>:</span>
- <em style="width:70%;">
- <?php if (!empty($model['house']['zhengshu'])) { ?>
- <a class="y_ckysz" data-id="<?= $hid ?>"
- href="javascipt:;"><?= Opencc::ConvertHn('查看') ?> >></a>
- <?php } else {
- echo Opencc::ConvertHn('暂无资料');
- } ?>
- </em>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div class="y_lpjbxx">
- <div class="y_lpjbxx_main">
- <div class="y_lphome_h2 c">
- <span><?= Opencc::ConvertHn('小区规划') ?></span>
- </div>
- <div class="y_lpjbxx_cent">
- <ul>
- <li class="c">
- <span><?= Opencc::ConvertHn('占地面积') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['planning_area'], 'm²')) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('建筑面积') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['construction_area'], 'm²')) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('容 积 率') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['volume_rate'])) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('绿 化 率') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['greening_rate'])) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('停 车 位') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['parking_num'], '个')) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('楼栋总数') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['total_building'], '栋')) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('总 户 数') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['planning_households'], '户')) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('物业公司') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['property_company'])) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('物 业 费') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['property_costs'])) ?></em>
- </li>
- <li class="c">
- <span><?= Opencc::ConvertHn('楼层状况') ?>:</span><em><?= Opencc::ConvertHn(f_unit($model['house']['floor_condition'])) ?></em>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
|