上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: :last-of-type 选择器匹配属于其父元素的特定类型的最后一个子元素的每个元素。 阅读全文
posted @ 2017-08-24 15:22 alan-alan 阅读(214) 评论(0) 推荐(0) 编辑
摘要: :nth-of-type(n) 选择器匹配属于父元素的特定类型的第 N 个子元素的每个元素. n 可以是数字、关键词或公式。 阅读全文
posted @ 2017-08-24 15:17 alan-alan 阅读(349) 评论(0) 推荐(0) 编辑
摘要: /*border和padding计算入width之内,其实就是怪异模式了, 多用于排版 */ } #div{ box-sizing:border-box; -moz-box-sizing:border-box; /* Firefox */ -webkit-box-sizing:border-box; /* Safari */} /*1... 阅读全文
posted @ 2017-08-24 15:12 alan-alan 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1.拿到公司设计师给的PSD图(PC端给的是1920px的设计稿,移动端给的750px的设计稿)。2.自己新建一个项目目录(默认有css,js,images文件夹以及一个index.html文件)。3.分析设计图产出:图片图标(svg)到http://www.iconfont.cn/将所有的svg图 阅读全文
posted @ 2017-08-24 14:46 alan-alan 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 11 22 ... 阅读全文
posted @ 2017-08-23 18:20 alan-alan 阅读(778) 评论(1) 推荐(0) 编辑
摘要: demo angular2常用组件 更多参见 http://www.cnblogs.com/1wen/p/5564368.html 功能 代码参考 {{属性名}} 数据绑定对象 {{insuraceCompany.insurerName}} (click) 标签的点击事件 (click)="getI 阅读全文
posted @ 2017-08-23 16:30 alan-alan 阅读(239) 评论(0) 推荐(0) 编辑
摘要: js函数里的returnreturn 语句从当前函数退出,并从那个函数返回一个值js循环语句break/continuebreak 语句用于跳出循环。continue 用于跳过循环中的一个迭代。 阅读全文
posted @ 2017-08-23 13:48 alan-alan 阅读(141) 评论(0) 推荐(0) 编辑
摘要: js:控制器命名app.js定义的带路由的控制器,子页面里单独声明的控制器 app_demoCtr page_demoCtr 服务命名.factory('common',function($state,$ionicHistory,$ionicScrollDelegate){return{init: 阅读全文
posted @ 2017-08-23 11:08 alan-alan 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 等额本息试算 commonfn.init($scope); Math.pow();//幂运算 Math.round((principal*dividend/divisor)*100)/100;//四舍五入,保留2位小数 parseFloat();// 函数可解析一个字符串,并返回一个浮点数。 阅读全文
posted @ 2017-08-22 14:25 alan-alan 阅读(233) 评论(0) 推荐(0) 编辑
摘要: html <div class="bg_fff step" ng-if="ifshowKh !='1'"> <ul class="row step_icon3" id="step_icon3"> <li class="item step_type_1_off"></li> <div class="l 阅读全文
posted @ 2017-08-22 09:17 alan-alan 阅读(291) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页