会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
張筱磊iii
_真正的高贵,非优于别人,而优于过去的自己
博客园
首页
新随笔
联系
订阅
管理
2021年7月1日
ios兼容or移动端适配相关
摘要: ios click事件闪烁 延迟 // css控制 div,a,img { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select:no
阅读全文
posted @ 2021-07-01 16:41 張筱磊iii
阅读(78)
评论(0)
推荐(0)
2021年6月3日
封装Message和ButtonUI组件(vue3Composition API+TS+ Less )
摘要: Message 消息提示 Message/index.vue <template> <div :class="['message-box', messageData.type]" v-if="variable"> {{ messageData.msg }} </div> </template> <s
阅读全文
posted @ 2021-06-03 17:46 張筱磊iii
阅读(198)
评论(0)
推荐(0)
2021年5月28日
记录一下开始ts学习-typescript基础
摘要: 基础类型 let flag:boolean = false; let count:number = 0; let name:string = 'zhanglei'; let und:undefined = undefined; let nu:null = null; // 数组 let array:
阅读全文
posted @ 2021-05-28 15:46 張筱磊iii
阅读(74)
评论(0)
推荐(0)
2021年5月7日
Webpack前端构建工具
摘要: Entry 入口 - string 打包形成一个chunk 输出一个bundle 文件 - array 多入口 HRM功能中html热更新 - object 多入口 多个chunk 多个bundle Output 输出 - filename - path - publicPath 资源引入路径 -
阅读全文
posted @ 2021-05-07 14:06 張筱磊iii
阅读(79)
评论(0)
推荐(0)
2021年4月21日
vue自定义指令
摘要: directives 钩子函数 bind 绑定到元素时调用 一次 inserted 被绑定元素插入父节点时调用 update componentUpdated 组件的 VNode 及其子 VNode 全部更新后调用 unbind 与元素解绑时调用 一次 钩子参数 el 绑定的元素 binding 对
阅读全文
posted @ 2021-04-21 17:49 張筱磊iii
阅读(49)
评论(0)
推荐(0)
2021年4月12日
tools公共方法
摘要: export const getQueryString = (name: any) => { let url = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); let newUrl = window.location.search.substr(1).m
阅读全文
posted @ 2021-04-12 10:35 張筱磊iii
阅读(79)
评论(0)
推荐(0)
2021年3月30日
随笔-记录一下项目中vue.config.js文件配置
摘要: const path = require("path"); const fs = require("fs"); const resolve = dir => { return path.join(__dirname, dir); }; const env = process.env.NODE_ENV
阅读全文
posted @ 2021-03-30 18:09 張筱磊iii
阅读(185)
评论(0)
推荐(0)
2021年3月2日
js相关(一)
摘要: (一) 1.闭包 定义:闭包就是能够读取其他函数内部变量的函数,将函数内部和函数外部连接起来的桥梁 意义:能够间接的访问函数内部变量 作用:内存常驻,隔离作用域,可以用来定义私有属性 和 私有方法 弊端:常驻内存 会增大内存的使用量 使用不当会造成内存泄露,可以改变父函数内部变量的值 2.变量作用域
阅读全文
posted @ 2021-03-02 14:28 張筱磊iii
阅读(32)
评论(0)
推荐(0)
公告