create.php 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/14
  6. * Time: 下午3:24
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/plug-in/ueditor/1.4.3/ueditor.config.js");
  10. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/plug-in/ueditor/1.4.3/ueditor.all.min.js");
  11. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/plug-in/ueditor/1.4.3/lang/zh-cn/zh-cn.js");
  12. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/plug-in/jquery-3.2.1.min.js");
  13. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/pinyinjs/dict/pinyin_dict_notone.js");
  14. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/pinyinjs/dict/pinyin_dict_withtone.js");
  15. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/pinyinjs/pinyinUtil.js");
  16. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/pinyinjs/simple-input-method/simple-input-method.js");
  17. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/houses.js");
  18. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/houses_select_city.js");
  19. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/js/lp_map.js");
  20. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/js/tuodong.js");
  21. AppAsset::addCss($this, Yii::$app->request->baseUrl . "/static/css/common.css");
  22. ?>
  23. <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=lIXbW84tKu6oNCj0bbgTnau7"></script>
  24. <script type="text/javascript" src="http://api.map.baidu.com/library/CityList/1.4/src/CityList_min.js"></script>
  25. <style>
  26. .layui-upload-img {
  27. border: 1px solid #E6E6E6;
  28. }
  29. .layui-table td {
  30. padding: 9px 0;
  31. }
  32. .layui-input, .layui-textarea {
  33. width: 100%;
  34. }
  35. .layui-select-title {
  36. width: 170px;
  37. position: relative;
  38. }
  39. .layui-form-select .layui-anim-upbit {
  40. min-width: 45%;
  41. }
  42. .layui-form-select .layui-edge {
  43. left: 106px;
  44. }
  45. .layui-form-label {
  46. width: 100px;
  47. }
  48. .layui-ww-label {
  49. padding: 9px 0;
  50. }
  51. .layui-input-block {
  52. margin-left: 135px;
  53. }
  54. .layui-form-select .layui-edge {
  55. left: 85%;
  56. }
  57. .layui_w_upload {
  58. margin-bottom: 15px
  59. }
  60. #watermarks {
  61. display: inline-block;
  62. vertical-align: middle;
  63. float: right;
  64. }
  65. .layui-tab-title .layui-this {
  66. background-color: #dcdddd;
  67. }
  68. .layui-tab-item.layui-show {
  69. overflow: inherit;
  70. }
  71. .xm_zjzx_Submit {
  72. text-align: center;
  73. }
  74. .layui_w_btn {
  75. display: none;
  76. }
  77. /*去除删除按钮 特别需求*/
  78. .layui_w_box {
  79. margin-top: 20px;
  80. }
  81. .layui_w_addbtn {
  82. height: 32px;
  83. line-height: 32px;
  84. }
  85. .layui-table-cell {
  86. height: 38px;
  87. line-height: 38px;
  88. }
  89. /*百度编辑器样式*/
  90. iframe {
  91. left: 0;
  92. }
  93. .edui-default {
  94. text-align: left;
  95. }
  96. /*地图标注*/
  97. #biaozhu {
  98. cursor: pointer;
  99. }
  100. #jwd input {
  101. height: 30px;
  102. line-height: 30px;
  103. text-align: center;
  104. border: 1px #ddd solid;
  105. display: inline-block;
  106. width: 147px;
  107. }
  108. #drag {
  109. color: #fff;
  110. background: #009688;
  111. position: absolute;
  112. top: 0px;
  113. left: 0;
  114. width: 710px;
  115. height: 500px;
  116. border: 1px solid #444;
  117. border-radius: 5px;
  118. box-shadow: 0 1px 3px 2px #666;
  119. display: none;
  120. z-index: 1000;
  121. }
  122. #drag .title {
  123. position: relative;
  124. height: 32px;
  125. margin: 5px;
  126. top: 0;
  127. left: 0
  128. }
  129. #drag .title h2 {
  130. font-size: 14px;
  131. height: 27px;
  132. line-height: 24px;
  133. border-bottom: 1px solid #A1B4B0;
  134. }
  135. #drag .title div {
  136. position: absolute;
  137. height: 19px;
  138. top: 6px;
  139. right: 3px;
  140. }
  141. #drag .title a {
  142. float: left;
  143. width: 21px;
  144. height: 19px;
  145. display: block;
  146. margin-left: 5px;
  147. background: url(../static/images/tool3.png) no-repeat;
  148. border-radius: 4px;
  149. }
  150. #drag .title a.max {
  151. background-position: -60px 0px;
  152. }
  153. #drag .title a.revert {
  154. background-position: -149px 0;
  155. display: none;
  156. }
  157. #drag .title a.revert:hover {
  158. background-position: -149px -29px;
  159. }
  160. #drag .title a.close {
  161. background-position: -89px -29px;
  162. opacity: 1;
  163. }
  164. #drag .content {
  165. overflow: auto;
  166. margin: 0 5px;
  167. }
  168. #f_container {
  169. position: absolute;
  170. top: 9px;
  171. left: 10px;
  172. z-index: 1000;
  173. }
  174. #container {
  175. width: 290px;
  176. overflow: hidden;
  177. height: 24px;
  178. }
  179. #container select {
  180. height: 23px;
  181. border: none
  182. }
  183. #content .btn {
  184. width: 98px;
  185. height: 23px;
  186. font-size: 13px;
  187. margin-right: 16px;
  188. cursor: pointer;
  189. background: #fff;
  190. border: none;
  191. }
  192. #content .btn:hover {
  193. color: red;
  194. }
  195. #allmap {
  196. height: 415px;
  197. width: 710px;
  198. }
  199. #cha {
  200. width: 248px;
  201. position: absolute;
  202. right: 55px;
  203. top: 10px;
  204. }
  205. #cha #btn {
  206. background: #fff;
  207. border: none;
  208. height: 20px;
  209. margin-right: 10px;
  210. cursor: pointer;
  211. padding: 0 14px
  212. }
  213. #cha #btn:hover {
  214. color: red;
  215. }
  216. #r-result {
  217. width: 305px;
  218. float: left;
  219. }
  220. #r-result input {
  221. border: none;
  222. width: 90px;
  223. height: 20px;
  224. padding: 0 5px;
  225. }
  226. .tangram-suggestion-main {
  227. z-index: 1001;
  228. }
  229. #cityName {
  230. height: 20px;
  231. padding: 0 5px;
  232. border: none;
  233. width: 120px;
  234. margin-right: 7px;
  235. }
  236. #show_map {
  237. width: 300px;
  238. height: 250px;
  239. }
  240. .xm_MapObtain_button {
  241. right: -15%;
  242. }
  243. </style>
  244. <!--地图-->
  245. <div id="drag">
  246. <div class="title">
  247. <div>
  248. <a class="max" href="javascript:;" title="最大化"></a>
  249. <a class="revert" href="javascript:;" title="还原"></a>
  250. <a class="close" href="javascript:;" title="关闭"></a>
  251. </div>
  252. </div>
  253. <div id="content">
  254. <div id="cha">
  255. 地址 : <input id="cityName" type="text" onkeydown="KeyDown();"/>
  256. <input type="button" value="查询" onclick="theLocation()" id="btn"/>
  257. </div>
  258. <div id="allmap"></div>
  259. <div style="margin-top:10px;text-align: right">
  260. <div id="r-result">
  261. 经度 : <input type="text" id="jd"/> 纬度 : <input type="text" id="wd"/>
  262. </div>
  263. <input type="hidden" id="lat"><input type="hidden" id="lng">
  264. <input type="button" onclick="showMap();" class="btn" value="保存">
  265. <input type="button" onclick="dhide()" class="btn" value="取消">
  266. </div>
  267. <div id="f_container">
  268. <div id="container"></div>
  269. </div>
  270. </div>
  271. </div>
  272. <div>
  273. <!-- 内容主体区域 -->
  274. <!-- <div style="padding: 15px;">内容主体区域</div> -->
  275. <form class="layui-form" action="" id="house_form">
  276. <div class="layui-row">
  277. <div class="layui-col-md2"> <!-- 你的内容 2/12 -->
  278. <div class="layui-bg-cyan" style="padding:3px 15px;">楼盘logo</div>
  279. <div class="layui-upload xm_zjzx_Picture_uploading" style="padding:0 20px;">
  280. <div class="layui-upload-list">
  281. <img class="layui-upload-img" id="demo1" style="width:100%;height:120px;">
  282. <p id="demoText"></p>
  283. </div>
  284. <div class="layui_w_md3">
  285. <!-- <button type="button" class="layui-btn layui_w_upload" id="test1">上传图片</button>-->
  286. <div id="watermarks">
  287. <input type="checkbox" name="watermark" value="1" title="水印">
  288. </div>
  289. </div>
  290. <!-- <div>
  291. <label class="layui-ww-label">视频地址:</label>
  292. <input type="text" name="title" required lay-verify="required" placeholder="视频地址" autocomplete="off" class="layui-input" style="margin-top:10px">
  293. </div> -->
  294. </div>
  295. <!-- <input type="file" value="上传">-->
  296. <!-- <input type="text" name="title" required lay-verify="required" placeholder="图片地址" autocomplete="off" class="layui-input"style="width:75%;margin-left:20px;">-->
  297. <!-- <hr class="layui-bg-green xm_zjzx_sp_fg">-->
  298. <!-- <span class="xm_zjzx_sp_fg_span">视频地址</span>-->
  299. <!---->
  300. <!-- <input type="text" name="title" required lay-verify="required" placeholder="视频地址" autocomplete="off" class="layui-input" style="width:75%;margin-left:20px;">-->
  301. </div> <!-- 你的内容 3/12 -->
  302. <div class="layui-col-md10 xm_right_box"> <!-- 你的内容 10/12 -->
  303. <div class="layui-bg-cyan" style="padding:3px 15px;">基本内容</div>
  304. <div class="layui-tab" lay-filter="test1">
  305. <ul class="layui-tab-title">
  306. <li class="site-demo-active layui-this" lay-id="assign_1">基本信息</li>
  307. <li class="site-demo-active" lay-id="assign_2">楼盘详情</li>
  308. <li class="site-demo-active" lay-id="assign_3">楼盘标签</li>
  309. <!-- <li class="site-demo-active" lay-id="assign_5">楼盘评测</li>-->
  310. <li class="site-demo-active" lay-id="assign_4">楼盘简介</li>
  311. <!-- <li class="site-demo-active" lay-id="assign_6">楼盘评测</li> -->
  312. </ul>
  313. <div class="layui-tab-content">
  314. <div id="assign_1" class="layui-tab-item layui-show">
  315. <table class="layui-table xm_bg_box" lay-skin="line"
  316. style="width:99%;border-left:0;border:0;">
  317. <tbody>
  318. <tr>
  319. <td style="padding:0px 0px;">
  320. <div class="layui-form-item" style="margin-bottom:-5px">
  321. <div class="layui-inline">
  322. <label class="layui-form-label"><span
  323. style="color:red">*</span>楼盘名称:</label>
  324. <div class="layui-input-block ">
  325. <input type="text" name="name" required lay-verify="required"
  326. placeholder="请输入楼盘名称" autocomplete="off"
  327. class="layui-input layui_w_name" style="width:160%;">
  328. </div>
  329. </div>
  330. </div>
  331. </td>
  332. <td>
  333. <div class="layui-form-item" style="margin-bottom:-5px">
  334. <div class="layui-inline">
  335. <label class="layui-form-label">楼盘别名:</label>
  336. <div class="layui-input-block">
  337. <input type="text" name="alias_name" placeholder="请输入楼盘名称"
  338. autocomplete="off" class="layui-input" style="width:160%;">
  339. </div>
  340. </div>
  341. </div>
  342. </td>
  343. </tr>
  344. <tr>
  345. <td style="padding:10px 0px">
  346. <div class="layui-form-item" style="margin-bottom:-5px">
  347. <div class="layui-inline">
  348. <label class="layui-form-label"><span
  349. style="color:red">*</span>楼盘拼音:</label>
  350. <div class="layui-input-block">
  351. <input type="text" name="pinyin" required lay-verify="required"
  352. placeholder="请输入楼盘名称拼音" autocomplete="off"
  353. class="layui-input layui_w_spell" style="width:160%;">
  354. </div>
  355. </div>
  356. </div>
  357. </td>
  358. <td>
  359. <div class="layui-form-item" style="margin-bottom:-5px">
  360. <div class="layui-inline">
  361. <label class="layui-form-label"><span
  362. style="color:red">*</span>销售状态:</label>
  363. <div class="layui-input-block">
  364. <?php foreach (Yii::$app->params['HouseSalesStatus'] as $k => $v) { ?>
  365. <input type="radio" name="state"
  366. value="<?php echo $k ?>" <?php if ($k == 1) echo 'checked' ?>
  367. title="<?php echo $v ?>">
  368. <?php } ?>
  369. </div>
  370. </div>
  371. </div>
  372. </td>
  373. </tr>
  374. <tr>
  375. <td style="padding:10px 0px">
  376. <div class="layui-form-item" style="margin-bottom:-5px">
  377. <div class="layui-inline">
  378. <label class="layui-form-label">均价:</label>
  379. <div class="layui-input-block">
  380. <input type="text" name="sale_price" placeholder="不填均价为待定"
  381. autocomplete="off" class="layui-input" style="width:160%;">
  382. </div>
  383. </div>
  384. </div>
  385. </td>
  386. <td>
  387. <div class="layui-form-item" style="margin-bottom:-5px">
  388. <label class="layui-form-label">价格单位:</label>
  389. <div class="layui-input-block">
  390. <select name="price_unit" lay-filter="aihao">
  391. <option value="" selected=""></option>
  392. <?php foreach (Yii::$app->params['HousePriceUnit'] as $val) { ?>
  393. <option value="<?php echo $val ?>"><?php echo $val ?></option>
  394. <?php } ?>
  395. </select>
  396. </div>
  397. </div>
  398. </td>
  399. </tr>
  400. <tr>
  401. <td>
  402. <div class="layui-form-item" style="margin-bottom:-5px">
  403. <label class="layui-form-label">价格区间:</label>
  404. <div class="layui-input-block">
  405. <select name="price" lay-filter="aihao">
  406. <option value="">请选择</option>
  407. <?php foreach ($model['priceList'] as $val) { ?>
  408. <option value="<?php echo $val['price'] ?>"><?php echo $val['price'] ?></option>
  409. <?php } ?>
  410. </select>
  411. </div>
  412. </div>
  413. </td>
  414. <td style="padding:10px 0px">
  415. <div class="layui-form-item" style="margin-bottom:-5px">
  416. <div class="layui-inline">
  417. <label class="layui-form-label">优惠信息:</label>
  418. <div class="layui-input-block">
  419. <input type="text" name="preferential" placeholder="优惠信息"
  420. autocomplete="off" class="layui-input" style="width:160%;">
  421. </div>
  422. </div>
  423. </div>
  424. </td>
  425. </tr>
  426. <tr>
  427. <td style="padding:0px 0px;">
  428. <div class="layui-form-item" style="margin-bottom:-5px">
  429. <div class="layui-inline">
  430. <label class="layui-form-label">开盘时间:</label>
  431. <div class="layui-input-block">
  432. <input type="text" name="open_time" id="date1" placeholder="开盘时间"
  433. autocomplete="off" class="layui-input" style="width:160%;">
  434. </div>
  435. </div>
  436. </div>
  437. </td>
  438. <td>
  439. <div class="layui-form-item" style="margin-bottom:-5px">
  440. <div class="layui-inline">
  441. <label class="layui-form-label">交房时间:</label>
  442. <div class="layui-input-block">
  443. <input type="text" name="launch_time" id="date1_2"
  444. placeholder="交房时间" autocomplete="off" class="layui-input"
  445. style="width:160%;">
  446. </div>
  447. </div>
  448. </div>
  449. </td>
  450. </tr>
  451. <tr>
  452. <td style="padding:10px 0px">
  453. <div class="layui-form-item" style="margin-bottom:-5px">
  454. <div class="layui-inline">
  455. <label class="layui-form-label">项目地址:</label>
  456. <div class="layui-input-block">
  457. <input type="text" name="address" placeholder="项目地址"
  458. autocomplete="off" class="layui-input" style="width:160%;">
  459. </div>
  460. </div>
  461. </div>
  462. </td>
  463. <td>
  464. <div class="layui-form-item" style="margin-bottom:-5px">
  465. <div class="layui-inline">
  466. <label class="layui-form-label">售楼地址:</label>
  467. <div class="layui-input-block">
  468. <input type="text" name="sales_address" placeholder="售楼地址"
  469. autocomplete="off" class="layui-input" style="width:160%;">
  470. </div>
  471. </div>
  472. </div>
  473. </td>
  474. </tr>
  475. <tr>
  476. <td>
  477. <div class="layui-form-item" style="margin-bottom:-5px">
  478. <div class="layui-inline">
  479. <label class="layui-form-label">主力户型:</label>
  480. <div class="layui-input-block">
  481. <input type="text" name="main_units" placeholder="主力户型"
  482. autocomplete="off" class="layui-input" style="width:160%;">
  483. </div>
  484. </div>
  485. </div>
  486. </td>
  487. <td>
  488. <div class="layui-form-item" style="margin-bottom:-5px">
  489. <label class="layui-form-label">区域:</label>
  490. <!-- <span>省</span>-->
  491. <div class="layui-inline">
  492. <select name="province" lay-search lay-filter="provinceone"
  493. style="width:100%">
  494. <option value="">请选择-省</option>
  495. </select>
  496. </div>
  497. <!-- <span>市</span>-->
  498. <div class="layui-inline">
  499. <select name="city" lay-search lay-filter="cityone">
  500. <option value="">请选择-市</option>
  501. </select>
  502. </div>
  503. <!-- <span>区</span>-->
  504. <div class="layui-inline">
  505. <select name="area" lay-search lay-filter="areaone">
  506. <option value="">请选择-区</option>
  507. </select>
  508. </div>
  509. </div>
  510. <!-- <div class="layui-form-item" style="margin-bottom:-5px">-->
  511. <!-- <label class="layui-form-label">区域:</label>-->
  512. <!-- <div class="layui-input-block">-->
  513. <!-- <select name="city" lay-filter="aihao" lay-search>-->
  514. <!-- <option value="" selected=""></option>-->
  515. <!-- --><?php //foreach ($model['city'] as $val){?>
  516. <!-- <option value="-->
  517. <?php //echo $val['id']?><!--">-->
  518. <?php //echo $val['city_name']?><!--</option>-->
  519. <!-- --><?php //}?>
  520. <!-- </select>-->
  521. <!-- </div>-->
  522. <!-- </div>-->
  523. </td>
  524. </tr>
  525. </tbody>
  526. </table>
  527. </div>
  528. <div id="assign_2" class="layui-tab-item">
  529. <table class="layui-table xm_bg_box" lay-skin="line"
  530. style="width:99%;border-left:0;border:0;">
  531. <tbody>
  532. <tr>
  533. <td>
  534. <div class="layui-form-item" style="margin-bottom:-5px">
  535. <div class="layui-inline">
  536. <label class="layui-form-label">开发商:</label>
  537. <div class="layui-input-block">
  538. <input type="text" name="developers" placeholder="开发商信息"
  539. autocomplete="off" class="layui-input" style="width:160%;">
  540. </div>
  541. </div>
  542. </div>
  543. </td>
  544. <td>
  545. <div class="layui-form-item" style="margin-bottom:-5px">
  546. <div class="layui-inline">
  547. <label class="layui-form-label">投资商:</label>
  548. <div class="layui-input-block">
  549. <input type="text" name="land_agent" placeholder="投资商"
  550. autocomplete="off" class="layui-input" style="width:160%;">
  551. </div>
  552. </div>
  553. </div>
  554. </td>
  555. </tr>
  556. <tr>
  557. <td style="padding:10px 0px">
  558. <div class="layui-form-item" style="margin-bottom:-5px">
  559. <div class="layui-inline">
  560. <label class="layui-form-label">占地面积:</label>
  561. <div class="layui-input-block">
  562. <input type="text" name="planning_area" placeholder="占地面积"
  563. autocomplete="off" class="layui-input" style="width:160%;">
  564. </div>
  565. </div>
  566. </div>
  567. </td>
  568. <td>
  569. <div class="layui-inline">
  570. <label class="layui-form-label">建筑面积:</label>
  571. <div class="layui-input-block">
  572. <input type="text" name="construction_area" placeholder="建筑面积"
  573. autocomplete="off" class="layui-input" style="width:160%;">
  574. </div>
  575. </div>
  576. </td>
  577. </tr>
  578. <tr>
  579. <td style="padding:10px 0px">
  580. <div class="layui-form-item" style="margin-bottom:-5px">
  581. <div class="layui-inline">
  582. <label class="layui-form-label">容积率:</label>
  583. <div class="layui-input-block">
  584. <input type="text" name="volume_rate" placeholder="容积率"
  585. autocomplete="off" class="layui-input" style="width:160%;">
  586. </div>
  587. </div>
  588. </div>
  589. </td>
  590. <td>
  591. <div class="layui-inline">
  592. <label class="layui-form-label">绿化率:</label>
  593. <div class="layui-input-block">
  594. <input type="text" name="greening_rate" placeholder="绿化率"
  595. autocomplete="off" class="layui-input" style="width:160%;">
  596. </div>
  597. </div>
  598. </td>
  599. </tr>
  600. <tr>
  601. <td style="padding:10px 0px">
  602. <div class="layui-form-item" style="margin-bottom:-5px">
  603. <div class="layui-inline">
  604. <label class="layui-form-label">物业公司:</label>
  605. <div class="layui-input-block">
  606. <input type="text" name="property_company" placeholder="物业公司"
  607. autocomplete="off" class="layui-input" style="width:160%;">
  608. </div>
  609. </div>
  610. </div>
  611. </td>
  612. <td>
  613. <div class="layui-form-item" style="margin-bottom:-5px">
  614. <div class="layui-inline">
  615. <label class="layui-form-label">物业费:</label>
  616. <div class="layui-input-block">
  617. <input type="text" name="property_costs" placeholder="物业费"
  618. autocomplete="off" class="layui-input" style="width:160%;">
  619. </div>
  620. </div>
  621. </div>
  622. </td>
  623. </tr>
  624. <tr>
  625. <td>
  626. <div class="layui-form-item" style="margin-bottom:-5px">
  627. <div class="layui-inline">
  628. <label class="layui-form-label">总栋数:</label>
  629. <div class="layui-input-block">
  630. <input type="text" name="total_building" placeholder="总栋数"
  631. autocomplete="off" class="layui-input" style="width:160%;">
  632. </div>
  633. </div>
  634. </div>
  635. </td>
  636. <td>
  637. <div class="layui-form-item" style="margin-bottom:-5px">
  638. <div class="layui-inline">
  639. <label class="layui-form-label">总户数:</label>
  640. <div class="layui-input-block">
  641. <input type="text" name="planning_households" placeholder="总户数"
  642. autocomplete="off" class="layui-input" style="width:160%;">
  643. </div>
  644. </div>
  645. </div>
  646. </td>
  647. </tr>
  648. <tr>
  649. <td>
  650. <div class="layui-form-item" style="margin-bottom:-5px">
  651. <div class="layui-inline">
  652. <label class="layui-form-label">楼层状况:</label>
  653. <div class="layui-input-block">
  654. <input type="text" name="floor_condition" placeholder="楼层状况"
  655. autocomplete="off" class="layui-input" style="width:160%;">
  656. </div>
  657. </div>
  658. </div>
  659. </td>
  660. <td>
  661. <div class="layui-form-item" style="margin-bottom:-5px">
  662. <div class="layui-inline">
  663. <label class="layui-form-label">车位数量:</label>
  664. <div class="layui-input-block">
  665. <input type="text" name="parking_num" placeholder="车位数量"
  666. autocomplete="off" class="layui-input" style="width:160%;">
  667. </div>
  668. </div>
  669. </div>
  670. </td>
  671. </tr>
  672. <tr>
  673. <td>
  674. <div class="layui-inline">
  675. <label class="layui-form-label">公交路线:</label>
  676. <div class="layui-input-block">
  677. <input type="text" name="bus_route" placeholder="公交路线"
  678. autocomplete="off" class="layui-input" style="width:160%;">
  679. </div>
  680. </div>
  681. </td>
  682. <!-- <td>
  683. <div class="layui-form-item" style="margin-bottom:-5px">
  684. <div class="layui-inline">
  685. <label class="layui-form-label">许可证号:</label>
  686. <div class="layui-input-block">
  687. <input type="text" name="sale_permit" placeholder="许可证号" autocomplete="off" class="layui-input" style="width:160%;">
  688. </div>
  689. </div>
  690. </div>
  691. </td> -->
  692. <td>
  693. <div class="layui-form-item" style="margin-bottom:-5px">
  694. <div class="layui-inline">
  695. <label class="layui-form-label">产权年限:</label>
  696. <div class="layui-input-block">
  697. <input type="text" name="house_cx" placeholder="产权年限"
  698. autocomplete="off" class="layui-input" style="width:160%;">
  699. </div>
  700. </div>
  701. </div>
  702. </td>
  703. </tr>
  704. <tr>
  705. <td style="padding:10px 0px">
  706. <div class="layui-form-item" style="margin-bottom:-5px">
  707. <div class="layui-inline">
  708. <label class="layui-form-label">经纬度:</label>
  709. <div class="layui-input-block">
  710. <input type="text" id="jwd" name="longitude_latitude"
  711. placeholder="获取经纬度" autocomplete="off" class="layui-input"
  712. style="width:120%;">
  713. </div>
  714. </div>
  715. <div class="layui-inline xm_MapObtain_button" style="right:-4%">
  716. <a class="layui-btn" onclick="show()">获取</a>
  717. </div>
  718. </div>
  719. </td>
  720. <td>
  721. <div class="layui-form-item" style="margin-bottom:-5px">
  722. <div class="layui-inline">
  723. <label class="layui-form-label">VR看房:</label>
  724. <div class="layui-input-block">
  725. <input type="text" name="panorama" placeholder="VR全景看房"
  726. autocomplete="off" class="layui-input" style="width:160%;">
  727. </div>
  728. </div>
  729. </div>
  730. </td>
  731. </tr>
  732. <tr>
  733. <td>
  734. </td>
  735. <td>
  736. <div class="layui-form-item" style="margin-bottom:-5px">
  737. <div class="layui-inline">
  738. <label class="layui-form-label">视频地址:</label>
  739. <div class="layui-input-block">
  740. <input type="text" name="video_url" placeholder="请输入视频地址"
  741. autocomplete="off" class="layui-input" style="width:160%;">
  742. </div>
  743. </div>
  744. </div>
  745. </td>
  746. </tr>
  747. <tr>
  748. <td colspan="2">
  749. <div class="">
  750. <label class="layui-form-label">楼盘特点:</label>
  751. <div class="layui-input-inline" style="width:75%;">
  752. <textarea rows="15" name="features" placeholder="请输入楼盘特点"
  753. class="layui-textarea"></textarea>
  754. </div>
  755. </div>
  756. </td>
  757. </tr>
  758. </tbody>
  759. </table>
  760. </div>
  761. <div id="assign_3" class="layui-tab-item">
  762. <table class="layui-table xm_bg_box" lay-skin="line"
  763. style="width:99%;border-left:0;border:0;">
  764. <tbody>
  765. <tr>
  766. <td colspan="2">
  767. <div class="layui-form-item" style="margin-bottom:-5px">
  768. <div class="layui-inline">
  769. <label class="layui-form-label">物业类型:</label>
  770. <div class="layui-input-block layui_w_activity"
  771. style="padding-bottom:8px;">
  772. <?php foreach ($model['label'] as $val) { ?>
  773. <input type="checkbox" name="type[]"
  774. value="<?php echo $val['id'] ?>" lay-skin="primary"
  775. title="<?php echo $val['name'] ?>">
  776. <?php } ?>
  777. </div>
  778. </div>
  779. </div>
  780. </td>
  781. </tr>
  782. <tr>
  783. <td colspan="2">
  784. <div class="layui-form-item" style="margin-bottom:-5px">
  785. <div class="layui-inline">
  786. <label class="layui-form-label">特色主题:</label>
  787. <div id="layui_w_acti" class="layui-input-block layui_w_acti"
  788. style="padding-bottom:8px;">
  789. <?php foreach ($model['teseList'] as $val) { ?>
  790. <input type="checkbox" name="characteristic[]"
  791. value="<?php echo $val['id'] ?>" lay-skin="primary"
  792. title="<?php echo $val['name'] ?>">
  793. <?php } ?>
  794. </div>
  795. </div>
  796. </div>
  797. </td>
  798. </tr>
  799. <tr>
  800. <td colspan="2">
  801. <div class="layui-form-item" style="margin-bottom:-5px">
  802. <div class="layui-inline">
  803. <label class="layui-form-label">建筑类别:</label>
  804. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  805. <?php foreach ($model['Architecture'] as $val) { ?>
  806. <input type="checkbox" name="architecture_type[]"
  807. value="<?php echo $val['id'] ?>" lay-skin="primary"
  808. title="<?php echo $val['name'] ?>">
  809. <?php } ?>
  810. </div>
  811. </div>
  812. </div>
  813. </td>
  814. </tr>
  815. <tr>
  816. <td colspan="2">
  817. <div class="layui-form-item" style="margin-bottom:-5px">
  818. <div class="layui-inline">
  819. <label class="layui-form-label">楼盘标签:</label>
  820. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  821. <?php foreach ($model['housetag'] as $val) { ?>
  822. <input type="checkbox" name="property_tag[]"
  823. value="<?php echo $val['id'] ?>" lay-skin="primary"
  824. title="<?php echo $val['name'] ?>">
  825. <?php } ?>
  826. </div>
  827. </div>
  828. </div>
  829. </td>
  830. </tr>
  831. <tr>
  832. <td colspan="2">
  833. <div class="layui-form-item" style="margin-bottom:-5px">
  834. <div class="layui-inline">
  835. <label class="layui-form-label">装修状况:</label>
  836. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  837. <?php foreach (Yii::$app->params['Housefit'] as $key => $val) { ?>
  838. <input type="radio" name="fit" value="<?php echo $key ?>"
  839. lay-skin="primary" title="<?php echo $val ?>">
  840. <?php } ?>
  841. </div>
  842. </div>
  843. </div>
  844. </td>
  845. </tr>
  846. <tr>
  847. <td colspan="2">
  848. <div class="layui-form-item" style="margin-bottom:-5px">
  849. <div class="layui-inline">
  850. <label class="layui-form-label">热门楼盘:</label>
  851. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  852. <input type="radio" name="hot" value="1" title="非热门" checked>
  853. <input type="radio" name="hot" value="2" title="热门">
  854. </div>
  855. </div>
  856. </div>
  857. </td>
  858. </tr>
  859. <tr>
  860. <td colspan="2">
  861. <div class="layui-form-item" style="margin-bottom:-5px">
  862. <div class="layui-inline">
  863. <label class="layui-form-label">主推楼盘:</label>
  864. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  865. <input type="radio" name="is_push" value="1" title="否" checked>
  866. <input type="radio" name="is_push" value="2" title="是">
  867. </div>
  868. </div>
  869. </div>
  870. </td>
  871. </tr>
  872. </tbody>
  873. </table>
  874. </div>
  875. <div id="assign_4" class="layui-tab-item">
  876. <div class="layui-bg-gray" style="width:97%;padding:8px 15px;">楼盘简介:</div>
  877. <div class="editor_box layui-form-item" style="width:99%">
  878. <textarea name="info" id="editor" cols="30" rows="10"
  879. style="width:100%;height:400px;float:left;"></textarea>
  880. </div>
  881. </div>
  882. <!-- <div id="assign_5" class="layui-tab-item">-->
  883. <!-- <div class="layui-bg-gray" style="width:97%;padding:8px 15px;">楼盘评测:</div>-->
  884. <!-- <div class="layui_w_box">-->
  885. <!-- <!-- <div class="layui-inline"><a class="layui-btn layui-btn-primary layui_w_addbtn" id="layui_w_y" href="javascript:;">+ 添加一行</a></div> -->
  886. -->
  887. <!-- <div class="layui_w_licence">-->
  888. <!-- <table class="layui-table" style="width:80%;text-align:center">-->
  889. <!-- <colgroup>-->
  890. <!-- <col width="60">-->
  891. <!-- <col >-->
  892. <!-- </colgroup>-->
  893. <!-- <thead>-->
  894. <!-- <tr>-->
  895. <!-- <th>删除</th>-->
  896. <!-- <th>评测内容</th>-->
  897. <!-- </tr>-->
  898. <!-- </thead>-->
  899. <!-- <tbody class="mai"></tbody>-->
  900. <!-- </table>-->
  901. <!-- </div>-->
  902. <!-- <div class="layui-inline"><a class="layui-btn layui-btn-primary layui_w_addbtn" id="layui_w_y" href="javascript:;">+ 添加一行</a></div>-->
  903. <!-- </div>-->
  904. <!-- </div>-->
  905. </div>
  906. </div>
  907. <div class="layui-form-item xm_zjzx_Submit">
  908. <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="tijiao">提交</button>
  909. </div>
  910. </div> <!-- 你的内容 9/12 -->
  911. </div>
  912. </form>
  913. <div id="ad0"></div>
  914. </div> <!-- 内容主体区域 -->