10.30

<%@ page import="com.yiju.bean.UserAuth" %>
<%@ page import="com.yiju.bean.UserInfo" %><%--
  Created by IntelliJ IDEA.
  User: 36353
  Date: 2019-07-05
  Time: 15:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>实名认证</title>
    <%--导入CSS文件--%>
    <link type="text/css" href="../css/css.css" rel="stylesheet" />
    <%--<script src="../js/jquery-2.1.1.min.js"></script>--%>


</head>
<body>
<%--加入头部--%>
<jsp:include page="../pages/basehead.jsp"></jsp:include>
<!--Logo栏和手机号栏-->
<div class="logo-phone">
    <div class="width1190">

        <table align="center" width="100%">
            <tr>
                <td>
                    <h1 class="logo"><a href="../index.jsp"><img src="../images/logo.png" width="163" height="59" /></a></h1>
                </td>
                <td align="center">
                    <div class="phones"><strong>000-00000000</strong></div>
                    <div class="clears"></div>
                </td>
            </tr>
        </table>
    </div><!--width1190/-->
</div><!--logo-phone/-->
<!--Logo栏和手机号栏 END-->

<hr width="1190px">
<br>

<div class="content">
    <div class="width1080">
        <%--左侧导航栏--%>
        <div class="vip-left">
            <div class="vipNav">
                <h3 class="vipTitle">账户中心</h3>
                <dl>
                    <dt class="vipIcon3">账户设置</dt>
                    <dd>
                        <a href="${pageContext.request.contextPath}/pages/personal.jsp" >我的资料</a>
                        <a href="${pageContext.request.contextPath}/user/verify.do"class="vipNavCur">实名认证</a>
                        <a href="#">账户密码设置</a>
                    </dd>
                    <dt class="vipIcon1">我的易居</dt>
                    <dd>
                        <a href="#">我的收藏房源</a>
                    </dd>
                </dl>
            </div><!--vipNav/-->
        </div><!--vip-left/-->

        <%--右侧详情栏--%>
        <div class="vip-right">
            <h3 class="vipright-title">我的认证</h3>
            <% UserInfo userInfo= (UserInfo) request.getSession().getAttribute("user"); %>

            <table class="grinfo">
                <tbody>
                <tr>
                    <th ><span class="red">*</span>真 实 姓 名:</th>
                    <td width="600px">
                        <input class="inp inw" type="text" id="name" value="<%=userInfo.getTruename()%>" name="truename" maxlength="14"  disabled="disabled">
                    </td>
                </tr>
                <tr>
                    <th height="40px"><span class="red">*</span>性   别:</th>
                    <td height="40px">
                        <input type="radio" value="0" id="rbSex1" name="sex" <%if(userInfo.getGender()==0) out.print("checked");%>  disabled="disabled">
                        <label for="rbSex1">男        </label>
                        <input type="radio" value="1" id="rbSex2" name="sex" <%if(userInfo.getGender()==1) out.print("checked");%>  disabled="disabled">
                        <label for="rbSex2">女</label>
                        <span id="Sex_Tip"></span>
                    </td>
                </tr>

                <tr>
                    <th><span class="red">*</span>身份证号码:</th>
                    <td>
                        <input class="inp inw" type="text" id="card" value="" name="card" maxlength="14">
                    </td>
                </tr>

                <tr>
                    <th><span class="red">*</span>身份证地址:</th>
                    <td>
                        <input class="inp inw" type="text" id="address" value="" name="cardaddress" maxlength="14">
                    </td>
                </tr>

                <tr>
                    <th><span class="red">*</span>现居住住址:</th>
                    <td>
                        <input class="inp inw" type="text" id="nowaddress" value="" name="liveaddress" maxlength="14">
                    </td>
                </tr>

                <tr>
                    <th>&nbsp;</th>
                    <td colspan="2">
                        <label class="butt" id="butt">
                            <input type="button" class="member_mod_buttom" onclick="" value="申请认证" />
                        </label>
                    </td>
                </tr>
                </tbody>
            </table>
        </div><!--vip-right/-->
        <div class="clearfix"></div>
    </div><!--width1190/-->
</div><!--content/-->

<script src="../js/city/jquery1.8.1.js" type="text/javascript"></script>

<!--End  个人信息填写栏-->
<div class="width1190">
    <br>
    <br>
    <br>
    <br>
</div>

<jsp:include page="basefoot.jsp"></jsp:include>

</body>
<script type="text/javascript">
    $(function () {
        $(".member_mod_buttom").on("click",function () {

            var card=$("input[name=card]").val();
            var cardaddress=$("input[name=cardaddress]").val();
            var liveaddress=$("input[name=liveaddress]").val();


            if(card==""){
                alert("请输入身份证号码");
                return

            }
            if (cardaddress==""){
                alert("请输入身份证地址");
                return
            }
            if (liveaddress==""){
                alert("请输入现居地地址");
            }
            $.ajax({
                url:"${pageContext.request.contextPath}/user/saveAuth.do",
                type:"post",
                dataType:"json",
                data:{

                    userCard:card,
                    userCardAddess:cardaddress,
                    userLiveAddess:liveaddress,

                },
                success:function () {
                    window.location.href="personal.jsp";
                }
            })
        })

    })

</script>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值