list.php 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?php
  2. use frontend\assets\AppAsset;
  3. use yii\widgets\LinkPager;
  4. use yii\helpers\Url;
  5. AppAsset::addCss($this, Yii::$app->request->baseUrl . "/assets/614deafb/css/bootstrap.css");
  6. AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/knowledgebase/zsk_index.css");
  7. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/applyVerify.js");
  8. AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/knowledgebase/zsk_index.js');
  9. $this->title = '海南房产_最新海南房产政策_海南房产信息网-品房海外';
  10. $this->metaTags[] = '<meta name="keywords" content="海南购房解读,海南购房指南,海南购房深度分析,海南购房攻略" />';
  11. $this->metaTags[] = '<meta name="description" content="品房海外从海南购房客户的角度出发,提供准确的楼盘信息,全方位分析海南楼盘信息,提供专业的海南房产|楼盘|置业|房地产折扣优惠信息,打造海南第一房产品牌!"/>';?>
  12. <div class="m_zsk_box c">
  13. <div class="m_zsk_l">
  14. <div class="m_zsk_l_title">
  15. <em>知识库</em>
  16. <span>分类</span>
  17. </div>
  18. <ul class="m_zsk_l_ul">
  19. <?php foreach ($result as $k => $v) { ?>
  20. <li>
  21. <div class="m_zsk_l_ul_li" zkid="<?php echo $k + 1 ?>">
  22. <em id="m_zsk_l_ulem"><?php echo $v['name'] ?></em>
  23. <div class="m_zsk_l_text zk_list" zkid="<?php echo $k + 1 ?>">
  24. <div class="zk_list_height c">
  25. <?php foreach ($v['child'] as $key => $value) { ?>
  26. <a <?php if (!empty($_GET['cid']) && $value['id'] == $_GET['cid']) echo 'class="on"'; ?>
  27. href="/knowledgebase/list/<?php echo $value['id'] ?>"><?php echo $value['name'] ?></a>
  28. <?php } ?>
  29. </div>
  30. </div>
  31. <?php if ($k <= 6) { ?>
  32. <div class="m_zsk_l_zk zkclick" zkid="<?php echo $k + 1 ?>">
  33. <span>展开</span>
  34. <img src="/overseas/img/knowledgebase/m_zxsj4.png" alt="">
  35. </div>
  36. <div class="m_zsk_l_zk sqclick" zkid="<?php echo $k + 1 ?>">
  37. <span>收起</span>
  38. <img src="/overseas/img/knowledgebase/m_zxsj04.png" alt="">
  39. </div>
  40. <?php } ?>
  41. </div>
  42. </li>
  43. <?php } ?>
  44. <li>
  45. <div class="m_zsk_l_ul_li">
  46. <em id="m_zsk_l_ulem">计算器</em>
  47. <div class="m_zsk_l_text zk_list">
  48. <div class="zk_list_height c">
  49. <a href="/knowledgebase/tools#/jsq/sf.htm">税费计算器</a>
  50. <a href="/knowledgebase/tools#/jsq/tq.htm">提前还贷计算器</a>
  51. <a href="/knowledgebase/tools#/jsq/gjj.htm">公积金贷款额度查询</a>
  52. <a href="/knowledgebase/tools#/jsq/pg.htm">购房能力评估</a>
  53. <a href="/knowledgebase/tools#/jsq/zxdk.htm">装修贷款计算器</a>
  54. <a href="/knowledgebase/tools#/house/tools.htm">房贷计算器</a>
  55. </div>
  56. </div>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div class="m_zsk_r">
  62. <div class="m_zsk_r_title"><?php echo $row['name'] ?></div>
  63. <ul>
  64. <?php foreach ($knowData as $k => $v) { ?>
  65. <li class="c">
  66. <a target="_blank" href="/knowledgebase/details/<?php echo $v['id'] ?>" class="m_zsk_r_img"><img
  67. src="<?php if (isset($v['thumb'][0]) && !empty($v['thumb'][0])) echo Yii::$app->params['httpImg']['host'], Yii::$app->params['httpImg']['newsknowledge'], $v['thumb'][0] ?>"
  68. alt=""></a>
  69. <div class="m_zsk_r_text">
  70. <a target="_blank"
  71. href="/knowledgebase/details/<?php echo $v['id'] ?>"><?php echo $v['subject']; ?></a>
  72. <p><?php echo $v['abstract']; ?></p>
  73. <div class="m_zsk_r_text_list">
  74. <span>时间:<?php echo $v['create_at']; ?></span>
  75. <span>来源:<?php echo $v['source']; ?></span>
  76. <span>浏览:<?php echo $v['clicks']; ?></span>
  77. </div>
  78. </div>
  79. </li>
  80. <?php } ?>
  81. <!-- <li class="c">
  82. <a href="" class="m_zsk_r_img"><img src="./overseas/img/m_zxsj3.png" alt=""></a>
  83. <div class="m_zsk_r_text">
  84. <a href="">房地产企业所得税下降2.5% 土地财政受压萎缩</a>
  85. <p>受经济增速下滑以及房地产业景气度下降的影响,从核心到地方财政税收均受到较大影响。财政部昨日发布数据显示,今年5月份,全国财政收入...</p>
  86. <div class="m_zsk_r_text_list">
  87. <span>时间:2018-08-05</span>
  88. <span>来源:品房阁</span>
  89. <span>浏览:236</span>
  90. </div>
  91. </div>
  92. </li> -->
  93. </ul>
  94. <div class="" style="width:880px;height:80px;text-align:center;">
  95. <?= LinkPager::widget([
  96. 'pagination' => $page,
  97. 'nextPageLabel' => '下一页',
  98. 'prevPageLabel' => '上一页',
  99. ]); ?>
  100. </div>
  101. <!-- <div style="text-align:center;line-height:30px;border:1px solid;margin-top:50px;">分页</div> -->
  102. </div>
  103. </div>
  104. <div class="m_Atbm" style="position:relative;">
  105. <div class="wadlabel" style="top:0;right:0;">广告</div>
  106. <form class="submit_area">
  107. <input type="hidden" name="hid" value="0"> <!-- 0 为公共报名,其它为楼盘ID,有时默认为0有可能通过JS修改为楼盘ID-->
  108. <input type="hidden" name="source" value="88"> <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
  109. <input type="hidden" name="equipment" value="2"> <!--来源设备 ( PC端 2,手机端 1 )-->
  110. <input type="text" placeholder="您的手机号" name="mobile">
  111. <input type="button" value="获取最新政策" class="apply_submit">
  112. </form>
  113. </div>
  114. <!-- 相关文章 -->
  115. <div class="m_Relevant">
  116. <div class="m_Relevant_title">相关文章</div>
  117. <?php if (!empty($newsClick)) { ?>
  118. <ul class="c">
  119. <?php foreach ($newsClick as $k => $v) { ?>
  120. <li>
  121. <a target="_blank" href="/news/details/<?php echo $v['id'] ?>" class="c">
  122. <i></i>
  123. <span><?php echo $v['subject'] ?></span>
  124. </a>
  125. </li>
  126. <?php } ?>
  127. </ul>
  128. <?php } ?>
  129. </div>