12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/14
- * Time: 下午3:24
- */
- use backend\assets\AppAsset;
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/plug-in/ueditor/1.4.3/ueditor.config.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/plug-in/ueditor/1.4.3/ueditor.all.min.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/plug-in/ueditor/1.4.3/lang/zh-cn/zh-cn.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/plug-in/jquery-3.2.1.min.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/pinyinjs/dict/pinyin_dict_notone.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/pinyinjs/dict/pinyin_dict_withtone.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/pinyinjs/pinyinUtil.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/pinyinjs/simple-input-method/simple-input-method.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/houses.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/houses_select_city.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/js/lp_map.js");
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/static/js/tuodong.js");
- AppAsset::addCss($this, Yii::$app->request->baseUrl . "/static/css/common.css")
- ?>
- <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=lIXbW84tKu6oNCj0bbgTnau7"></script>
- <script type="text/javascript" src="http://api.map.baidu.com/library/CityList/1.4/src/CityList_min.js"></script>
- <style>
- .layui-upload-img {
- border: 1px solid #E6E6E6;
- }
- .layui-table td {
- padding: 9px 0;
- }
- .layui-input, .layui-textarea {
- width: 100%;
- }
- .layui-select-title {
- width: 170px;
- position: relative;
- }
- .layui-form-select .layui-anim-upbit {
- min-width: 45%;
- }
- .layui-form-select .layui-edge {
- left: 106px;
- }
- .layui-form-label {
- width: 100px;
- }
- .layui-input-block {
- margin-left: 135px;
- }
- .layui-form-select .layui-edge {
- left: 85%;
- }
- .layui_w_upload {
- margin-bottom: 15px
- }
- #watermarks {
- display: inline-block;
- vertical-align: middle;
- float: right;
- }
- .layui-tab-title .layui-this {
- background-color: #dcdddd;
- }
- .layui-tab-item.layui-show {
- overflow: inherit;
- }
- .xm_zjzx_Submit {
- text-align: center;
- }
- .layui_w_btn {
- display: none;
- }
- /*去除删除按钮 特别需求*/
- .layui_w_box {
- margin-top: 20px;
- }
- .layui_w_addbtn {
- height: 32px;
- line-height: 32px;
- }
- .layui-table-cell {
- height: 38px;
- line-height: 38px;
- }
- /*地图标注*/
- #biaozhu {
- cursor: pointer;
- }
- #jwd input {
- height: 30px;
- line-height: 30px;
- text-align: center;
- border: 1px #ddd solid;
- display: inline-block;
- width: 147px;
- }
- #drag {
- color: #fff;
- background: #009688;
- position: absolute;
- top: 0px;
- left: 0;
- width: 710px;
- height: 500px;
- border: 1px solid #444;
- border-radius: 5px;
- box-shadow: 0 1px 3px 2px #666;
- display: none;
- z-index: 1000;
- }
- #drag .title {
- position: relative;
- height: 32px;
- margin: 5px;
- top: 0;
- left: 0
- }
- #drag .title h2 {
- font-size: 14px;
- height: 27px;
- line-height: 24px;
- border-bottom: 1px solid #A1B4B0;
- }
- #drag .title div {
- position: absolute;
- height: 19px;
- top: 6px;
- right: 3px;
- }
- #drag .title a {
- float: left;
- width: 21px;
- height: 19px;
- display: block;
- margin-left: 5px;
- background: url(../static/images/tool3.png) no-repeat;
- border-radius: 4px;
- }
- #drag .title a.max {
- background-position: -60px 0px;
- }
- #drag .title a.revert {
- background-position: -149px 0;
- display: none;
- }
- #drag .title a.revert:hover {
- background-position: -149px -29px;
- }
- #drag .title a.close {
- background-position: -89px -29px;
- opacity: 1;
- }
- #drag .content {
- overflow: auto;
- margin: 0 5px;
- }
- #f_container {
- position: absolute;
- top: 9px;
- left: 10px;
- z-index: 1000;
- }
- #container {
- width: 290px;
- overflow: hidden;
- height: 24px;
- }
- #container select {
- height: 23px;
- border: none
- }
- #content .btn {
- width: 98px;
- height: 23px;
- font-size: 13px;
- margin-right: 16px;
- cursor: pointer;
- background: #fff;
- border: none;
- }
- #content .btn:hover {
- color: red;
- }
- #allmap {
- height: 415px;
- width: 710px;
- }
- #cha {
- width: 248px;
- position: absolute;
- right: 55px;
- top: 10px;
- }
- #cha #btn {
- background: #fff;
- border: none;
- height: 20px;
- margin-right: 10px;
- cursor: pointer;
- padding: 0 14px
- }
- #cha #btn:hover {
- color: red;
- }
- #r-result {
- width: 305px;
- float: left;
- }
- #r-result input {
- border: none;
- width: 90px;
- height: 20px;
- padding: 0 5px;
- }
- .tangram-suggestion-main {
- z-index: 1001;
- }
- #cityName {
- height: 20px;
- padding: 0 5px;
- border: none;
- width: 120px;
- margin-right: 7px;
- }
- #show_map {
- width: 300px;
- height: 250px;
- }
- .xm_MapObtain_button {
- right: -15%;
- }
- /*百度编辑器样式*/
- iframe {
- left: 0;
- }
- .edui-default {
- text-align: left;
- }
- </style>
- <!--地图-->
- <div id="drag">
- <div class="title">
- <div>
- <a class="max" href="javascript:;" title="最大化"></a>
- <a class="revert" href="javascript:;" title="还原"></a>
- <a class="close" href="javascript:;" title="关闭"></a>
- </div>
- </div>
- <div id="content">
- <div id="cha">
- 地址 : <input id="cityName" type="text" onkeydown="KeyDown();"/>
- <input type="button" value="查询" onclick="theLocation()" id="btn"/>
- </div>
- <div id="allmap"></div>
- <div style="margin-top:10px;text-align: right">
- <div id="r-result">
- 经度 : <input type="text" id="jd"/> 纬度 : <input type="text" id="wd"/>
- </div>
- <input type="hidden" id="lat"><input type="hidden" id="lng">
- <input type="button" onclick="showMap();" class="btn" value="保存">
- <input type="button" onclick="dhide()" class="btn" value="取消">
- </div>
- <div id="f_container">
- <div id="container"></div>
- </div>
- </div>
- </div>
- <div>
- <!-- 内容主体区域 -->
- <!-- <div style="padding: 15px;">内容主体区域</div> -->
- <form class="layui-form" action="" id="house_edit_form">
- <div class="layui-row">
- <div class="layui-col-md2"> <!-- 你的内容 2/12 -->
- <div class="layui-bg-cyan" style="padding:3px 15px;">楼盘logo</div>
- <div class="layui-upload xm_zjzx_Picture_uploading" style="padding:0 20px;">
- <div class="layui-upload-list">
- <img class="layui-upload-img" id="demo1" style="width:100%;height:120px;"
- src="<?php echo $details['thumb'] ?>">
- <p id="demoText"></p>
- </div>
- <div class="layui_w_md3">
- <!-- <button type="button" class="layui-btn layui_w_upload" id="test1">上传图片</button>-->
- <input type="checkbox" name="watermark" value="1" title="水印">
- </div><br/>
- <!-- <div>
- <label class="layui-ww-label">视频地址:</label>
- <input type="text" name="title" required lay-verify="required" placeholder="视频地址" autocomplete="off" class="layui-input" style="margin-top:10px">
- </div> -->
- </div>
- <div class="layui-bg-cyan" style="padding:3px 15px;">视频封面</div>
- <div class="layui-upload xm_zjzx_Picture_uploading" style="padding:0 20px;">
- <div class="layui-upload-list">
- <img class="layui-upload-img" id="demo2" style="width:100%;height:120px;" src="<?php echo $details['video_img'] ?>">
- <p id="demoText"></p>
- </div>
- <div class="layui_w_md3">
- </div>
- </div>
- <div class="layui-bg-cyan" style="padding:3px 15px;">VR封面</div>
- <div class="layui-upload xm_zjzx_Picture_uploading" style="padding:0 20px;">
- <div class="layui-upload-list">
- <img class="layui-upload-img" id="demo3" style="width:100%;height:120px;" src="<?php echo $details['panorama_img'] ?>">
- <p id="demoText"></p>
- </div>
- <div class="layui_w_md3">
- </div>
- </div>
- </div> <!-- 你的内容 2/12 -->
- <div class="layui-col-md10 xm_right_box"> <!-- 你的内容 10/12 -->
- <div class="layui-bg-cyan" style="padding:3px 15px;">基本内容</div>
- <div class="layui-tab" lay-filter="test1">
- <ul class="layui-tab-title">
- <li class="site-demo-active layui-this" lay-id="assign_1">基本信息</li>
- <li class="site-demo-active" lay-id="assign_2">楼盘详情</li>
- <li class="site-demo-active" lay-id="assign_3">楼盘标签</li>
- <!-- <li class="site-demo-active" lay-id="assign_5">楼盘评测</li>-->
- <li class="site-demo-active" lay-id="assign_4">楼盘简介</li>
- </ul>
- <div class="layui-tab-content">
- <div id="assign_1" class="layui-tab-item layui-show">
- <table class="layui-table xm_bg_box" lay-skin="line"
- style="width:99%;border-left:0;border:0;">
- <tbody>
- <tr>
- <td style="padding:0px 0px;">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label"><span
- style="color:red">*</span>楼盘名称:</label>
- <div class="layui-input-block ">
- <input type="text" name="name" required
- value="<?php echo $details['name'] ?>" lay-verify="required"
- placeholder="请输入楼盘名称" autocomplete="off"
- class="layui-input layui_w_name" style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">楼盘别名:</label>
- <div class="layui-input-block">
- <input type="text" name="alias_name"
- value="<?php echo $details['alias_name'] ?>"
- placeholder="请输入楼盘名称" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td style="padding:10px 0px">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label"><span
- style="color:red">*</span>楼盘拼音:</label>
- <div class="layui-input-block">
- <input type="text" value="<?php echo $details['pinyin'] ?>"
- name="pinyin" placeholder="请输入楼盘拼音" autocomplete="off"
- class="layui-input layui_w_spell" style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label"><span
- style="color:red">*</span>销售状态:</label>
- <div class="layui-input-block">
- <?php foreach (Yii::$app->params['HouseSalesStatus'] as $k => $v) { ?>
- <input type="radio" name="state" value="<?php echo $k ?>"
- title="<?php echo $v ?>" <?php if ($k == $details['state']) echo 'checked' ?>>
- <?php } ?>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td style="padding:10px 0px">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">均价:</label>
- <div class="layui-input-block">
- <input type="text" name="sale_price"
- value="<?php echo $details['sale_price'] ?>"
- placeholder="不填均价为待定" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <label class="layui-form-label">价格单位:</label>
- <div class="layui-input-block">
- <select name="price_unit" lay-filter="aihao">
- <option value="" selected=""></option>
- <?php foreach (Yii::$app->params['HousePriceUnit'] as $val) { ?>
- <option value="<?php echo $val ?>" <?php if ($details['price_unit'] == $val) echo 'selected' ?> ><?php echo $val ?></option>
- <?php } ?>
- <!-- <option value="元/㎡起" -->
- <?php //if($details['price_unit'] == '元/㎡起') echo 'selected'?><!-- >元/㎡</option>-->
- <!-- <option value="万/套" -->
- <?php //if($details['price_unit'] == '万/套') echo 'selected'?><!-- >万/套</option>-->
- <!-- <option value="万/套起" -->
- <?php //if($details['price_unit'] == '万/套起') echo 'selected'?><!-- >万/套</option>-->
- </select>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <label class="layui-form-label">价格区间:</label>
- <div class="layui-input-block">
- <select name="price" lay-filter="aihao">
- <option value="">请选择</option>
- <?php foreach ($model['priceList'] as $val) { ?>
- <option value="<?php echo $val['price'] ?>" <?php if ($details['price'] == $val['price']) echo 'selected' ?> ><?php echo $val['price'] ?></option>
- <?php } ?>
- </select>
- </div>
- </div>
- </td>
- <td style="padding:10px 0px">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">优惠信息:</label>
- <div class="layui-input-block">
- <input type="text" name="preferential"
- value="<?php echo $details['preferential'] ?>"
- placeholder="优惠信息" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td style="padding:0px 0px;">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">开盘时间:</label>
- <div class="layui-input-block">
- <input type="text" name="open_time" placeholder="开盘时间"
- value="<?php echo $details['open_time'] ?>" id="date1"
- autocomplete="off" class="layui-input" style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">交房时间:</label>
- <div class="layui-input-block">
- <input type="text" name="launch_time" id="date1_2"
- placeholder="交房时间"
- value="<?php echo $details['launch_time'] ?>"
- autocomplete="off" class="layui-input" style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td style="padding:10px 0px">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">项目地址:</label>
- <div class="layui-input-block">
- <input type="text" name="address"
- value="<?php echo $details['address'] ?>" placeholder="项目地址"
- autocomplete="off" class="layui-input" style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">售楼地址:</label>
- <div class="layui-input-block">
- <input type="text" name="sales_address"
- value="<?php echo $details['sales_address'] ?>"
- placeholder="售楼地址" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">主力户型:</label>
- <div class="layui-input-block">
- <input type="text" name="main_units"
- value="<?php echo $details['main_units'] ?>"
- placeholder="主力户型" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <label class="layui-form-label">区域:</label>
- <!-- <span>省</?= ?span>-->
- <div class="layui-inline">
- <input type="hidden" name="select_province"
- value="<?= $details['province'] ?>">
- <select name="province" lay-search lay-filter="provinceone"
- style="width:100%">
- </select>
- </div>
- <!-- <span>市</span>-->
- <div class="layui-inline">
- <input type="hidden" name="select_city" value="<?= $details['city'] ?>">
- <select name="city" lay-search lay-filter="cityone">
- </select>
- </div>
- <!-- <span>区</span>-->
- <div class="layui-inline">
- <input type="hidden" name="select_area" value="<?= $details['area'] ?>">
- <select name="area" lay-search lay-filter="areaone">
- </select>
- </div>
- </div>
- <!-- <div class="layui-form-item" style="margin-bottom:-5px">-->
- <!-- <label class="layui-form-label">区域:</label>-->
- <!-- <div class="layui-input-block">-->
- <!-- <select name="city" lay-filter="aihao" lay-search>-->
- <!-- <option value="" selected=""></option>-->
- <!-- --><?php //foreach ($model['city'] as $val){?>
- <!-- <option value="-->
- <?php //echo $val['id']?><!--" -->
- <?php //if($details['city'] == $val['id']) echo 'selected'?><!-- >-->
- <?php //echo $val['city_name']?><!--</option>-->
- <!-- --><?php //}?>
- <!-- </select>-->
- <!-- </div>-->
- <!-- </div>-->
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline" style="width:100%">
- <label class="layui-form-label">电话:</label>
- <div class="layui-input-block">
- <input type="text" name="is_tel" value="<?= $details['is_tel'] ?>"
- placeholder="请添加指定电话" autocomplete="off" class="layui-input"
- style="width:60%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline" style="width:60%">
- <label class="layui-form-label">大数据:</label>
- <div class="layui-input-block">
- <textarea rows="6" name="links" placeholder="大数据"
- class="layui-textarea"><?php echo $details['links'] ?></textarea>
- <!-- <textarea name="links" id="" cols="30" rows="10"><?php echo $details['links'] ?></textarea>
- <input type="text" name="links" value="<?php echo $details['links'] ?>" placeholder="大数据" autocomplete="off" class="layui-input" style="width:360%;"> -->
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">特惠价格(专题):</label>
- <div class="layui-input-block">
- <input type="text" name="preferential_price"
- value="<?= $details['preferential_price'] ?>"
- placeholder="请添加活动特价" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">优惠信息(专题):</label>
- <div class="layui-input-block">
- <input type="text" name="preferential_zt"
- value="<?= $details['preferential_zt'] ?>"
- placeholder="请添加优惠信息" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline" style="width:60%">
- <label class="layui-form-label">推荐理由:</label>
- <div class="layui-input-block">
- <textarea rows="6" name="push_reason" placeholder="推荐理由"
- class="layui-textarea"><?php echo $details['push_reason'] ?></textarea>
- <!-- <textarea name="links" id="" cols="30" rows="10"><?php echo $details['links'] ?></textarea>
- <input type="text" name="links" value="<?php echo $details['links'] ?>" placeholder="大数据" autocomplete="off" class="layui-input" style="width:360%;"> -->
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline" style="">
- <label class="layui-form-label">53客服:</label>
- <div class="layui-input-block">
- <textarea rows="6" name="customer_service" placeholder="53客服"
- class="layui-textarea"><?php echo $details['customer_service'] ?></textarea>
- </div>
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div id="assign_2" class="layui-tab-item">
- <table class="layui-table xm_bg_box" lay-skin="line"
- style="width:99%;border-left:0;border:0;">
- <tbody>
- <tr>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">开发商:</label>
- <div class="layui-input-block">
- <input type="text" name="developers"
- value="<?php echo $details['developers'] ?>"
- placeholder="开发商信息" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- <!-- <div class="layui-form-item" style="margin-bottom:-5px">-->
- <!-- <label class="layui-form-label">开发商:</label>-->
- <!-- <div class="layui-input-block" >-->
- <!-- <select name="developers" lay-filter="aihao" >-->
- <!-- <option value="" ></option>-->
- <!-- --><?php //foreach ($model['developers'] as $val){?>
- <!-- --><?php //}?>
- <!-- </select>-->
- <!-- </div>-->
- <!-- </div>-->
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">投资商:</label>
- <div class="layui-input-block">
- <input type="text" name="land_agent"
- value="<?php echo $details['land_agent'] ?>"
- placeholder="投资商" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td style="padding:10px 0px">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">占地面积:</label>
- <div class="layui-input-block">
- <input type="text" name="planning_area"
- value="<?php echo $details['planning_area'] ?>"
- placeholder="占地面积" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-inline">
- <label class="layui-form-label">建筑面积:</label>
- <div class="layui-input-block">
- <input type="text" name="construction_area"
- value="<?php echo $details['construction_area'] ?>"
- placeholder="建筑面积" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td style="padding:10px 0px">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">容积率:</label>
- <div class="layui-input-block">
- <input type="text" name="volume_rate"
- value="<?php echo $details['volume_rate'] ?>"
- placeholder="容积率" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-inline">
- <label class="layui-form-label">绿化率:</label>
- <div class="layui-input-block">
- <input type="text" name="greening_rate"
- value="<?php echo $details['greening_rate'] ?>" placeholder="绿化率"
- autocomplete="off" class="layui-input" style="width:160%;">
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td style="padding:10px 0px">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">物业公司:</label>
- <div class="layui-input-block">
- <input type="text" name="property_company"
- value="<?php echo $details['property_company'] ?>"
- placeholder="物业公司" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">物业费:</label>
- <div class="layui-input-block">
- <input type="text" name="property_costs"
- value="<?php echo $details['property_costs'] ?>"
- placeholder="物业费" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">总栋数:</label>
- <div class="layui-input-block">
- <input type="text" name="total_building"
- value="<?php echo $details['total_building'] ?>"
- placeholder="总栋数" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">总户数:</label>
- <div class="layui-input-block">
- <input type="text" name="planning_households"
- value="<?php echo $details['planning_households'] ?>"
- placeholder="总户数" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">楼层状况:</label>
- <div class="layui-input-block">
- <input type="text" name="floor_condition"
- value="<?php echo $details['floor_condition'] ?>"
- placeholder="楼层状况" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">车位数量:</label>
- <div class="layui-input-block">
- <input type="text" name="parking_num"
- value="<?php echo $details['parking_num'] ?>"
- placeholder="车位数量" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="layui-inline">
- <label class="layui-form-label">公交路线:</label>
- <div class="layui-input-block">
- <input type="text" name="bus_route" placeholder="公交路线"
- value="<?php echo $details['bus_route'] ?>" autocomplete="off"
- class="layui-input" style="width:160%;">
- </div>
- </div>
- </td>
- <!-- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">许可证号:</label>
- <div class="layui-input-block">
- <input type="text" name="sale_permit" value="<?php echo $details['sale_permit'] ?>" placeholder="许可证号" autocomplete="off" class="layui-input" style="width:160%;">
- </div>
- </div>
- </div>
- </td> -->
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">产权年限:</label>
- <div class="layui-input-block">
- <input type="text" name="house_cx"
- value="<?php echo $details['house_cx'] ?>" placeholder="产权年限"
- autocomplete="off" class="layui-input" style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td style="padding:10px 0px">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">经纬度:</label>
- <div class="layui-input-block">
- <input type="text" id="jwd" name="longitude_latitude"
- value="<?php echo $details['longitude_latitude'] ?>"
- placeholder="获取经纬度" autocomplete="off" class="layui-input"
- style="width:120%;">
- </div>
- </div>
- <div class="layui-inline xm_MapObtain_button" style="right: -4%">
- <a class="layui-btn" onclick="show()">获取</a>
- </div>
- </div>
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">VR看房:</label>
- <div class="layui-input-block">
- <input type="text" name="panorama"
- value="<?php echo $details['panorama'] ?>"
- placeholder="VR全景看房" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td style="padding:10px 0px">
- </td>
- <td>
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">视频地址:</label>
- <div class="layui-input-block">
- <input type="text" name="video_url"
- value="<?php echo $details['video_url'] ?>"
- placeholder="请输入视频地址" autocomplete="off" class="layui-input"
- style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="">
- <label class="layui-form-label">楼盘特点:</label>
- <div class="layui-input-inline" style="width:75%">
- <textarea rows="15" name="features" placeholder="请输入楼盘特点"
- class="layui-textarea"><?php echo $details['features'] ?></textarea>
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div id="assign_3" class="layui-tab-item">
- <table class="layui-table xm_bg_box" lay-skin="line"
- style="width:99%;border-left:0;border:0;">
- <tbody>
- <tr>
- <td colspan="2">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">物业类型:</label>
- <div class="layui-input-block" style="padding-bottom:8px;">
- <?php
- foreach ($model['label'] as $val) {
- ?>
- <input type="checkbox" name="type[]"
- value="<?php echo $val['id'] ?>"
- <?php if (!empty($details['type'])) if (in_array($val['id'], $details['type'])) echo 'checked' ?>
- lay-skin="primary" title="<?php echo $val['name'] ?>">
- <?php
- }
- ?>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">特色主题:</label>
- <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
- <?php
- if (!empty($model['teseList'])) {
- foreach ($model['teseList'] as $val) {
- ?>
- <input type="checkbox" name="characteristic[]"
- value="<?php echo $val['id'] ?>"
- <?php if (!empty($details['characteristic'])) if (in_array($val['id'], $details['characteristic'])) echo 'checked' ?>
- lay-skin="primary"
- title="<?php echo $val['name'] ?>">
- <?php
- }
- }
- ?>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">建筑类别:</label>
- <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
- <?php foreach ($model['Architecture'] as $val) { ?>
- <input type="checkbox"
- name="architecture_type[]" <?php if (!empty($details['architecture_type']) && is_array($details['architecture_type'])) if (in_array($val['id'], $details['architecture_type'])) echo 'checked' ?>
- value="<?php echo $val['id'] ?>" lay-skin="primary"
- title="<?php echo $val['name'] ?>">
- <?php } ?>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">楼盘标签:</label>
- <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
- <?php foreach ($model['housetag'] as $val) { ?>
- <input type="checkbox"
- name="property_tag[]" <?php if (!empty($details['property_tag']) && is_array($details['property_tag'])) if (in_array($val['id'], $details['property_tag'])) echo 'checked' ?>
- value="<?php echo $val['id'] ?>" lay-skin="primary"
- title="<?php echo $val['name'] ?>">
- <?php } ?>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">装修状况:</label>
- <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
- <?php foreach (Yii::$app->params['Housefit'] as $key => $val) {
- ?>
- <input type="radio" name="fit" value="<?php echo $key ?>"
- lay-skin="primary"
- title="<?php echo $val ?>" <?php if ($key == $details['fit']) echo 'checked' ?> >
- <?php } ?>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">热门楼盘:</label>
- <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
- <input type="radio" name="hot" value="1"
- title="非热门" <?php if ($details['hot'] == 1) echo 'checked' ?>>
- <input type="radio" name="hot" value="2"
- title="热门" <?php if ($details['hot'] == 2) echo 'checked' ?>>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="layui-form-item" style="margin-bottom:-5px">
- <div class="layui-inline">
- <label class="layui-form-label">主推楼盘:</label>
- <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
- <input type="radio" name="is_push" value="1"
- title="否" <?php if ($details['is_push'] == 1) echo 'checked' ?>>
- <input type="radio" name="is_push" value="2"
- title="是" <?php if ($details['is_push'] == 2) echo 'checked' ?>>
- </div>
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div id="assign_4" class="layui-tab-item">
- <div class="layui-bg-gray" style="width:97%;padding:8px 15px;">楼盘简介:</div>
- <div class="editor_box layui-form-item" style="width:99%">
- <textarea name="info" id="editor" cols="30" rows="10"
- style="width:100%;height:400px;float:left;"><?php echo $details['info'] ?></textarea>
- </div>
- <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="check_words" >敏感词检测</button>
- </div>
- <!-- <div id="assign_5" class="layui-tab-item">-->
- <!-- <div class="layui-bg-gray" style="width:97%;padding:8px 15px;">楼盘评测:</div>-->
- <!-- <div class="layui_w_box">-->
- <!-- <!-- <div class="layui-inline"><a class="layui-btn layui-btn-primary layui_w_addbtn" id="layui_w_y" href="javascript:;">+ 添加一行</a></div> -->
- <!-- <div class="layui_w_licence">-->
- <!-- <table class="layui-table" style="width:80%;text-align:center">-->
- <!-- <colgroup>-->
- <!-- <col width="60">-->
- <!-- <col >-->
- <!-- </colgroup>-->
- <!-- <thead>-->
- <!-- <tr>-->
- <!-- <th>删除</th>-->
- <!-- <th>评测内容</th>-->
- <!-- </tr>-->
- <!-- </thead>-->
- <!-- <tbody class="mai editmai">-->
- <!-- --><?php // if(!empty($details['evaluating'])){foreach ($details['evaluating'] as $key=>$val){ ?>
- <!---->
- <!-- <tr class="otr" id="ue-->
- <?php //echo $key ?><!--" data-id="--><?php //echo $key ?><!--">-->
- <!-- <td lay-event="del">-->
- <!-- <div class="layui-table-cell del" lay-oid=""><i class="layui-icon" style="font-size: 30px; color: #1E9FFF;cursor: pointer"></i></div>-->
- <!-- </td>-->
- <!-- <td data-field="matingName" align="center" data-content="">-->
- <!-- <div class="editor_box layui-form-item" style="width:99%">-->
- <!-- <textarea name="evaluating[]" id="evaluating-->
- <?php //echo $key ?><!--" cols="20" rows="10" style="width:100%;float:left;">-->
- <?php //echo $val ?><!--</textarea>-->
- <!-- </div>-->
- <!-- </td>-->
- <!-- </tr>-->
- <!---->
- <!---->
- <!-- --><?php // } } ?>
- <!-- </tbody>-->
- <!-- </table>-->
- <!-- </div>-->
- <!-- <div class="layui-inline"><a class="layui-btn layui-btn-primary layui_w_addbtn" id="layui_w_y" href="javascript:;">+ 添加一行</a></div>-->
- <!-- </div>-->
- <!-- </div>-->
- </div>
- </div>
- <div class="layui-form-item xm_zjzx_Submit">
- <input type="hidden" name="id" value="<?php echo $details['id'] ?>" id="editimgId">
- <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="edit">提交</button>
- </div>
- </div> <!-- 你的内容 9/12 -->
- </div>
- </form>
- </div> <!-- 内容主体区域 -->
|