home.php 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?php
  2. use wechat\assets\AppAsset;
  3. use yii\helpers\Html;
  4. AppAsset::addCss($this,Yii::$app->request->baseUrl."/css/brand/home.css");
  5. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/brand/home.js");
  6. $this->title = '品牌馆-易购房';
  7. ?>
  8. <?php $this->beginContent('@app/views/public/nav.php'); ?>
  9. <?php $this->endContent(); ?>
  10. <div class="max_box"> <!-- 最大 -->
  11. <?php if (!empty($column)) { ?>
  12. <div class="m_headimg">
  13. <img src="<?= $column['img_a'] ?>" alt="">
  14. <i></i>
  15. <div class="m_dh">
  16. <a href="javascript:history.back(-1)" class="m_dh_l"><img src="/image/pinp2.png" alt=""></a>
  17. <a href="javascript:;" class="m_dh_r header_menu "><img src="/image/pinp3.png" alt=""></a>
  18. </div>
  19. </div>
  20. <?php } ?>
  21. <?php if (!empty($developers)) { ?>
  22. <div class="m_Article_box">
  23. <div class="y_lphome_h2 c">
  24. <span>品牌简介</span>
  25. </div>
  26. <div class="m_Article_text">
  27. <div class="m_Article_text_box" data-text="<?= $developers['info'] ?>"><?= $developers['info'] ?></div>
  28. <!-- <div class="bg-openg"></div> -->
  29. </div>
  30. <div class="m_Article_buttom m_Article_click">
  31. <span>展开</span>
  32. <img src="/image/pinp5.png" alt="">
  33. </div>
  34. </div>
  35. <?php } ?>
  36. <?php if (!empty($house)) { ?>
  37. <div class="sell_conter">
  38. <ul>
  39. <?php foreach ($house as $val) { ?>
  40. <li class="c">
  41. <a href="/house/<?= $val['id'] ?>" class="c">
  42. <div class="sell_img"><img src="<?= $val['thumb'] ?>" alt=""><i><?= $val['city_name'] ?></i></div>
  43. <div class="sell_conter_right">
  44. <p class="title"><?= $val['name'] ?></p>
  45. <?php if (!empty($val['sale_price'])) { ?>
  46. <p class="jg_ing jg_ingdd"><span><em><?= $val['sale_price'] ?></em> <?= $val['price_unit'] ?></span></p>
  47. <?php }else{ ?>
  48. <p class="jg_ing jg_ingdd"><span><em>价格待定</em></span></p>
  49. <?php } ?>
  50. <p class="date"></p>
  51. <p class="style">
  52. <?php if(!empty($val['characteristic'])) foreach ($val['characteristic'] as $v){ ?>
  53. <i><?= $v ?></i>
  54. <?php } ?>
  55. </p>
  56. </div>
  57. </a>
  58. <div class="m_gzlx c">
  59. <p class="m_gzlx_l"><img src="/image/pinp6.png" alt="">楼盘热度</p>
  60. <p class="m_gzlx_r">已有<?= $val['rand'] ?>人关注</p>
  61. </div>
  62. <div class="cal_price"><a href="tel:<?= $val['tel'] ?>"><img src="/image/pinp7.png"></a></div>
  63. </li>
  64. <?php } ?>
  65. </ul>
  66. </div>
  67. <?php } ?>
  68. </div>
  69. <div style="height:40px;"></div>