123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/4/19
- * Time: 上午11:01
- */
- use backend\assets\AppAsset;
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/routine/morecomment.js");
- ?>
- <style>
- .layui-upload-img img{display: block;height: 100%;width: 100%;}
- .layui-upload-img{display: inline-block;height:120px;width: 120px;border: 1px solid #999;margin-right: 10px;position: absolute;position: relative;
- overflow: hidden;}
- .xm_qytc_box {width:80%;margin:20px auto 0;}
- </style>
- <div class="xm_qytc_box">
- <form class="layui-form layui-form-pane" id="citysignupForm">
- <div class="layui-form-item">
- <label class="layui-form-label ">添加人:</label>
- <div class="layui-input-inline" style="width:270px;">
- <input type="text" name="author" value="<?= $model['author'] ?>" placeholder="" autocomplete="off" class="layui-input" readonly>
- </div>
- </div>
-
- <div class="layui-form-item">
- <label class="layui-form-label ">所属楼盘:</label>
- <div class="layui-input-inline" style="width:270px;">
- <input type="text" id="house_name" name="house_name" value="<?= $house['name'] ?>" disabled placeholder="选择所属楼盘" autocomplete="off" class="layui-input">
- </div>
- <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择所属楼盘</a></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 layui_w_acti" style="padding-bottom:8px;">
- <?php foreach($label as $key=>$val){ ?>
- <input type="radio" name="demand" value="<?php echo $key ?>" <?php if($key == $model['demand']) echo 'checked' ?> lay-skin="primary" title="<?php echo $val ?>">
- <?php }?>
- </div>
- </div>
- </div>
- <div class="layui-form-item" style="<?php if($model['initiator']== 2)echo 'display:none;'; ?>" >
- <label class="layui-form-label">手机号码:</label>
- <div class="layui-input-inline" style="width:270px; ">
- <input type="text" name="mobile" lay-verify="required" value="<?= $model['mobile'] ?>" placeholder="请输入手机号码" autocomplete="off" class="layui-input">
- </div>
- </div>
- <style>
- .w_up_degree_con {display:inline-block;vertical-align:top;width:75%;margin-top:10px;margin-left:10px}
- .w_up_degree_con dl + dl {margin-top:8px;}
- .w_up_degree_con dl dt {display:inline-block;font-size:0.875rem;color:#424E5F;margin-right:10px;}
- .w_up_degree_con dl dd {display:inline-block;width:15px;height:14px;background:url(/img/house/w_star_1.png) no-repeat center/15px 14px;}
- .w_up_degree_con dl dd + dd {margin-left:8px;}
- .w_up_degree_con dl dd.in {background:url(/img/house/w_star_2.png) no-repeat center/15px 14px;}
- </style>
- <div class="layui-form-item">
- <label class="layui-form-label">地段:</label>
- <div class="layui-input-inline" style="width:270px;">
- <div class="w_up_degree_con">
- <dl data-title="地段">
- <?php for($i=1;$i<=5;$i++){ ?>
- <?php if($i <= $model['diduan']){ ?>
- <dd class="in"></dd>
- <?php }else{ ?>
- <dd></dd>
- <?php } ?>
- <?php } ?>
- </dl>
- </div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">交通:</label>
- <div class="layui-input-inline" style="width:270px;">
- <div class="w_up_degree_con">
- <dl data-title="交通">
- <?php for($i=1;$i<=5;$i++){ ?>
- <?php if($i <= $model['jiaotong']){ ?>
- <dd class="in"></dd>
- <?php }else{ ?>
- <dd></dd>
- <?php } ?>
- <?php } ?>
- </dl>
- </div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">配套:</label>
- <div class="layui-input-inline" style="width:270px;">
- <div class="w_up_degree_con">
- <dl data-title="配套">
- <?php for($i=1;$i<=5;$i++){ ?>
- <?php if($i <= $model['peitao']){ ?>
- <dd class="in"></dd>
- <?php }else{ ?>
- <dd></dd>
- <?php } ?>
- <?php } ?>
- </dl>
- </div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">环境:</label>
- <div class="layui-input-inline" style="width:270px;">
- <div class="w_up_degree_con">
- <dl data-title="环境">
- <?php for($i=1;$i<=5;$i++){ ?>
- <?php if($i <= $model['huanjing']){ ?>
- <dd class="in"></dd>
- <?php }else{ ?>
- <dd></dd>
- <?php } ?>
- <?php } ?>
- </dl>
- </div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">性价比:</label>
- <div class="layui-input-inline" style="width:270px;">
- <div class="w_up_degree_con">
- <dl data-title="性价比">
- <?php for($i=1;$i<=5;$i++){ ?>
- <?php if($i <= $model['xingjiabi']){ ?>
- <dd class="in"></dd>
- <?php }else{ ?>
- <dd></dd>
- <?php } ?>
- <?php } ?>
- </dl>
- </div>
- </div>
- </div>
- <label class="layui-form-label">内容:</label>
- <div class="layui-input-inline" >
- <textarea name="content" style="width: 400px;height:200px;" placeholder="请输入点评内容" class="layui-textarea"><?= $model['content'] ?></textarea>
- </div>
- <div class="layui-form-item">
- <div class="layui-input-block xm_xcxqTc_tj" style="margin:20px 0 0 0;text-align:center;">
- <input type="hidden" name="diduan" id="diduan" value="<?php echo $model['diduan'] ?>">
- <input type="hidden" name="jiaotong" id="jiaotong" value="<?php echo $model['jiaotong'] ?>">
- <input type="hidden" name="peitao" id="peitao" value="<?php echo $model['peitao'] ?>">
- <input type="hidden" name="huanjing" id="huanjing" value="<?php echo $model['huanjing'] ?>">
- <input type="hidden" name="xingjiabi" id="xingjiabi" value="<?php echo $model['xingjiabi'] ?>">
- <input type="hidden" id="hiddenBox" name="hid" value="<?= $house['id'] ?>">
- <input type="hidden" name="id" value="<?= $model['id'] ?>">
- <button class="layui-btn" lay-submit="" lay-filter="editform">提交</button>
- <!-- <input type="checkbox" class="xm_xcxqTc_button" name="like[write]" title="水印">-->
- </div>
- </div>
- </form>
- </div>
|