作者 anyv
1 个管道 的构建 通过 耗费 0 秒

添加

... ... @@ -29,7 +29,7 @@
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li><a href="{:url('AdminArticle/index')}">文章管理</a></li>
<li><a href="{:url('Coa/list')}">产品列表</a></li>
<li class="active"><a href="{:url('AdminArticle/add')}">添加文章</a></li>
</ul>
<form action="{:url('AdminArticle/addPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
... ... @@ -104,63 +104,7 @@
</div>
</div>
</div>
<div class="col-md-3">
<table class="table table-bordered">
<tr>
<th><b>缩略图</b></th>
</tr>
<tr>
<td>
<div style="text-align: center;">
<input type="hidden" name="post[more][thumbnail]" id="thumbnail" value="">
<a href="javascript:uploadOneImage('图片上传','#thumbnail');">
<img src="__TMPL__/public/assets/images/default-thumbnail.png"
id="thumbnail-preview"
width="135" style="cursor: pointer"/>
</a>
<input type="button" class="btn btn-sm btn-cancel-thumbnail" value="取消图片">
</div>
</td>
</tr>
<tr>
<th><b>发布时间</b></th>
</tr>
<tr>
<td>
<input class="form-control js-bootstrap-datetime" type="text" name="post[published_time]"
value="{:date('Y-m-d H:i:s',time())}">
</td>
</tr>
<tr>
<th><b>状态</b></th>
</tr>
<tr>
<td>
<div class="checkbox">
<label><input type="checkbox" name="post[post_status]" value="1" checked>发布</label>
</div>
</td>
</tr>
<tr>
<td>
<div class="checkbox">
<label><input type="checkbox" name="post[is_top]" value="1">置顶</label>
</div>
</td>
</tr>
<tr>
<td>
<div class="checkbox">
<label><input type="checkbox" name="post[recommended]" value="1">推荐</label>
</div>
</td>
</tr>
<tr>
<th>文章模板</th>
</tr>
</table>
</div>
</div>
</form>
</div>
... ...