index.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. use mobile\assets\AppAsset;
  3. use yii\helpers\Url;
  4. AppAsset::addCss($this,Yii::$app->request->baseUrl."/overseas/css/knowledgebase/zsk_index.css");
  5. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/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="/overseas/img/knowledgebase/zsk2.png" alt=""></a></div>
  15. <span><a href="/"><img src="/overseas/img/jpzimg_1.png" alt=""></a></span>
  16. <div class="m_head_Navigation"><img src="/overseas/img/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" style="position:relative;">
  25. <div class="wadlabel">广告</div>
  26. <img src="/overseas/img/knowledgebase/zsk51.png" alt="">
  27. </div>
  28. </div>
  29. <!-- 知识库 -->
  30. <div class="m_zsk_list_box">
  31. <?php if(!empty($result)) { ?>
  32. <!-- <p>知识库</p> -->
  33. <?php foreach($result as $k=>$v){ ?>
  34. <div class="m_zsk_list">
  35. <div class="m_zsk_list_xf" zkid="<?php echo $v['id']; ?>">
  36. <div class="m_zsk_list_title c">
  37. <em class="c"><i></i><span><?php echo $v['name'] ?></span><i></i></em>
  38. </div>
  39. <div class="m_zsk_list_ul zk_list" zkid="<?php echo $v['id']; ?>">
  40. <ul class="zk_list_height c">
  41. <?php foreach($v['child'] as $key=>$value){ ?>
  42. <li data-id="<?php echo $value['id'] ?>"><a href="/knowledgebase/list/"><?php echo $value['name'] ?></a></li>
  43. <?php } ?>
  44. </ul>
  45. </div>
  46. <div class="m_zsk_list_zk c zkclick" zkid="<?php echo $v['id']; ?>">
  47. <span>展开</span>
  48. <img src="/overseas/img/knowledgebase/zsk6.png" alt="">
  49. </div>
  50. <div class="m_zsk_list_zk c sqclick" zkid="<?php echo $v['id']; ?>">
  51. <span>收起</span>
  52. <img src="/overseas/img/knowledgebase/zsk06.png" alt="">
  53. </div>
  54. </div>
  55. </div>
  56. <?php } ?>
  57. <?php } ?>
  58. </div>
  59. <div class="m_bm" style="position:relative;">
  60. <div class="wadlabel">广告</div>
  61. <div class="m_bm_title">
  62. <!-- <em>报名看房</em>
  63. <span>一对一服务,让您全程无忧看房!</span> -->
  64. </div>
  65. <form class="submit_area c">
  66. <input type="hidden" name="aid" value="0"> <!-- 0 为公共报名,其它为楼盘ID-->
  67. <input type="hidden" name="source" value="125"> <!--报名来源 具体查看applyVerify.js文件中source 标识说明-->
  68. <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
  69. <input type="text" placeholder="请输入您的手机号" name="mobile">
  70. <input type="button" value="立即报名" class="apply_submit">
  71. </form>
  72. </div>
  73. </div>
  74. </div>