1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- use mobile\assets\AppAsset;
- use yii\helpers\Html;
- use yii\helpers\Url;
- AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/js/album_list/css/lightgallery.css");
- AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/housetype.css");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/album_list/js/lightgallery.js");
- 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/menu/lpnav.js');
- AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/house/type.js');
- AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/search_public.js');
- $this->title = '楼盘户型';
- ?>
- <div id="serachBox2">
- <?php $this->beginContent('@app/views/public/nav.php'); ?>
- <?php $this->endContent(); ?>
- <!-- 导航 -->
- <?php $this->beginContent('@app/views/public/housenav.php', ['hid' => $hid]) ?>
- <?php $this->endContent(); ?>
- <!-- 户型数量 -->
- <?php if (!empty($model)) { ?>
- <div class="hu_main">
- <ul>
- <?php foreach ($model as $val) { ?>
- <li value="<?= $val['type_id'] ?>"
- hid="<?= $val['hid'] ?>"><?= \common\fm\Opencc::ConvertHn($val['huxing_name']) ?>
- <span>(<?= $val['num'] ?>)</span><i></i></li>
- <?php } ?>
- </ul>
- </div>
- <!-- 列表 -->
- <div class="hu_box" id="zh_housetype-list">
- </div>
- <?php } else { ?>
- <div class="y_nodata">
- <div style="background:#fff; padding:20px;"><img src="/overseas/img/y_nodata.png" alt="" width="100%"
- height="auto"/></div>
- </div>
- <?php } ?>
- </div>
|