软测单独项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.3 KiB

11 months ago
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>公告列表</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
<link rel="stylesheet" href="../../css/public.css" media="all" />
<style>
html, body
{
/*
height:100%;
width:100%;
*/
overflow:auto;
}
</style>
</head>
<body>
<form class="layui-form" style=" height:100%; width:100%;">
<ul id="annList" class="annList"></ul>
<ul id="annListPage" class="annListPage"></ul>
</form>
</body>
</html>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script src="../../js/jquery-2.1.3.min.js" type="text/javascript"></script>
<script src="../../js/jq_extend.js" type="text/javascript"></script>
<script type="text/javascript">
layui.config({
base: '../../js/'
}).use(['ztree', 'form', 'layer', 'table', 'laypage'], function () {
var form = layui.form,
layer = parent.layer === undefined ? layui.layer : top.layer,
$ = layui.jquery,
laypage = layui.laypage,
table = layui.table;
var annid = $.getUrlVar("annid"); // "ece5bb65c0c247c0810b77e8c1bf44fe";
function search() {
$.post("../../ashx/FireAnnHandler.ashx", {
Action: "GetAnn",
ann_id: annid,
random: new Date().getTime()//随机参数
}, function (res) {
var res = JSON.parse(res);
console.log(res);
var htmlstr = '';
if (res.code == 0 && res.data != undefined && res.data != null && res.data != '') {
var strhtml = res.data.CONTENT;
}
$("#annList").html(strhtml);
});
}
search();
})
</script>