hlzyWeb/Admin/Weibo/Setting.aspx

(开头部分) 8KB

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

<%@ Page Title="绑定微博帐号" Language="C#" MasterPageFile="~/Admin/AdminNew.Master" AutoEventWireup="true" CodeBehind="Setting.aspx.cs" Inherits="Hidistro.UI.Web.Admin.Shop.Settings" %>

<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.ControlPanel.Utility" Assembly="Hidistro.UI.ControlPanel.Utility" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>

<%@ Import Namespace="Hidistro.Core" %>
<%@ Import Namespace="System.Web.UI.WebControls" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="/admin/css/weibo.css">
    <%-- <link rel="stylesheet" href="http://b.yzcdn.cn/v2/build_css/stylesheets/www/pages/pc/setting_all_8324c733e1.css" onerror="_cdnFallback(this)">--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script>
        $(function () {
            if ($.trim($("#ctl00_ContentPlaceHolder1_txtAccess_Token").val()) != "")
                loaduserinfo();

        });

        function loaduserinfo() {
            $.getJSON("../../API/WeiBoAPI.ashx?action=userinfo").done(function (d) {
                if (typeof (d.IsAuthorized) != "undefined") {
                    if (d.IsAuthorized == "0") {
                        HiTipsShow('授权失败!', 'fail');
                        return;
                    }
                }
                if (typeof (d.error) != "undefined") {

                    HiTipsShow(d.error, 'fail');
                    return
                }
                $("#screen_name").text(d.screen_name);
                if ($.trim(d.id) != "") {
                    $("#authorization").text('已授权');
                    $("#ctl00_ContentPlaceHolder1_cancel").css("display", "");
                }
            });
        }

    </script>
    <form class="form-horizontal" runat="server">
        <div class="page-header">
            <h2>绑定微博帐号</h2>
            <small></small>
        </div>
        <fieldset>
            <div class="control-group">
                <label class="control-label">微博昵称:</label>
                <div class="controls"><span class="sink" id="screen_name">未绑定</span></div>
            </div>
            <div class="control-group">
                <label class="control-label">授权情况:</label>
                <div class="controls"><span class="sink" id="authorization">未授权</span></div>

                <Hi:ImageLinkButton ID="cancel" Style="margin-left: 10px; display: none" DeleteMsg="是否确定解除新浪微博授权?" CssClass="js-show-cancel-modal" OnClick="cancel_Click" runat="server" Text="解除授权" IsShow="true" />

            </div>

后面还有 122 行代码,购买后查看完整代码

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

AI 解读 AI

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

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