yili-apps/com.actionsoft.apps.coe.pal/template/page/portal.header.right.layout.htm
2022-06-27 23:38:56 +08:00

90 lines
1.9 KiB
HTML
Executable File

<!Doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页努力加载中...</title>
<style>
iframe{
width:100%;
/*height: 100%;*/
}
.row{
float: left;
width: 100%;
display: block;
margin: 0;
padding: 0;
}
.row ::after{
clear:both;
}
.row .column-left,.row .column-right{
float: left;
display:
}
.row .column-left{
width: 65.6%;
}
.row .column-right{
width: 33.3%;
}
.row .column-left{
border-right: 1px solid #bbb;
}
.row .column-right > :first-child{
border-bottom: 1px solid #bbb;
}
.row .column-right *{
min-height: 30px;
}
/*.column-left{
height: 550px;
width: 1000px;
}*/
</style>
<link rel="stylesheet" type="text/css" href="../<I18N#COEPATH>/css/public.css">
</head>
<body>
<div class="row">
<div class="column-left" role="iframeContainer">
<iframe src="./w?sid=<#sid>&cmd=COE_SOCIAL_STREAM_MAIN" frameborder="0" id="socialStreamI"></iframe>
<!-- <iframe src="test.html" frameborder="0"></iframe> -->
</div>
<div class="column-right">
<div type="todoTask">
<iframe src="" frameborder="0">Todo
Task</iframe>
</div>
<div type="teamList">
<iframe src="" frameborder="0">Team List</iframe>
</div>
</div>
</div>
<input type="hidden" name="sid" id="sid" value="<#sid>">
<script src="../commons/js/jquery/scripts/jquery.js"></script>
<script>
// data为序列化的数据
function sendRequest(cmd,data,callFun){
$.ajax({
type: "POST",
url: "./w?sid=" + encodeURI(document.getElementById('sid').value) + "&cmd=" + cmd,
data: data,
success: function(msg){
if(typeof(callFun) == "function"){
callFun(msg);
}
},
error: function (){
}
});
}
// sendRequest("COE_SOCIAL_STREAM_MAIN","",function(msg){
// $(".column-left").html(msg);
// })
</script>
</body>
</html>