继续Angularjs的后台前端页面制作
在html5的校验中,ng-app会报错,而再之前加*-ng-app就不会报错 https://stackoverflow.com/questions/16589853/ng-app-vs-data-ng-app-what-is-the-difference
{{$index+1}}
app.controller("equipmentMapController", function($scope, $log) {
var map = new AMap.Map('container', {
resizeEnable: true,
zoom: 11,
center: [116.397428, 39.90923]
});
})
使用了百度的界面优化插件,直接把后台登录页面背景改成了白色,我找了十几分钟,后来想到应该是插件搞得。。。果然
1.png
2.png
textarea {
resize:none;
}
http://www.treejs.cn/v3/main.php#_zTreeInfo http://www.cnblogs.com/jyh317/p/3763564.html https://github.com/vakata/jstree/https://github.com/vakata/jstree/
.logtable {
table-layout: fixed;
word-wrap: break-word;
word-break: break-all;
}
很简单的一个原理:由前端管理菜单的话
a href=#与 a href=javascript:void(0) 的区别 链接的几种办法
#包含了一个位置信息 默认的锚是#top 也就是网页的上端 而javascript:void(0) 仅仅表示一个死链接
// 用户详情路由
.state("userDetails", {
url: "/userDetails/:id",
templateUrl: "userDetails.html",
controller: function($state) {
$state.go("userDetails.baseinfo")
}
})
// 用户详情下的5个分页
.state("userDetails.baseinfo", {
url: "/baseinfo",
templateUrl: "childPages/userDetails/baseinfo.html",
})