home.php 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903
  1. <?php
  2. use frontend\assets\AppAsset;
  3. use yii\helpers\Html;
  4. use yii\helpers\Url;
  5. use common\fm\Opencc;
  6. AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/lpindex.css");
  7. AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/lpindex/echarts.common.min.js');
  8. AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/lpindex/calcommon.js');
  9. AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/lpindex/fdrcalculator.js');
  10. AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/lpindex/calculator.js');
  11. AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/lpindex/carousel.min.js');
  12. AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/lpindex/lory.min.js');
  13. AppAsset::addScript($this,Yii::$app->request->baseUrl.'/overseas/js/qrcode/qrcode.js');
  14. AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/lpindex/lpindex.js');
  15. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/overseas/js/applyVerify.min.js");
  16. $this->title = $model['house']['name'].'_'.$model['house']['city_name'].'_品房海外_海南房产';
  17. $this->metaTags[] = '<meta name="keywords" content="'.$model['house']['name'].'房价,'.$model['house']['name'].'位置,'.$model['house']['name'].'楼盘介绍,'.$model['house']['name'].'设施配套,'.$model['house']['name'].'区位,'.$model['house']['name'].'房源" />';//第二种
  18. $this->metaTags[] = '<meta name="description" content="'.$model['house']['name'].'售楼电话('.$model['house']['tel'].')详细信息是由品房海外所提供,其中包括'.$model['house']['name'].'户型图,'.$model['house']['name'].'多少钱一平,配套设施,详情介绍,周边环境,让您全面了解'.$model['house']['name'].'怎么样及优缺点。登陆pinfanghw.com有更多详细信息"/>';
  19. ?>
  20. <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=lIXbW84tKu6oNCj0bbgTnau7"></script>
  21. <script type="text/javascript" src="https://api.map.baidu.com/library/CityList/1.4/src/CityList_min.js"></script>
  22. <div class="yv2Home_head">
  23. <div class="yv2Home_head_box puic_wid">
  24. <div class="yv2Home_title">
  25. <div class="yv2Home_title_l js_y_lptitle" data-id="<?php echo $model['house']['id'] ?>">
  26. <h2><?= Opencc::Convert($model['house']['name']) ?></h2>
  27. <span><?= Opencc::Convert($model['house']['state']) ?></span>
  28. <p>
  29. <?php if (!empty($model['characteristic'])) foreach ($model['characteristic'] as $val) { ?>
  30. <i><?= $val ?></i>
  31. <?php } ?>
  32. </p>
  33. </div>
  34. <div class="yv2Home_title_r">
  35. <span class="yv2_puicTime">有效期至</span>
  36. </div>
  37. </div>
  38. <div class="yv2Home_intop">
  39. <div class="yv2Home_intop_l">
  40. <div class="yv2_banner js_yv2_banner">
  41. <div class="yv2_banner_image js_yv2_banner_image">
  42. <ul>
  43. <?php if (!empty($model['house']['panorama'])) { ?>
  44. <li>
  45. <a target="_blank" href="/house/zhongqu/<?=$model['house']['id']?>?h=<?php echo $model['house']['panorama']; ?>">
  46. <p class="video_puic_img"><img src="<?= $model['house']['panorama_img'] ?>" alt=""></p>
  47. <div class="vvid_pic_ico vr-animation-forever"></div>
  48. </a>
  49. </li>
  50. <?php }?>
  51. <!-- 楼盘视频 -->
  52. <?php if (!empty($model['house']['video_url'])) { ?>
  53. <li class="video_puic con" id="video_m">
  54. <p class="video_puic_img"><img src="<?= $model['house']['video_img'] ?>" alt=""></p>
  55. <p class="video_puic_ico"><img src="/image/video_home/ico_vid07.png" alt=""></p>
  56. <video class="pause" controls src="<?= $model['house']['video_url'] ?>" preload="none"></video>
  57. </li>
  58. <?php } ?>
  59. <!-- 直播视频 -->
  60. <?php if (!empty($model['house']['live'])) { ?>
  61. <li class="video_puic" id="lplive" data-boole="true">
  62. <p class="video_puic_img"><img src="<?= $model['house']['live']['img'] ?>" alt=""></p>
  63. <p class="video_puic_ico"><img src="/image/video_home/ico_vid07.png" alt=""></p>
  64. <video id="lplive_vid" class="pause" controls src="<?= $model['house']['live']['video_url'] ?>" preload="none"></video>
  65. </li>
  66. <?php } ?>
  67. <?php if (!empty($model['album_find'])) { foreach ($model['album_find'] as $key => $val) { ?>
  68. <li>
  69. <a href="/house/album/<?php echo $model['house']['id'] ?>">
  70. <img src="<?= Yii::$app->params['httpImg']['hosts'], Yii::$app->params['httpImg']['housealbums'], $val['img'], '/same' ?>" />
  71. </a>
  72. </li>
  73. <?php } } ?>
  74. <?php if (!empty($model['type'])) { ?>
  75. <li>
  76. <a href="/house/type/<?php echo $model['house']['id'] ?>">
  77. <img src="<?= Yii::$app->params['httpImg']['hosts'], Yii::$app->params['httpImg']['housetypes'], $model['type'][0]['img'], '/same' ?>" />
  78. </a>
  79. </li>
  80. <?php } ?>
  81. </ul>
  82. </div>
  83. <div class="small_box">
  84. <span class="btn left_btn js_left_btn"></span>
  85. <div class="small_list js_small_list">
  86. <ul class="c">
  87. <?php if (!empty($model['house']['panorama'])) { ?>
  88. <li>
  89. <a href="javascript:void(0);"><img src="<?= $model['house']['panorama_img'] ?>" width="100%" height="100%"/></a>
  90. <div class="vvid_pic_ico vr-animation-forever"></div>
  91. <span>全景看房</span>
  92. </li>
  93. <?php }?>
  94. <!-- 楼盘视频 -->
  95. <?php if (!empty($model['house']['video_url'])) { ?>
  96. <li>
  97. <a href="javascript:void(0);"><img src="<?= $model['house']['video_img'] ?>" width="100%" height="100%"/></a>
  98. <img class="small_listimg" src="/image/video_home/ico_vid07.png" alt="">
  99. <span>项目航拍</span>
  100. </a>
  101. </li>
  102. <?php } ?>
  103. <?php if (!empty($model['house']['live'])) { ?>
  104. <li>
  105. <a href="javascript:void(0);">
  106. <img src="<?= $model['house']['live']['img'] ?>" />
  107. <img class="small_listimg" src="/image/video_home/ico_vid07.png" alt="">
  108. <span>直播看房</span>
  109. </a>
  110. </li>
  111. <?php } ?>
  112. <?php foreach ($model['album_find'] as $key => $val) { ?>
  113. <li>
  114. <a href="javascript:void(0);">
  115. <img src="<?= Yii::$app->params['httpImg']['hosts'], Yii::$app->params['httpImg']['housealbums'], $val['img'], '/same' ?>"/>
  116. <span><?php echo $val['name'] ?></span>
  117. </a>
  118. </li>
  119. <?php } ?>
  120. <?php foreach ($model['type'] as $key => $val) { ?>
  121. <li>
  122. <a href="javascript:void(0);">
  123. <img src="<?= Yii::$app->params['httpImg']['hosts'], Yii::$app->params['httpImg']['housetypes'], $val['img'], '/same' ?>" />
  124. <span>户型图</span>
  125. </a>
  126. </li>
  127. <?php break;
  128. } ?>
  129. </ul>
  130. </div>
  131. <span class="btn right_btn js_right_btn"></span>
  132. </div>
  133. </div>
  134. </div>
  135. <div class="yv2Home_intop_r">
  136. <div class="yv2Home_pric">
  137. <p class="yv2Home_pric_l">
  138. <span>参考均价:</span>
  139. <?php if (!empty($model['house']['sale_price'])){ ?>
  140. <em><?php echo $model['house']['sale_price'] ?><i><?= $model['house']['price_unit'] ?></i></em>
  141. <?php } else { ?>
  142. <em>待定<i></i></em>
  143. <?php } ?>
  144. </p>
  145. <a class="pric_tz pic_jjtz" data-hid="<?php echo $model['house']['id'] ?>" data-buttom="立即获取" data-title="降价通知" data-text="<em>【<?php echo Opencc::Convert($model['house']['name']) ?>】</em>最新降价消息及优惠活动信息将第一时间 通知您!" data-source="98" href="javascript:;"><img src="/overseas/img/v2image/v2_ico34.png" alt="">降价通知</a>
  146. </div>
  147. <div class="yv2Home_fy">
  148. <span>特惠房源:</span>
  149. <div class="yv2Home_fy_form">
  150. <form class="submit_area">
  151. <input type="hidden" name="hid" value="<?php echo $model['house']['id'] ?>"><!-- 0 为公共报名,其它为楼盘ID-->
  152. <input type="hidden" name="source" value="127"><!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
  153. <input type="hidden" name="equipment" value="2"><!--来源设备 ( PC端 2,手机端 1 )-->
  154. <p class="in_text">
  155. <input type="text" name="mobile" onfocus="this.placeholder=''" onblur="this.placeholder='请输入您的手机号码'" placeholder="请输入您的手机号码">
  156. <a href="javascript:;" class="js_homeButtom">立即获取</a>
  157. </p>
  158. </form>
  159. </div>
  160. </div>
  161. <div class="yv2Home_puicTxt yv2_zlhx">
  162. <span>主力户型:</span>
  163. <em>建筑面积 <?= f_unit($model['house']['main_units']) ?></em>
  164. <a href="/house/type/<?= $model['house']['id'] ?>">全部户型</a>
  165. </div>
  166. <div class="yv2Home_puicTxt yv2_kptz">
  167. <span>开盘时间:</span>
  168. <em><?= f_unit($model['house']['open_time']) ?></em>
  169. <a href="javascript:;" class="pic_jjtz" data-buttom="立即提交" data-title="开盘通知" data-hid="<?php echo $model['house']['id'] ?>" data-text="为方便您获取开盘信息,输入手机号, 我们将第一时间 通知您!" data-source="101"><img src="/overseas/img/v2image/v2_ico35.png" alt="">开盘通知</a>
  170. </div>
  171. <div class="yv2Home_puicTxt yv2_zxqk">
  172. <span>装修情况:</span>
  173. <em><?=Yii::$app->params['Housefit'][$model['house']['fit']]?></em>
  174. </div>
  175. <div class="yv2Home_puicTxt yv2_kfs">
  176. <span>开<i style="padding:0 4px"></i>发<i style="padding:0 4px"></i>商:</span>
  177. <em><?= f_unit($model['house']['developers']) ?></em>
  178. </div>
  179. <div class="yv2Home_puicTxt yv2_dz">
  180. <span>楼盘地址:</span>
  181. <em><?= f_unit($model['house']['address']) ?></em>
  182. <a href="javascript:;" class="y_idckdt" data-jwd="<?php echo $model['house']['longitude_latitude'] ?>" data-title="<?php echo $model['house']['name'] ?>">查看地图</a>
  183. </div>
  184. <div class="yv2Home_gd">
  185. <a target="_blank" href="<?= '/', $module, '/house/details/', $model['house']['id'] ?>">更多详细信息>></a>
  186. </div>
  187. <?php if(!empty($model['house']['preferential'])){?>
  188. <div class="yv2Home_zk">
  189. <i><img src="/overseas/img/v2image/v2_ico24.png" alt=""></i>
  190. <span><?=$model['house']['preferential']?></span>
  191. <a class="pic_jjtz" data-hid="<?php echo $model['house']['id'] ?>" data-buttom="立即锁定" data-title="锁定折扣优惠" data-text="<em>【<?php echo Opencc::Convert($model['house']['name']) ?>】</em>开发商直销,享特惠折扣,在线预约锁定 优惠。" data-source="1" href="javascript:;">锁定优惠</a>
  192. </div>
  193. <?php }?>
  194. <div class="yv2Home_tell">
  195. <span>售楼热线:</span>
  196. <em><?= f_unit($model['house']['tel']) ?></em>
  197. </div>
  198. <div class="yv2Home_zx">
  199. <div class="yv2Home_zx_l">
  200. <a href="javascript:;" class="pic_jjtz" data-buttom="立即提交" data-title="预约看房" data-hid="<?php echo $model['house']['id'] ?>" data-text="独家渠道优惠,省心省力省钱!" data-source="101"><i><img src="/overseas/img/v2image/v2_ico36.png" alt=""></i><span>预约看房</span></a>
  201. </div>
  202. <div class="yv2Home_zx_r">
  203. <a href="javascript:;" onclick="$53click()">
  204. <span><i><img src="/overseas/img/v2image/v2_ico37.png" alt=""></i>向Ta咨询></span>
  205. <em><img src="/overseas/img/v2image/v2_ico39.png" alt=""></em>
  206. </a>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. <?php $this->beginContent('@app/views/house/publichousenav.php', ['hid' => $model['house']['id']]); ?>
  214. <?php $this->endContent(); ?>
  215. <!-- 楼盘动态 -->
  216. <?php if (!empty($model['news'])) { ?>
  217. <div class="m_dynamic">
  218. <div class="m_dynamic_l">
  219. <div class="m_dynamic_l_title">
  220. <em>楼盘动态</em>
  221. <a href="/house/news/<?= $model['house']['id'] ?>">更多动态>></a>
  222. </div>
  223. <ul class="m_dynamic_l_zx">
  224. <?php foreach ($model['news'] as $val) { ?>
  225. <li>
  226. <a href="/news/details/<?= $val['id'] ?>">
  227. <i class="m_dynamic_l_dg"><?= mb_substr(\common\models\CategoryNews::findOne($val['category'])['news_name'], 0, 6, 'UTF-8') ?></i>
  228. <div class="m_dynamic_l_zx_text">
  229. <div class="m_dynamic_l_zx_title">
  230. <em><?= $val['subject'] ?></em>
  231. <i><?= $val['open_time'] ?></i>
  232. </div>
  233. <p><?= $val['abstract'] ?></p>
  234. </div>
  235. </a>
  236. </li>
  237. <?php } ?>
  238. </ul>
  239. </div>
  240. <div class="m_dynamic_rbox">
  241. <div class="m_dynamic_r">
  242. <div class="tw"><i></i><span>楼盘动态提醒</span></div>
  243. <div class="dt_ico">
  244. <img src="/overseas/img/v2image/v2_ico38.png" alt="">
  245. </div>
  246. <div class="dt_ico_text">
  247. <p>设置楼盘动态提醒,加推早知道</p>
  248. </div>
  249. <div class="m_dynamic_form">
  250. <form class="submit_area c">
  251. <input type="hidden" name="hid" value="<?= $model['house']['id'] ?>"><!-- 0 为公共报名,其它为楼盘ID-->
  252. <input type="hidden" name="source" value="91">
  253. <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
  254. <input type="hidden" name="equipment" value="2"> <!--来源设备 ( PC端 2,手机端 1 )-->
  255. <input type="text" name="mobile" placeholder="请输入您的手机号" class="m_form_input">
  256. <input type="button" value="立即报名" class="m_form_buttom js_homeButtom">
  257. </form>
  258. </div>
  259. </div>
  260. </div>
  261. </div>
  262. <?php } ?>
  263. <!-- v2 户型改版 -->
  264. <?php if (!empty($model['type'])) { ?>
  265. <div class="yv2_Homehx">
  266. <div class="yv2_HomehxBox puic_wid">
  267. <div class="yv2_Homehx_text">
  268. <div class="m_dynamic_l_title">
  269. <em>楼盘户型</em>
  270. <a href="/house/type/<?= $model['house']['id'] ?>">更多户型>></a>
  271. </div>
  272. <div class="yv2_Homehx_nav js_yv2_Homehx_nav">
  273. <a class="on" data-type="" data-hid="<?= $model['house']['id'] ?>" href="javascript:;"><span>全部</span></a>
  274. <?php foreach ($model['type_grouy'] as $val) {?>
  275. <a data-type="<?=$val['type_id']?>" data-hid="<?=$val['hid']?>" href="javascript:;"><span><?=$val['huxing_name']?>(<?=$val['num']?>)</span></a>
  276. <?php } ?>
  277. </div>
  278. </div>
  279. <div class="yv2_Homehx_list js_yv2_Homehx_list">
  280. <ul>
  281. <!-- <li>
  282. <div class="left_main">
  283. <a href="">
  284. <div class="left_img">
  285. <img src="/overseas/img/v2image/v2_ico4.png" alt="">
  286. </div>
  287. <div class="right_text">
  288. <p class="hx_m">康养居Y100 & 130-EF户型</p>
  289. <p class="js_m">4室4厅2卫</p>
  290. <p class="mj_m">(建筑面积) 132㎡</p>
  291. <p class="style_m">
  292. <i>户型方正</i>
  293. <i>南北通透</i>
  294. </p>
  295. </div>
  296. </a>
  297. </div>
  298. <div class="hx_hqbj">
  299. <a href="javascript:;">
  300. <p class="ico"><img src="/overseas/img/v2image/v2_ico39.png" alt=""></p>
  301. <p class="text_m">户型报价</p>
  302. </a>
  303. </div>
  304. </li> -->
  305. </ul>
  306. </div>
  307. </div>
  308. </div>
  309. <?php } ?>
  310. <div class="y_lpind_add" style="display: none;">
  311. <div class="y_lpind_add_main puic_wid">
  312. <div class="wadlabel" style="top:0;right:0;">广告</div>
  313. <div class="y_lpind_addbg"><img src="/overseas/img/ico_28.png" alt=""></div>
  314. <div class="y_lpind_addipunt c">
  315. <form class="submit_area">
  316. <input type="hidden" name="hid" value="<?= $model['house']['id'] ?>">
  317. <!-- 0 为公共报名,其它为楼盘ID-->
  318. <input type="hidden" name="source" value="92"> <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
  319. <input type="hidden" name="equipment" value="2"> <!--来源设备 ( PC端 2,手机端 1 )-->
  320. <input class="y_lpipnt" type="text" name="mobile" placeholder="请输入手机号,预约找房">
  321. <input class="y_lpb m_form_button" type="button" value="立即咨询">
  322. </form>
  323. </div>
  324. </div>
  325. </div>
  326. <div class="y_lpindxinxi">
  327. <div class="y_lpindxinxi_main puic_wid puic_color">
  328. <div class="y_lpindxinxi_cent">
  329. <div class="y_lpinde_h">
  330. <h2>楼盘信息</h2>
  331. <a target="_blank" href="/house/details/<?= $model['house']['id'] ?>">更多信息 >></a>
  332. </div>
  333. <div class="y_lpindxinxi_centma">
  334. <div class="y_lpindxinxi_centma">
  335. <table>
  336. <tr>
  337. <td>
  338. <div class="main_text">
  339. <em>建筑类型</em>
  340. <span>
  341. <?php if(!empty($model['architecture_type']) && !empty($model['house']['architecture_type'])){ foreach ($model['house']['architecture_type'] as $val ){ if(!empty($model['architecture_type'][$val])){?>
  342. <?=$model['architecture_type'][$val]?>
  343. <?php }}}?>
  344. </span>
  345. </div>
  346. </td>
  347. <td>
  348. <div class="main_text">
  349. <em>装修状况</em>
  350. <span><?= isset(Yii::$app->params['Housefit'][$model['house']['fit']]) ? Yii::$app->params['Housefit'][$model['house']['fit']] : '暂无资料' ?></span>
  351. </div>
  352. </td>
  353. <td>
  354. <div class="main_text">
  355. <em>产权年限</em>
  356. <span><?= f_unit($model['house']['house_cx'], '年') ?></span>
  357. </div>
  358. </td>
  359. </tr>
  360. <tr>
  361. <td>
  362. <div class="main_text">
  363. <em>占地面积</em>
  364. <span><?= f_unit($model['house']['planning_area'], 'm²') ?></span>
  365. </div>
  366. </td>
  367. <td>
  368. <div class="main_text">
  369. <em>建筑面积</em>
  370. <span><?= f_unit($model['house']['construction_area'], 'm²') ?></span>
  371. </div>
  372. </td>
  373. <td>
  374. <div class="main_text">
  375. <em>物<i style="padding:0 3px;"></i>业<i style="padding:0 3px;"></i>费</em>
  376. <span><?= f_unit($model['house']['property_costs']) ?></span>
  377. </div>
  378. </td>
  379. </tr>
  380. <tr>
  381. <td>
  382. <div class="main_text">
  383. <em>容<i style="padding:0 3px;"></i>积<i style="padding:0 3px;"></i>率</em>
  384. <span><?= f_unit($model['house']['volume_rate']) ?></span>
  385. </div>
  386. </td>
  387. <td>
  388. <div class="main_text">
  389. <em>绿<i style="padding:0 3px;"></i>化<i style="padding:0 3px;"></i>率</em>
  390. <span><?= f_unit($model['house']['greening_rate']) ?></span>
  391. </div>
  392. </td>
  393. <td>
  394. <div class="main_text">
  395. <em>总<i style="padding:0 3px;"></i>户<i style="padding:0 3px;"></i>数</em>
  396. <span><?= f_unit($model['house']['planning_households'], '户') ?></span>
  397. </div>
  398. </td>
  399. </tr>
  400. <tr>
  401. <td>
  402. <div class="main_text">
  403. <em>楼栋总数</em>
  404. <span><?= f_unit($model['house']['total_building'], '栋') ?></span>
  405. </div>
  406. </td>
  407. <td>
  408. <div class="main_text">
  409. <em>开盘时间</em>
  410. <span><?= f_unit($model['house']['open_time']) ?></span>
  411. </div>
  412. </td>
  413. <td>
  414. <div class="main_text">
  415. <em>交房时间</em>
  416. <span><?= f_unit($model['house']['launch_time']) ?></span>
  417. </div>
  418. </td>
  419. </tr>
  420. <tr>
  421. <td>
  422. <div class="main_text">
  423. <em>停<i style="padding:0 3px;"></i>车<i style="padding:0 3px;"></i>位</em>
  424. <span><?= f_unit($model['house']['parking_num'], '个') ?></span>
  425. </div>
  426. </td>
  427. <td>
  428. <div class="main_text">
  429. <em>主力户型</em>
  430. <span>(建筑面积)<?= f_unit($model['house']['main_units']) ?></span>
  431. </div>
  432. </td>
  433. <td>
  434. <div class="main_text">
  435. <em>咨询电话</em>
  436. <span style="color: #FF5849;"><?= f_unit($model['house']['tel']) ?></span>
  437. </div>
  438. </td>
  439. </tr>
  440. <tr>
  441. <td>
  442. <div class="main_text">
  443. <em>物业公司</em>
  444. <span><?php echo $model['house']['property_company'] ?></span>
  445. </div>
  446. </td>
  447. <td>
  448. <div class="main_text">
  449. <em>开<i style="padding:0 3px;"></i>发<i style="padding:0 3px;"></i>商</em>
  450. <span><?php echo $model['house']['developers'] ?></span>
  451. </div>
  452. </td>
  453. <td>
  454. <div class="main_text">
  455. <em>楼盘地址</em>
  456. <span><?= f_unit($model['house']['sales_address']) ?></span>
  457. </div>
  458. </td>
  459. </tr>
  460. </table>
  461. </div>
  462. </div>
  463. <div class="y_lpindxinxi_bottom">
  464. <p class="c"><span>项目特点</span><em><?= $model['house']['features'] ?></em></p>
  465. </div>
  466. </div>
  467. </div>
  468. </div>
  469. <div class="y_lpmating">
  470. <div class="y_lpmating_main puic_wid puic_color">
  471. <div class="y_lpmating_cent">
  472. <div class="y_lpinde_h">
  473. <h2>周边配套</h2>
  474. </div>
  475. <div class="y_lpmating_map" id="y_lpmating_map">
  476. <div class="y_lpmap" id="y_lpmap" data-jwd="<?php echo $model['house']['longitude_latitude'] ?>"
  477. data-jg="<?php
  478. if (!empty($model['house']['sale_price'])) {
  479. echo '价格:' . $model['house']['sale_price'] . $model['house']['price_unit'];
  480. } else {
  481. echo '价格:' . '待定';
  482. }
  483. ?>" data-title='<?php echo $model['house']['name'] ?>'>
  484. </div>
  485. <div class="y_lpmap_lsit">
  486. <ul>
  487. <li><a href="javascript:;"><i><img src="/overseas/img/ico_12.png"
  488. alt=""></i><span>交通</span></a>
  489. </li>
  490. <li><a href="javascript:;"><i><img src="/overseas/img/ico_13.png"
  491. alt=""></i><span>餐饮</span></a>
  492. </li>
  493. <li><a href="javascript:;"><i><img src="/overseas/img/ico_14.png"
  494. alt=""></i><span>学校</span></a>
  495. </li>
  496. <li><a href="javascript:;"><i><img src="/overseas/img/ico_15.png"
  497. alt=""></i><span>医疗</span></a>
  498. </li>
  499. <li><a href="javascript:;"><i><img src="/overseas/img/ico_16.png"
  500. alt=""></i><span>娱乐</span></a>
  501. </li>
  502. <li><a href="javascript:;"><i><img src="/overseas/img/ico_17.png"
  503. alt=""></i><span>公园</span></a>
  504. </li>
  505. <li><a href="javascript:;"><i><img src="/overseas/img/ico_18.png"
  506. alt=""></i><span>银行</span></a>
  507. </li>
  508. <li><a href="javascript:;"><i><img src="/overseas/img/ico_19.png"
  509. alt=""></i><span>周边楼盘</span></a>
  510. </li>
  511. <li><a href="javascript:;"><i><img src="/overseas/img/ico_20.png"
  512. alt=""></i><span>购物</span></a>
  513. </li>
  514. </ul>
  515. </div>
  516. </div>
  517. </div>
  518. </div>
  519. </div>
  520. <!-- 楼盘相册 -->
  521. <?php if (!empty($model['album_find'])) { ?>
  522. <div class="y_lpphoto">
  523. <div class="y_lpphoto_main puic_wid puic_color">
  524. <div class="y_lpphoto_cenr">
  525. <div class="y_lpinde_h">
  526. <h2>楼盘相册</h2>
  527. <a target="_blank"
  528. href="/house/album/<?= $model['house']['id'] ?>">更多图片>></a>
  529. </div>
  530. <div class="y_xcslider js_multislides multislides">
  531. <div class="y_lpphoto_list y_xcframe js_frame c">
  532. <ul class="y_xcslides js_slides">
  533. <?php foreach ($model['album_find'] as $val) { ?>
  534. <li class="js_slide">
  535. <a target="_blank" href="/house/album/<?= $model['house']['id'] ?>">
  536. <div class="y_tu">
  537. <p class="y_img"><img
  538. src="<?= Yii::$app->params['httpImg']['hosts'], Yii::$app->params['httpImg']['housealbums'], $val['img'], '/same' ?>"
  539. alt=""></p>
  540. <p class="y_sm"><i><img src="/overseas/img/ico_21.png"
  541. alt=""></i><span><?php echo $val['album_total'] ?></span>
  542. </p>
  543. </div>
  544. <div class="y_text">
  545. <span><?php echo $val['name'] ?></span>
  546. </div>
  547. </a>
  548. </li>
  549. <?php } ?>
  550. </ul>
  551. </div>
  552. <span class="js_prev y_xcprev">
  553. <img src="/overseas/img/ico_8.png"/>
  554. </span>
  555. <span class="js_next y_xcnext">
  556. <img src="/overseas/img/ico_9.png"/>
  557. </span>
  558. </div>
  559. </div>
  560. </div>
  561. </div>
  562. <?php } ?>
  563. <div class="y_lptrend">
  564. <div class="y_lptrend_main puic_wid puic_color">
  565. <div class="y_lptrend_cent">
  566. <div class="y_lpinde_h">
  567. <h2>价格走势</h2>
  568. <!-- <a href="">更多户型 >></a> -->
  569. </div>
  570. <div class="y_lptrend_centmain">
  571. <div id="container" style="height: 100%; width:100%;"></div>
  572. </div>
  573. </div>
  574. </div>
  575. </div>
  576. <!-- 贷款计算 -->
  577. <div class="puic_wid">
  578. <div class="Real_trends y_lploat_cent c">
  579. <div class="y_lpinde_h">
  580. <h2>房贷计算</h2>
  581. <!-- <a href="">更多户型 >></a> -->
  582. </div>
  583. <div class="trends_count">
  584. <div class="count_Box">
  585. <div class="countL">
  586. <h4>请选择户型及贷款信息</h4>
  587. <ul class="count_lst">
  588. <li>
  589. <label>户<i></i>型</label>
  590. <div class="lst_box">
  591. <span class="lst_text house_type">请选择户型</span>
  592. <i></i>
  593. <ul class="lst_cun house">
  594. <li data-money="1612500"><?= Opencc::Convert('二室二厅一厨一卫') ?>(75.0m²)</li>
  595. <li data-money="1935000"><?= Opencc::Convert('三室二厅一厨一卫') ?>(90.0m²)</li>
  596. <li data-money="2128500"><?= Opencc::Convert('三室二厅一厨二卫') ?>(99.0m²)</li>
  597. <li data-money="2644500"><?= Opencc::Convert('四室二厅一厨二卫') ?>(123.0m²)</li>
  598. </ul>
  599. </div>
  600. </li>
  601. <li>
  602. <label><?= Opencc::Convert('房款总额') ?></label>
  603. <div class="lst_box">
  604. <input class="Total hous_sumprice" type="text"
  605. placeholder="<?= Opencc::Convert('请输入房款总额') ?>">
  606. <span class="money"><?= Opencc::Convert('万元') ?></span>
  607. <p class="pit_txt"><?= Opencc::Convert('请输入正确的金额') ?></p>
  608. </div>
  609. </li>
  610. <li>
  611. <label><?= Opencc::Convert('首付成数') ?></label>
  612. <div class="lst_box">
  613. <span data-id="0.3" class="lst_text bus_ipt_floor">3<?= Opencc::Convert('成') ?></span>
  614. <i></i>
  615. <ul class="lst_cun floor_pull">
  616. <li data-val="0.1">1<?= Opencc::Convert('成') ?></li>
  617. <li data-val="0.2">2<?= Opencc::Convert('成') ?></li>
  618. <li data-val="0.3">3<?= Opencc::Convert('成') ?></li>
  619. <li data-val="0.4">4<?= Opencc::Convert('成') ?></li>
  620. <li data-val="0.5">5<?= Opencc::Convert('成') ?></li>
  621. <li data-val="0.6">6<?= Opencc::Convert('成') ?></li>
  622. <li data-val="0.7">7<?= Opencc::Convert('成') ?></li>
  623. <li data-val="0.8">8<?= Opencc::Convert('成') ?></li>
  624. <li data-val="0.9">9<?= Opencc::Convert('成') ?></li>
  625. </ul>
  626. </div>
  627. </li>
  628. <li>
  629. <label><?= Opencc::Convert('贷款方式') ?></label>
  630. <div class="lst_box">
  631. <span class="lst_text loan_floor"><?= Opencc::Convert('商业贷款') ?></span>
  632. <i></i>
  633. <ul class="lst_cun loan">
  634. <li><?= Opencc::Convert('商业贷款') ?></li>
  635. <li><?= Opencc::Convert('公积金贷款') ?></li>
  636. </ul>
  637. </div>
  638. </li>
  639. <li class="group">
  640. <label><?= Opencc::Convert('贷款总额') ?></label>
  641. <div class="lst_box">
  642. <input class="Total dk_money" disabled="disabled" type="text">
  643. <span class="money"><?= Opencc::Convert('万元') ?></span>
  644. <p class="pit_txt"><?= Opencc::Convert('请输入正确的金额') ?></p>
  645. </div>
  646. </li>
  647. <li class="group">
  648. <label><?= Opencc::Convert('公贷金额') ?></label>
  649. <div class="lst_box">
  650. <input class="Total gd_money" type="text"
  651. placeholder="<?= Opencc::Convert('请输入公贷金额') ?>">
  652. <span class="money"><?= Opencc::Convert('万元') ?></span>
  653. </div>
  654. </li>
  655. <li class="group">
  656. <label><?= Opencc::Convert('商贷金额') ?></label>
  657. <div class="lst_box">
  658. <input class="Total sd_money" type="text"
  659. placeholder="<?= Opencc::Convert('请输入商贷金额') ?>">
  660. <span class="money"><?= Opencc::Convert('万元') ?></span>
  661. </div>
  662. </li>
  663. <li class="group">
  664. <label><?= Opencc::Convert('公贷利率') ?></label>
  665. <div class="lst_box">
  666. <input class="Total gd_lilv" value="3.25" type="text"
  667. placeholder="<?= Opencc::Convert('请输入公贷利率') ?>">
  668. <span class="money">%</span>
  669. <p class="pit_txt"><?= Opencc::Convert('请输入正确的贷款利率') ?></p>
  670. </div>
  671. </li>
  672. <li class="group">
  673. <label><?= Opencc::Convert('商贷利率') ?></label>
  674. <div class="lst_box">
  675. <input class="Total sd_lilv" value="4.90" type="text"
  676. placeholder="<?= Opencc::Convert('请输入商贷利率') ?>">
  677. <span class="money">%</span>
  678. <p class="pit_txt"><?= Opencc::Convert('请输入正确的贷款利率') ?></p>
  679. </div>
  680. </li>
  681. <li class="goods">
  682. <label><?= Opencc::Convert('贷款利率') ?></label>
  683. <div class="lst_box">
  684. <input class="Total bus_ipt_rate" value="4.90" type="text"
  685. placeholder="<?= Opencc::Convert('请输入贷款利率') ?>">
  686. <span class="money">%</span>
  687. <p class="pit_txt"><?= Opencc::Convert('请输入正确的贷款利率') ?></p>
  688. </div>
  689. </li>
  690. <li>
  691. <label><?= Opencc::Convert('贷款年限') ?></label>
  692. <div class="lst_box">
  693. <span data-id="360"
  694. class="lst_text Life_floor"><?= Opencc::Convert('30年(360期)') ?></span>
  695. <i></i>
  696. <ul class="lst_cun Life">
  697. <li data-val="24">2<?= Opencc::Convert('年') ?>(24<?= Opencc::Convert('期') ?>)
  698. </li>
  699. <li data-val="36">3<?= Opencc::Convert('年') ?>(36<?= Opencc::Convert('期') ?>)
  700. </li>
  701. <li data-val="48">4<?= Opencc::Convert('年') ?>(48<?= Opencc::Convert('期') ?>)
  702. </li>
  703. <li data-val="60">5<?= Opencc::Convert('年') ?>(60<?= Opencc::Convert('期') ?>)
  704. </li>
  705. <li data-val="72">6<?= Opencc::Convert('年') ?>(72<?= Opencc::Convert('期') ?>)
  706. </li>
  707. <li data-val="84">7<?= Opencc::Convert('年') ?>(84<?= Opencc::Convert('期') ?>)
  708. </li>
  709. <li data-val="96">8<?= Opencc::Convert('年') ?>(96<?= Opencc::Convert('期') ?>)
  710. </li>
  711. <li data-val="108">9<?= Opencc::Convert('年') ?>(108<?= Opencc::Convert('期') ?>
  712. )
  713. </li>
  714. <li data-val="120">10<?= Opencc::Convert('年') ?>(120<?= Opencc::Convert('期') ?>)
  715. </li>
  716. <li data-val="180">15<?= Opencc::Convert('年') ?>(180<?= Opencc::Convert('期') ?>)
  717. </li>
  718. <li data-val="240">20<?= Opencc::Convert('年') ?>(240<?= Opencc::Convert('期') ?>)
  719. </li>
  720. <li data-val="300">25<?= Opencc::Convert('年') ?>(300<?= Opencc::Convert('期') ?>)
  721. </li>
  722. <li data-val="360"><?= Opencc::Convert('30年(360期)') ?></li>
  723. </ul>
  724. </div>
  725. </li>
  726. </ul>
  727. <p class="p_tip">*<?= Opencc::Convert('商业贷款基准利率为') ?>4.90%</p>
  728. </div>
  729. <div class="countR">
  730. <h4><?= Opencc::Convert('计算结果') ?></h4>
  731. <div class="countR_box bus_tabs">
  732. <ul class="countR_cut tabs_hd c">
  733. <li class="tab_link_bx" data-id="1"><?= Opencc::Convert('等额本息还款') ?></li>
  734. <li class="tab_link_bj" data-id="2"><?= Opencc::Convert('等额本金还款') ?></li>
  735. </ul>
  736. <!-- 等额本息还款< -->
  737. <div class="bus_tab_box bus_tab_bx" data-id="1">
  738. <div class="echart_box c">
  739. <div class="echart_img" id="de_echart">
  740. <div></div>
  741. </div>
  742. <div class="echart_data echart_data_bj">
  743. <p class="data_line fstprice_line" style=""><i></i><?= Opencc::Convert('首期付款') ?>
  744. :<span
  745. class="cnt_val bus_fstprice">0.00</span><?= Opencc::Convert('万元') ?>
  746. </p>
  747. <p class="data_line loansum_line"><i></i><?= Opencc::Convert('贷款总额') ?>:<span
  748. class="cnt_val bus_loansum">0.00</span><?= Opencc::Convert('万元') ?>
  749. </p>
  750. <p class="data_line interest_line"><i></i><?= Opencc::Convert('利息总额') ?>:<span
  751. class="cnt_val bus_bx_interest">0.00</span><?= Opencc::Convert('万元') ?>
  752. </p>
  753. </div>
  754. </div>
  755. <div class="bus_fstmonth"><?= Opencc::Convert('月均还款') ?><span
  756. class="cnt_val avg_sum">0.00</span><?= Opencc::Convert('元') ?></div>
  757. </div>
  758. <!-- 等额本金还款 -->
  759. <div class="bus_tab_box bus_tab_bj" data-id="2" style="display:none;">
  760. <div class="echart_box c">
  761. <div class="echart_img" id="dj_echart">
  762. <div></div>
  763. </div>
  764. <div class="echart_data">
  765. <p class="data_line fstprice_line" style=""><i></i><?= Opencc::Convert('首期付款') ?>
  766. :<span
  767. class="cnt_val bus_fstprice">0.00</span><?= Opencc::Convert('万元') ?>
  768. </p>
  769. <p class="data_line loansum_line"><i></i><?= Opencc::Convert('贷款总额') ?>:<span
  770. class="cnt_val bus_loansum">0.00</span><?= Opencc::Convert('万元') ?>
  771. </p>
  772. <p class="data_line interest_line"><i></i><?= Opencc::Convert('利息总额') ?>:<span
  773. class="cnt_val bus_bj_interest">0.00</span><?= Opencc::Convert('万元') ?>
  774. </p>
  775. </div>
  776. </div>
  777. <div class="bus_fstmonth"><?= Opencc::Convert('首月还款') ?><span
  778. class="cnt_val sf_sum">0.00</span><?= Opencc::Convert('元') ?></div>
  779. <div class="bus_monthcut"><?= Opencc::Convert('每月递减') ?>:<span
  780. class="cnt_val monthcut">0.00</span><?= Opencc::Convert('元') ?></div>
  781. </div>
  782. </div>
  783. </div>
  784. <div class="reckon">
  785. <input class="reckon_but" type="button" name="" value="<?= Opencc::Convert('开始计算') ?>">
  786. </div>
  787. </div>
  788. </div>
  789. </div>
  790. </div>
  791. <div class="y_lpreco">
  792. <div class="y_lpreco_main puic_wid puic_color">
  793. <div class="y_lpreco_cent">
  794. <div class="y_lpdtpc_nav" id="y_lpdtpc_nav2">
  795. <ul class="c">
  796. <li data-id="1232" name="quyu" valdata="<?php echo $model['house']['city'] ?>"><a
  797. href="javascript:;"><?= Opencc::Convert('同区域楼盘') ?></a></li>
  798. <!-- <li data-id="123" name="tuijian" ><a href="javascript:;">推荐楼盘</a></li>-->
  799. <li data-id="1235" name="price" valdata="<?php echo $model['house']['sale_price'] ?>"><a
  800. href="javascript:;"><?= Opencc::Convert('同价位楼盘') ?></a></li>
  801. </ul>
  802. </div>
  803. <div class="y_lpdtpc_list">
  804. <ul class="y_lpdtpc_tjw c w-commonality">
  805. </ul>
  806. </div>
  807. </div>
  808. </div>
  809. </div>
  810. <!-- v2 新增 悬挂扫码 -->
  811. <div class="yv2_saomaBox js_yv2_saomaBox">
  812. <div class="yv2_saomaBox_main">
  813. <p class="text_top"><img src="/overseas/img/v2image/v2_ico40.png" alt="">扫码拨号</p>
  814. <div class="yv2_saomaBox_center">
  815. <p id="yv2_saomaBox" src="http://m.pinfanghw.com/house/selftel/<?php echo $model['house']['id'] ?>?tel=<?= f_unit($model['house']['tel']) ?>"></p>
  816. </div>
  817. <p class="text_top">售楼处免费热线</p>
  818. <a class="ganbi js_honeganbi" href="javascript:;">关闭</a>
  819. </div>
  820. </div>
  821. <!-- 直播看房 报名 -->
  822. <div class="y_reduced2">
  823. <div class="y_reduced2_main c">
  824. <div class="y_reduced2_gb"><a href="javascript:;"><img src="/overseas/img/live/ico_close_3.png" alt=""></a></div>
  825. <div class="m_reduced_r2">
  826. <div class="m_reduced_r_title2">
  827. <em>直播看房</em>
  828. <span>快速获取完整的专业楼盘解读信息!</span>
  829. </div>
  830. <form class="submit_area y_reduced_left2">
  831. <input type="hidden" name="hid" value="<?php echo $model['house']['id'] ?>">
  832. <!-- 0 为公共报名,其它为楼盘ID,有时默认为0有可能通过JS修改为楼盘ID-->
  833. <input type="hidden" name="source" value="114"> <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
  834. <input type="hidden" name="equipment" value="2"> <!--来源设备 ( PC端 2,手机端 1 )-->
  835. <p class="zhanghao">
  836. <b class="hint-text">您输入的手机号码不正确</b>
  837. <span><img src="/overseas/img/live/v3ico43.png" alt=""></span>
  838. <input type="text" class="in-text" id="phone1" name="mobile" placeholder="请输入手机号码">
  839. </p>
  840. <p class="mima c">
  841. <b class="hint-text">请输入短信验证码</b>
  842. <em class="fl">
  843. <span><img src="/overseas/img/live/v3ico44.png" alt=""></span>
  844. <input type="text" id="code" class="in-text default-text" placeholder="请输入短信验证码">
  845. </em>
  846. <input id="btnSendCode1" type="button" class="btn btn-default fr" value="获取验证码">
  847. </p>
  848. <a id="buttom_m" href="javascript:;">立即提交</a>
  849. <a style="display:none;" class="buttom_m2" href="javascript:;">立即提交</a>
  850. </form>
  851. </div>
  852. </div>
  853. </div>
  854. <div class="y_reduced2_bg"></div>
  855. <div id="sxbmdata" data-type="true" data-id='<?php echo Yii::$app->session->get('adopt') ?>'></div>