diff --git a/db/onenav.simple.db3 b/db/onenav.simple.db3 index 43851ab..42b41aa 100644 Binary files a/db/onenav.simple.db3 and b/db/onenav.simple.db3 differ diff --git a/static/images/default.png b/static/images/default.png new file mode 100644 index 0000000..e5534a1 Binary files /dev/null and b/static/images/default.png differ diff --git a/templates/admin/static/embed.js b/templates/admin/static/embed.js index 0cfaaff..48d68c8 100755 --- a/templates/admin/static/embed.js +++ b/templates/admin/static/embed.js @@ -21,6 +21,9 @@ layui.use(['element','table','layer','form','upload','iconHhysFa'], function(){ ,page: true //开启分页 ,cols: [[ //表头 {field: 'id', title: 'ID', width:80, sort: true, fixed: 'left'} + ,{field: 'font_icon', title: '图标', width:60, templet: function(d){ + return ''; + }} ,{field: 'name', title: '分类名称', width:160} ,{field: 'fname', title: '父级分类', width:160} ,{field: 'add_time', title: '添加时间', width:160, sort: true,templet:function(d){ @@ -84,6 +87,16 @@ layui.use(['element','table','layer','form','upload','iconHhysFa'], function(){ ,cols: [[ //表头 {type:'checkbox'} //开启复选框 ,{field: 'id', title: 'ID', width:80, sort: true} + ,{field: 'font_icon', title: '图标', width:60, templet:function(d){ + if(d.font_icon==null) + { + return ''; + } + else + { + return ''; + } + }} // ,{field: 'fid', title: '分类ID',sort:true, width:90} ,{field: 'category_name', title: '所属分类',sort:true,width:120} ,{field: 'url', title: 'URL',width:140,templet:function(d){