41d643339b3ece058ba8a0f4359e1646.php 2.0 KB

1234567891011121314
  1. <?php /*a:1:{s:71:"D:\project\gyx\gaoyixia\application\operate\view\forum\reply_forum.html";i:1713146717;}*/ ?>
  2. <style> .layui-layer-page{
  3. margin-top: -200px !important;
  4. }
  5. </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();
  6. $('[name="logo"]').uploadOneImage();
  7. require(['ckeditor', 'angular'], function () {
  8. window.createEditor('[name="re_content"]', {
  9. height: 350,
  10. width:610,
  11. });
  12. })
  13. </script></div>