mirror of
https://gitee.com/layui/layui.git
synced 2025-10-26 18:59:15 +08:00
更新
This commit is contained in:
@@ -74,7 +74,7 @@ body{padding:20px;}
|
||||
});
|
||||
|
||||
colorpicker.render({
|
||||
elem: '#06eaee'
|
||||
elem: '#test3'
|
||||
,color: 'rgba(0,0,0)'
|
||||
//,alpha: true
|
||||
//,format: 'rgb' //设置输入显示格式为rgb
|
||||
|
||||
@@ -176,16 +176,17 @@ layui.use('table', function(){
|
||||
//渲染
|
||||
window.ins1 = table.render({
|
||||
elem: '#test'
|
||||
,height: 400
|
||||
,height: 100
|
||||
,title: '用户数据表'
|
||||
,url: 'json/table/demo1.json'
|
||||
//,size: 'sm'
|
||||
//,size: 'lg'
|
||||
,page: {
|
||||
|
||||
}
|
||||
,totalRow: true
|
||||
,limit: 30
|
||||
,toolbar: '#toolbarDemo'
|
||||
//,defaultToolbar: ['filter']
|
||||
,cols: [[
|
||||
{type: 'radio', fixed: 'left'}
|
||||
,{field:'id', title:'ID', width:80, fixed: 'left', unresize: true, sort: true, totalRowText: '合计:'}
|
||||
|
||||
Reference in New Issue
Block a user