摘要: [ { "mhcode":"7017", "jk":"HHAD", "data":[ { "jackpot":"HHAD", "option":"2[1]@1.430", "mhcode":"7017" } ] }, { "mhcode":"7027", "jk":"HAD", "data 阅读全文
posted @ 2018-03-12 15:42 happiness木木 阅读(1126) 评论(0) 推荐(0) 编辑
摘要: this.QUERY.betline(this.order_id, this.lottery_type, this.agentId, this.flag).subscribe(data => { if (data.data != null) { this.Nodata1 = false; //thi 阅读全文
posted @ 2018-03-09 15:21 happiness木木 阅读(334) 评论(0) 推荐(0) 编辑
摘要: @NgModule({ imports: [ BrowserModule, ElModule.forRoot(), HttpModule, // RouterModule.forRoot(ROUTES) RouterModule.forRoot( ROUTES, { enableTracing: f 阅读全文
posted @ 2018-03-01 18:20 happiness木木 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 希望的是将下面的对象数组: [ {"id":"1001","name":"值1","value":"111"}, {"id":"1001","name":"值1","value":"11111"}, {"id":"1002","name":"值2","value&quo 阅读全文
posted @ 2017-08-29 17:50 happiness木木 阅读(282) 评论(0) 推荐(0) 编辑
摘要: function fun_date(aa){ var date1 = new Date(), time1=date1.getFullYear()+"-"+(date1.getMonth()+1)+"-"+date1.getDate();//time1表示当前时间 var date2 = new Da 阅读全文
posted @ 2017-08-24 18:31 happiness木木 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 方法1:使用ajaxStart方法定义一个全局的“加载中。。。”提示 $(function(){ $("#loading").ajaxStart(function(){ $(this).html.("<img src='/jqueryStu/images/loading.gif' />"); }); 阅读全文
posted @ 2017-08-17 15:12 happiness木木 阅读(2399) 评论(0) 推荐(0) 编辑
摘要: 1、sessionStorage主要含几种方法: //页面A:存放一个简单的字符串 sessionStorage.obj = '123'; //页面B:取到给obj var str = sessionStorage.obj; //类型地: sessionStorage.setItem(key,val 阅读全文
posted @ 2017-08-02 17:26 happiness木木 阅读(1150) 评论(0) 推荐(0) 编辑
摘要: 本人是查看如下链接: http://down.admin5.com/demo/code_pop/cs/dsj/doc/example/themeDesigner.html# 图示很简洁明了。 阅读全文
posted @ 2017-01-12 13:37 happiness木木 阅读(2124) 评论(0) 推荐(0) 编辑
摘要: 禁止鼠标右键、禁止全选、复制、粘贴; oncontextmenu事件禁用右键菜单; js代码: onselectstart事件禁用网页上选取的内容; js代码: oncopy事件禁用复制; js代码: 以上三种事件,如果只想单纯的禁用鼠标右键,和复制粘贴,还可以将它们直接写到HTML中的body上面 阅读全文
posted @ 2017-01-10 15:14 happiness木木 阅读(42662) 评论(1) 推荐(5) 编辑
摘要: 跨域,前端开发中经常遇到的问题,AngularJS实现跨域方式类似于Ajax,使用CORS机制。 下面阐述一下AngularJS中使用$http实现跨域请求数据。 AngularJS XMLHttpRequest:$http用于读取远程服务器的数据 一、$http.jsonp【实现跨域】 1. 指定 阅读全文
posted @ 2017-01-09 17:28 happiness木木 阅读(3177) 评论(0) 推荐(0) 编辑