typedetails.php 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/4/19
  6. * Time: 下午4:57
  7. */
  8. use frontend\assets\AppAsset;
  9. use yii\helpers\Html;
  10. use yii\helpers\Url;
  11. AppAsset::addCss($this,Yii::$app->request->baseUrl."/overseas/js/swiper/swiper-3.4.2.min.css");
  12. AppAsset::addCss($this,Yii::$app->request->baseUrl."/overseas/css/lptypedetails.css");
  13. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/js/swiper/swiper-3.4.2.min.js');
  14. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/js/qrcode/qrcode.js');
  15. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/js/house/lptypedetails.js');
  16. AppAsset::addScript($this,Yii::$app->request->baseUrl."/overseas/js/applyVerify.min.js");
  17. /**
  18. * head头信息;
  19. */
  20. $this->title = $public['seo']['city'].$public['name'].'户型图_'.$public['name'].'在售户型-详情-置慧房 ';
  21. $this->metaTags[]='<meta name="keywords" content="'.$public['seo']['city'].$public['name'].'户型图,半山半岛在售户型" />';
  22. $this->metaTags[]='<meta name="description" content="'.$public['name'].'户型有哪些?'. $public['seo']['city'].$public['name'].'户型图频道为您提供'.$public['name'].'户型大全以及在售户型图信息,找'.$public['name'].'户型图就上置慧房。"/>';
  23. ?>
  24. <!-- 开启起来报错 -->
  25. <?php $this->beginContent('@app/views/house/publichouse.php', ['public' => $public, 'module' => 129]); ?>
  26. <?php $this->endContent(); ?>
  27. <?php $this->beginContent('@app/views/house/publichousenav.php', ['hid' => $public['id']]); ?>
  28. <?php $this->endContent(); ?>
  29. <div class="lptypedetails" data-hid="<?=$public['id'] ?>">
  30. <div class="lptypedetails_box">
  31. <div class="lptypedetails_top">
  32. <div class="typelist_nav">
  33. <div class="typelist_nav_l">
  34. <a href="javascript:;" class="sub_n prev-btn PgUp"><img src="/overseas/img/v2image/v2_ico9_1.png" alt=""></a>
  35. <div class="listmian listmian_box">
  36. <ul class="swiper-wrapper">
  37. <?php if(!empty($data)){ foreach ($data as $k=>$val){?>
  38. <li data-path="<?= !empty($val['panorama']) ? $val['panorama'] : (!empty($val['path']) ? $val['path'] : '' )?>" data-name="<?= $val['type_id'] == 'vr'? 'vr' : 'houseType' ?>" data-mj="<?=$val['area']?>" data-id="<?=$k?>" data-url="<?=$val['img']?>" data-zl="<?=$val['indoor_info']?>">
  39. <a href="javascript:;">
  40. <span><?=$val['title']?></span>
  41. <span>建筑面积:<?=$val['area']?></span>
  42. <?= $val['type_id'] == 'vr'? '<i>VR</i>' : '' ?>
  43. </a>
  44. </li>
  45. <?php }} ?>
  46. </ul>
  47. </div>
  48. <a href="javascript:;" class="sub_n next-btn PgDn"><img src="/overseas/img/v2image/v2_ico9.png" alt=""></a>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="typelist_main c">
  53. <div class="typelist_main_left fl">
  54. <a href="javascript:;" class="list_sub prev-btn rightUp"><img src="/overseas/img/v2image/news_ico2.png" alt=""></a>
  55. <div class="main_left imgpart">
  56. <div class="pic_ymain wwlargeimg" data-index="0" data-id="0" house-id="0" data-type="houseType">
  57. <div class="main_ckyt"><span>查看原图</span></div>
  58. <img src="" alt="">
  59. <div class="vvid_pic_ico vr-animation-forever"></div>
  60. </div>
  61. </div>
  62. <!-- 放大后的图片, 放大后的图片的尺寸要设置为展示图片的倍数(2倍)-->
  63. <!-- <div class="bigpic">
  64. <img src="" alt="">
  65. </div> -->
  66. <a href="javascript:;" class="list_sub next-btn rightDn"><img src="/overseas/img/v2image/news_ico1.png" alt=""></a>
  67. </div>
  68. <div class="typelist_main_right fr">
  69. <div class="type_tit">3室2厅2卫1厨</div>
  70. <div class="lptype_l">
  71. <p>
  72. <span>建筑面积:</span>
  73. <em>73㎡</em>
  74. <a href="javascript:;" class="pic_jjtz" data-buttom="立即获取报价" data-title="户型报价" data-hid="<?=$public['id'] ?>" data-text="提交号码可获取户型报价、首付、月供 详细报价单。" data-source="130"><img src="/overseas/img/v2image/v2_ico41.png" alt="">户型报价</a>
  75. </p>
  76. <p><span>销售状态:</span><em><?=$public['state']?></em></p>
  77. <p><span>在售户型:</span><em></em></p>
  78. </div>
  79. <div class="xian_m"></div>
  80. <div class="lpprice lptype_l">
  81. <p class="p">
  82. <span>户型单价:</span>
  83. <?php if(!empty($public['sale_price'])){?>
  84. <em><b><?=$public['sale_price']?></b><?=$public['price_unit']?></em>
  85. <?php }?>
  86. <a href="javascript:;" class="pic_jjtz" data-buttom="立即获取" data-title="降价通知" data-hid="<?=$public['id'] ?>" data-text="<em>【<?=$public['name'] ?>】</em>最新降价消息及优惠活动信息将第一时间 通知您!" data-source="129"><img src="/overseas/img/v2image/v2_ico34.png" alt="">降价通知</a>
  87. </p>
  88. <p class="js_timehx"><span>有效期至:</span><em></em></p>
  89. </div>
  90. <div class="xian_m"></div>
  91. <div class="bin_f c">
  92. <div class="bin_f_l portrait_img">
  93. <img src="" alt="">
  94. </div>
  95. <div class="bin_f_r">
  96. <div class="bin_f_text">
  97. <p class="jjr"><span>置业顾问</span></p>
  98. <p class="kt">已带看客户<span>125</span>组</p>
  99. <p class="txt">好评经纪人 | 专业 | 周到</p>
  100. </div>
  101. <div class="zixun"><a href="javascript:;" onclick="$53click()"><i><img src="/overseas/img/v2image/v2_ico43.png" alt=""></i><span>向TA咨询</span></a></div>
  102. </div>
  103. </div>
  104. <div class="lptell">
  105. <span>售楼电话:</span><em><?=$public['tel']?></em>
  106. </div>
  107. <div class="lpsaoma js_lpsaoma">
  108. <div class="lpsaoma_top">
  109. <i><img src="/overseas/img/v2image/v2_ico42.png" alt=""></i>
  110. <span>扫码拨号</span>
  111. </div>
  112. <div class="lpsaoma_show js_lpsaoma_show">
  113. <div class="lpsaoma_show_m">
  114. <div class="lpsaoma_show_mai">
  115. <p id="top_img_c" src="http://m.shuofangw.com/house/selftel/<?=$public['id'] ?>"></p>
  116. </div>
  117. <divc class="lpsaoma_show_text">
  118. <p>微信扫码</p>
  119. <p>轻松拨号</p>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. <!-- 图片放大效果 -->
  129. <div class="weffects">
  130. <!-- 关闭按钮 -->
  131. <div class="weffects-cls"><img src="/image/search/cls.png" alt=""></div>
  132. <!-- 放大图片 -->
  133. <div class="magnify-box">
  134. <img src="" alt="">
  135. </div>
  136. <!-- 左右切换按钮 -->
  137. <div class="prev-btn"><img src="/image/search/lr.png" alt=""></div>
  138. <div class="next-btn"><img src="/image/search/lr.png" alt=""></div>
  139. <!-- 图片列表 -->
  140. <div class="weffects-box">
  141. <div class="weffects-list">
  142. <div class="weffects-list-nav">
  143. <!-- <a house-id="5695" data-type="houseType" data-id="" class="on" href="javascript:void(0);">1室(1)</a>
  144. <a house-id="5695" data-type="houseType" data-id="" href="javascript:void(0);">2室(4)</a>
  145. <a house-id="5695" data-type="houseType" data-id="" href="javascript:void(0);">3室(8)</a>
  146. <a house-id="5695" data-type="houseType" data-id="" href="javascript:void(0);">4室(14)</a>
  147. <a house-id="5695" data-type="houseType" data-id="" href="javascript:void(0);">5室(2)</a> -->
  148. </div>
  149. <div class="weffects-list-imgbox">
  150. <div class="weffects-list-img">
  151. <ul class="swiper-wrapper">
  152. <?php if(!empty($data)){ foreach ($data as $k=>$val){?>
  153. <?php if ($val['type_id']!='vr') { ?>
  154. <li class="swiper-slide in" data-url="<?=$val['img']?>"><img src="<?=$val['img']?>" alt=""></li>
  155. <?php } ?>
  156. <?php }} ?>
  157. </ul>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. </div>