12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- use mobile\assets\AppAsset;
- use common\fm\Opencc;
- use yii\helpers\Url;
- AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/lpnewslist.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/amazeui/amazeui.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/menu/lpnav.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)&&!empty($model['data'])) { ?>
- <div class="y_lphomenew">
- <div class="y_lphomenew_main">
- <div class="y_lphomenew_cent">
- <ul>
- <?php foreach ($model['data'] as $val) { ?>
- <li>
- <div class="y_newtextmain">
- <a href="/news/details/<?= $val['id'] ?>">
- <p class="y_title c"><i><img src="/overseas/img/ico_38.png"
- alt=""></i><span><?= $val['subject'] ?></span>
- </p>
- <div class="y_newstext">
- <em class="list_tb2"><img src="/overseas/img/ico_39.png" alt=""></em>
- <em class="list_tb"><img src="/overseas/img/ico_lpnewes.png" alt=""></em>
- <p class="y_text"><?= $val['abstract'] ?></p>
- <p class="y_img c">
- <?php if (!empty($val['thumb'])) {
- $img = json_decode($val['thumb'], true);
- foreach ($img as $v) { ?>
- <i>
- <img src="<?= Yii::$app->params['httpImg']['host'], Yii::$app->params['httpImg']['newsthumb'], $v ?>"
- alt="">
- </i>
- <?php }
- } ?>
- </p>
- <p class="y_shijian"><?= $val['open_time'] ?></p>
- </div>
- </a>
- </div>
- <div style="height:15px;"></div>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
- </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>
|