上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
摘要: wx.ml <view class="concact_index"> <view class="ai_top" style='height:{{titleBarHeight}}rpx;line-height:{{titleBarHeight}}rpx;padding-top:{{statusBarH 阅读全文
posted @ 2021-07-27 10:15 还有什么值得拥有 阅读(68) 评论(0) 推荐(0) 编辑
摘要: //给事件绑定blur焦点丢失事件 // {num:0} 传值 num:0 $(".input").eq(0).bind("blur", { num: 0 }, checkFun); //检验一般值不为空 function checkFun(d) { //获取传入的值 console.log(d.d 阅读全文
posted @ 2021-07-16 14:28 还有什么值得拥有 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 短信验证码写法 一般购买厂商都可以找下 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1. 阅读全文
posted @ 2021-06-30 22:15 还有什么值得拥有 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1安装 yarn add video.js yarn add videojs-contrib-hls // 这是播放hls流需要的插件 yarn add mux.js // 在vue项目中,若不安装它可能报错 2 vue中 main.js中引入 //video js import "video.js 阅读全文
posted @ 2021-06-30 09:54 还有什么值得拥有 阅读(673) 评论(0) 推荐(0) 编辑
摘要: ES5 构造函数 function Person(){ this.name='建林'; this.age=18; this.say=function(){ console.log('person的say') } } let p1=new Person(); console.log(p1.name); 阅读全文
posted @ 2021-06-29 21:53 还有什么值得拥有 阅读(62) 评论(0) 推荐(0) 编辑
摘要: <template> <el-table :data="tableData" :key="random" style="width: 100%" :header-cell-style="{ 'text-align': 'center' }" :cell-style="{ 'text-align': 阅读全文
posted @ 2021-06-29 16:01 还有什么值得拥有 阅读(1400) 评论(0) 推荐(0) 编辑
摘要: 完整的导航解析流程 导航被触发。 在失活的组件里调用 beforeRouteLeave 守卫。 调用全局的 beforeEach 守卫。 在重用的组件里调用 beforeRouteUpdate 守卫 (2.2+)。 在路由配置里调用 beforeEnter。 解析异步路由组件。 在被激活的组件里调用 阅读全文
posted @ 2021-06-28 10:58 还有什么值得拥有 阅读(75) 评论(0) 推荐(0) 编辑
摘要: node先把所有要执行的任务丢到执行栈(区分同步任务和异步任务) 先执行同步任务,所有同步任务执行完毕之后在执行异步任务 同步任务又分为宏任务和微任务 异步任务执行顺序 阅读全文
posted @ 2021-06-27 23:43 还有什么值得拥有 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 前端封装方法 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Do 阅读全文
posted @ 2021-06-27 19:08 还有什么值得拥有 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 中间件一般都是通过i修改req 或res对象来为后续的处理提供遍历的使用 中间件分类 next 放行函数 use(function(req,res,next){}) use('请求路径',function(req,res,next){}) get('请求路径',function(req,res,ne 阅读全文
posted @ 2021-06-27 14:08 还有什么值得拥有 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页