xiajia.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php
  2. use wechat\assets\AppAsset;
  3. AppAsset::addCss($this,Yii::$app->request->baseUrl."/css/house/xiajia.css");
  4. $this->title = '易购房-楼盘信息';
  5. ?>
  6. <!-- 导航 -->
  7. <?php $this->beginContent('@app/views/public/nav.php'); ?>
  8. <?php $this->endContent(); ?>
  9. <div style="height:10px;"></div>
  10. <div class="soidOut">
  11. <div class="soidOut_main">
  12. <div class="soidOut_top">
  13. <div class="topimg">
  14. <p><img src="/image/soid_ico.png" alt=""></p>
  15. <p>很抱歉,该楼盘项目已下架。</p>
  16. </div>
  17. <div class="toptext">
  18. <a href="/">返回首页</a>
  19. </div>
  20. </div>
  21. </div>
  22. <?php if(!empty($model)){ ?>
  23. <div class="soidOut_bottom">
  24. <div class="soidOut_bottom_h c">
  25. <div class="left"><span>为您推荐</span></div>
  26. <!-- <div class="right">
  27. <a href="" data-id=''>周边楼盘</a>
  28. <a href="" data-id=''>同价楼盘</a>
  29. </div> -->
  30. </div>
  31. <div class="soidOut_bottom_list">
  32. <ul>
  33. <?php foreach ($model as $val){ ?>
  34. <li class="c">
  35. <div class="m_box c">
  36. <div class="y_img">
  37. <p class="y_tu">
  38. <a href="/house/<?= $val['id'] ?>/">
  39. <img src="<?= $val['thumb'] ?>" alt="">
  40. <i><?= $val['city_name'] ?></i>
  41. </a>
  42. </p>
  43. <!-- <p class="y_licyit" style="display:none">视频</p>-->
  44. <i style="display:none"><img src="/image/search/w_v.png" alt="" /></i>
  45. </div>
  46. <div class="y_text">
  47. <div class="y_text_main">
  48. <a href="/house/<?= $val['id'] ?>/">
  49. <p class="y_title"><span><?= $val['name'] ?></span></p>
  50. <?php if (!empty($val['sale_price'])) { ?>
  51. <p class="y_jiage"><span><?= $val['sale_price'] ?></span><em><?= $val['price_unit'] ?></em></p>
  52. <?php }else{ ?>
  53. <p class="y_jiage"><span>价格待定</span><em></em></p>
  54. <?php } ?>
  55. <p class="y_shijian">有效期 | <?= $start_time ?></p>
  56. <p class="y_tese">
  57. <?php foreach ($val['characteristic'] as $v) { ?>
  58. <i><?= $v ?></i>
  59. <?php } ?>
  60. </p>
  61. </a>
  62. </div>
  63. <div class="y_text_call">
  64. <a href="tel:<?= $val['tel'] ?>"><img src="/image/v2/search3.png" alt=""></a>
  65. </div>
  66. </div>
  67. </div>
  68. <div class="m_gzlx c">
  69. <p class="m_gzlx_l"><img src="/image/v2/index6.png" alt="">楼盘热度</p>
  70. <p class="m_gzlx_r">已有人<?php echo rand(500,800) ?>关注</p>
  71. </div>
  72. </li>
  73. <?php } ?>
  74. </ul>
  75. </div>
  76. <div class="soidOut_bottom_gd">
  77. <a href="/house/search">更多楼盘推荐</a>
  78. </div>
  79. <div style="height:50px;"></div>
  80. </div>
  81. <?php } ?>
  82. </div>