123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/4/20
- * Time: 上午12:44
- */
- use mobile\assets\AppAsset;
- use yii\helpers\Url;
- AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/news_details.css");
- AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/js/index/swiper-3.4.2.min.css");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/index/swiper-3.4.2.min.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/news/details.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/search_public.js');
- //$this->title = '资讯';
- $this->title = $model['subject'] . '';
- $this->metaTags[] = '<meta name="keywords" content="' . $model['subject'] . '" />';
- $this->metaTags[] = '<meta name="description" content="' . $model['subject'] . '"/>';
- ?>
- <div id="serachBox2">
- <img src="<?= Yii::$app->params['httpImg']['host'], Yii::$app->params['httpImg']['newsthumb'], json_decode($model['thumb'], true)[0] ?>"
- alt="" style="visibility:hidden;height:0;width:0;"/>
- <?php $this->beginContent('@app/views/public/nav.php'); ?>
- <?php $this->endContent(); ?>
- <div class="y_news_details">
- <div class="y_news_main">
- <div class="y_news_conter">
- <div class="y_newsdeta_h">
- <?= $model['subject'] ?>
- </div>
- <div class="y_newsdeta_hbottom c">
- <p class="y_left c">
- <span><?= $model['source'] ?></span>
- <span>作者:<?= $model['author'] ?></span>
- </p>
- <p class="y_right"><?= $model['open_time'] ?></p>
- </div>
- <div class="y_newsdata_cont">
- <?= $model['content'] ?>
- </div>
- </div>
- </div>
- <?php if (!empty($model['hid']) /*&& $model['hstate'] == 1*/) { ?>
- <?php if (!empty($push)) { ?>
- <div class="m_lpdatabox" style="">
- <div class="m_lpdatap c">
- <a href="<?= '/house/', $model['hid'] ?>">
- <div class="m_lpdataimg">
- <img class="img" src="<?= $push['thumb'] ?>" alt="">
- <i><img src="/overseas/img/zxdz.png" alt=""><?= $push['city_name'] ?></i>
- </div>
- <div class="m_lpdata">
- <p class="title c"><?= $push['name'] ?></p>
- <?php if (!empty($push['sale_price'])) { ?>
- <p class="Price">
- <span>均价:<i><?= $push['sale_price'] ?></i><?= $push['price_unit'] ?></span></p>
- <?php } else { ?>
- <p class="Price"><span>均价:<i>待定</i></span></p>
- <?php } ?>
- <p class="huxing">建筑面积:<?= $push['main_units'] ?></p>
- <p class="tyle c">
- <?php if (!empty($push['characteristic'])) foreach ($push['characteristic'] as $v) { ?>
- <span><?= $v ?></span>
- <?php } ?>
- </p>
- </div>
- </a>
- <a class="m_lpdatabm popup" href="javascript:;" data-name="获取优惠"
- data-text="价格变动这么快?!<em>楼盘优惠</em>的消息我们将<em>第一时间通知您</em>!" data-id="<?= $push['id'] ?>"
- data-module="122">获取优惠</a>
- </div>
- </div>
- <?php } ?>
- <?php } ?>
- <?php //$this->beginContent('@app/views/news/tail.php', ['tel' => $tel]); ?>
- <?php //$this->endContent(); ?>
- </div>
- <!--上一篇/-->
- <div class="y_newsmore">
- <div class="y_newsmore_main">
- <div class="y_newsmore_cent">
- <div class="y_newsmore_li">
- <a href="<?= '/news/details/', $hotnews[0]['id'] ?>"
- class="c"><span>上一篇: <em> <?= $hotnews[0]['subject'] ?></em></span><i><img
- src="/overseas/img/ico_32.png" alt=""></i></a>
- </div>
- <div class="y_newsmore_li">
- <a href="<?= '/news/details/', $hotnews[1]['id'] ?>"
- class="c"><span>下一篇: <em> <?= $hotnews[1]['subject'] ?></em></span><i><img
- src="/overseas/img/ico_32.png" alt=""></i></a>
- </div>
- </div>
- </div>
- </div>
- <div class="y_newsub">
- <div class="y_newsub_main">
- <div class="y_newsub_bg">
- <img src="/overseas/img/m1_ico_news_dy.png" alt="">
- </div>
- <img src="/overseas/img/m_zxxtb1.png" alt="" class="m_zxxtb">
- <div class="y_newsub_cent">
- <div class="y_newsub_h">订阅<!-- 品房阁 --> 资讯,获取楼市最新信息</div>
- <div class="y_newsub_input">
- <form class="submit_area">
- <input type="hidden" name="hid" value=""> <!-- 0 为公共报名,其它为楼盘ID-->
- <input type="hidden" name="b_city" value="<?= $model['city'] ?>">
- <input type="hidden" name="source" value="123">
- <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
- <input type="hidden" name="equipment" value="1">
- <!--来源设备 ( PC端 2,手机端 1 )-->
- <input type="text" name="mobile" class="y_input" placeholder="您的手机号">
- <a class="y_submit apply_submit" href="javascript:;"><img src="/overseas/img/m_zxg1.png" alt="" class="m_zxg"></a>
- </form>
-
- </div>
- </div>
- </div>
- </div>
- <!-- 相关推荐 -->
- <div class="y_newsrelated">
- <div class="y_newsrelated_main">
- <div class="y_lphome_h y_lphome_h2 c">
- <span>推荐楼盘</span>
- </div>
- <div class="y_lphomepc_cent">
- <div class="y_lphomepc_cent_list">
- <div class="y_lphomepc_swip swiper-container">
- <ul class="y_lphomepc_swip_main swiper-wrapper">
- <?php foreach ($cityhouse as $val) { ?>
- <li class="y_neirongpc swiper-slide">
- <a href="<?= '/house/', $val['id'] ?>">
- <div class="y_centerpc">
- <p class="y_img"><img
- src="<?= Yii::$app->params['httpImg']['hosts'], Yii::$app->params['httpImg']['houses'], $val['thumb'], '/same' ?>"
- alt=""></p>
- <div class="y_bottomtext c">
- <p class="y_left">
- <span><?= $val['name'] ?></span><em>[<?= $val['city_name'] ?>]</em>
- </p>
- <?php if (!empty($val['sale_price'])) { ?>
- <p class="y_right">
- 均价:<span><?= $val['sale_price'] ?></span><?= $val['price_unit'] ?>
- </p>
- <?php } else { ?>
- <p class="y_right">均价:待定</span></p>
- <?php } ?>
- </div>
- </div>
- </a>
- </li>
- <?php } ?>
- </ul>
- <div class="y_longhr">
- <div class="swiper-pagination"></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- 看房定制 -->
- <div class="y_lpkfdz">
- <div class="y_lpkfdz_bg">
- <img src="/overseas/img/m_1ico_lptjbg.png" alt="">
- </div>
- <div class="y_lpkfdz_main">
- <div class="y_lpkfdz_cent">
- <!-- <div class="y_lpkfdz_h">报名看房</div> -->
- <div class="y_lpkfdz_inplist">
- <form class="submit_area">
- <input type="hidden" name="hid" value=""> <!-- 0 为公共报名,其它为楼盘ID-->
- <input type="hidden" name="b_city" value="">
- <input type="hidden" name="source" value="124">
- <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
- <input type="hidden" name="equipment" value="1">
- <!--来源设备 ( PC端 2,手机端 1 )-->
- <div class="y_lpkfdzinpund">
- <i><img src="/overseas/img/m_ico_dzxm1.png" alt=""></i><input name="name" class="y_input"
- type="text" placeholder="您的姓名">
- </div>
- <div class="y_lpkfdzinpund">
- <i><img src="/overseas/img/m_ico_dzxm3.png" alt=""></i><input name="mobile" class="y_input"
- type="text" placeholder="您的手机号">
- </div>
- <div class="y_lpkfdzsub"><a class="apply_submit" href="javascript:;">立即报名</a></div>
- </form>
- </div>
- <div style="height:25px;"></div>
- </div>
- </div>
- <div class="y_lpkfdz_bg" id="m_lpkfdz_bg">
- <img src="/overseas/img/m_2ico_lptjbg.png" alt="">
- </div>
- </div>
- </div>
|