uniGUI学习之脱离Delphi直接写ExtJS从入门到精通06Tab页头自定义CSS(71)
  iC0dxxaBBoLD 2023年11月30日 13 0

uniGUI学习之脱离Delphi直接写ExtJS从入门到精通06Tab页头自定义CSS(71)_css

相关文件下载

链接:https://pan.baidu.com/s/1RICF5Yiw4za2agEYazpeKQ
提取码:ha2a

UniPageControl1

<html>
<head>
<title>Extjs应用tab页的最简单Demo</title>
<link rel="stylesheet" type="text/css" href="theme-gray-all.css" />
<link rel="stylesheet" type="text/css" href="aa.css" />  //自定义CSS
<script type="text/javascript" src="ext-all.js"></script>

<script type="text/javascript">
Ext.onReady(function(){
///panel开始,用于显示控制信息
var contentPanel = new Ext.TabPanel({
region:'center',
enableTabScroll:true,
activeTab:0,
items:[
{id:'homePage',
title:'首页',
autoScroll:true,
html:'<div style="position:absolute;color:#ff0000;top:40%;left:40%;">欢迎来到阿柒人事管理系统</div>'
}

,{id:'111',
title:'首页2',
autoScroll:true,
html:'<div style="position:absolute;color:#ff0000;top:40%;left:40%;">333333</div>'
}
]});




var viewport = new Ext.Viewport({
layout:'border',
items:[
{
region: 'center',
split: true,
border: true,
layout: 'border',
items: [contentPanel]
}]
});


});
</script>


</head>

<body>
</body>
</html>

 

【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月30日 0

暂无评论

推荐阅读
  wURKzOHw9Irf   2023年12月24日   24   0   0 HTMLicoicohtml
  8l4CZpTOKa7P   2023年12月26日   32   0   0 htmlhtml
  dwHry2iKGG0I   2023年12月26日   28   0   0 githubgithubhtmlhtml
iC0dxxaBBoLD