- 博客(7)
- 收藏
- 关注
转载 Angular.forEach用法
1.针对对象循环(key,value)var values = {name: 'misko', gender: 'male'};var log = [];angular.forEach(values, function(value, key) { this.push(key + ': ' + value);}, log);expect(log).toEqual(['name: misk...
2018-05-30 17:27:31 169
原创 angular 获取上一个路由地址 获取当前页地址 地址裁切
获取当前页地址 例如:url:http://localhost:9096/OA_Web/main.html#/workSheet/calender_leaderDetail/21console.log($location.absUrl()); 输出为:http://localhost:9096/OA_Web/main.html#/workSheet/calender_leaderDetail/21...
2018-05-23 15:49:58 11107
翻译 CSS cursor 鼠标移入变图标事件
默认值:auto继承:yes版本:CSS2JavaScript 语法:object.style.cursor="crosshair"url需使用的自定义光标的 URL。注释:请在此列表的末端始终定义一种普通的光标,以防没有由 URL 定义的可用光标。default默认光标(通常是一个箭头)auto默认。浏览器设置的光标。crosshair光标呈现为十字线。pointer光标呈现为指示链接的指针(一...
2018-05-22 09:43:18 5696
转载 git克隆远程项目分支到本地对应分支
如何把远程的代码克隆到本地。1. 配置对应信息git config --global user.namegit config --global user.email如:git config --global user.name "zbx" git config --global user.email "[email protected]"2. 进入自己放项目的目录3. 克隆远程项目,...
2018-05-17 12:04:31 2374
原创 css 边框阴影 背景透明 padding,border不占总宽
边框阴影box-shadow:0px 0px 10px 5px #aaa inset;box-shadow: -2px 0 0 green, //左边阴影 0 -2px 0 blue, //顶部阴影 0 2px 0 red, //底部阴影 0 0 0 yellow; //右边阴影背景透明1.rbga RGB颜色值转换工具: http://www.sioe.cn/yingyong...
2018-05-16 17:07:36 2941
转载 iframe去边框,无边框,使用大全
<iframe runat="server" src="you page's url" width="750" height="30" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparen
2018-05-16 09:16:23 1294
原创 angular 阻止冒泡 及导出功能
阻止冒泡<div ng-click="aaa();$event.stopPropagation();"></div>导出为表格$scope.dxdexportCallRecords = url+'api/projectWorkOrder/exportExcel?'+searchStr($scope.searchList);//+searchStr($scope.searc...
2018-05-02 17:09:38 236
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人