Merge remote-tracking branch 'origin/master'

master
jyx 7 years ago
commit 7739ca8596

Binary file not shown.

@ -0,0 +1,181 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Pragma" content="no-cache">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
<meta name="format-detection" content="telephone=yes"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<title>绑定信息</title>
<!-- Bootstrap core CSS-->
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="bootstrap.min.css" tppabs="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
<style type="text/css">
body{
margin: 0;
padding: 0;
}
.modal_content{
padding: 30px;
display: flex;
justify-content: center;
flex-direction: column;
}
.modal_content>div{
margin-bottom: 20px;
}
.modal_content>h5:first-child{
margin:30px 0px;
}
#dialog label{
color: #666;
}
#phone1{
display: block;
width: 100%;
height: 70px;
background: none;
padding-top: 30px;
border: 0;
outline:none;
text-align: center;
margin-top: -30px;
font-size: 16px;
border-bottom: 1px solid rgba(0,0,0,.2);
border-radius: 0;
}
.code1{
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
height: 70px;
background: none;
padding-top: 30px;
margin-top: -30px;
font-size: 16px;
border-bottom: 1px solid rgba(0,0,0,.2);
border-radius: 0;
}
#code1{
width: calc(100% - 90px);
height: 55px;
background: none;
padding-top: 20px;
border: 0;
outline:none;
text-align: center;
margin-top: -20px;
font-size: 16px;
}
#btnSendCode1{
width: 90px;
height: 30px;
padding: 0 5px;
margin: 0;
font-size: 14px;
text-align: center;
background: transparent;
border-radius: 30px;
color: #a07941;
border-color: #a07941;
}
::-webkit-input-placeholder { /* WebKit browsers */
font-size: 14px;
color: rgba(0,0,0,.4);
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
font-size: 14px;
color: rgba(0,0,0,.4);
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
font-size: 14px;
color: rgba(0,0,0,.4);
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
font-size: 14px;
color: rgba(0,0,0,.4);
}
.next{
text-align: center;
margin: 20px 0;
}
.next button{
width: 100%;
height: 45px;
padding: 0;
margin: 0;
background: #007BFF;
color: #fff;
border: 0;
outline:none;
border-radius: 3px;
}
</style>
</head>
<body>
<div class="modal_content">
<h5></h5>
<div>
<label for="phone1">手机号:</label><br />
<input id="phone1" type="text" autocomplete="off" placeholder="请输入已绑定的手机号"/>
</div>
<div>
<label for="code1">验证码:</label>
<div class="code1">
<input id="code1" type="text" autocomplete="off" placeholder="短信验证码"/>
<input id="btnSendCode1" type="button" class="btn btn-default" value="获取验证码" onClick="sendMessage1()" />
</div>
</div>
<div class="next">
<button onClick="binding()">确定</button>
</div>
</div>
<script type="text/javascript" src="jquery.min.js" tppabs="http://www.17sucai.com/preview/1266961/2018-07-11/sms/js/jquery.min.js"></script>
<script type="text/javascript">
var phoneReg = /(^1[3|4|5|7|8]\d{9}$)|(^09\d{8}$)/;//手机号正则
var count = 60; //间隔函数1秒执行
var InterValObj1; //timer变量控制时间
var curCount1;//当前剩余秒数
/*第一*/
function sendMessage1() {
curCount1 = count;
var phone = $.trim($('#phone1').val());
if (!phoneReg.test(phone)) {
alert(" 请输入有效的手机号码");
return false;
}
//设置button效果开始计时
$("#btnSendCode1").attr("disabled", "true");
$("#btnSendCode1").val( + curCount1 + "秒再获取");
InterValObj1 = window.setInterval(SetRemainTime1, 1000); //启动计时器1秒执行一次
//向后台发送处理数据
}
function SetRemainTime1() {
if (curCount1 == 0) {
window.clearInterval(InterValObj1);//停止计时器
$("#btnSendCode1").removeAttr("disabled");//启用按钮
$("#btnSendCode1").val("重新发送");
}
else {
curCount1--;
$("#btnSendCode1").val( + curCount1 + "秒再获取");
}
}
/*提交*/
function binding(){
alert(1)
}
</script>
</body>
</html>

File diff suppressed because one or more lines are too long

