hlzyWeb/Templates/common/skin-vuserInfo.html

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<hi:common_header runat="server" />
<div class="pbox fill_info well">
     <form id="form" role="form" class="clearfix apply">
    <label for="txtUserName">
        帐户信息</label>
     <div style="position:relative;line-height:30px;margin:10px 0px; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc">
         <span id="BtxtUserName"><asp:Literal ID="txtUserBindName" Text="用户名未绑定" runat="server" /></span><span id="userTopRight"  class="glyphicon glyphicon-menu-right" style="float:right;top:10px"></span><a id="blink" href="/BindUserMessage.aspx?returnUrl=/Vshop/UserInfo.aspx" style="float:right;margin-right:5px;color:#ff0000">非常重要!!!<em style="color:#29a52f">去绑定</em></a></div>
         <input id="txtUserName" type="hidden" runat="server" clientidmode="Static" />
         <label for="txtRealName">
                姓名</label>
    <input id="txtRealName" type="text" runat="server" clientidmode="Static" class="form-control"
        placeholder="请填写您的姓名">
    <label for="txtPhone">
        手机</label>
    <input id="txtPhone" type="text" runat="server" clientidmode="Static" class="form-control"
        placeholder="请填写您的手机号">
    <label for="txtEmail">
        QQ</label>
    <input id="txtEmail" type="text" runat="server" clientidmode="Static" class="form-control"
        placeholder="请填写您的QQ号码">
    </form>
</div>
<div class="pbox"><button id="btnSetUserName" type="button"  style="width:100%" class="btn btn-danger btn-block">保存用户信息</button></div>
<a href="ModifyPassWord.aspx" style="display:block;position:relative;line-height:30px;margin: 10px; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc">密码<span class="glyphicon glyphicon-menu-right" style="float:right;top:10px"></span><span style="float:right;margin-right:5px;color:#ff0000">修改</span></a>
<script type="text/javascript">
    $(document).ready(function () {
        $("#btnSetUserName").bind("click", function () { SetUserName(); }); //设置新昵称
        var UserName = $("#BtxtUserName").text().trim();
        if (UserName != "用户名未绑定" && UserName !="") {
            $("#BtxtUserName").text("用户名:" + UserName);
            $("#blink").hide();
            $("#userTopRight").hide();
        } else {
            $("#BtxtUserName").text("用户名未绑定");
            $("#blink").show();
        }
    });
   
    function SetUserName() {
        $.ajax({
            url: "/API/VshopProcess.ashx",
            type: 'post', dataType: 'json', timeout: 10000,
            data: { action: "SetUserName", userName: $("#txtUserName").val(), RealName: $("#txtRealName").val(), CellPhone: $("#txtPhone").val(), QQ: $("#txtEmail").val()},
            success: function (resultData) {
                if (resultData.Status == "OK") {
                    alert_h("修改用户信息成功", function () {
                        var returnURL = window.location.search.substr(window.location.search.indexOf("returnUrl=") + 10);
                        if (window.location.search.indexOf("returnUrl=") != -1) {
                            location.href = decodeURIComponent(returnURL);
                        } else {
                            location.href = "/Vshop/MemberCenter.aspx";
                        }

                    });

                }
                else {
                    alert_h("修改用户信息失败, 请重试");
                }
            }
后面还有 10 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。