68 lines
2.1 KiB
HTML
68 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Publisher Client Home</title>
|
|
<!-- js -->
|
|
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
|
|
<script type="text/javascript" src="../commons/js/awsui.js"></script>
|
|
<!-- css -->
|
|
<link rel="stylesheet" href="../commons/css/awsui.css">
|
|
<link rel="stylesheet" href="../apps/com.actionsoft.apps.coe.pal.publisher/css/publish.client.home.css">
|
|
|
|
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal.publisher/js/publish.client.main.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
var year = "<#year>";
|
|
var pid = "<#pid>";
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<div class="content" style="overflow-x: hidden;">
|
|
<div class="wrapper">
|
|
<div class="main" id="main_div">
|
|
<h1 class="title">流程发布历史</h1>
|
|
<#html>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="main_add" style="height: 1px;"></div>
|
|
<div id="more_info" class="more_data" style="display: none;">点击加载更多</div>
|
|
</div>
|
|
|
|
<input type="hidden" name="sid" id="sid" value="<#sid>" />
|
|
<input type="hidden" name="roleId" id="roleId" value="<#roleId>" />
|
|
</body>
|
|
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$(".main .year>h2>a").click(function (e) {
|
|
e.preventDefault();
|
|
$(this).parents(".year").toggleClass("close");
|
|
});
|
|
|
|
$(window).scroll(addData);
|
|
|
|
// 点击追加数据
|
|
$("#main_add").click(function(){
|
|
$.ajax({
|
|
type: "POST",
|
|
dataType: "text",
|
|
url: "weibo.ashx",
|
|
data:"userid=1&touserid=2&count=20×=1&type=2",
|
|
success: function(data){
|
|
if(data=="没有数据"){
|
|
$("#main_add").css("display","none");
|
|
addEffect();
|
|
}else{
|
|
$("#main_down").append(data);
|
|
$("#main_add").html("点击加载更多...");
|
|
addEffect();
|
|
}
|
|
}
|
|
})
|
|
});
|
|
});
|
|
</script>
|
|
</html> |