index.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. use wechat\assets\AppAsset;
  3. AppAsset::addCss($this,Yii::$app->request->baseUrl."/css/homelist.css");
  4. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/js/search_public.js');
  5. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/homelist/dropload.min.js");
  6. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/timelimitsgroup/scrollstart.js");;
  7. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/timelimitsgroup/timelimitsgroup.js");;
  8. $this->title = '热销楼盘';
  9. ?>
  10. <div id="serachBox2">
  11. <?php $this->beginContent('@app/views/public/nav.php'); ?>
  12. <?php $this->endContent(); ?>
  13. <div class="y_homelist_head wm-top" style="display:none;">
  14. <!-- <div class="w_wek_box" >
  15. <div class="header_back"><a href="/"><img src="/image/search/w_b1.png"></a></div>
  16. <div class="w_a"><a class="y_lplist_inp" href="javascript:void(0)">输入楼盘名称...</a><i><img src="/image/search/w_sek.png" alt=""></i></div>
  17. <div class="header_menu"><a></a></div>
  18. </div> -->
  19. <div style="height: 50px;"></div>
  20. <div class="y_qylist c">
  21. <div class="y_qylist_hoe c">
  22. <?php if(!empty($city)){ foreach($city as $k=>$v){ ?>
  23. <?php if($k<4){ ?>
  24. <div class="y_qylist_con" data-id='<?php echo $v['id'] ?>'>
  25. <p class="y_topmain feng_city"><span><?php echo $v['city_name'] ?></span></p>
  26. </div>
  27. <?php } ?>
  28. <?php } } ?>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="y_homelist_head">
  33. <!-- <div class="w_wek_box" >
  34. <div class="w_a"><a class="y_lplist_inp" href="javascript:void(0)">输入楼盘名称...</a><i><img src="/image/search/w_sek.png" alt=""></i></div>
  35. </div> -->
  36. <div class="y_qylist c">
  37. <div class="y_qylist_hoe c">
  38. <?php if(!empty($city)){ foreach($city as $k=>$v){ ?>
  39. <?php if($k<4){ ?>
  40. <div class="y_qylist_con" data-id='<?php echo $v['id'] ?>'>
  41. <p class="y_topmain feng_city"><span><?php echo $v['city_name'] ?></span></p>
  42. </div>
  43. <?php } ?>
  44. <?php } } ?>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="y_homelist_list">
  49. <ul class="c">
  50. </ul>
  51. </div>
  52. </div>