本帖最后由 nice 于 2014-6-4 14:56 编辑
因为我们的代码都封装的很好,所以
仅需要进入此js页面/obpm/src/main/webapp/portal/cool/resource/homepage/js/Jh.js
修改如下3步即可:
第一:
layoutCss : {
0:"1:3",
1:"3:1",
2:"1:2:1",
3:"1:1:2",
4:"2:1:1",
5:"1:1:1",
6:"2:2"
},
第二:
layoutText : {
0 :"w250 w750 wnone",
1 :"w750 w250 wnone",
2 :"w250 w500 w250",
3 :"w250 w250 w500",
4 :"w500 w250 w250",
5 :"w250 w250 w250",
6 :"w500 w500 wnone"
第三:
_createLayoutTr:function(){//创建布局
var _td = me._createTd(Jh.Config.tdCls2),
_div = $("<div/>").addClass(Jh.Config.layCls)
.append(me._createA("1:3"))
.append(me._createA("3:1"))
.append(me._createA("1:1:2"))
.append(me._createA("1:2:1"))
.append(me._createA("2:1:1"))
.append(me._createA("1:1:1"))
.append(me._createA("2:2"))
.appendTo(_td),
效果如图:
此帖该结! |