可能没说清楚,上代码
function Viewport() {
var viewport = Ext.create("Ext.container.Viewport", {
layout: {
type: 'border',
padding: '5',
},
items: [{
region: 'north',
height: 50,
border: false,
margin: '0,0,0,0',
bodyStyle: {
background: '#3992D4'
},
html: 'welcome!!!'
..........
最后一行的html,我想显示我写好的页面,如何做?
Extjs4.2 container viewport item 怎么嵌套别的网页?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答
- Go 旅城通票 2016-06-24 01:58关注
html: '<iframe src="xxxxxxxxx.html" style="width:100%;height:300px"></iframe>'
解决 无用评论 打赏 举报