hlzyWeb/obj/Debug/Package/PackageTmp/Admin/Shop/Articles.aspx

(开头部分) 3KB

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

<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminNew.Master" AutoEventWireup="true" CodeBehind="Articles.aspx.cs" Inherits="Hidistro.UI.Web.Admin.Shop.Articles" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script>
    var reurl=location.href;
    $(document).ready(function () {
        GetArticles(<%=articletype%>,1,'<%=ArticleTitle%>');
    })
    function delOneArticle(articleid){
        $.ajax({
            url: "articles.aspx",
            type: "post",
            data: "posttype=del&id=" + articleid,
            datatype: "json",
            success: function (json) {
                if (json.type == "1") {
                    location.href=reurl;
                }
                else
                {
                    HiTipsShow(json.tips,"error");
                }
            }
        });
    }
    function editOneArticle(articleid,articletype){
        var pagename="articlesedit.aspx";
        if(articletype==4){
            pagename="multiarticlesedit.aspx";
        }
        location.href=pagename+"?id="+articleid+"&reurl="+encodeURIComponent(reurl);
    }
    function GetArticles(type, pageindex, key) {
        var url = "getarticles.aspx?pageindex="+pageindex;
        var parms = { "type": type, "key": key };
        var callBack = function () {

            setTimeout(function(){


            $('#home .mate-list').hover(function () {
                $(this).find('.nav').fadeIn(300);
            }, function () {
                $(this).find('.nav').fadeOut(300);
            });
            $('#home .mate-all').show();

            var attrTop = [0, 0, 0];
            var attrLeft = [0, 310, 620];
            $('#home .mate-list').each(function (i) {
                var index = attrTop.minIndex();
                $(this).css({
                    'top': attrTop[index],
                    'left': attrLeft[index]
                });
                attrTop[index] += $(this).height() + 15;
                
                $('#home .mate-all').height(attrTop.max());
            });
            $(".pagination a").click(function(){
                var pageurl=$(this).attr("href");
后面还有 52 行代码,购买后查看完整代码

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

AI 解读 AI

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

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