blur admin 模板分析

themeLayoutSettings(service)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\theme.service.js

判断浏览器类型,pc端还是移动端,模板主题类型

 

preloader(service)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\services\preloader.js

异步加载图片,异步加载图表控件AmCharts

 

layoutPaths(constant)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\theme.constants.js

保存着图片文件路径                    

 

layoutSizes(constant)

同上

保存着左侧菜单栏的宽度

colorHelper(constant)

同上

保存着最小、遮挡颜色转换方法

 

baSidebarService(provider)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\components\baSidebar\baSidebar.service.js

定义左侧菜单栏的可配置服务。

 

ba-sidebar(directive)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\components\baSidebar\baSidebar.directive.js

左侧菜单栏元素指令

 

page-top(directive)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\components\pageTop\pageTop.directive.js

顶部元素指令

 

msg-center(directive)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\components\msgCenter\msgCenter.directive.js

消息、告警元素指令

 

back-top(directive)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\components\backTop\backTop.directive.js

回到最顶部元素指令

 

content-top(directive)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\components\contentTop\contentTop.directive.js

顶部元素指令

 

editableOptions

xeditable表格插件的属性选项对象。

editableThemes

xeditable表格插件的主题选项对象。包括模板、类型。

 

.tmp 文件夹

Gulp 每次启动的时候会重新生成这个文件夹中的文件。(gulp serve 的时候)

里面的index.html 会自动导入src中的所有的css、js 文件

所以所有在js文件中的函数,都是全局的。

 

baConfig(provider)

D:\svn\Bigdata\IOT\iot-admin-web\src\app\theme\theme.configProvider.js

定义颜色相关的服务。

 

你可能感兴趣的:(angular)