@ -226,61 +226,61 @@ box-shadow:inset 0px 1px 1px rgba(0,0,0,0.5);*/
<body sroll="no" onclick="onload">
<form name="form1" onSubmit="return checkreg()" action="#" method="post">
<div class="div_f">
<div class="div_col" id="me">
<div class="div_col" id="wegb">
<div class="div_c_l"><span> 贷款金额</span>
</div>
<div class="div_c_r"><input type="text" name="num" id="num" placeholder="还款金额">
<div class="div_c_r"><input type="text" name="amount" id="amount" placeholder="金额">
<span style="float: right;margin-top: -30px;background:#fff" id="tish"></span></input>
</div>
</div>
<div style="clear:both"></div>
</div>
<div class="div_f">
<div class="div_col" id="me">
<div class="div_col" id="wert">
<div class="div_c_l"><span>卡号</span>
</div>
<div class="div_c_r"><input type="cardNum" name="cardNum" id="cardNum" onKeyDown="" value="" placeholder="卡号">
<div class="div_c_r"><input type="cardNum" name="bankAccount" id="bankAccount" onKeyDown="" value="" placeholder="卡号">
<span style="float: right;margin-top: -30px;background:#fff" id="ts"></span></input>
</div>
</div>
<div style="clear:both"></div>
</div>
<div class="div_f">
<div class="div_col" id="me">
<div class="div_c_l"><span style="width:70px;">姓名</span>
<div class="div_col" id="wrw">
<div class="div_c_l"><span style="width:70px;">时间</span>
</div>
<div class="div_c_r"><input type=" " name="name" id="name" onKeyDown="" value="" placeholder="姓名(选填)">
<div class="div_c_r"><input type=" " name="year" id="year" onKeyDown="" value="" placeholder="贷款多久">
<span style="float: right;margin-top: -30px;background:#fff" id="tishi"></span></input>
</div>
</div>
<div style="clear:both"></div>
</div>
<div class="div_f">
<div class="div_col" id="me">
<div class="div_col" id="cr">
<div class="div_c_l"><span style="width:70px;">手机号码</span>
</div>
<div class="div_c_r"><input type="tel" id="phone" name="phone" onkeydown="" id="phone" value="" placeholder="请输入手机号码">
<span style="float: right;margin-top: -30px;background:#fff" id="tss"></span>
<div class="div_c_r"><input type="tel" id="phone" name="phone" onkeydown="" value="" placeholder="请输入手机号码">
<span style="float: right;margin-top: -30px;background:#fff" id="tss"></span>
</div>
</div>
<div style="clear:both"></div>
</div>
<div class="div_f">
<div class="div_col" id="me">
<div class="div_col" id="mo">
<div class="div_c_l"><span>还款方式</span>
</div>
<div class="div_c_r" style="padding: 0;">
<div style="margin-left: 28px;" class="inp_radio">
<div class="checkboxforget1">
<input type="radio" id="Remember1" name="way" id="" value="0" />
<label for="Remember1"></label>
<input type="radio" id="way1" name="equation" value="0" />
<label for="way1"></label>
</div>
等额本息
</div>
<div style="margin-left: 8px;" class="inp_radio">
<div class="checkboxforget1">
<input type="radio" id="Remember2" name="way" id="" value="1" />
<label for="Remember2"></label>
<input type="radio" id="way2" name="equation" value="1" />
<label for="way2"></label>
</div>
等额本金
</div>

@ -42,7 +42,7 @@
<div class="divHeight"></div>
<div class="aui-flex b-line">
<div class="aui-flex-box">
<h4>我的贷款</h4>
<h4>我的订单</h4>
</div>
</div>
<div class="aui-layout">

@ -20,7 +20,7 @@ public class messageController extends HttpServlet {
private nowTime nowTime=new nowTime();
private message message=new message();
@RequestMapping("")//填写贷款基本信息的界面
@RequestMapping("/借款/index.html")//填写贷款基本信息的界面
public String doPost(HttpServletResponse response, HttpServletRequest request){
long num=1;//从登陆那里得到登陆者的序号
Audit audit=new Audit();

@ -0,0 +1,19 @@
package com.example.demo.register.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@Controller
public class pwdController extends HttpServlet {
@RequestMapping("/")//再一次确认密码界面
public String doPost(HttpServletResponse response, HttpServletRequest request){
//int
return "";
}
}
Loading…
Cancel
Save