zoukankan      html  css  js  c++  java
  • easyui-layout完整web界面布局

     1 < div class = “easyui-layout” style = “width:700px; height:350px;” >    
     2         < div data-options = “region:'north'” style = “height:50px” > </ div >    
     3         < div data-options = “region:'south',split:true” style = “height:50px;” > </ div >    
     4         < div data-options = “region:'east',split:true” title = “East” style = “width:180px;” > </ div >     
     5         < div data-options = “region:'west',split:true” title = “West” style = “width:100px;” > </ div >     
     6         < div data-options = “region:'center',title:'Main Title',iconCls:'icon-ok'” >   
     7             < table class = “easyui-datagrid”   
     8                     data-options = “url:'datagrid_data1.json',方法:'get',border:false,singleSelect:true,fit:true,fitColumns:true” >  
     9                 < thead >  
    10                     < tr >  
    11                         < th data-options = “field:'itemid'” width = “80” > Item ID </ th >    
    12                         < th data-options = “field:'productid'” width = “100” > Product ID </ th >    
    13                         < th data-options = “field:'listprice',align:'right'” width = “80” > 标价</ th >    
    14                         < th data-options = “field:'unitcost',align:'right'” width = “80” > 单位成本</ th >    
    15                         < th data-options = “field:'attr'” width = “150” > 属性</ th >    
    16                         < th data-options = “field:'status',align:'center'” width = “50” > 状态</ th >    
    17                     </ tr >  
    18                 </ thead >  
    19             </ table >  
    20         </ div >  
    21     </ div >  

    效果图

  • 相关阅读:
    Vuex
    浏览器渲染页过程描述
    mvvm 模式
    flex 布局
    js 浮点数计算
    3、异步编程-JS种事件队列的优先级
    高阶函数 debounce 和 throttle
    记录学习MVC过程,HTML铺助类(二)
    记录学习MVC过程,控制器方法和视图(一)
    修改以前项目遇到,所有页面继承BaseBage,Sesssion保存一个model,实现登录(记录一下)
  • 原文地址:https://www.cnblogs.com/Thinkingcao/p/7262658.html
Copyright © 2011-2022 走看看