上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页
摘要: 只需要在路由index.js配置meta的title就可以,然后在main.js实现页面改变title 如果想为了seo的话,可以添加name,和content main.js 阅读全文
posted @ 2018-06-12 09:54 cyany_blue 阅读(803) 评论(0) 推荐(0) 编辑
摘要: es6: 1.let and const 2.Arorw functions 3.Default parameters 4.for of loop 5.Spread attributes 6.Maps 7.Sets 8.Static methods 9.getters and Setters let 阅读全文
posted @ 2018-06-10 22:17 cyany_blue 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 安装: https://www.npmjs.com/package/vue router npm i vue router 动态路由: 在需要在router文件夹的index.js先注册好需要的路由页面 并且设置好动态路由之后的地址展示 在跳转之后页面中我们可以接收我们动态传过来的参数, 使用$ro 阅读全文
posted @ 2018-06-08 23:28 cyany_blue 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 包地址:https://www.npmjs.com/package/vue lazyload 安装: npm install vue lazyload D 用法: 更多详细配置参考文档上面的地址 注意:坑点出现了 因为图片是main.js里面的,webpack是不是处理的 所以需要处理一下 如果使用 阅读全文
posted @ 2018-06-08 10:27 cyany_blue 阅读(94) 评论(0) 推荐(0) 编辑
摘要: abs() :该方法给出了参数的绝对值,参数可以是int,float,long,double,short,byte ceil():该方法给出大于或等于参数的最小整数 floor() 该方法给出小于或等于参数的最大整数 rint():返回值最接近参数的整数 round():返回最接近的long或int 阅读全文
posted @ 2018-06-06 23:15 cyany_blue 阅读(120) 评论(0) 推荐(0) 编辑
摘要: reference: https://www.w3cschool.cn/echarts_tutorial/echarts_tutorial 7o3u28yh.html 阅读全文
posted @ 2018-06-06 22:52 cyany_blue 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 因为项目需要一套好看的ui,所以还是使用了一下weui,看着官网的开发文档,实在令人难受,找了半天才找到案例 开发文档:https://github.com/Tencent/weui.js/blob/master/docs/component/picker.md https://github.com 阅读全文
posted @ 2018-06-06 22:30 cyany_blue 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 通常,当我使用number类型的时候,我们可以使用原始数据类型例如byte,int,long,double等 所有包装类(整型,长型,字节型,双精度型,浮点型,短型)都是抽象类Number的子类 将原始数据类型转换为对象叫包装 方法: xxxValue() :将Number对象类型的值转为原始数字类 阅读全文
posted @ 2018-06-05 22:51 cyany_blue 阅读(203) 评论(0) 推荐(0) 编辑
摘要: if int x = 10; if( x 阅读全文
posted @ 2018-06-04 20:58 cyany_blue 阅读(19749) 评论(0) 推荐(0) 编辑
摘要: while 循环 for循环 for(initialization;expression;update){//注意是分号的 //xxxx } for(int x = 10; x 阅读全文
posted @ 2018-06-04 20:45 cyany_blue 阅读(185) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页