Skip to content

Commit

Permalink
feat upload image by camera
Browse files Browse the repository at this point in the history
  • Loading branch information
ganzw committed Mar 28, 2016
1 parent a1dcabd commit 33687ce
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@
<link rel="stylesheet" href="example/css/style.css">
</head>
<body>
<div class="publish-article-title">
<div class="title-tips">标题</div>
<input type="text" id="title" class="w100" placeholder="文章标题">
</div>
<div class="publish-article-content">
<div class="title-tips">正文</div>
<div class="article-content" id="content">
<div style="width:320px;margin: 0 auto;">
<div class="publish-article-title">
<div class="title-tips">标题</div>
<input type="text" id="title" class="w100" placeholder="文章标题">
</div>
<div class="footer-btn g-image-upload-box">
<div class="upload-button">
<span class="upload"><i class="upload-img"></i>插入图片</span>
<input class="input-file" id="imageUpload" type="file" name="fileInput" capture="camera" accept="image/*" style="position:absolute;left:0;opacity:0;">
<div class="publish-article-content">
<div class="title-tips">正文</div>
<div class="article-content" id="content">
</div>
<div class="footer-btn g-image-upload-box">
<div class="upload-button">
<span class="upload"><i class="upload-img"></i>插入图片</span>
<input class="input-file" id="imageUpload" type="file" name="fileInput" capture="camera" accept="image/*" style="position:absolute;left:0;opacity:0;width:100%;">
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 33687ce

Please sign in to comment.