好记性,不如烂笔头

万物寻其根,通其堵,便能解其困。
  博客园  :: 新随笔  :: 管理

随笔分类 -  VUE

摘要:<div id="app"> <child-component></child-component> </div> <script> Vue.component('child-component', { template: '<div ref="child">Child Component</div 阅读全文

posted @ 2025-03-07 10:46 阅读(3) 评论(0) 推荐(0)

摘要:获取节点宽度信息 // 获取节点信息 // uniapp获取 var query = uni.createSelectorQuery().in(this); query.select('.content-tips-area').boundingClientRect(data => { if (dat 阅读全文

posted @ 2025-01-04 10:04 阅读(1) 评论(0) 推荐(0)

摘要:获取节点位置: <div class="ques-audio-process-speed" @click="showSpeedArea($event)">{{playSpeed}}x</div> showSpeedArea:function(event){ var DOM = event.curre 阅读全文

posted @ 2024-12-30 19:07 阅读(3) 评论(0) 推荐(0)

摘要:一、出现“sill idealTree buildDeps” PS C:\Users\namejr\Desktop\1221> npm install jsencrypt [..................] / idealTree:1221: sill idealTree buildDeps 阅读全文

posted @ 2024-08-05 15:27 阅读(16) 评论(0) 推荐(0)

摘要:单步: this.showAreaInfos=["开始执行runningDemo..."]; var _this=this; new Promise((resolve, reject)=>{ var getRandomNum=Math.random(); _this.showAreaInfos.pu 阅读全文

posted @ 2024-07-18 15:51 阅读(14) 评论(0) 推荐(0)

摘要:离线引入(浏览器引入)/Vue2注册: 父模板(*.html): <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale 阅读全文

posted @ 2024-05-06 10:08 阅读(3) 评论(0) 推荐(0)

摘要:一、事件 1.Touch相关: @touchstart:开始事件;@touchmove:移动事件;@touchend结束事件 <div @touchstart.stop.prevent="touchstart" @touchmove.stop.prevent="touchmove" @touchen 阅读全文

posted @ 2024-03-31 21:43 阅读(17) 评论(0) 推荐(0)

摘要:下面是两个日期插件: 关于vue中的使用记得作用域的问题 阅读全文

posted @ 2020-04-01 21:50 阅读(2277) 评论(0) 推荐(0)

摘要:1.出现闪屏(显示源代码)等界面 出现问题(图片现象如:https://upload-images.jianshu.io/upload_images/3386108-cc0cda1d980b9586.gif?imageMogr2/auto-orient/strip|imageView2/2/w/28 阅读全文

posted @ 2020-03-31 15:14 阅读(208) 评论(0) 推荐(0)

只有注册用户登录后才能阅读该文。

posted @ 2019-11-21 19:48 阅读(8) 评论(0) 推荐(0)