03 2022 档案
摘要:在style经常用scoped属性实现组件的私有化时,要改变element-ui某个深层元素(eg:.el-input__inner)或其他深层样式时,需要使用/deep/,如 .conBox /deep/ .el-input__inner{ padding:0 10px; } 注意,/deep/在
阅读全文
摘要:https://blog.csdn.net/weixin_39513821/article/details/85002541 //转译 encodeURIComponent("https://zhidao.baidu.com"); //https%3A%2F%2Fzhidao.baidu.com /
阅读全文
摘要:【class*=hm-icon-】 包含class 带hm-icon-的 上图的意思是 button 下面包含hm-icon- 后面的span 加上margin this.$slots 可以获取到 有没有传插槽 cursor: not-allowed; 鼠标禁用图标 v-model 等价于 :val
阅读全文
摘要:input组件相对来说复杂一点,我们先从它用到的一个工具库calcTextareaHeight.js进行分析。 calcTextareaHeight.js calcTextareaHeight.js使用来计算文本框的高度的,我们根据代码顺序从上往下进行分析。 HIDDEN_STYLE HIDDEN_
阅读全文
摘要:https://www.jianshu.com/p/23c3a6d5dfdf <template> <div class="my-textarea"> <textarea ref="textarea" :style="{'height': height}" v-model="value" class
阅读全文
摘要:<div contenteditable="true">可以编辑里面的内容</div>
阅读全文
摘要:http://dplayer.js.org/zh/guide.html#special-sponsors DPlayer
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>我是蚊子</title> <style> .site__title { color: #abeaf7; background-image: -webkit-linear-gradi
阅读全文