Skip to content

Commit

Permalink
fix input没有 / 结束 Tencent#598
Browse files Browse the repository at this point in the history
  • Loading branch information
bearyan committed Apr 18, 2017
1 parent 6a040c4 commit e0cf919
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/example/fragment/input.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="page__title">Input</h1>
<p>cell standard</p>
</div>
<div class="weui-cell__ft">
<input type="radio" class="weui-check" name="radio1" id="x11">
<input type="radio" class="weui-check" name="radio1" id="x11"/>
<span class="weui-icon-checked"></span>
</div>
</label>
Expand All @@ -21,7 +21,7 @@ <h1 class="page__title">Input</h1>
<p>cell standard</p>
</div>
<div class="weui-cell__ft">
<input type="radio" name="radio1" class="weui-check" id="x12" checked="checked">
<input type="radio" name="radio1" class="weui-check" id="x12" checked="checked"/>
<span class="weui-icon-checked"></span>
</div>
</label>
Expand All @@ -33,7 +33,7 @@ <h1 class="page__title">Input</h1>
<div class="weui-cells weui-cells_checkbox">
<label class="weui-cell weui-check__label" for="s11">
<div class="weui-cell__hd">
<input type="checkbox" class="weui-check" name="checkbox1" id="s11" checked="checked">
<input type="checkbox" class="weui-check" name="checkbox1" id="s11" checked="checked"/>
<i class="weui-icon-checked"></i>
</div>
<div class="weui-cell__bd">
Expand All @@ -42,7 +42,7 @@ <h1 class="page__title">Input</h1>
</label>
<label class="weui-cell weui-check__label" for="s12">
<div class="weui-cell__hd">
<input type="checkbox" name="checkbox1" class="weui-check" id="s12">
<input type="checkbox" name="checkbox1" class="weui-check" id="s12"/>
<i class="weui-icon-checked"></i>
</div>
<div class="weui-cell__bd">
Expand All @@ -67,7 +67,7 @@ <h1 class="page__title">Input</h1>
<label class="weui-label">手机号</label>
</div>
<div class="weui-cell__bd">
<input class="weui-input" type="tel" placeholder="请输入手机号">
<input class="weui-input" type="tel" placeholder="请输入手机号"/>
</div>
<div class="weui-cell__ft">
<button class="weui-vcode-btn">获取验证码</button>
Expand Down Expand Up @@ -123,7 +123,7 @@ <h1 class="page__title">Input</h1>
<div class="weui-cell__bd">兼容IE Edge的版本</div>
<div class="weui-cell__ft">
<label for="switchCP" class="weui-switch-cp">
<input id="switchCP" class="weui-switch-cp__input" type="checkbox" checked="checked" />
<input id="switchCP" class="weui-switch-cp__input" type="checkbox" checked="checked"/>
<div class="weui-switch-cp__box"></div>
</label>
</div>
Expand Down Expand Up @@ -192,7 +192,7 @@ <h1 class="page__title">Input</h1>
</div>

<label for="weuiAgree" class="weui-agree">
<input id="weuiAgree" type="checkbox" class="weui-agree__checkbox">
<input id="weuiAgree" type="checkbox" class="weui-agree__checkbox"/>
<span class="weui-agree__text">
阅读并同意<a href="javascript:void(0);">《相关条款》</a>
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/example/fragment/uploader.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1 class="page__title">Uploader</h1>
</li>
</ul>
<div class="weui-uploader__input-box">
<input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*" multiple />
<input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*" multiple/>
</div>
</div>
</div>
Expand Down

0 comments on commit e0cf919

Please sign in to comment.