details.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?php
  2. use mobile\assets\AppAsset;
  3. use yii\helpers\Url;
  4. AppAsset::addCss($this,Yii::$app->request->baseUrl."/overseas/css/knowledgebase/zsk_details.css");
  5. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/js/knowledgebase/zsk_details.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">
  13. <em><?= $row['subject'] ?></em>
  14. <div class="m_head_text">
  15. <span>来源:<?= $row['source'] ?></span>
  16. <!-- <span>作者:<?= $row['author'] ?></span> -->
  17. <span><?php echo date("Y-m-d",$row['create_at']);?></span>
  18. </div>
  19. </div>
  20. <!-- 报名 -->
  21. <div class="m_bm_box" style="display:none">
  22. <div class="m_bm c">
  23. <div class="m_bm_l">
  24. <em>更多</em>
  25. <p>购房知识</p>
  26. </div>
  27. <form class="submit_area">
  28. <input type="hidden" name="aid" value="0"> <!-- 0 为公共报名,其它为楼盘ID-->
  29. <input type="hidden" name="source" value="127"> <!--报名来源 具体查看applyVerify.js文件中source 标识说明-->
  30. <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
  31. <input type="text" name="mobile" placeholder="请输入您的手机号">
  32. <input type="button" value="欢迎订阅" class="m_bm_button">
  33. </form>
  34. </div>
  35. </div>
  36. <!-- 报名 -->
  37. <div class="m_bm_box">
  38. <div class="m_bm c">
  39. <div class="wadlabel">广告</div>
  40. <img src="/overseas/img/knowledgebase/zsk108.png" alt="">
  41. <form class="submit_area">
  42. <input type="hidden" name="aid" value="0"> <!-- 0 为公共报名,其它为楼盘ID-->
  43. <input type="hidden" name="source" value="127"> <!--报名来源 具体查看applyVerify.js文件中source 标识说明-->
  44. <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
  45. <input type="text" name="mobile" placeholder="请输入您的手机号">
  46. <input type="button" value="一键订阅" class="m_bm_button">
  47. </form>
  48. </div>
  49. </div>
  50. <div class="m_bjq_box">
  51. <?= $row['content'] ?>
  52. </div>
  53. <div class="m_statement">
  54. <p>【转载声明】转载<!-- 品房阁 -->网站原创文字内容和图片,请注明<!-- “品房阁” -->出处和作者。</p>
  55. <p>【免责声明】出于分享优秀内容之用意,<!-- 品房阁 -->转载的内容均注明出处和作者,但并不意味着赞同其观点或证实其内容的真实性,如转载内容涉及版权事宜,请联系<!-- 品房阁 -->删除。</p>
  56. </div>
  57. <div style="height:10px;background:#EFEFF4"></div>
  58. <!-- 报名 -->
  59. <div class="m_bm c">
  60. <div class="wadlabel">广告</div>
  61. <img src="/overseas/img/knowledgebase/zsk109.png" alt="">
  62. <form class="submit_area w-area">
  63. <input type="hidden" name="aid" value="0"> <!-- 0 为公共报名,其它为楼盘ID-->
  64. <input type="hidden" name="source" value="128"> <!--报名来源 具体查看applyVerify.js文件中source 标识说明-->
  65. <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
  66. <input type="text" name="mobile" placeholder="请输入您的手机号">
  67. <input type="button" value="一键订阅" class="m_bm_button">
  68. </form>
  69. </div>
  70. <div style="height:10px;background:#EFEFF4"></div>
  71. <!-- 相关文章 -->
  72. <div class="m_Relevant">
  73. <div class="m_Relevant_title">相关文章</div>
  74. <?php if(!empty($newsClick)){ ?>
  75. <ul>
  76. <?php foreach($newsClick as $k=>$v){ ?>
  77. <li class="c">
  78. <a href="/news/details/<?php echo $v['id'] ?>/">
  79. <i></i>
  80. <span><?php if(strlen($v['subject']) > 57){
  81. echo mb_substr($v['subject'],0,21, 'utf-8') . "...";
  82. }else{
  83. echo $v['subject'];
  84. }?></span>
  85. </a>
  86. </li>
  87. <?php } ?>
  88. </ul>
  89. <?php } ?>
  90. </div>
  91. </div>
  92. </div>