自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 fetch

/** * 将对象转成 a=1&b=2的形式 * @param obj 对象 */function obj2String(obj, arr = [], idx = 0) {  for (let item in obj) {    arr[idx++] = [item, obj[item]]  }  return new URLSearchParams(arr).toStri...

2018-08-13 16:55:17 169

原创 canvas+js实现初级五子棋AI

<!DOCTYPE html><html><head> <title>chess</title><style type="text/css"> *{ padding: 0; margin:0; } #box{ width: 450px; height: 450px; border: 1px solid #000;

2018-05-19 11:29:11 365

原创 初用git 遇到的一些问题

git使用流程    git clone git@git.coding.........    git pull origin dev(git fetch origin; git merge origin/ent)    git checkout -b 你的分支名    撸代码。。。    git add .    git commit -m "本次更改的描述"    git push origi...

2018-04-26 19:00:19 206

转载 html+css3 制作太阳系行星运动动画

转载自http://www.cnblogs.com/kongxianghai/p/5568893.html<html><head>    <style>        .solarsys{            width: 800px;            height: 800px;;            position: relative;     ...

2018-04-19 14:27:51 2532

转载 js 日期格式化以及比较

1获得时间var myDate = new Date();2格式化日期Date.prototype.format = function(fmt) {      var o = {         "M+" : this.getMonth()+1,                 //月份         "d+" : this.getDate(),                    //日  ...

2018-03-14 11:25:58 715

原创 关于js数组的一些机试题

求数组中最大值:var arr=[1,2,3,4]var max=Math.max.apply(Math,arr);数组去重://新建一个数组arr。和一个对象obj,for循环每次取出一个数,将它存为对象的一个属性,如果该属性存在,则重复Array.prototype.unique = function(){ var arr = []; var obj =

2017-08-23 10:39:44 715

空空如也

空空如也

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

TA关注的人

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