<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head th:include="console/header">
head>
<body>
<section class="content-header">
    <h1>设置距离h1>
    <div class="box-body">
    
 <form class="form-horizontal js-ajax-form" action="/console/distance/change" method="post">
 <input name="code" type="text" th:value="${distace}"  placeholder="请填写距离" id="111" style="margin-top:10px;" οnkeyup="value=value.replace(/[^\d]/g,'')"/><br/>
     <button type="submit" class="btn btn-default js-ajax-submit">提交button>
  form>
 div>
section>
 
<div th:include="console/footer">div>
 
body>
html>