Index.aspx

(开头部分) 5KB

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

<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="SimpleExam.Index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        .aditem{
                display: inline-block;
    margin-right: 20px;
        }
    </style>
    <script>
        $(function () {
            var swiper = new Swiper('.news_turn', {
                pagination: {
                    el: '.swiper-pagination',
                    clickable: true,
                    renderBullet: function (index, className) {
                        return '<span class="' + className + '"></span>';
                    },
                },
                autoplay: true,
                loop: true,
                observer: true,//修改swiper自己或子元素时,自动初始化swiper
                observeParents: true,//修改swiper的父元素时,自动初始化swiper
            });
            $(".layui-nav-item").eq(0).addClass("layui-this");
            $(".nodeTab").click(function () {
                $(".nodeTab").removeClass("nodeActive");
                $(this).addClass("nodeActive");
                $(".tabSwitchContent").hide();
                if ($(this).html() == "通知公告") { $(".tabSwitchContent").eq(0).show(); }
                else { $(".tabSwitchContent").eq(1).show(); }
            });
        });
        function turnlink() {
            var type = $(".nodeActive").html();
            if (type == "通知公告") { location.href = 'NewsList.aspx?type=1'; }
            else { location.href = 'NewsList.aspx?type=2'; }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="width:100%;min-height: 350px;">
		<div class="banner">
			
		</div>
	</div>
	<div style="clear: both;"></div>
    <div class="tt_index_block fixedWid ttxw" id="Div2" style="padding-bottom: 0px;">
		<h3 class="title">在线考试</h3>
        <div style="padding-left:100px">
            <asp:Repeater ID="Repeater3" runat="server">
                <ItemTemplate>
                     <div class="item" style="cursor:pointer" onclick="location.href='ExamInfo.aspx?ID=<%#Eval("ID") %>';">
                        <img src="images/spsx_icon.png" />
                        <span>试卷编号:<%#Eval("shijuanbianhao") %></span>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
           
             
        </div>
后面还有 53 行代码,购买后查看完整代码

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

AI 解读 AI

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

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