自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 iconfont字体图标制作

IcoMoon 阿里巴巴矢量图标库 fontawesome 用法: 从网站上下载好字体图标文件包; 引入里面的css文件; 一个类名对应一个字体图标;

2019-12-07 17:14:47 145

原创 echarts使用

使用ECharts 使用NPM: npm install echarts --save. 画一个简单的图表 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <!-- including ECharts file --> <script sr...

2019-12-04 17:20:30 276

原创 正则

. 长度限制 只能是汉字 <input οnkeyup=“value=”/oblog/value.replace(/[^\u4E00-\u9FA5]/g,’’)"> 3." 只能是英文 只能是数字 只能是英文字符和数字 <input οnkeyup=“value=”/oblog/value.replace(/[\W]/g,"’’) ...

2019-12-04 10:56:40 96

原创 js

手机端左右滑动防止屏幕晃动 document.body.addEventListener('touchmove', function (e) { //阻止默认的处理方式(阻止下拉滑动的效果) e.preventDefault(); }, {passive: false}); //passive 参数不能省略,用来兼容ios和android ...

2019-11-11 08:42:05 198

原创 vue.js

mixin 混入 (mixin) 提供了一种非常灵活的方式,来分发 Vue 组件中的可复用功能。一个混入对象可以包含任意组件选项。当组件使用混入对象时,所有混入对象的选项将被“混合”进入该组件本身的选项。 // 定义一个混入对象 var myMixin = { created: function () { this.hello() }, methods: { hello...

2019-10-25 09:59:50 642 1

原创 Array

array.filter 语法:array.filter(function(currentValue,index,arr), thisValue) var ages = [32, 33, 16, 40]; function checkAdult(age) { return age >= 18; } function myFunction() { document.getEle...

2019-10-24 11:23:45 91

原创 处理URL参数

encodeURIComponent() 函数可把字符串作为 URI 组件进行编码。【常用于路径参数拼接转换】 <script type="text/javascript"> document.write(encodeURIComponent("http://www.w3school.com.cn")) document.write("<br />") document.w...

2019-10-24 11:10:15 250

原创 git出现的bug

Unexpected end of JSON input while parsing near '...a.31.tgz"}},"7.0.0-be'git pull遇到错误:error: Your local changes to the following files would be overwritten by merge: **解决:**没有cd 到对应项目文件。 git pull遇到错误...

2019-10-23 15:40:01 337

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除