Merge pull request #71 from phy25/patch-2

修改 form 示例中邮箱类型错误
This commit is contained in:
贤心 2017-10-08 13:18:32 +08:00 committed by GitHub
commit 4e604239e6

View File

@ -34,7 +34,7 @@ body{padding: 10px;}
<div class="layui-form-item">
<label class="layui-form-label">邮箱</label>
<div class="layui-input-block">
<input type="tel" name="email" lay-verify="email" autocomplete="off" class="layui-input">
<input type="email" name="email" lay-verify="email" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
@ -235,7 +235,7 @@ layui.use('form', function(){
<option value="你的工号">你的工号</option>
<option value="你最喜欢的老师">你最喜欢的老师</option>
</select>
<button>go</button>
<button>Go</button>
</form>
<script>
layui.use('jquery', function(){