39 lines
1.4 KiB
HTML
39 lines
1.4 KiB
HTML
<form class="layui-form eject-layuiBox" data-action="/book/add">
|
||
<div class="layui-form-item">
|
||
<label class="layui-form-label">书名</label>
|
||
<div class="layui-input-block">
|
||
<input class="layui-input" type="text" name="name" maxlength="60" />
|
||
<div class="layui-form-mid layui-word-aux">注:建议60个字符长度以内</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="layui-form-item">
|
||
<label class="layui-form-label">分类</label>
|
||
<div class="layui-input-block">
|
||
<select name="category_id">
|
||
{foreach $categoryList as $cate}
|
||
<option value="{$cate.id}">{$cate.name}</option>
|
||
{/foreach}
|
||
</select>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="layui-form-item">
|
||
<label class="layui-form-label">作者</label>
|
||
<div class="layui-input-block">
|
||
<input class="layui-input" type="text" name="author" maxlength="60" />
|
||
</div>
|
||
</div>
|
||
|
||
<div class="layui-form-item">
|
||
<label class="layui-form-label">备注</label>
|
||
<div class="layui-input-block">
|
||
<input class="layui-input" type="text" name="remark" maxlength="200" />
|
||
</div>
|
||
</div>
|
||
|
||
<div class="layui-input-block">
|
||
<button type="button" class="layui-btn layui-btn-sm" lay-submit lay-filter="submitAll">保存</button>
|
||
</div>
|
||
</form>
|