details.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/4/20
  6. * Time: 上午12:51
  7. */
  8. use frontend\assets\AppAsset;
  9. AppAsset::addCss($this,Yii::$app->request->baseUrl."/css/pj/pj_details.css");
  10. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/pj/scrollfix.min.js");
  11. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/pj/pj_details.js");
  12. $this->title = '装修品鉴详情_海南房产网-易购房';
  13. ?>
  14. <?php $this->beginContent('@app/views/public/nav.php'); ?>
  15. <?php $this->endContent(); ?>
  16. <div class="body_box">
  17. <!-- 内容详情 -->
  18. <div class="conter_box">
  19. <div class="list_btn">
  20. <ul>
  21. <?php foreach ($model as $val){ ?>
  22. <li><a class="" href="#<?= $val['id'] ?>"><?php
  23. $str = str_split($val['name'],3);
  24. $strName = '';
  25. foreach ($str as $v)
  26. {
  27. $strName .= $v.'</br>';
  28. }
  29. echo rtrim($strName,'</br>');
  30. ?></a></li>
  31. <?php } ?>
  32. </ul>
  33. </div>
  34. <div class="list_r_box">
  35. <?php foreach ($model as $val){ ?>
  36. <div class="list_cen">
  37. <div class="">
  38. <a name="<?= $val['id'] ?>" href="javascript:;"></a>
  39. <?= $val['content'] ?>
  40. </div>
  41. </div>
  42. <?php } ?>
  43. </div>
  44. </div>
  45. <div class="clearfix"></div>
  46. <!-- 看房定制 -->
  47. <div class="m_lpkfdz">
  48. <form action="" class="m_lpkfdz_form submit_area">
  49. <input type="hidden" name="hid" value="0"> <!-- 0 为公共报名,其它为楼盘ID-->
  50. <input type="hidden" name="source" value="16"> <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
  51. <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
  52. <div class="m_form_input_box">
  53. <img src="/image/m_zxpj101.png" alt="">
  54. <i></i>
  55. <input type="text" class="m_form_input" name="mobile" type="text" placeholder="您的手机号">
  56. </div>
  57. <div class="m_lpkfdzsub"><a class="apply_submit" href="javascript:;">免费获取</a></div>
  58. </form>
  59. </div>
  60. </div>