修改验证码

This commit is contained in:
yanwnewu 2019-01-03 15:42:21 +08:00
parent e19e8b756b
commit 11a8ed45e1

View File

@ -29,7 +29,7 @@
<div class="form-group"> <div class="form-group">
<input type="text" name="captcha" class="form-control" placeholder="验证码" required style="width: 65%;display: inline-block;float: left;"> <input type="text" name="captcha" class="form-control" placeholder="验证码" required style="width: 65%;display: inline-block;float: left;">
<div style="display: inline-block;float: left;height: 41px;"> <div style="display: inline-block;float: left;height: 41px;">
<img src="{:captcha_src()}" alt="captcha" style="height: 80%;" onclick="this.src=this.src + Math.random()"/> <img src="{:captcha_src()}" alt="captcha" style="height: 80%;" onclick="this.src=this.src + '?' + Math.random()"/>
</div> </div>
</div> </div>
<button type="submit" class="btn btn-primary block full-width m-b">登 录</button> <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>