123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- <?php
- 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."/js/lookhouse/look.js");
- ?>
- <style>
- .layui_box {width:60%;margin:0 auto;margin-top:25px;}
- .layui-code, .layui-upload-list {margin-top:0;}
- hr {width:100%;margin:0 auto;}
- .mt {text-align:center;margin-top:15px;}
- .The_house {background:#FBFBFB;color:#333;}
- .The_house:hover {border:1px solid #a9a9a9;color:#333;}
- .xm_qytc_box{width:920px;margin:auto;margin-top:20px;}
- .xm_xcxqTc_img{margin:0;}
- .xm_xcxqTc_button{position:absolute;bottom:0;left:0;}
- .xm_pr{position:relative;}
- .ml{margin-left:18px}
- /*.layui-form-pane .layui-form-checkbox{position:absolute;bottom:0;left:100px;}*/
- .layui-upload-img{display: inline-block;height:120px;width: 120px;border: 1px solid #999;margin-right: 10px;position: absolute;position: relative;
- overflow: hidden;}
- .layui-upload-img img{display: block;height: 100%;width: 100%;}
- .close-icon{position: absolute;right:5px;top: 1px;color: #000;cursor: pointer;}
- </style>
- <form class="layui-form layui-form-pane" id="signupForm">
- <div class="layui_box">
- <div class="layui-form-item">
- <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择所属楼盘</a></div>
- <div class="layui-form-item">
- <label class="layui-form-label">楼盘信息:</label>
- <div class="layui-input-block">
- <table class="layui-table" style="width:80%;text-align:center">
- <colgroup>
- <col width="50">
- <col width="300">
- <col >
- </colgroup>
- <thead>
- <tr>
- <th>删除</th>
- <th>楼盘名称</th>
- </tr>
- </thead>
- <tbody></tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">标题:</label>
- <div class="layui-input-inline" style="width:32%">
- <input type="text" name="title" placeholder="请输入标题" autocomplete="off" class="layui-input">
- </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"> <!--低级添加 lay_p_relative-->
- <img class="layui-upload-img layui_magnify" name="img_pc" src="" id="breviary_img" style="width:200px;height:80px;margin-left:10px;">
- <p id="demoText"></p>
- </div>
- </div>
- </div>
- </div>
- <button type="button" class="layui-btn layui-btn-primary xm_xcxqTc_button" id="img_pc">选择图片</button>
- <!-- <input type="checkbox" class="xm_xcxqTc_button" name="like[write]" title="水印">-->
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">团购优惠:</label>
- <textarea cols="43" rows="5" name="odiscount" placeholder="请输入描述"></textarea>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">开始时间:</label>
- <div class="layui-input-inline" style="width:32%">
- <input type="text" name="start_at" placeholder="请输入结束时间" id="e_date" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">截止时间:</label>
- <div class="layui-input-inline" style="width:32%">
- <input type="text" name="end_at" placeholder="请输入结束时间" id="e_date" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">推荐理由:</label>
- <textarea cols="43" rows="5" name="recommend" placeholder="请输入推荐理由"></textarea>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">作者:</label>
- <div class="layui-input-inline" style="width:32%">
- <input type="text" name="author" placeholder="请输入作者" value="<?= Yii::$app->session['user_info']['name'] ?>" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">满意度:</label>
- <div class="layui-input-inline" style="width:32%">
- <input type="text" name="satisfaction" placeholder="请输入关键词" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">报名人数:</label>
- <div class="layui-input-inline" style="width:32%">
- <input type="text" name="attend_num" placeholder="请输入关键词" autocomplete="off" class="layui-input">
- </div>
- </div>
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">浏览人数:</label>-->
- <!-- <div class="layui-input-inline" style="width:32%">-->
- <!-- <input type="text" name="click" placeholder="请输入关键词" autocomplete="off" class="layui-input">-->
- <!-- </div>-->
- <!-- </div>-->
- <!---->
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">推荐理由:</label>-->
- <!-- <div class="layui-input-inline" style="width:32%">-->
- <!-- <input type="text" name="recommend" placeholder="请输入关键词" autocomplete="off" class="layui-input">-->
- <!-- </div>-->
- <!-- </div>-->
- <!---->
- <!---->
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">描述:</label>-->
- <!-- <textarea cols="43" rows="5" name="description" placeholder="请输入描述"></textarea>-->
- <!-- </div>-->
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">团购类型:</label>-->
- <!-- <div class="layui-input-inline" style="width:32%">-->
- <!-- <input type="text" name="type" placeholder="请输入团购类型" autocomplete="off" class="layui-input">-->
- <!-- </div>-->
- <!-- </div>-->
- <div class="layui-form-item">
- <label class="layui-form-label">咨询电话:</label>
- <div class="layui-input-inline" style="width:32%">
- <input type="text" name="tel" placeholder="请输入咨询电话" autocomplete="off" class="layui-input">
- </div>
- </div>
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">市场价格:</label>-->
- <!-- <div class="layui-input-inline" style="width:32%">-->
- <!-- <input type="text" name="market_pricce" placeholder="请输入市场价格" autocomplete="off" class="layui-input">-->
- <!-- </div>-->
- <!-- </div>-->
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">团购价格:</label>-->
- <!-- <div class="layui-input-inline" style="width:32%">-->
- <!-- <input type="text" name="group_price" placeholder="请输入团购价格" autocomplete="off" class="layui-input">-->
- <!-- </div>-->
- <!-- </div>-->
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">报名截止时间:</label>-->
- <!-- <div class="layui-input-inline" style="width:32%">-->
- <!-- <input type="text" name="start_at" placeholder="请输入开始时间" id="s_date" autocomplete="off" class="layui-input">-->
- <!-- </div>-->
- <!-- </div>-->
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">点击数:</label>-->
- <!-- <div class="layui-input-inline" style="width:32%">-->
- <!-- <input type="text" name="clicks" placeholder="请输入点击数" autocomplete="off" class="layui-input">-->
- <!-- </div>-->
- <!-- </div>-->
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">报名人数:</label>-->
- <!-- <div class="layui-input-inline" style="width:32%">-->
- <!-- <input type="text" name="attend_num" placeholder="请输入点击数" autocomplete="off" class="layui-input">-->
- <!-- </div>-->
- <!-- </div>-->
- <div class="layui-form-item">
- <label class="layui-form-label">推荐/热门</label>
- <div class="layui-input-block">
- <input type="radio" name="type" value="1" title="推荐" >
- <input type="radio" name="type" value="2" title="热门" >
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">类目</label>
- <div class="layui-input-block">
- <input type="radio" name="is_num" value="1" title="单个" >
- <input type="radio" name="is_num" value="2" title="多个" >
- </div>
- </div>
- <!-- <div class="layui-form-item">-->
- <!-- <label class="layui-form-label">排序:</label>-->
- <!-- <div class="layui-input-inline" style="width:32%">-->
- <!-- <input type="text" name="sort" placeholder="排序" autocomplete="off" class="layui-input">-->
- <!-- </div>-->
- <!-- </div>-->
- <div class="layui-form-item">
- <label class="layui-form-label">团购内容:</label>
- <textarea name="introduce" id="editor" cols="30" rows="10" style="width:100%;height:400px;float:left;"></textarea>
- </div>
- <div class="layui-form-item mt">
- <input type="hidden" name="uid" value="<?= Yii::$app->session['user_info']['uid'] ?>">
- <button class="layui-btn" lay-submit="" lay-filter="look_submit">提交</button>
- </div>
- </div>
- </form>
|