123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/24
- * Time: 上午10:01
- */
- 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."/js/routine/decorationcont.js");
- ?>
- <style>
- .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:155px;width: 120px;border: 1px solid #dbdbdb;margin-right: 10px;position: absolute;position: relative;bottom:14px;margin-top:14px;overflow:hidden;}
- .layui-upload-img img{display: block;height:120px;width: 100%;}
- .close-icon{position: absolute;right:0px;top: 1px;cursor: pointer;font-weight:600;}
- .close-input{cursor: pointer;width:121px}
- .close-input input{height:35px;}
- .xm_tgqcTc_dztpsc{position:relative;}
- /*下接列表的层级*/
- .layui-form-select dl {z-index:1000;}
- /*删除*/
- .delete-list {background:rgba(0,0,0,0.5);position:absolute;top:-28px;left:0;width:100%;padding:3px 0;}
- .delete-list i {float:right;margin-right:8px;cursor:pointer;font-size:20px !important;; color: #fff;}
- .layui-upload-img:hover .delete-list {top:0;}
- </style>
- <div class="xm_qytc_box">
- <form class="layui-form layui-form-pane" action="" id="album_form">
- <div class="layui-form-item">
- <label class="layui-form-label"><span style="color:red;">* </span>所属栏目</label>
- <div class="layui-input-inline">
- <select name="label_id" id="ddlregtype" lay-filter="sele_album">
- <option value="" >请选择</option>
- <?php foreach($model as $val){?>
- <option value="<?php echo $val['id']?>" ><?php echo $val['name'] ?></option>
- <?php }?>
- </select>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">标题</label>
- <span id="house_name" href="javascript:;" style="display: inline-block;line-height:38px;padding-left: 10px;"><?php echo $post['name']?></span>
- <input type="hidden" name="nid" value="<?php echo $post['id']?>">
- </div>
- <div class="layui-form-item" >
- <div class="layui-bg-gray" style="padding:3px 15px;">文章内容:</div>
- <div class="editor_box">
- <textarea name="content" id="editor_content" cols="30" rows="10" style="width:100%;height:400px;"></textarea>
- </div>
- </div>
- <div class="layui-form-item">
- <div class="layui-input-block xm_xcxqTc_tj" style="margin:20px 0 0 0;text-align:center;">
- <button class="layui-btn" lay-submit="" lay-filter="tijiao">提交</button>
- </div>
- </div>
- </form>
- </div>
|