This commit is contained in:
贤心
2018-08-29 01:55:17 +08:00
parent 58f523204b
commit 5d85d6f4bc
35 changed files with 139 additions and 78 deletions

View File

@@ -74,7 +74,7 @@ body{padding:20px;}
});
colorpicker.render({
elem: '#06eaee'
elem: '#test3'
,color: 'rgba(0,0,0)'
//,alpha: true
//,format: 'rgb' //设置输入显示格式为rgb

View File

@@ -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: '合计:'}