• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
我的代码笔记
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2019年11月22日

关联仓库和创建分支
摘要: git remote add origin 地址; git push -u origin master; 如果出现报错就git pull --rebase origin master;后再push 在本地新建一个分支: git branch Branch1切换到你的新分支: git checkout 阅读全文
posted @ 2019-11-22 14:41 我的代码笔记 阅读(331) 评论(0) 推荐(0)
 
 

2019年11月12日

rem+js布局
摘要: (function(){ var html=document.querySelector('html') window.onresize=function(){ html.style.fontSize=window.innerWidth/7.5+'px' } })() 阅读全文
posted @ 2019-11-12 22:24 我的代码笔记 阅读(202) 评论(0) 推荐(0)
 
 

2019年9月17日

时间戳的格式转换
摘要: // 格式化日期,如月、日、时、分、秒保证为2位数function formatNumber (n) { n = n.toString() return n[1] ? n : '0' + n;}// 参数number为毫秒时间戳,format为需要转换成的日期格式function formatTim 阅读全文
posted @ 2019-09-17 16:17 我的代码笔记 阅读(799) 评论(0) 推荐(0)
 
 

2019年8月13日

分页器
摘要: <template> <div class="page-bar"> <ul> <li v-if="cur>1"> <a v-on:click="cur--,pageClick()">上一页</a> </li> <li v-if="cur==1"> <a class="banclick">上一页</a 阅读全文
posted @ 2019-08-13 11:20 我的代码笔记 阅读(202) 评论(0) 推荐(0)
 
 

2019年4月22日

数组的方法
摘要: 在排序时,sort()方法会调用每个数组项的 toString()转型方法,然后比较得到的字符串,以确定如何排序。即使数组中的每一项都是数值, sort()方法比较的也是字符串 例如: var arr=["a","d","c","b"]; console.log(arr.sort()) 升序排列 f 阅读全文
posted @ 2019-04-22 18:21 我的代码笔记 阅读(134) 评论(0) 推荐(0)
 
 

2019年4月12日

IE8不支持的方法
摘要: bind() find() 阅读全文
posted @ 2019-04-12 14:22 我的代码笔记 阅读(178) 评论(0) 推荐(0)
 
 

2019年3月31日

highchart在IE8下面的显示问题解决
摘要: 完整的代码: <!DOCTYPE HTML><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-wi 阅读全文
posted @ 2019-03-31 20:33 我的代码笔记 阅读(224) 评论(0) 推荐(0)
 
 

2019年3月27日

浏览器兼容的条件注释
摘要: <!--[if !IE]>--> <script src="${ctxWeb}/plugins/jquery/jquery.min.js"></script> //非IE浏览能识别 <!--<![endif]--> <!--[if lt IE 9]> <script src="${ctxWeb}/p 阅读全文
posted @ 2019-03-27 11:22 我的代码笔记 阅读(146) 评论(0) 推荐(0)
 
 

2019年3月26日

jquery的历史版本
摘要: http://code.jquery.com/jquery/ 阅读全文
posted @ 2019-03-26 17:30 我的代码笔记 阅读(378) 评论(0) 推荐(0)
 
bootstrap实现列的拖动
摘要: <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title></title><link rel="stylesheet" type="text/css" href="css/bootstrap.css"/> <style typ 阅读全文
posted @ 2019-03-26 14:27 我的代码笔记 阅读(2157) 评论(0) 推荐(0)
 
 
下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3