123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <?php
- use frontend\assets\AppAsset;
- use yii\helpers\Html;
- use common\fm\Opencc;
- AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/lptuku.css");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/scrollfix.min.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/lptuku.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' => 95]); ?>
- <?php $this->endContent(); ?>
- <?php $this->beginContent('@app/views/house/swiper.php'); ?>
- <?php $this->endContent(); ?>
- <div class="y_heihgt" style="height:20px;"></div>
- <div class="y_tuku">
- <div class="y_tuku_main puic_wid c">
- <?php if (!empty($album['album'])) { ?>
- <div class="y_tuku_nav fl" id="y_tuku_nav1">
- <ul>
- <?php foreach ($album['album'] as $key => $val) { ?>
- <li <?php if ($key == 0) echo 'class="on"' ?> data-anc="<?php echo $val['album_id'] ?>"><a
- href="javascript:;"><span><?php echo Opencc::ConvertHn($val['name']) ?></span><em><?php echo $val['num'] ?></em></a><i></i>
- </li>
- <?php } ?>
- </ul>
- </div>
- <div class="y_tuku_cent fr">
- <?php if (!empty($album['data'])) {
- foreach ($album['data'] as $key => $val) { ?>
- <div class="y_tuku_ul puic_color mt20 <?php echo Opencc::ConvertHn($key) ?>"> <!-- 5 代表分类id -->
- <div class="y_tuku_ul_h c"><h2>
- <span><?php echo Opencc::ConvertHn($album['album_id'][$key]) ?></span></h2>
- </div>
- <ul class="y_tuku_ul_tu c">
- <?php foreach ($album['data'][$key] as $v) { ?>
- <li data-id="<?php echo $key ?>" data-hid="<?php echo $public['id'] ?>">
- <a class="elem" href="<?= !empty($v['path']) ? '/house/zhongqu/'.$v['hid'].'?h='.$v['path'] : (!empty($v['panorama'])?'/house/zhongqu/'.$v['hid'].'?h='.$v['panorama'] : 'javascript:void(0)')?>">
- <p class="y_img"><img
- src="<?= $v['img'] ?>"
- alt=""></p>
- <p class="y_title"><?php echo $v['title'] != 'null' ? Opencc::ConvertHn($v['title']) : '' ?></p>
- <?php if(!empty($v['path']) || !empty($v['panorama'])){?>
- <div class="vvid_pic_ico vr-animation-forever"></div>
- <?php }?>
- </a>
- </li>
- <?php } ?>
- </ul>
- <div class="y_lptk_show">
- <a data-list="tuer" data-id="<?php echo $key ?>" data-hid="<?php echo $public['id'] ?>"
- href="javascript:;"><span><?= Opencc::ConvertHn('查看更多') ?></span><i><img
- src="/overseas/img/ico_51.png" alt=""></i></a>
- </div>
- <div class="y_lptk_none">
- <a href="javascript:;"><span><?= Opencc::ConvertHn('收起') ?></span><i><img
- src="/overseas/img/ico_51.png" alt=""></i></a>
- </div>
- </div>
- <?php }
- } ?>
- </div>
- <?php } else { ?>
- <div class="y_nodata" style="display:none; text-align:center; background: #fff; padding: 20px 0;">
- <img src="/overseas/img/ico_nodata3.png" alt="" width="400" height="auto">
- </div>
- <?php } ?>
- </div>
- </div>
- <div class="y_bottom_h"></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>
|