上一页 1 2 3 4 5 6 7 ··· 25 下一页
摘要: es6 通信/编程/原理篇 一. 原理篇 1. 对 SPA 单页面应用的理解,优缺点是什么? SPA( single-page application )仅在 Web 页面初始化时加载相应的 HTML、JavaScript 和 CSS。⼀旦⻚⾯加载完成,SPA 不会因为用户的操作而进行页面的重新加载 阅读全文
posted @ 2021-07-26 21:14 TheYouth 阅读(785) 评论(0) 推荐(0) 编辑
摘要: 源码库: https://gitee.com/TheYouth/js-study.git 1. 防抖和截流 什么是防抖? 什么是截流? 2.underscore.js源码学习 3. 类型进阶 原始数据类型: NSNumber/String/Boolean/Sysbol/Null/Undefined 阅读全文
posted @ 2021-07-02 07:26 TheYouth 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 写完代码一定要自测,每个场景都要测试到,加油吧,骚年...... 说话之前一定要考虑后果,版本问题一定要回答谨慎些,比如这个版本就是明天发版(头疼ing......),一句话引发的血案 1.判断是否是微信浏览器 export function isWechat() { const ua = wind 阅读全文
posted @ 2021-03-28 15:53 TheYouth 阅读(99) 评论(0) 推荐(0) 编辑
摘要: swiper的使用 待更新 阅读全文
posted @ 2021-03-15 19:11 TheYouth 阅读(51) 评论(0) 推荐(0) 编辑
摘要: const originHeight = document.documentElement.clientHeight || document.body.clientHeight window.addEventListener('resize', () => { const resizeHeight 阅读全文
posted @ 2021-03-10 13:39 TheYouth 阅读(148) 评论(0) 推荐(0) 编辑
摘要: vuex生态 *单一状态树 state 唯一的数据源 getter 类似于computed 计算属性 同步修改数据 Vue Component commit > Mutation( >Devtools/ >Plugins 插件操作) Mutate > State(getter) Render > V 阅读全文
posted @ 2021-03-10 12:35 TheYouth 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 实现对各个组件进行校验 mixins hots rendless (推荐) 1.app中引入 <template> <div id="app"> <task-list/> </div> </template> <script> import taskList from '../src/views/t 阅读全文
posted @ 2021-02-22 19:33 TheYouth 阅读(463) 评论(0) 推荐(0) 编辑
摘要: https://www.mycodes.net/85/9609.html javaScript高级程序开发 阅读全文
posted @ 2021-02-20 16:41 TheYouth 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 1.less的使用,使用less时,需要下载Easy LESS,这样创建两个js文件,index.less及index.css,只用操作index.less会自动转化为index.css,还有设置 px时会提示转化为rem 2.动画 .div2 width: 8.0375rem; height: 8 阅读全文
posted @ 2021-01-24 23:22 TheYouth 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 未完待续... 1.实现的vue <!--聊天窗口--> <template> <div class="soundRecordDialog"> <el-dialog title="聊天窗口" :visible="soundVisible" :close-on-click-modal="false" 阅读全文
posted @ 2020-12-30 19:15 TheYouth 阅读(341) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 25 下一页