123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/4/20
- * Time: 上午12:44
- */
- use wechat\assets\AppAsset;
- use yii\helpers\Url;
- AppAsset::addCss($this,Yii::$app->request->baseUrl."/css/news_details.css");
- AppAsset::addCss($this,Yii::$app->request->baseUrl."/js/index/swiper-3.4.2.min.css");
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/index/swiper-3.4.2.min.js");
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/news/details.js");
- // AppAsset::addScript($this,Yii::$app->request->baseUrl.'/js/signup/signup.js'); // 报名弹窗调用
- // AppAsset::addScript($this,Yii::$app->request->baseUrl.'/js/applyVerify.js'); // 报名弹窗调用
- $this->title = $model['subject'].'-海南房产资讯-易购房';
- $this->metaTags[]='<meta name="keywords" content="'.$model['subject'].'" />';
- $this->metaTags[]='<meta name="description" content="'.$model['subject'].'"/>';
- ?>
- <?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">
- <?php if(!empty($model['source'])){ ?>
- <span>来源:<?= $model['source'] ?></span>
- <?php } ?>
- <?php if(!empty($model['author'])){ ?>
- <span>作者:<?= $model['author'] ?></span>
- <?php } ?>
- </p>
- <p class="y_right"><?= date('Y-m-d',$model['create_at']); ?></p>
- </div>
- <div class="y_newsdata_cont">
- <?= $model['content'] ?>
- </div>
- </div>
- </div>
- </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="/image/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="/image/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="/image/ico_news_dy.png" alt="">-->
- <!-- </div>-->
- <!-- <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="">-->
- <!-- <input type="hidden" name="source" value="7"> <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
- <!-- <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
- <!-- <input type="text" name="mobile" class="y_input" placeholder="您的手机号">-->
- <!-- <input type="buttom" class="y_submit apply_submit" value="立即订阅">-->
- <!-- </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="/image/ico_6.png" 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="/image/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="15"> <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
- <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
- <div class="y_lpkfdzinpund">
- <i><img src="/image/m_ico_dzxm1.png" alt=""></i><input name="name" class="y_input" type="text" placeholder="您的姓名">
- </div>
- <div class="y_lpkfdzinpund">
- <i><img src="/image/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="/image/m_2ico_lptjbg.png" alt="">
- </div>
- </div>
|