会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
十方故里
博客园
首页
新随笔
联系
订阅
管理
2020年7月4日
小程序canvas实现环形进度条
摘要: 不多说直接上代码: export default{ data: { }, options:{ drawerbg:function(id){ let ctx = wx.createCanvasContext(id); wx.createSelectorQuery().select('#'+id).bo
阅读全文
posted @ 2020-07-04 16:55 十方故里
阅读(1135)
评论(0)
推荐(0)
2020年6月5日
原生js实现分页
摘要: <!doctype html> <html> <head> <meta charset="UTF-8"> <title>....</title> <style type="text/css"> .ui-pagination .jump, .ui-pagination .page, .ui-pagin
阅读全文
posted @ 2020-06-05 14:17 十方故里
阅读(1457)
评论(0)
推荐(0)
2020年4月10日
js 函数节流和防抖
摘要: //节流 在规定时间内 只触发第一次 function throttle (fn,delay=1000) { var flag = 0; return function(){ var nowTime = Date.now(); if(nowTime-flag>delay){ fn.apply(thi
阅读全文
posted @ 2020-04-10 17:41 十方故里
阅读(227)
评论(0)
推荐(0)
高德地图
摘要: var plugin = ['AMap.OverView','AMap.Scale','AMap.ToolBar'];//后面用到的插件要在这里添加才能用 var script = document.createElement('script'); script.type = 'text/javas
阅读全文
posted @ 2020-04-10 15:06 十方故里
阅读(199)
评论(0)
推荐(0)
2020年4月8日
git 本地仓库关联到远程仓库
摘要: 将本地仓库关联到远程仓库 方式一:远程仓库没有文件 step_one: git init(初始化git仓库); step_two: git remote add 地址(设置remote地址); step_three: git add . (将所有变更提交到本地仓库); step_four: git
阅读全文
posted @ 2020-04-08 14:09 十方故里
阅读(1123)
评论(0)
推荐(0)
公告