Song.Site/Check/Dbup_20170323.aspx

(开头部分) 1KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dbup_20170323.aspx.cs" Inherits="Song.Site.Check.Dbup_20170323" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>课程价格升级</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/Utility/CoreScripts/jquery.js"></script>
<style type="text/css">
#form1 {
	width: 640px;
}
.tit {
	font-size: 22px;
	margin-bottom: 10px;
	font-weight: bold;
	font-family: "黑体", "微软雅黑";
	color: #000;
}
*, dd, div {
	font-size: 14px;
	line-height: 22px;
}
#loading{
	color: #060;
}
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="tit"> 修正了试卷题量为零的问题
      </div>
      <div> 说明:<br />
      试卷新增后没有即计算试题量,导致在显示试卷时,显示试题为“0道”。<br />  
           
      <hr />
       <input type="button" name="btnStruct" value="开始升级" id="btnStruct" />
<div id="loading" style="display:none">正在升级中,请稍候……</div>
    </form>
       
<script type="text/javascript">
var size = 10; //每页取多少条
var index = 1; //索引页
var sumcount = 0; //总记录数
$("#btnStruct").click(function(){	
	$(this).hide();
	$("#loading").show();
	 request();
});
function request(){
	index = size * index < sumcount ? ++index : index;
	var url=window.location.href;	
	$.post(url, { size: size, index: index }, function (requestdata) {
        var data = eval("(" + requestdata + ")");
        sumcount = data.sumcount;
		if(size * index >= sumcount){
			alert("升级完成");
			$("#btnStruct").show();
			$("#loading").hide();
后面还有 8 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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