houseinfoedit.php 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685
  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."/js/other/syncOperate.js");
  14. ?>
  15. <style>
  16. .layui-upload-img {border:1px solid #E6E6E6;}
  17. .layui-table td {padding:9px 0;}
  18. .layui-input, .layui-textarea{width:100%;}
  19. .layui-select-title {width:45%;position: relative;}
  20. .layui-form-select .layui-anim-upbit{min-width:45%;}
  21. .layui-form-select .layui-edge{left:106px;}
  22. .layui-form-label {width:100px;}
  23. .layui-input-block {margin-left:135px;}
  24. .layui-form-select .layui-edge{left:85%;}
  25. .layui_w_upload {margin-bottom:15px}
  26. #watermarks {display:inline-block;vertical-align:middle;float:right;}
  27. .layui-tab-title .layui-this {background-color:#dcdddd;}
  28. .layui-tab-item.layui-show {overflow:inherit;}
  29. .xm_zjzx_Submit {text-align:center;}
  30. .layui_w_btn {display:none;} /*去除删除按钮 特别需求*/
  31. .layui_w_box {margin-top:20px;}
  32. .layui_w_addbtn {height:32px;line-height:32px;}
  33. .layui-table-cell {height:38px;line-height:38px;}
  34. /*百度编辑器样式*/
  35. iframe {left:0;}
  36. .edui-default {text-align:left;}
  37. </style>
  38. <div>
  39. <!-- 内容主体区域 -->
  40. <!-- <div style="padding: 15px;">内容主体区域</div> -->
  41. <form class="layui-form" action="" id="house_edit_form">
  42. <div class="layui-row">
  43. <div class="layui-col-md2"> <!-- 你的内容 2/12 -->
  44. <div class="layui-bg-cyan" style="padding:3px 15px;">楼盘logo</div>
  45. <div class="layui-upload xm_zjzx_Picture_uploading" style="padding:0 20px;">
  46. <div class="layui-upload-list" id="demo2" >
  47. <img class="layui-upload-img" style="width:100%;height:120px;" src="<?= $details['img_url'].$details['thumb'],'/same'?>">
  48. </div>
  49. </div>
  50. <div>
  51. <div style="margin-left: 20px;border:1px solid red;">
  52. <p><span style="color: red;">提示:</span><?= $msg['msg'] ?></p>
  53. <input type="hidden" name="sync" value="<?= $msg['code'] ?>">
  54. </div>
  55. </div>
  56. </div> <!-- 你的内容 2/12 -->
  57. <div class="layui-col-md10 xm_right_box"> <!-- 你的内容 10/12 -->
  58. <div class="layui-bg-cyan" style="padding:3px 15px;">基本内容</div>
  59. <div class="layui-tab" lay-filter="test1">
  60. <ul class="layui-tab-title">
  61. <li class="site-demo-active layui-this" lay-id="assign_1" >基本信息</li>
  62. <li class="site-demo-active" lay-id="assign_2">楼盘详情</li>
  63. <li class="site-demo-active" lay-id="assign_3">楼盘标签</li>
  64. <li class="site-demo-active" lay-id="assign_4">楼盘简介</li>
  65. <li class="site-demo-active" lay-id="assign_5">楼盘对比修改</li>
  66. </ul>
  67. <div class="layui-tab-content">
  68. <div id="assign_1" class="layui-tab-item layui-show">
  69. <table class="layui-table xm_bg_box" lay-skin="line" style="width:99%;border-left:0;border:0;">
  70. <tbody>
  71. <tr>
  72. <td style="padding:0px 0px;">
  73. <div class="layui-form-item" style="margin-bottom:-5px">
  74. <div class="layui-inline">
  75. <label class="layui-form-label"><span style="color:red">*</span>楼盘名称:</label>
  76. <div class="layui-input-block ">
  77. <input type="text" name="name" readonly="readonly" value="<?php echo $details['name']?>" lay-verify="required" placeholder="请输入楼盘名称" autocomplete="off" class="layui-input layui_w_name" style="width:160%;">
  78. </div>
  79. </div>
  80. </div>
  81. </td>
  82. <td>
  83. <div class="layui-form-item" style="margin-bottom:-5px">
  84. <div class="layui-inline">
  85. <label class="layui-form-label">楼盘别名:</label>
  86. <div class="layui-input-block">
  87. <input type="text" readonly="readonly" name="alias_name" value="<?php echo $details['alias_name']?>" placeholder="请输入楼盘名称" autocomplete="off" class="layui-input" style="width:160%;">
  88. </div>
  89. </div>
  90. </div>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td style="padding:10px 0px">
  95. <div class="layui-form-item" style="margin-bottom:-5px">
  96. <div class="layui-inline">
  97. <label class="layui-form-label"><span style="color:red">*</span>楼盘拼音:</label>
  98. <div class="layui-input-block">
  99. <input type="text" readonly="readonly" value="<?php echo $details['pinyin']?>" name="pinyin" placeholder="请输入楼盘拼音" autocomplete="off" class="layui-input layui_w_spell" style="width:160%;">
  100. </div>
  101. </div>
  102. </div>
  103. </td>
  104. <td>
  105. <div class="layui-form-item" style="margin-bottom:-5px">
  106. <div class="layui-inline">
  107. <label class="layui-form-label"><span style="color:red">*</span>销售状态:</label>
  108. <div class="layui-input-block" >
  109. <input type="radio" readonly="readonly" name="state" value="<?= $details['state']?>" title="<?= $details['state']?>" checked="checked">
  110. <!-- <input type="text" name="state" value="--><?//= $details['state']?><!--" class="layui-input layui_w_spell" style="width:160%;">-->
  111. </div>
  112. </div>
  113. </div>
  114. </td>
  115. </tr>
  116. <tr>
  117. <td style="padding:10px 0px">
  118. <div class="layui-form-item" style="margin-bottom:-5px">
  119. <div class="layui-inline">
  120. <label class="layui-form-label">均价:</label>
  121. <div class="layui-input-block">
  122. <input type="text" readonly="readonly" name="sale_price" value="<?= $details['sale_price']?>" placeholder="不填均价为待定" autocomplete="off" class="layui-input" style="width:160%;">
  123. </div>
  124. </div>
  125. </div>
  126. </td>
  127. <td>
  128. <div class="layui-form-item" style="margin-bottom:-5px">
  129. <label class="layui-form-label">价格单位:</label>
  130. <div class="layui-input-block">
  131. <input type="radio" readonly="readonly" name="price_unit" value="<?= $details['price_unit'] ?>" title="<?= $details['price_unit'] ?>" checked="checked">
  132. </div>
  133. </div>
  134. </td>
  135. </tr>
  136. <tr>
  137. <td>
  138. <div class="layui-form-item" style="margin-bottom:-5px">
  139. <label class="layui-form-label">价格区间:</label>
  140. <div class="layui-input-block">
  141. <input type="radio" readonly="readonly" name="price" value="<?= $details['price'] ?>" title="<?= $details['price'] ?>" checked="checked">
  142. </div>
  143. </div>
  144. </td>
  145. <td style="padding:10px 0px">
  146. <div class="layui-form-item" style="margin-bottom:-5px">
  147. <div class="layui-inline">
  148. <label class="layui-form-label">优惠信息:</label>
  149. <div class="layui-input-block">
  150. <input type="text" readonly="readonly" name="preferential" value="<?php echo $details['preferential']?>" placeholder="优惠信息" autocomplete="off" class="layui-input" style="width:160%;">
  151. </div>
  152. </div>
  153. </div>
  154. </td>
  155. </tr>
  156. <tr>
  157. <td style="padding:0px 0px;">
  158. <div class="layui-form-item" style="margin-bottom:-5px">
  159. <div class="layui-inline">
  160. <label class="layui-form-label">开盘时间:</label>
  161. <div class="layui-input-block">
  162. <input type="text" readonly="readonly" name="open_time" placeholder="开盘时间" value="<?= $details['open_time']?>" id="date1" autocomplete="off" class="layui-input" style="width:160%;">
  163. </div>
  164. </div>
  165. </div>
  166. </td>
  167. <td>
  168. <div class="layui-form-item" style="margin-bottom:-5px">
  169. <div class="layui-inline">
  170. <label class="layui-form-label">交房时间:</label>
  171. <div class="layui-input-block">
  172. <input type="text" readonly="readonly" name="launch_time" id="date1_2" placeholder="交房时间" value="<?= $details['launch_time']?>" autocomplete="off" class="layui-input" style="width:160%;">
  173. </div>
  174. </div>
  175. </div>
  176. </td>
  177. </tr>
  178. <tr>
  179. <td style="padding:10px 0px">
  180. <div class="layui-form-item" style="margin-bottom:-5px">
  181. <div class="layui-inline">
  182. <label class="layui-form-label">项目地址:</label>
  183. <div class="layui-input-block">
  184. <input type="text" readonly="readonly" name="address" value="<?= $details['address']?>" placeholder="项目地址" autocomplete="off" class="layui-input" style="width:160%;">
  185. </div>
  186. </div>
  187. </div>
  188. </td>
  189. <td >
  190. <div class="layui-form-item" style="margin-bottom:-5px">
  191. <div class="layui-inline">
  192. <label class="layui-form-label">售楼地址:</label>
  193. <div class="layui-input-block">
  194. <input type="text" readonly="readonly" name="sales_address" value="<?= $details['sales_address']?>" placeholder="售楼地址" autocomplete="off" class="layui-input" style="width:160%;">
  195. </div>
  196. </div>
  197. </div>
  198. </td>
  199. </tr>
  200. <tr>
  201. <td>
  202. <div class="layui-form-item" style="margin-bottom:-5px">
  203. <div class="layui-inline">
  204. <label class="layui-form-label">主力户型:</label>
  205. <div class="layui-input-block">
  206. <input type="text" readonly="readonly" name="main_units" value="<?= $details['main_units'] ?>" placeholder="主力户型" autocomplete="off" class="layui-input" style="width:160%;">
  207. </div>
  208. </div>
  209. </div>
  210. </td>
  211. <td>
  212. <div class="layui-form-item" style="margin-bottom:-5px">
  213. <label class="layui-form-label">区域:</label>
  214. <div class="layui-input-block">
  215. <input type="text" readonly="readonly" name="city" value="<?= $details['city_name'] ?>" autocomplete="off" class="layui-input" style="width:160%;">
  216. </div>
  217. </div>
  218. </td>
  219. </tr>
  220. </tbody>
  221. </table>
  222. </div>
  223. <div id="assign_2" class="layui-tab-item">
  224. <table class="layui-table xm_bg_box" lay-skin="line" style="width:99%;border-left:0;border:0;">
  225. <tbody>
  226. <tr>
  227. <td>
  228. <div class="layui-form-item" style="margin-bottom:-5px">
  229. <div class="layui-inline">
  230. <label class="layui-form-label">开发商:</label>
  231. <div class="layui-input-block">
  232. <input type="text" readonly="readonly" name="developers" value="<?php echo $details['developers'] ?>" placeholder="开发商信息" autocomplete="off" class="layui-input" style="width:160%;">
  233. </div>
  234. </div>
  235. </div>
  236. <!-- <div class="layui-form-item" style="margin-bottom:-5px">-->
  237. <!-- <label class="layui-form-label">开发商:</label>-->
  238. <!-- <div class="layui-input-block" >-->
  239. <!-- <select name="developers" lay-filter="aihao" >-->
  240. <!-- <option value="" ></option>-->
  241. <!-- --><?php //foreach ($model['developers'] as $val){?>
  242. <!-- --><?php //}?>
  243. <!-- </select>-->
  244. <!-- </div>-->
  245. <!-- </div>-->
  246. </td>
  247. <td>
  248. <div class="layui-form-item" style="margin-bottom:-5px">
  249. <div class="layui-inline">
  250. <label class="layui-form-label">投资商:</label>
  251. <div class="layui-input-block">
  252. <input type="text" readonly="readonly" name="land_agent" value="<?php echo $details['land_agent']?>" placeholder="投资商" autocomplete="off" class="layui-input" style="width:160%;">
  253. </div>
  254. </div>
  255. </div>
  256. </td>
  257. </tr>
  258. <tr>
  259. <td style="padding:10px 0px">
  260. <div class="layui-form-item" style="margin-bottom:-5px">
  261. <div class="layui-inline">
  262. <label class="layui-form-label">占地面积:</label>
  263. <div class="layui-input-block">
  264. <input type="text" readonly="readonly" name="planning_area" value="<?php echo $details['planning_area']?>" placeholder="占地面积" autocomplete="off" class="layui-input" style="width:160%;">
  265. </div>
  266. </div>
  267. </div>
  268. </td>
  269. <td>
  270. <div class="layui-inline">
  271. <label class="layui-form-label">建筑面积:</label>
  272. <div class="layui-input-block">
  273. <input type="text" readonly="readonly" name="construction_area" value="<?php echo $details['construction_area']?>" placeholder="建筑面积" autocomplete="off" class="layui-input" style="width:160%;">
  274. </div>
  275. </div>
  276. </td>
  277. </tr>
  278. <tr>
  279. <td style="padding:10px 0px">
  280. <div class="layui-form-item" style="margin-bottom:-5px">
  281. <div class="layui-inline">
  282. <label class="layui-form-label">容积率:</label>
  283. <div class="layui-input-block">
  284. <input type="text" readonly="readonly" name="volume_rate" value="<?php echo $details['volume_rate']?>" placeholder="容积率" autocomplete="off" class="layui-input" style="width:160%;">
  285. </div>
  286. </div>
  287. </div>
  288. </td>
  289. <td>
  290. <div class="layui-inline">
  291. <label class="layui-form-label">绿化率:</label>
  292. <div class="layui-input-block">
  293. <input type="text" readonly="readonly" name="greening_rate" value="<?php echo $details['greening_rate']?>" placeholder="绿化率" autocomplete="off" class="layui-input" style="width:160%;">
  294. </div>
  295. </div>
  296. </td>
  297. </tr>
  298. <tr>
  299. <td style="padding:10px 0px">
  300. <div class="layui-form-item" style="margin-bottom:-5px">
  301. <div class="layui-inline">
  302. <label class="layui-form-label">物业公司:</label>
  303. <div class="layui-input-block">
  304. <input type="text" readonly="readonly" name="property_company" value="<?php echo $details['property_company']?>" placeholder="物业公司" autocomplete="off" class="layui-input" style="width:160%;">
  305. </div>
  306. </div>
  307. </div>
  308. </td>
  309. <td>
  310. <div class="layui-form-item" style="margin-bottom:-5px">
  311. <div class="layui-inline">
  312. <label class="layui-form-label">物业费:</label>
  313. <div class="layui-input-block">
  314. <input type="text" readonly="readonly" name="property_costs" value="<?php echo $details['property_costs']?>" placeholder="物业费" autocomplete="off" class="layui-input" style="width:160%;">
  315. </div>
  316. </div>
  317. </div>
  318. </td>
  319. </tr>
  320. <tr>
  321. <td>
  322. <div class="layui-form-item" style="margin-bottom:-5px">
  323. <div class="layui-inline">
  324. <label class="layui-form-label">总栋数:</label>
  325. <div class="layui-input-block">
  326. <input type="text" readonly="readonly" name="total_building" value="<?php echo $details['total_building']?>" placeholder="总栋数" autocomplete="off" class="layui-input" style="width:160%;">
  327. </div>
  328. </div>
  329. </div>
  330. </td>
  331. <td>
  332. <div class="layui-form-item" style="margin-bottom:-5px">
  333. <div class="layui-inline">
  334. <label class="layui-form-label">总户数:</label>
  335. <div class="layui-input-block">
  336. <input type="text" readonly="readonly" name="planning_households" value="<?php echo $details['planning_households']?>" placeholder="总户数" autocomplete="off" class="layui-input" style="width:160%;">
  337. </div>
  338. </div>
  339. </div>
  340. </td>
  341. </tr>
  342. <tr>
  343. <td>
  344. <div class="layui-form-item" style="margin-bottom:-5px">
  345. <div class="layui-inline">
  346. <label class="layui-form-label">楼层状况:</label>
  347. <div class="layui-input-block">
  348. <input type="text" readonly="readonly" name="floor_condition" value="<?php echo $details['floor_condition']?>" placeholder="楼层状况" autocomplete="off" class="layui-input" style="width:160%;">
  349. </div>
  350. </div>
  351. </div>
  352. </td>
  353. <td>
  354. <div class="layui-form-item" style="margin-bottom:-5px">
  355. <div class="layui-inline">
  356. <label class="layui-form-label">车位数量:</label>
  357. <div class="layui-input-block">
  358. <input type="text" readonly="readonly" name="parking_num" value="<?php echo $details['parking_num']?>" placeholder="车位数量" autocomplete="off" class="layui-input" style="width:160%;">
  359. </div>
  360. </div>
  361. </div>
  362. </td>
  363. </tr>
  364. <tr>
  365. <td>
  366. <div class="layui-inline">
  367. <label class="layui-form-label">公交路线:</label>
  368. <div class="layui-input-block">
  369. <input type="text" readonly="readonly" name="bus_route" placeholder="公交路线" value="<?php echo $details['bus_route']?>" autocomplete="off" class="layui-input" style="width:160%;">
  370. </div>
  371. </div>
  372. </td>
  373. <!-- <td>
  374. <div class="layui-form-item" style="margin-bottom:-5px">
  375. <div class="layui-inline">
  376. <label class="layui-form-label">许可证号:</label>
  377. <div class="layui-input-block">
  378. <input type="text" name="sale_permit" value="<?php echo $details['sale_permit']?>" placeholder="许可证号" autocomplete="off" class="layui-input" style="width:160%;">
  379. </div>
  380. </div>
  381. </div>
  382. </td> -->
  383. <td><div class="layui-form-item" style="margin-bottom:-5px">
  384. <div class="layui-inline">
  385. <label class="layui-form-label">产权年限:</label>
  386. <div class="layui-input-block">
  387. <input type="text" readonly="readonly" name="house_cx" value="<?php echo $details['house_cx']?>" placeholder="产权年限" autocomplete="off" class="layui-input" style="width:160%;">
  388. </div>
  389. </div>
  390. </div>
  391. </td>
  392. </tr>
  393. <tr>
  394. <td style="padding:10px 0px">
  395. <div class="layui-form-item" style="margin-bottom:-5px">
  396. <div class="layui-inline">
  397. <label class="layui-form-label">经纬度:</label>
  398. <div class="layui-input-block">
  399. <input type="text" readonly="readonly" id="jwd" name="longitude_latitude" value="<?php echo $details['longitude_latitude']?>" placeholder="获取经纬度" autocomplete="off" class="layui-input" style="width:120%;">
  400. </div>
  401. </div>
  402. </div>
  403. </td>
  404. <td>
  405. <div class="layui-form-item" style="margin-bottom:-5px">
  406. <div class="layui-inline">
  407. <label class="layui-form-label">VR看房:</label>
  408. <div class="layui-input-block">
  409. <input type="text" readonly="readonly" name="panorama" value="<?php echo $details['panorama']?>" placeholder="VR全景看房" autocomplete="off" class="layui-input" style="width:160%;">
  410. </div>
  411. </div>
  412. </div>
  413. </td>
  414. </tr>
  415. <tr>
  416. <td colspan="2">
  417. <div class="">
  418. <label class="layui-form-label">楼盘特点:</label>
  419. <div class="layui-input-inline" style="width:75%">
  420. <textarea rows="15" readonly="readonly" name="features" placeholder="请输入楼盘特点" class="layui-textarea"><?php echo $details['features'] ?></textarea>
  421. </div>
  422. </div>
  423. </td>
  424. </tr>
  425. </tbody>
  426. </table>
  427. </div>
  428. <div id="assign_3" class="layui-tab-item">
  429. <table class="layui-table xm_bg_box" lay-skin="line" style="width:99%;border-left:0;border:0;">
  430. <tbody>
  431. <tr>
  432. <td colspan="2">
  433. <div class="layui-form-item" style="margin-bottom:-5px">
  434. <div class="layui-inline">
  435. <label class="layui-form-label">物业类型:</label>
  436. <div class="layui-input-block" style="padding-bottom:8px;">
  437. <?php
  438. foreach ($details['type'] as $val)
  439. {
  440. ?>
  441. <input readonly="readonly" type="checkbox" name="type[]" value="<?= $val ?>"
  442. <?php echo 'checked'?>
  443. lay-skin="primary" title="<?= $val?>">
  444. <?php
  445. }
  446. ?>
  447. </div>
  448. </div>
  449. </div>
  450. </td>
  451. </tr>
  452. <tr>
  453. <td colspan="2">
  454. <div class="layui-form-item" style="margin-bottom:-5px">
  455. <div class="layui-inline">
  456. <label class="layui-form-label">特色主题:</label>
  457. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  458. <?php
  459. if(!empty($details['characteristic'])){
  460. foreach ($details['characteristic'] as $val){?>
  461. <input readonly="readonly" type="checkbox" name="characteristic[]" value="<?= $val ?>"
  462. <?php echo 'checked' ?>
  463. lay-skin="primary" title="<?= $val ?>">
  464. <?php
  465. }
  466. }
  467. ?>
  468. </div>
  469. </div>
  470. </div>
  471. </td>
  472. </tr>
  473. <tr>
  474. <td colspan="2">
  475. <div class="layui-form-item" style="margin-bottom:-5px">
  476. <div class="layui-inline">
  477. <label class="layui-form-label">建筑类别:</label>
  478. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  479. <?php foreach ($details['architecture_type'] as $val){?>
  480. <input readonly="readonly" type="checkbox" name="architecture_type[]" <?php echo 'checked' ?> value="<?php echo $val?>" lay-skin="primary" title="<?php echo $val?>">
  481. <?php }?>
  482. </div>
  483. </div>
  484. </div>
  485. </td>
  486. </tr>
  487. <tr>
  488. <td colspan="2">
  489. <div class="layui-form-item" style="margin-bottom:-5px">
  490. <div class="layui-inline">
  491. <label class="layui-form-label">楼盘标签:</label>
  492. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  493. <?php foreach ($details['property_tag'] as $val){?>
  494. <input readonly="readonly" type="checkbox" name="property_tag[]" <?php echo 'checked' ?> value="<?php echo $val?>" lay-skin="primary" title="<?php echo $val?>">
  495. <?php }?>
  496. </div>
  497. </div>
  498. </div>
  499. </td>
  500. </tr>
  501. <tr>
  502. <td colspan="2">
  503. <div class="layui-form-item" style="margin-bottom:-5px">
  504. <div class="layui-inline">
  505. <label class="layui-form-label">装修状况:</label>
  506. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  507. <input type="radio" name="fit" value="<?php echo $details['fit'] ?>" lay-skin="primary" title="<?php echo $details['fit'] ?>" checked="checked" >
  508. </div>
  509. </div>
  510. </div>
  511. </td>
  512. </tr>
  513. <tr>
  514. <td colspan="2">
  515. <div class="layui-form-item" style="margin-bottom:-5px">
  516. <div class="layui-inline">
  517. <label class="layui-form-label">热门楼盘:</label>
  518. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  519. <input type="radio" name="hot" value="<?= $details['hot'] ?>" title="<?= $details['hot'] ?>" checked="checked" >
  520. </div>
  521. </div>
  522. </div>
  523. </td>
  524. </tr>
  525. <tr>
  526. <td colspan="2">
  527. <div class="layui-form-item" style="margin-bottom:-5px">
  528. <div class="layui-inline">
  529. <label class="layui-form-label">主推楼盘:</label>
  530. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  531. <input type="radio" name="is_push" value="<?= $details['is_push'] ?>" title="<?= $details['is_push'] ?>" checked="checked" >
  532. </div>
  533. </div>
  534. </div>
  535. </td>
  536. </tr>
  537. </tbody>
  538. </table>
  539. </div>
  540. <div id="assign_4" class="layui-tab-item">
  541. <div class="layui-bg-gray" style="width:97%;padding:8px 15px;">楼盘简介:</div>
  542. <div class="editor_box layui-form-item" style="width:99%">
  543. <textarea name="info" readonly="readonly" id="editor" cols="30" rows="10" style="width:100%;height:400px;float:left;"><?php echo $details['info']?></textarea>
  544. </div>
  545. </div>
  546. <div id="assign_5" class="layui-tab-item layui-form">
  547. <!-- <div class="layui-input-block">-->
  548. <table class="layui-table" style="width:100%;text-align:center" id="editlist" >
  549. <colgroup>
  550. <col width="50">
  551. <col width="100">
  552. <col width="300">
  553. <col width="250">
  554. <col >
  555. </colgroup>
  556. <thead>
  557. <tr>
  558. <td><div class="layui-table-cell laytable-cell-1-0 laytable-cell-checkbox"><input type="checkbox" name="layTableCheckbox" lay-filter="editlist" lay-skin="primary"><div class="layui-unselect layui-form-checkbox" lay-skin="primary"><i class="layui-icon"></i></div></div></td>
  559. <td>参数</td>
  560. <td>自己的</td>
  561. <td>别人的</td>
  562. </tr>
  563. </thead>
  564. <tbody>
  565. <?php $num = 0 ;
  566. if(isset($dirty) && !empty($dirty)){
  567. foreach ($dirty as $key=>$val){
  568. ?>
  569. <tr class="housesync" name="<?= $key ?>">
  570. <td><div class="layui-table-cell laytable-cell-1-0 laytable-cell-checkbox"><input type="checkbox" name="layTableCheckbox" lay-filter="editlist" lay-skin="primary"><div class="layui-unselect layui-form-checkbox" lay-skin="primary"><i class="layui-icon"></i></div></div></td>
  571. <td>
  572. <?php
  573. if(isset($mLabels[$key])) echo $mLabels[$key];
  574. if(isset($fLabels[$key])) echo $fLabels[$key];
  575. ?>
  576. </td>
  577. <td>
  578. <?php if(!is_array($sample[$key])){ ?>
  579. <input style="width: 100%;height:100%" type="text" name="" value="<?= $sample[$key] ?>">
  580. <?php }else{
  581. foreach ($sample[$key] as $k=>$v){
  582. ?>
  583. <input type="radio" name="" value="<?= $k ?>" title="<?= $v ?>">
  584. <?php } } ?>
  585. </td>
  586. <td>
  587. <?php if(!is_array($dirty[$key])){ ?>
  588. <input style="width: 100%;height:100%" type="text" name="<?= $key ?>" value="<?= $dirty[$key] ?>">
  589. <?php }else{
  590. foreach ($dirty[$key] as $k=>$v){
  591. ?>
  592. <input type="checkbox" name="<?= $key.'[]' ?>" value="<?= $k ?>" title="<?= $v ?>" checked>
  593. <?php } } ?>
  594. </td>
  595. </tr>
  596. <?php } } ?>
  597. <!-- <td data-field="0"><div class="layui-table-cell laytable-cell-1-0 laytable-cell-checkbox"><input type="checkbox" name="layTableCheckbox" lay-skin="primary"><div class="layui-unselect layui-form-checkbox" lay-skin="primary"><i class="layui-icon"></i></div></div></td>-->
  598. <!-- <td>-->
  599. <!-- ceshi-->
  600. <!-- </td>-->
  601. <!-- <td>-->
  602. <!-- p-->
  603. <!-- </td>-->
  604. <!-- <td>-->
  605. <!-- dasdsa-->
  606. <!-- </td>-->
  607. </tbody>
  608. </table>
  609. <!-- </div>-->
  610. </div>
  611. </div>
  612. </div>
  613. <div class="layui-form-item xm_zjzx_Submit">
  614. <input type="hidden" name="id" value="<?php echo $details['id']?>" >
  615. <input type="hidden" name="uniqid" value="<?php echo $details['uniqid']?>" >
  616. <input type="hidden" name="thumb" value="<?= $details['thumb'] ?>">
  617. <input type="hidden" name="hid" value="<?= $hid ?>" id="editimgId">
  618. <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="sync_infoedit" >提交</button>
  619. </div>
  620. </div> <!-- 你的内容 9/12 -->
  621. </div>
  622. </form>
  623. </div> <!-- 内容主体区域 -->