48 lines
1.7 KiB
HTML
48 lines
1.7 KiB
HTML
|
{layout name="layout2" /}
|
|||
|
|
|||
|
<style>
|
|||
|
.input-inline-width : {
|
|||
|
width: 250px;
|
|||
|
}
|
|||
|
</style>
|
|||
|
|
|||
|
<div class="layui-card layui-form">
|
|||
|
<div class="layui-card-body">
|
|||
|
<input type="hidden" name="id" value="{$detail.id}">
|
|||
|
|
|||
|
<div class="layui-form-item">
|
|||
|
<label class="layui-form-label">话术标题:</label>
|
|||
|
<div class="layui-input-inline">
|
|||
|
<input type="text" name="title" value="{$detail.title}" autocomplete="off" class="layui-input" lay-verify="required" >
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="layui-form-item">
|
|||
|
<label class="layui-form-label">话术内容:</label>
|
|||
|
<div class="layui-input-inline input-inline-width">
|
|||
|
<textarea placeholder="请输入内容"name="content" class="layui-textarea">{$detail.content}</textarea>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="layui-form-item">
|
|||
|
<label class="layui-form-label">排序:</label>
|
|||
|
<div class="layui-input-inline input-inline-width">
|
|||
|
<input type="number" name="sort" value="{$detail.sort}" autocomplete="off" class="layui-input" value="1">
|
|||
|
<label class="layui-form-mid layui-word-aux">排序值越小越靠前,默认值为1</label>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="layui-form-item layui-hide">
|
|||
|
<input type="button" lay-submit lay-filter="editSubmit" id="editSubmit" value="确认">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<script>
|
|||
|
layui.config({
|
|||
|
version: "{$front_version}",
|
|||
|
base: '/static/lib/' //静态资源所在路径
|
|||
|
}).use(['form'], function () {
|
|||
|
var form = layui.form;
|
|||
|
|
|||
|
});
|
|||
|
</script>
|