1 Star 0 Fork 120

liuhegong/jqadmin

forked from jQ酷/jqadmin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
article-edit.html 7.24 KB
一键复制 编辑 原始数据 按行查看 历史
jQ酷 提交于 2017-07-27 18:17 . 省市区联动,修复多处BUG
<!--#include file="common/header.html"-->
<body>
<div class="container-fluid larry-wrapper">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<section class="panel panel-padding">
<form id="form1" class="layui-form " data-params='{"dataName":"article","key":"id","bind":true,"action":"edit"}' action="./data/edit.json" method="get">
<div class="layui-form-item">
<label class="layui-form-label">文章标题</label>
<div class="layui-input-block">
<input type="text" name="title" jq-verify="required" jq-error="请输入标题|请输入数字" 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="text" name="text" jq-verify="required" placeholder="请输入关键字,多个请用英文逗号隔开" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item ">
<label class="layui-form-label">描述</label>
<div class="layui-input-block">
<textarea name="desc" placeholder="请输入描述" class="layui-textarea"></textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">所属分类</label>
<div class="layui-input-inline">
<select name="cat_id" id="select-cat" jq-verify="required" jq-error="请输入分类" lay-filter="verify">
<option value="">请选择</option>
</select>
</div>
</div>
<div class="layui-form-item ">
<label class="layui-form-label">作者</label>
<div class="layui-input-inline">
<input type="text" name="author" 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="text" name="from" placeholder="请输入文章来源" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item" pane>
<label class="layui-form-label">推荐</label>
<div class="layui-input-inline">
<input type="radio" name="command" title="是" value="1" checked />
<input type="radio" name="command" title="否" value="0" />
</div>
</div>
<div class="layui-form-item" pane>
<label class="layui-form-label">置顶</label>
<div class="layui-input-inline">
<input type="radio" name="top" title="是" value="1" checked />
<input type="radio" name="top" title="否" value="0" />
</div>
</div>
<div class="layui-form-item" pane>
<label class="layui-form-label">审核</label>
<div class="layui-input-inline">
<input type="radio" name="status" title="是" value="1" checked />
<input type="radio" name="status" title="否" value="0" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">tag标签</label>
<div class="layui-input-block">
<div class="tag" data-id="1">
<p class="text">Jquery</p>
<p class="tick-box">
<span class="tick-bg"></span>
<i class="iconfont tick">&#xe6a1;</i>
</p>
</div>
<div class="tag" data-id="2">
<p class="text">哈哈</p>
<p class="tick-box">
<span class="tick-bg"></span>
<i class="iconfont tick">&#xe6a1;</i>
</p>
</div>
<div class="tag-defined">自定义标签</div>
<input type="hidden" name="tags" value="" data-count="5">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">上传图片</label>
<div class="layui-input-block">
<input type="file" name="file" class="layui-upload-file">
<input type="hidden" name="img" class="img" jq-error="请上传图片" error-id="img-error">
<p id="img-error" class="error"></p>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">内容</label>
<div class="layui-input-block">
<script id="content" name="content" type="text/plain"></script>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" jq-submit lay-filter="submit">立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</section>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="js/layui/layui.js"></script>
<script src="js/common.js"></script>
<script src="js/lib/ueditor/ueditor.config.js"></script>
<script src="js/lib/ueditor/ueditor.all.min.js"></script>
<!--#include file="common/version.html"-->
<!--#include file="tpl/select-cat.html"-->
<script>
var $, JQquery;
layui.use('myform');
var ue = UE.getEditor('content');
</script>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/liuhegong/jqadmin.git
git@gitee.com:liuhegong/jqadmin.git
liuhegong
jqadmin
jqadmin
master

搜索帮助