1234567891011121314 |
- <?php /*a:1:{s:71:"D:\project\gyx\gaoyixia\application\operate\view\forum\reply_forum.html";i:1713146717;}*/ ?>
- <style> .layui-layer-page{
- margin-top: -200px !important;
- }
- </style><div class="think-box-shadow"><form class="layui-form layui-card margin-top-20" action="<?php echo request()->url(); ?>" data-auto="true" method="post" autocomplete="off"><div class="layui-card-body "><div class="layui-form-item"><label class="layui-form-label">问答内容</label><div class="layui-input-block"><input value="<?php echo htmlentities($forum_info['content']); ?>" class="layui-input" /></div></div><div class="layui-form-item"><label class="layui-form-label label-required">回答内容</label><div class="layui-input-block"><textarea name="re_content"><?php echo htmlentities((isset($raply_info['content']) && ($raply_info['content'] !== '')?$raply_info['content']:"")); ?></textarea></div></div><?php if(!(empty($forum_info['id']) || (($forum_info['id'] instanceof \think\Collection || $forum_info['id'] instanceof \think\Paginator ) && $forum_info['id']->isEmpty()))): ?><input type='hidden' value='<?php echo htmlentities($forum_info['id']); ?>' name='id'><?php endif; if(isset($raply_info)): if(!(empty($raply_info['id']) || (($raply_info['id'] instanceof \think\Collection || $raply_info['id'] instanceof \think\Paginator ) && $raply_info['id']->isEmpty()))): ?><input type='hidden' value='<?php echo htmlentities($raply_info['id']); ?>' name='raply_id'><?php endif; ?><?php endif; ?><div class="layui-form-item text-center"><button class="layui-btn" type='submit'>保 存</button><button class="layui-btn layui-btn-danger" type='button' data-close>取消编辑</button></div></div></form><script> window.form.render();
- $('[name="logo"]').uploadOneImage();
- require(['ckeditor', 'angular'], function () {
- window.createEditor('[name="re_content"]', {
- height: 350,
- width:610,
- });
- })
- </script></div>
|