上一页 1 ··· 5 6 7 8 9 10 下一页

2017年5月5日

摘要: //存本地缓存 function setLocal(name,val){ var strStorage = localStorage.getItem("storageData"); var arrStorage = JSON.parse(strStorage); var objStorage = { 阅读全文
posted @ 2017-05-05 14:55 温温婉婉 阅读(167) 评论(0) 推荐(0) 编辑
 
摘要: //列表鼠标移入 和 点标记移上去markerList.on('listElementMouseenter markerMouseover markerClick listElementClick', function(event, record) { if (record && record.ma 阅读全文
posted @ 2017-05-05 14:49 温温婉婉 阅读(1155) 评论(0) 推荐(0) 编辑
 
摘要: 在页面加载时,运行这段文字就能加载海外地图了 map = new AMap.Map("mapViewContainer", { resizeEnable:true, zoom:18, center: [116.397428, 39.90923],//地图中心点}); //海外地图var google 阅读全文
posted @ 2017-05-05 14:42 温温婉婉 阅读(995) 评论(0) 推荐(0) 编辑

2017年4月23日

摘要: 构建一个ng表单 1.确保form上标签有一个name属性,像下面的例子一样。最好再加一个novalidate=”novalidate” 2.form中不能有action属性。提交交由ng-submit处理 3.每个input一定要有ng-model,最好有一个name方便引用。然后用require 阅读全文
posted @ 2017-04-23 10:51 温温婉婉 阅读(172) 评论(0) 推荐(0) 编辑

2017年4月14日

摘要: 步骤: 1.初始化 阅读全文
posted @ 2017-04-14 16:21 温温婉婉 阅读(341) 评论(0) 推荐(0) 编辑
 
摘要: html: 阅读全文
posted @ 2017-04-14 16:07 温温婉婉 阅读(342) 评论(0) 推荐(0) 编辑

2017年3月30日

摘要: 一、先学习:HTML => pug(jade)CSS => scssJS => JS / es6pug: https://segmentfault.com/a/1190000006198621scss: http://sass.bootcss.com/docs/scss-for-sass-users 阅读全文
posted @ 2017-03-30 10:19 温温婉婉 阅读(433) 评论(0) 推荐(0) 编辑

2017年3月23日

摘要: 原文: https://github.com/airbnb/javascript JavaScript规范 类型 原始值: 相当于传值 string number boolean null undefined var foo = 1, bar = foo; bar = 9; console.log( 阅读全文
posted @ 2017-03-23 14:03 温温婉婉 阅读(244) 评论(0) 推荐(0) 编辑

2017年3月22日

摘要: 此文参照原文: http://www.cnblogs.com/wdlhao/p/5599296.html 使用步骤:1:导入iscroll.js 2.拷贝demo index页面 <!DOCTYPE html><html ng-app="viewApp"> <head> <title>router< 阅读全文
posted @ 2017-03-22 16:37 温温婉婉 阅读(376) 评论(0) 推荐(0) 编辑

2017年3月2日

摘要: 第一次使用极光推送,在此记录下极光推送--通知 步骤: 1. 进入极光官网,注册账号密码,进入自己的账户后,创建一个应用 点击创建应用,进入下面的页面 因为我只做了android版的,所以只填了安卓相关信息,其中应用包名不能随便取,要与需要做极光推送的项目包名一致!!! 2. 打开cmd 进入项目, 阅读全文
posted @ 2017-03-02 17:09 温温婉婉 阅读(799) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页