摘要: //eg1 var index = layer.load(); //eg2 var index = layer.load(1); //换了种风格 //eg3 var index = layer.load(2, {time: 10*1000}); //又换了种风格,并且设定最长等待10秒 //关闭 l 阅读全文
posted @ 2018-10-31 15:48 你狗懂嘛? 阅读(301) 评论(0) 推荐(0) 编辑
摘要: string path = Server.MapPath(Url.Content("~/") + "UploadFiles/Template/"); FileStream fs = new FileStream(path + file, FileMode.Open); byte[] bytes = 阅读全文
posted @ 2018-10-31 15:42 你狗懂嘛? 阅读(563) 评论(0) 推荐(0) 编辑
摘要: Html部分 首先准备dom结构,包含存放文件信息的容器、选择按钮和上传按钮三个部分。 <div id="uploader" class="wu-example"> <!--用来存放文件信息--> <div id="thelist" class="uploader-list"></div> <div 阅读全文
posted @ 2018-10-31 13:52 你狗懂嘛? 阅读(282) 评论(0) 推荐(0) 编辑
摘要: https://www.layui.com/doc/modules/layer.html#layer.closeAll https://layer.layui.com/ 阅读全文
posted @ 2018-10-31 13:49 你狗懂嘛? 阅读(234) 评论(0) 推荐(0) 编辑