一、html代码
<div class="layui-form-item"> <label class="layui-form-label">上传附件:</label> <div class="layui-input-block doc-litpic"> <button type="button" name="avatar" class="layui-btn layui-btn-sm" data-url="/admin/archives/upload.html" ><i class="layui-icon">