binding_info.html 3.7 KB
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../assets/css/swiper-3.4.2.min.css">
    <script src="../assets/js/base.js" type="text/javascript"></script>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_939574_unwnof3vehp.css">
    <link rel="stylesheet" href="../assets/css/style.css">
    <style>

    </style>
    <title>个人中心</title>
</head>
<body>
<div class="container">
    <div class="input_box">
        <div class="input_in">
            <div class="input_tab">合同编号:</div>
            <div class="input_cell">
                <input type="number" placeholder="请输入合同编号" class="serial">
            </div>
        </div>
        <div class="input_in">
            <div class="input_tab">负责人姓名:</div>
            <div class="input_cell">
                <input type="text" placeholder="请输入项目负责人姓名" class="name">
            </div>
        </div>
        <div class="input_in">
            <div class="input_tab">负责人手机号:</div>
            <div class="input_cell">
                <input type="number" placeholder="请输入项目负责人手机号" class="tel" >
            </div>
        </div>
    </div>
    <div class="my_btn">确定</div>
    <div class="notice">
        <div>注意:忘记合同编号请 <a href="">联系客服</a> </div>
        <div>每个合同编号最多只能绑定2个账户,若有多个合同编号,先绑定一个,其他的在个人中心进行绑定。</div>
    </div>
</div>
<!--合同编号不存在弹框-->
<div class="mold">
    <div class="mold_mian">
        <div class="mold_img">
            <img src="../assets/imgs/aicon_01@2x.png" alt="">
        </div>
        <div class="mold_txt">您输入的合同编号不存在若忘记请联系客服~</div>
        <div class="mold_btnbox">
            <div class="mold_btn">联系客服</div>
            <div class="mold_btn mold_btn_active">重新输入</div>
        </div>
    </div>
</div>
<!--输入合同编号-->
<div class="inputmold">
    <div class="inputmold_mian">
        <div class="inputmold_txt">
            <div>合同编号:</div>
            <div class="input_txtbox">
                <input type="number" placeholder="请输入合同编号">
            </div>
        </div>
        <div class="mold_btnbox inputmold_btn">
            <div class="mold_btn mold_btn_active">确定</div>
        </div>
    </div>
</div>
<!--toast-->
<div id="toast" style="display: none;">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-icon-success-no-circle weui-icon_toast"></i>
        <p class="weui-toast__content">已完成</p>
    </div>
</div>
<script type="text/javascript" src="../assets/js/jquery-2.1.0.js"></script>
<script type="text/javascript" src="../assets/js/common.js"></script>
<script type="text/javascript" src="../assets/js/Augly_Verification.js"></script>
<script type="text/javascript" src="../assets/js/swiper-3.4.2.jquery.min.js"></script>
<script type="text/javascript">
    $('.my_btn').click(function () {
        if($('.serial').val() == ''){
            toast('请填写合同编号')
        } else if($('.name').val()==''){
            toast('请填写项目负责人姓名')
        }else if($('.tel').val()==''){
            toast('请填写电话号码')
        }else if(! AuglyTest_phone.test($('.tel').val())){
            toast('请电话号码不正确')
        }else{
            toast('验证通过');
        }
    })
</script>
</body>
</html>