标签:
2016-08-26
开始我们今天的复习总结 ,学习需要总结和复习 ,才能不忘,这句古话,应该谨记。
1.1关于 UI部分
Div{
Width:
Height:
background:
Float:
Position:
left:
Background-image:url() no-repeat left top
Dispplay:block;
}
Base.css :
*{margin:0;padding:0}
Body{
Font-size:14px;
font-family"MicroSoft YaHei",sans-serif;/*设备默认字体*/;
Color: #333;
}
A{
Color:#333;
Text-decoration:none;
}
A :hover{
Text:decoration:none;
}
Ul,ol{
List-style:none;
}
.clear::berfor,.clear::after{
Content:’’,
Clear:both;
Display:block;
Height:0px;
Line-height:0;
visibility:hidden;
}
.M-l10{
Margin-left:10px;
}
.M-r10{
Margin-right:10px;
}
其他的 根据每个page 页面定义自己的样式 index.css
1.2 关于mongodb
Json
集合 | 文档 | 成员
Db.集合.insert({“username”:”sunzhong”,”age”:30})
Db.集.update{{“username”:”sunzhong”,”age”:30}}
Db.集合.find({“username”:”sunzhong”,”age”:30})
Db.集合.remove({“username”:”sunzhong”,”age”:30})
1.3 关于 Angular.js
Mvc 的一个框架 由 Google 收购
功能亮点 :
Var myapp= Angular.module(“myapp”,[‘routeRoute’])
Myapp.config(function($routeProvider){
$routeProvider
.when(‘/home’,{
Controller:’HomeController’,
Template:’home.html’
})
.when(“”,{
})
.otherwise({
RedirectTo:’/home’
})
})
var mycontroller =angular.module(“myapp”,[‘ngRoute’])
.controller(‘mycontroller’,[‘$scope’,’$http’,function($scope,$http){
Const $scope.song=[];
//ajax $http.jsonp(‘http://localhost:8080/list?callback=JSON_CALLBACK’).then((res)=>{
$scope.sone=Res.data;
})
)
}])
.
1.4.关于nodejs
写给自己…
标签:
原文地址:http://www.cnblogs.com/sun0201/p/5808960.html