用js的方式去创建div。代码示例: var div1 = new Emp.Panel({"width":"200","height":"300","backgroundColor":"#23A8A3"}) mydiv.add(div1)