-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpolInterpre.html
99 lines (89 loc) · 3.43 KB
/
polInterpre.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>政策详细内容</title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link href="css/mui.min.css" rel="stylesheet" />
<link href="css/policy.css" rel="stylesheet" />
<script src="js/mui.min.js"></script>
<script type="text/javascript">
mui.init({
swipeBack:true //启用右滑关闭功能
});
</script>
<script type="text/javascript" src="js/jquery-2.1.0.js"></script>
<script type="text/javascript" src="js/policy.js"></script>
<script type="text/javascript">
var a = location.href;
var getUrlParam = function(a){
var reg = new RegExp("(^|&)"+ a +"=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r!=null)
return unescape(r[2]);
return null;
};
var polInterpreId = {"polInterpreId":getUrlParam('polInterpreId')};
$(document).ready(function(){
$.ajax({
type:"get",
url:"http://192.168.1.102:8080/beijiao/polInterpre/toAppPolInterpre",
data:polInterpreId,
dataType : 'json', // 数据类型配置成json
async:true,
//contentType:"application/json;charset=utf-8",
success : function(data,status){
//alert(polInterpreId);
var detail= "<p class='mui-ellipsis'>"+data.polInterpreTitle+"</p>"+
'<span class="institution">'+data.polInterpreSource+"</span>"+
'<span class="time">'+data.polInterpreTime+"</span>"
$("#content_title").append(detail);
var polInterpreContent = "<p style='font-size: 16px; color: #555555;'>"+data.polInterpreContent+"</p>"
$("#content").append(polInterpreContent);
},
error : function(data,status,e){
alert("失败");
}
});
})
</script>
</head>
<body>
<!-- 主页面容器 -->
<div class="mui-inner-wrap">
<!-- 头部(从左到右:侧滑按钮、标题、搜索框)-->
<header id="head" class="mui-bar mui-bar-nav">
<!--<a id="back" href="tab-classification.html"><button type="button" class="mui-btn mui-btn-primary mui-btn-outlined">返回</button></a>-->
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
<h1 id="head_title" class="mui-title">政策解读</h1>
</header>
<!--正文部分-->
<div class="mui-content mui-scroll-wrapper">
<div class="mui-scroll">
<!--正文标题-->
<div>
<ul class="mui-table-view">
<li class="mui-table-view-cell mui-media">
<div id="content_title" class="mui-media-body">
<!--<p class='mui-ellipsis'>标题</p>
<span class="institution">发布机构</span>
<span class="time">2017-11-15</span>-->
</div>
</li>
</ul>
</div>
<!--正文内容-->
<div>
<ul class="mui-table-view">
<li class="mui-table-view-cell mui-media">
<div id="content" class="mui-media-body" >
<!--<p id="content" style="font-size: 16px; color: #555555;">详细内容</p>-->
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>