上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: 对于含有中文的数据插入,需要添加 插入数据: 查询数据: 更新数据: 删除数据: 阅读全文
posted @ 2018-09-03 11:17 chenlw101 阅读(100) 评论(0) 推荐(0) 编辑
摘要: var data=data.sort(function(a,b){return b.kprq < a.kprq ? -1 : 1 }) [{ "fp_je": 200, "c_url": "", "kpfs": "1", "fp_zl": "普通发票", "c_jpg_url": "", "fp_hm": "14319945", "kprq": &qu 阅读全文
posted @ 2018-08-22 10:13 chenlw101 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 首先要引入angular-cookies.js插件 写一个服务,方便调用,加入服务cache 使用: 阅读全文
posted @ 2018-08-17 17:32 chenlw101 阅读(623) 评论(0) 推荐(0) 编辑
摘要: ui-sref、$state.go 的区别 ui-sref 一般使用在 <a>...</a>; $state.go('someState')一般使用在 controller里面; 2 如何传递参数 首先,要在目标页面定义接受的参数: 传参, $state.go: 接收参数,(加上$state) 获取 阅读全文
posted @ 2018-08-17 17:28 chenlw101 阅读(292) 评论(0) 推荐(0) 编辑
摘要: angular.module('app').config(['$stateProvider','$urlRouterProvider',function($stateProvider,$urlRouterProvider){ //$stateProvider路由模块,配置状态,可以放入多个.state //state(路由id,{路径,路由的url,业务逻辑}) $stateProv... 阅读全文
posted @ 2018-08-16 10:31 chenlw101 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 调用:<swipers-lbt data="lbts"></swipers-lbt> lbts: 阅读全文
posted @ 2018-08-15 13:50 chenlw101 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-08-14 15:42 chenlw101 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 指令里面,<div new-Str class="new"></div> 指令newStr,在外面用的时候要new-Str这样用 阅读全文
posted @ 2018-08-03 10:17 chenlw101 阅读(1017) 评论(0) 推荐(0) 编辑
摘要: window.innerHeight适用在移动端 pc端: 网页可见区域宽: document.body.clientWidth 网页可见区域高: document.body.clientHeight 网页可见区域宽: document.body.offsetWidth (包括边线的宽) 网页可见区 阅读全文
posted @ 2018-08-01 14:53 chenlw101 阅读(5865) 评论(1) 推荐(0) 编辑
摘要: //获取动态生成的元素 getJqforAnguar:function(jqid){ angular.element(document).injector().invoke(function($compile){// 编译html var $jqid = jqid; ... 阅读全文
posted @ 2018-07-25 10:48 chenlw101 阅读(262) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页