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

定义颜色相关的服务。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

编程序的艺术家

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值