last.html 5.0 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>盛宝财富</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_1022306_gfurfu6tnqq.css">
    <link rel="stylesheet" type="text/css" href="css/last.css">
    <script src="js/base.js"></script>
    <script src="js/jquery.min.js"></script>
    <script src="js/jquery.combo.select.js"></script>

</head>
<body>
<div class="main">
    <div class="container">
        <!--利率信息-->
        <div class="top">
            <!--月费率-->
            <div class="top_rate">
                月费率: 0.3%-0.5%
            </div>
            <!--月还款-->
            <div class="top_repay">
                <div class="top_month">
                    月还款:  <span class="top_repay_month"> 59999</span>
                </div>
                <div class="top_accrual">
                总利息:  <span class="top_repay_accrual">99999.99</span>
                </div>
            </div>
        </div>
        <!--额度信息-->
        <div class="limit">
            <div class="limit_box">
                <div class="limit_box_top">
                    <div class="limit_box_top_left">
                        <p>额度</p>

                    </div>
                    <div class="limit_box_top_right">
                        <select>
                            <option>1000</option>
                            <option>3000</option>
                            <option>5000</option>
                            <option>10000</option>
                            <option>20000</option>
                            <option>30000</option>
                            <option>50000</option>
                        </select>

                        <!--图标-->
                        <div class="iconfont icon-xiajiantou"></div>
                    </div>
                </div>
                <div class="limit_box_line"></div>
                <div class="limit_box_top">
                    <div class="limit_box_top_left">
                        <p>期限</p>
                    </div>
                    <div class="limit_box_top_right">
                        <select>
                            <option>1个月</option>
                            <option>3个月</option>
                            <option>6个月</option>
                            <option>12个月</option>
                            <option>24个月</option>
                            <option>36个月</option>
                        </select>
                        <!--图标-->
                        <div class="iconfont icon-xiajiantou"></div>
                    </div>
                </div>
            </div>
        </div>
        <!--申请人信息标题-->
        <div class="apply">
            申请人信息
            <!--链接-->
            <div class="link_left">
                <img src="images/lianjie.png">
            </div>
            <div class="link_right">
                <img src="images/lianjie.png">
            </div>
        </div>
        <!--申请人信息-->
        <div class="apply_box">
            <!--姓名-->
            <div class="apply_name">
                <!--图片-->
                <div class="apply_name_bg">
                    <div class="apply_name_bg_pic">
                        <img src="images/dfgdf@2x.png">
                    </div>
                </div>
                <!--输入框-->
                <input class="apply_name_input" placeholder="请输入您的真实姓名" id="name">
            </div>
            <!--手机号-->
            <div class="apply_name m_top">
                <!--图片-->
                <div class="apply_name_bg">
                    <div class="apply_name_bg_pic">
                        <img src="images/ZxzxZ@2x.png">
                    </div>
                </div>
                <!--输入框-->
                <input class="apply_name_input" placeholder="请输入您的手机号" id="phone">
            </div>
            <!--前往注册-->
            <div class="apply_toRegister" onclick="btn_sub()">
                前往注册

            </div>
        </div>
    </div>

</div>

<div class="pop_fn">
</div>
<script>
    function popup(message) {
        $('.pop_fn').css('top', 3 + 'rem').html(message);
        setTimeout(function() {
            $('.pop_fn').css('top', '-' + 2 + 'rem').html(message);
        }, 1800)
    }
    function btn_sub() {
        // var reg =/^[\u4E00-\u9FA5]{1,6}$/;
        var reg = /^([\u4e00-\u9fa5+?\u4e00-\u9fa5+]{2,30}$)/;
        // var reg = /^/
        // var uphone =
        var newname=$("#name").val();
        if(!reg.test(newname)){
            popup("注册失败")
        }else {
            popup("注册成功")
        }
        // alert("注册成功!");
        //popup("注册成功")
    }

</script>
</body>
</html>