123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <?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/pushm/mansion.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" 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">
- <label class="layui-form-label ">开发商:</label>
- <div class="layui-input-inline" style="width:42%">
- <select name="did" lay-search="">
- <option value="" >请选择开发商</option>
- <?php foreach ($developers as $val){?>
- <option value="<?php echo $val['id']?>" <?= $val['checked']?> ><?php echo $val['name']?></option>
- <?php }?>
- </select>
- </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['haoqi']){ ?>
- <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['jingmi']){ ?>
- <dd class="in"></dd>
- <?php }else{ ?>
- <dd></dd>
- <?php } ?>
- <?php } ?>
- </dl>
- </div>
- </div>
- </div>
- <div class="layui-form-item xm_pr">
- <div class="layui-inline">
- <label class="layui-form-label">上传图片:</label>
- <div class="layui-inline">
- <div class="layui-upload">
- <div class="layui-upload-list lay_p_relative">
- <img class="layui-upload-img layui_magnify" name="img" src="<?php echo $model['img'] ?>" id="breviary_img" style="width:260px;height:90px;margin-left:10px;border:1px solid #ccc;">
- <p id="demoText"></p>
- </div>
- </div>
- </div>
- </div>
- <button type="button" class="layui-btn layui-btn-primary xm_xcxqTc_button" id="test1">选择图片</button>
- </div>
- <label class="layui-form-label">推荐理由:</label>
- <div class="layui-input-inline" >
- <textarea name="reason" style="width: 400px;height:100px;" placeholder="请输入推荐理由,最多20个字" class="layui-textarea" maxlength="20"><?= $model['reason'] ?></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="haoqi" id="haoqi" value="<?php echo $model['haoqi'] ?>">
- <input type="hidden" name="jingmi" id="jingmi" value="<?php echo $model['jingmi'] ?>">
- <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>
- </div>
- </div>
- </form>
- </div>
|