diff --git a/Bootstrap.Admin/Content/css/admin.css b/Bootstrap.Admin/Content/css/admin.css index e19c5f98..19bb83a6 100644 --- a/Bootstrap.Admin/Content/css/admin.css +++ b/Bootstrap.Admin/Content/css/admin.css @@ -26,6 +26,12 @@ font-weight: 600; } +.bs-icon { + color: #2e6da4; + width: 100%; + text-align: center; +} + .hidden-tb { margin-left: 6px; } diff --git a/Bootstrap.Admin/Scripts/Menus.js b/Bootstrap.Admin/Scripts/Menus.js index 85a69492..01a8f441 100644 --- a/Bootstrap.Admin/Scripts/Menus.js +++ b/Bootstrap.Admin/Scripts/Menus.js @@ -108,7 +108,14 @@ { title: "父级菜单", field: "ParentName", sortable: true }, { title: "菜单名称", field: "Name", sortable: true }, { title: "菜单序号", field: "Order", sortable: true }, - { title: "菜单图标", field: "Icon", sortable: false }, + { + title: "菜单图标", field: "Icon", sortable: false, formatter: function (value, row, index) { + if (value) { + return $.format('', value); + } + return ""; + } + }, { title: "菜单路径", field: "Url", sortable: false }, { title: "菜单类别", field: "CategoryName", sortable: true }, {