摘要: 父元素添加 -webkit-transform:rotate(0deg); 参考地址 https://www.cnblogs.com/dlm17/p/12470475.html 阅读全文
posted @ 2021-11-05 11:36 铜镜123 阅读(206) 评论(0) 推荐(0) 编辑
摘要: .live-anime { display: inline-block; vertical-align: bottom; width: 2px; background-color: white; border-radius: 2px 2px 0 0; margin-left: 2px; } .liv 阅读全文
posted @ 2021-11-05 11:30 铜镜123 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 新建分支 git checkout -b git-new git push origin git-new:git-new 删除分支 git push origin --delete dev git branch -d dev 打tag git tag tagName git push origin 阅读全文
posted @ 2021-02-01 11:32 铜镜123 阅读(30) 评论(0) 推荐(0) 编辑
摘要: <input class="input-main" @click="clickInput" v-model="iphone" @blur="inputBlur" placeholder="请输入手机号" /> clickInput(e) { e.stopPropagation(); e.target 阅读全文
posted @ 2020-05-08 16:51 铜镜123 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 祖先--后代 provide inject index.js provide: { indexVal: 'indexVal--grandson1' }, grandson.js <div>{{indexVal}}</div> inject: ['indexVal'], 后代--祖先 dispatch 阅读全文
posted @ 2020-04-27 16:25 铜镜123 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 一、概念 yarn为了补足npm的缺陷而出现 二、比npm的优势 1.并行安装 yarn 同步每个package并行安装,提高了优势 2.离线模式 若之前已经安装过安装包,yarn 从之前的缓存中提取 3.安装版本统一 yarn 有锁定文件(lock file) 记录了确切被安装模块的版本号,每次新 阅读全文
posted @ 2020-03-27 16:41 铜镜123 阅读(755) 评论(0) 推荐(0) 编辑
摘要: 参考文档 https://www.cnblogs.com/z937741304/archive/2019/11/06/11809547.html 方法一: onerror onerror加载默认图片 方法二:自定义指令 建议先加载图片,图片加载错误后加载默认图片,自定义指令可在不同页面使用,避免代码 阅读全文
posted @ 2020-03-27 11:09 铜镜123 阅读(3123) 评论(0) 推荐(0) 编辑
摘要: // 56为动画帧数 280rem为动画总长度,可以用px .ani-no{ width: 5rem; height: 2rem; margin: 0 auto; background: url('./../assets/images/ani/ani-no.png') 0 0 no-repeat; 阅读全文
posted @ 2020-01-15 10:40 铜镜123 阅读(84) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="home-main"> <div class="progress-main"> <div class="progress-content" :style="{width: width100}"></div> </div> </div> </templat 阅读全文
posted @ 2019-12-19 18:01 铜镜123 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: 1.在终端引入xss,命令: npm install xss --save 2.在vue的页面进行引入 import xss from 'xss' 测试 <p v-html="test"></p> export default { data () { return { test: `<a oncli 阅读全文
posted @ 2019-11-25 17:45 铜镜123 阅读(15994) 评论(0) 推荐(1) 编辑