上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 阅读全文
posted @ 2021-04-27 16:00 面包_girl 阅读(193) 评论(0) 推荐(0) 编辑
摘要: /*simplememory*/ #google_ad_c1, #google_ad_c2 {display:none;} .syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, .syntaxhighlighte 阅读全文
posted @ 2021-04-26 10:38 面包_girl 阅读(43) 评论(0) 推荐(0) 编辑
摘要: private _foramStringName(params: string) { if (!params) { return; } const regText = new RegExp('<highlight>', 'gi'); const regTextEnd = new RegExp('</ 阅读全文
posted @ 2021-03-25 14:35 面包_girl 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 1.安装 // 全局安装vue/cli npm install -g @vue/cli // 更新 vue upgrade --next // 安装项目 npm init vite-app my-app cd my-app npm i npm run dev 2.引入axios npm instal 阅读全文
posted @ 2021-01-11 16:43 面包_girl 阅读(2455) 评论(0) 推荐(0) 编辑
摘要: 1.首先执行以下命令安装 style-resources-loader; vue add style-resources-loader 2.然后安装scss/sass,node-sass sass-loader sass 属于重要依赖,所以需-D而不是-S; npm install node-sas 阅读全文
posted @ 2021-01-11 16:28 面包_girl 阅读(13001) 评论(0) 推荐(1) 编辑
摘要: <div class="border">hello world</div> .border { width: 150px; height: 40px; border-radius: 4px; text-align: center; line-height: 40px; color: deepskyb 阅读全文
posted @ 2020-07-14 14:21 面包_girl 阅读(137) 评论(0) 推荐(0) 编辑
摘要: <div class="line"></div> .line::after{ content: ""; display: block; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: line 阅读全文
posted @ 2020-07-14 11:21 面包_girl 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 1.请求接口时,请求类型设置为blob;responseType:'blob'; 2.将后端返回的文件流进行转换为ulr,新开窗口下载 let reader = new FileReader(); // 创建读取文件对象 let result: any; reader.addEventListene 阅读全文
posted @ 2020-07-13 14:20 面包_girl 阅读(14695) 评论(0) 推荐(0) 编辑
摘要: 1.新建一个Subject对象; private searchUserNick = new Subject<string>(); 2.在需要的地方调用这个对象 this.searchUserNick.next(val); 3.在ngOnInit中初始化 ngOnInit() { this.initS 阅读全文
posted @ 2020-07-13 14:13 面包_girl 阅读(458) 评论(0) 推荐(0) 编辑
摘要: document.styleSheets[0].addRule('#' + node.key + '::after', 'height:' + fileNameDom.clientHeight + 'px !important'); // 设置伪元素样式 document.styleSheets[0 阅读全文
posted @ 2020-07-06 17:33 面包_girl 阅读(2375) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页
/* 鼠标点击文字特效 */