diff --git a/admin/images/avatar.jpg b/admin/images/avatar.jpg index b0ae8d9..206a8b6 100644 Binary files a/admin/images/avatar.jpg and b/admin/images/avatar.jpg differ diff --git a/component/pear/pear.all.js b/component/pear/pear.all.js deleted file mode 100644 index e2d86a2..0000000 --- a/component/pear/pear.all.js +++ /dev/null @@ -1,49 +0,0 @@ -/** - * 全局路径引用容错处理 - * */ -window.rootPath = (function(src) { - src = document.scripts[document.scripts.length - 1].src; - return src.substring(0, src.lastIndexOf("/") + 1); -})(); - -/** - * 核心依赖 - * */ -layui.config({ - base: rootPath + "module/", - version: "3.8.0.Release" -}).extend({ - admin: "admin", // 框架布局组件 - menu: "menu", // 数据菜单组件 - frame: "frame", // 内容页面组件 - tab: "tab", // 多选项卡组件 - echarts: "echarts", // 数据图表组件 - echartsTheme: "echartsTheme", // 数据图表主题 - hash: "hash", // 数据加密组件 - select: "select", // 下拉多选组件 - drawer: "drawer", // 抽屉弹层组件 - notice: "notice", // 消息提示组件 - step:"step", // 分布表单组件 - tag:"tag", // 多标签页组件 - popup:"popup", // 弹层封装 - iconPicker:"iconPicker", // 图表选择 - treetable:"treetable", // 树状表格 - dtree:"dtree", // 树结构 - tinymce:"tinymce/tinymce", // 编辑器 - area:"area", // 省市级联 - count:"count", // 数字滚动组件 - topBar: "topBar", // 置顶组件 - button: "button", // 加载按钮 - design: "design", // 表单设计 - card: "card", // 数据卡片组件 - loading: "loading", // 加载组件 - cropper:"cropper", // 裁剪组件 - convert:"convert", // 数据转换 - yaml:"yaml", // yaml 解析组件 - context: "context", // 上下文组件 - http: "http", // ajax请求组件 - theme: "theme", // 主题转换 - message: "message" // 通知组件 -}).use(['layer', 'theme'], function () { - layui.theme.changeTheme(window, false); -}); \ No newline at end of file diff --git a/component/pear/pear.js b/component/pear/pear.js index e2d86a2..01e9015 100644 --- a/component/pear/pear.js +++ b/component/pear/pear.js @@ -1,14 +1,8 @@ -/** - * 全局路径引用容错处理 - * */ window.rootPath = (function(src) { src = document.scripts[document.scripts.length - 1].src; return src.substring(0, src.lastIndexOf("/") + 1); })(); -/** - * 核心依赖 - * */ layui.config({ base: rootPath + "module/", version: "3.8.0.Release"