villalist.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/4/19
  6. * Time: 下午2:54
  7. */
  8. use wechat\assets\AppAsset;
  9. use yii\helpers\Html;
  10. use yii\helpers\Url;
  11. AppAsset::addCss($this,Yii::$app->request->baseUrl."/css/villa/style.css");
  12. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/js/search_public.js');
  13. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/villa/villalist.js");
  14. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/homelist/dropload.min.js");
  15. //use yii\widgets\LinkPager;
  16. $this->title = '移动端豪宅列表页-易购房';
  17. ?>
  18. <div id="serachBox2">
  19. <?php $this->beginContent('@app/views/public/nav.php'); ?>
  20. <?php $this->endContent(); ?>
  21. <!-- 搜索列表 -->
  22. <div class="wlist-box">
  23. <!-- 筛选条件 -->
  24. <div class="y_homelist_head">
  25. <!-- <div class="w_wek_box">
  26. <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>
  27. </div> -->
  28. <div class="y_qylist c">
  29. <div class="y_qylist_hoe c">
  30. <div class="y_qylist_con" data-id="1">
  31. <p class="y_topmain feng_city"><span>区域</span><i><img src="/image/ico_13.png" alt=""></i></p>
  32. </div>
  33. <div class="y_qylist_con" data-id="2">
  34. <p class="y_topmain feng_price"><span>价格</span><i><img src="/image/ico_13.png" alt=""></i></p>
  35. </div>
  36. <div class="y_qylist_con" data-id="3">
  37. <p class="y_topmain feng_characteristic"><span>排序</span><i><img src="/image/ico_13.png" alt=""></i></p>
  38. </div>
  39. <div class="y_qylist_con">
  40. <p class="y_topmain y_lplist_inp"><span>搜索</span><i><img src="/image/search/w_sek.png" alt=""></i></p>
  41. </div>
  42. </div>
  43. <div class="y_qylist_cnet">
  44. <div class="y_qylist_cnet_ind" data-id='1'>
  45. <a class="link_click" href="javascript:;" name="city" value="0" >不限</a>
  46. <?php if (!empty($city)){?>
  47. <?php foreach ($city as $value){?>
  48. <a class="link-item" href="javascript:;" name="city" pinyin="<?= $value['pinyin']?>" value="<?= $value['id']?>"><span><?= $value['city_name']?></span></a>
  49. <div class="three_area">
  50. </div>
  51. <?php }?>
  52. <?php }?>
  53. </div>
  54. <div class="y_qylist_cnet_ind" data-id='2'>
  55. <a class="link_click" href="javascript:;" name="price" value="0" >不限</a>
  56. <?php if (!empty($price)){?>
  57. <?php foreach ($price as $value){?>
  58. <a class="link_click" href="javascript:;" name="price" value="<?= $value['price']?>"><span><?= $value['price']?></span></a>
  59. <?php }?>
  60. <?php }?>
  61. </div>
  62. <div class="y_qylist_cnet_ind" data-id='3'>
  63. <a class="link_click" href="javascript:;" name="sort" value="0" >不限</a>
  64. <a class="link_click" href="javascript:;" name="sort" value="1" ><span>升序</span></a>
  65. <a class="link_click" href="javascript:;" name="sort" value="2" ><span>降序</span></a>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <!-- 楼盘列表 -->
  71. <div class="y_homelist_list">
  72. <ul class="c">
  73. <!-- <li class="c">
  74. <a href="javascript:void(0);">
  75. <div class="picture">
  76. <div class="picture_price">
  77. <h2>万科浪琴湾 (Vanke) 每天都是好</h2>
  78. </div>
  79. <img src="/image/news_max.png" alt="">
  80. </div>
  81. <div class="picture_font">
  82. <div class="picture_name">
  83. <label>荐</label>
  84. <p>富力湾超大海景阳台,每天都是好心情</p>
  85. </div>
  86. <div class="trademark">
  87. <div class="trademark-logo">
  88. <img src="/image/toutiao.png" alt="">
  89. </div>
  90. <p class="trademark-btn popup" href="javascript:javascript:void(0);" data-name="获取优惠" data-text="我们将为您保密个人信息!专业团队,一对一服务,让你全程无忧看房!" data-id="1640" data-module="46">获取优惠</p>
  91. </div>
  92. <div class="price-bx">
  93. <p class="picture_price_font">
  94. <i>约</i>
  95. <span>¥28000</span>
  96. <label>元/㎡</label>
  97. </p>
  98. <p class="valid">有效期:2019/05/07</p>
  99. </div>
  100. <div class="heroism-box">
  101. <div class="minute">4.3分</div>
  102. <div class="precision">静密值:<span class="precision_i"><i></i><i></i><i></i><i class="half"></i><i class="colourless"></i></span></div>
  103. <div class="heroism">豪气值:<span class="heroism_i"><i></i><i></i><i></i><i class="half"></i><i class="colourless"></i></span></div>
  104. </div>
  105. <p class="site"><img src="/image/icn-map.png" alt="">地址:海南省海口市新埠岛新埠区18街灵...</p>
  106. </div>
  107. </a>
  108. </li> -->
  109. </ul>
  110. </div>
  111. </div>
  112. </div>