12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001 |
- <?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-ww-label {
- padding: 9px 0;
- }
- .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;
- }
- /*百度编辑器样式*/
- iframe {
- left: 0;
- }
- .edui-default {
- text-align: left;
- }
- /*地图标注*/
- #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%;
- }
- </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_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;">
- <p id="demoText"></p>
- </div>
- <div class="layui_w_md3">
- <!-- <button type="button" class="layui-btn layui_w_upload" id="test1">上传图片</button>-->
- <div id="watermarks">
- <input type="checkbox" name="watermark" value="1" title="水印">
- </div>
- </div>
- <!-- <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>
- <!-- <input type="file" value="上传">-->
- <!-- <input type="text" name="title" required lay-verify="required" placeholder="图片地址" autocomplete="off" class="layui-input"style="width:75%;margin-left:20px;">-->
- <!-- <hr class="layui-bg-green xm_zjzx_sp_fg">-->
- <!-- <span class="xm_zjzx_sp_fg_span">视频地址</span>-->
- <!---->
- <!-- <input type="text" name="title" required lay-verify="required" placeholder="视频地址" autocomplete="off" class="layui-input" style="width:75%;margin-left:20px;">-->
- </div> <!-- 你的内容 3/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>
- <!-- <li class="site-demo-active" lay-id="assign_6">楼盘评测</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 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" 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" name="pinyin" required lay-verify="required"
- 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 ?>" <?php if ($k == 1) echo 'checked' ?>
- title="<?php echo $v ?>">
- <?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" 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 echo $val ?></option>
- <?php } ?>
- </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 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" 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" id="date1" 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="launch_time" id="date1_2"
- 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="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" 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" 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">
- <select name="province" lay-search lay-filter="provinceone"
- style="width:100%">
- <option value="">请选择-省</option>
- </select>
- </div>
- <!-- <span>市</span>-->
- <div class="layui-inline">
- <select name="city" lay-search lay-filter="cityone">
- <option value="">请选择-市</option>
- </select>
- </div>
- <!-- <span>区</span>-->
- <div class="layui-inline">
- <select name="area" lay-search lay-filter="areaone">
- <option value="">请选择-区</option>
- </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 //echo $val['city_name']?><!--</option>-->
- <!-- --><?php //}?>
- <!-- </select>-->
- <!-- </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" 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="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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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="公交路线"
- 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" 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" 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"
- 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" placeholder="VR全景看房"
- autocomplete="off" class="layui-input" style="width:160%;">
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- </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" 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"></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 layui_w_activity"
- style="padding-bottom:8px;">
- <?php foreach ($model['label'] as $val) { ?>
- <input type="checkbox" name="type[]"
- 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 id="layui_w_acti" class="layui-input-block layui_w_acti"
- style="padding-bottom:8px;">
- <?php foreach ($model['teseList'] as $val) { ?>
- <input type="checkbox" name="characteristic[]"
- 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['Architecture'] as $val) { ?>
- <input type="checkbox" name="architecture_type[]"
- 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[]"
- 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 } ?>
- </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="非热门" checked>
- <input type="radio" name="hot" value="2" title="热门">
- </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="否" checked>
- <input type="radio" name="is_push" value="2" title="是">
- </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;"></textarea>
- </div>
- </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"></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">
- <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="tijiao">提交</button>
- </div>
- </div> <!-- 你的内容 9/12 -->
- </div>
- </form>
- <div id="ad0"></div>
- </div> <!-- 内容主体区域 -->
|