123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <?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/lphxt.css");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/house/type.js');
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/applyVerify.js");
- /**
- * head头信息;
- */
- $this->title = '在售户型-品房海外 ';
- ?>
- <style>
- .y_left {
- padding-bottom: 10px;
- border-bottom: 1px solid #EAE9E9;
- }
- </style>
- <?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' => 96]); ?>
- <?php $this->endContent(); ?>
- <div style="height:20px;"></div>
- <div class="y_lphx">
- <div class="y_lphx_main puic_wid puic_color">
- <?php if (!empty($grouptype)) { ?>
- <div class="y_lphx_title c">
- <div class="y_left"><h2><?= Opencc::ConvertHn('楼盘户型') ?></h2></div>
- <div class="y_right " id="y_right">
- <ul class="c">
- <?php foreach ($grouptype as $val) { ?>
- <li name="<?php echo $val['type_id'] ?>" hid="<?php echo $_GET['hid'] ?>"><a
- href="javascript:;"><?php echo Opencc::ConvertHn($val['huxing_name']) ?>
- (<?php echo $val['num'] ?>
- )</a></li>
- <?php } ?>
- </ul>
- </div>
- </div>
- <div class="y_lphx_list" id="y_lphx_list">
- <ul class="c">
- </ul>
- </div>
- <div class="c"></div>
- <div class="c"></div>
- <?php } else { ?>
- <div class="y_nodata" style="text-align:center;">
- <img src="/overseas/img/ico_nodata1.png" alt="" width="400" height="auto">
- </div>
- <?php } ?>
- <div style=" height:10px;"></div>
- </div>
- </div>
- <!-- 猜你喜欢 -->
- <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>
|