<div class="layui-form" style="margin-top: 15px; padding-right: 15px;">
<form id="detail_form" method="post">
  <div class="layui-form-item">
    <label class="layui-form-label">旧密码</label>
    <div class="layui-input-inline" style="width: 40%;">
      <input type="password" name="oldpassw" placeholder="请输入" class="layui-input" maxlength="30">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">新密码</label>
    <div class="layui-input-inline" style="width: 40%;">
      <input type="password" name="newpassw" placeholder="请输入" class="layui-input" maxlength="30">
    </div>
    <div class="layui-form-mid layui-word-aux">长度4-30个字符，允许字母、数字、符号</div>
  </div>

  <div class="layui-form-item">
    <div class="layui-input-block">
      <button type="button" class="layui-btn" id="finished_button">提交</button>
      <button type="button" class="layui-btn layui-btn-primary" onclick="javascript:window.history.back();">取消</button>
    </div>
  </div>

</form>
</div>

<script src="/public/modules/user/chanpass/index.js"></script>