|
@@ -29,6 +29,13 @@
|
|
|
<div class="hr-line-dashed"></div>
|
|
|
{notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}
|
|
|
|
|
|
+ <div class="layui-form-item layui-row layui-col-space15">
|
|
|
+ <label class="layui-col-xs12 relative">
|
|
|
+ <span class="color-green font-w7">详情</span>
|
|
|
+ <textarea placeholder="广告详情" required class="layui-textarea" name="content">{$vo.content|default=""}</textarea>
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="layui-form-item text-center">
|
|
|
<button class="layui-btn" type="submit">保存数据</button>
|
|
|
<button class="layui-btn layui-btn-danger" data-close type='button'>取消编辑</button>
|
|
@@ -39,5 +46,10 @@
|
|
|
|
|
|
<script>
|
|
|
$('input[name="images"]').uploadOneImage();
|
|
|
+ window.form.render();
|
|
|
+ require(['ckeditor', 'angular'], function () {
|
|
|
+ window.createEditor('[name="content"]', {
|
|
|
+ });
|
|
|
+ })
|
|
|
</script>
|
|
|
{/block}
|