index.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. use wechat\assets\AppAsset;
  3. use yii\helpers\Url;
  4. AppAsset::addCss($this,Yii::$app->request->baseUrl."/css/knowledgebase/zsk_index.css");
  5. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/js/knowledgebase/zsk_index.js');
  6. $this->title = '海南房价_海南房地产门户_海南房产网-品房网';
  7. ?>
  8. <div id="serachBox2">
  9. <?php $this->beginContent('@app/views/public/nav.php'); ?>
  10. <?php $this->endContent(); ?>
  11. <div class="max_box"> <!-- 最大 -->
  12. <div class="m_head_box">
  13. <div class="m_head_dh">
  14. <div class="m_head_gt"><a href="<?php if($this->params['referer'] == '/'){ echo $this->params['referer'];}else{ echo 'javascript:history.back(-1)';} ?>"><img src="/image/knowledgebase/zsk2.png" alt=""></a></div>
  15. <span><a href="/">易购房</a></span>
  16. <div class="m_head_Navigation"><img src="/image/knowledgebase/zsk3.png" alt=""><p>导航</p></div>
  17. </div>
  18. <div class="m_head_search_box">
  19. <form class="m_head_search c" action="javascript:search();">
  20. <input type="text" placeholder="请输入关键词" class="m_head_search_input">
  21. <input type="button" value="搜索" class="m_head_search_button">
  22. </form>
  23. </div>
  24. <div class="m_head_img">
  25. <img src="/image/knowledgebase/zsk51.png" alt="">
  26. </div>
  27. </div>
  28. <!-- 知识库 -->
  29. <div class="m_zsk_list_box">
  30. <?php if(!empty($result)) { ?>
  31. <!-- <p>知识库</p> -->
  32. <?php foreach($result as $k=>$v){ ?>
  33. <div class="m_zsk_list">
  34. <div class="m_zsk_list_xf" zkid="<?php echo $v['id']; ?>">
  35. <div class="m_zsk_list_title c">
  36. <em class="c"><i></i><span><?php echo $v['name'] ?></span><i></i></em>
  37. </div>
  38. <div class="m_zsk_list_ul zk_list" zkid="<?php echo $v['id']; ?>">
  39. <ul class="zk_list_height c">
  40. <?php foreach($v['child'] as $key=>$value){ ?>
  41. <li data-id="<?php echo $value['id'] ?>"><a href="/knowledgebase/list/"><?php echo $value['name'] ?></a></li>
  42. <?php } ?>
  43. </ul>
  44. </div>
  45. <div class="m_zsk_list_zk c zkclick" zkid="<?php echo $v['id']; ?>">
  46. <span>展开</span>
  47. <img src="/image/knowledgebase/zsk6.png" alt="">
  48. </div>
  49. <div class="m_zsk_list_zk c sqclick" zkid="<?php echo $v['id']; ?>">
  50. <span>收起</span>
  51. <img src="/image/knowledgebase/zsk06.png" alt="">
  52. </div>
  53. </div>
  54. </div>
  55. <?php } ?>
  56. <?php } ?>
  57. </div>
  58. <div class="m_bm">
  59. <div class="m_bm_title">
  60. <!-- <em>报名看房</em>
  61. <span>一对一服务,让您全程无忧看房!</span> -->
  62. </div>
  63. <form class="submit_area c">
  64. <input type="hidden" name="aid" value="0"> <!-- 0 为公共报名,其它为楼盘ID-->
  65. <input type="hidden" name="source" value="20"> <!--报名来源 具体查看applyVerify.js文件中source 标识说明-->
  66. <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
  67. <input type="text" placeholder="请输入您的手机号" name="mobile">
  68. <input type="button" value="立即报名" class="apply_submit">
  69. </form>
  70. </div>
  71. </div>
  72. </div>