-
Notifications
You must be signed in to change notification settings - Fork 0
/
w_html5_upload.html
44 lines (44 loc) · 1.64 KB
/
w_html5_upload.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<div class="pageContent">
<div class="formBar card">
<ul>
<li><button class="buttonActive" type="submit">提交</button></li>
<li><button class="button close" type="button">关闭</button></li>
</ul>
</div>
<div class="card">
<form method="post" action="demo/common/ajaxDone.html" enctype="multipart/form-data" class="pageForm required-validate" onsubmit="return iframeCallback(this);">
<div class="pageFormContent" layoutH="56">
<div class="unit">
<label>上传单个文件:</label>
<p class="nowrap">
<label>宽度</label><input name="width" type="number" value="100" class="textInput valid">
<label>高度</label><input name="height" type="number" value="100" class="textInput">
</p>
<div class="upload-wrap">
<input type="file" name="pic[]" accept="image/*" class="valid" style="left: 0px;">
<div class="thumbnail">
<img src="resource/images/cms.png" style="max-width: 80px; max-height: 80px">
<a class="del-icon" href="demo/common/ajaxDone.html"></a>
</div>
</div>
<div class="upload-wrap">
<input type="file" name="file1" accept="image/*">
</div>
<div class="upload-wrap">
<input type="file" name="file1" accept="image/*">
</div>
<div class="upload-wrap">
<input type="file" name="file1" accept="image/*">
</div>
</div>
<div class="unit">
<label>上传多个文件:</label>
<ul id="upload-preview" class="upload-preview"></ul>
<div class="upload-wrap" rel="#upload-preview">
<input type="file" name="file2" accept="image/*" multiple="multiple">
</div>
</div>
</div>
</form>
</div>
</div>