You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
795 B
Plaintext
30 lines
795 B
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title></title>
|
|
|
|
<script type="text/html" template lay-done="layui.data.done(d.params)">
|
|
|
|
<iframe src="" frameborder="0" style="height:99%;width:99%" scrolling="no" id="commFrame"></iframe>
|
|
</script>
|
|
<script>
|
|
layui.data.done = function (params) {
|
|
// debugger
|
|
var url = params.url;
|
|
for (var key in params) {
|
|
if (key != "url") {
|
|
if (url.indexOf("?") == -1)
|
|
url += "?" + key + "=" + params[key];
|
|
else
|
|
url += "&" + key + "=" + params[key];
|
|
}
|
|
}
|
|
$("#commFrame").attr("src", url);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
</body>
|
|
</html> |