会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
面包_girl
记录各种小技能,知识点:https://huangmin1992.github.io/myBlog
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2021年4月27日
vue中img动态赋值src,路径未编码问题解决
摘要:
阅读全文
posted @ 2021-04-27 16:00 面包_girl
阅读(202)
评论(0)
推荐(0)
2021年4月26日
博客园自定义主题
摘要: /*simplememory*/ #google_ad_c1, #google_ad_c2 {display:none;} .syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, .syntaxhighlighte
阅读全文
posted @ 2021-04-26 10:38 面包_girl
阅读(46)
评论(0)
推荐(0)
2021年3月25日
html-标签转义-反转义
摘要: private _foramStringName(params: string) { if (!params) { return; } const regText = new RegExp('<highlight>', 'gi'); const regTextEnd = new RegExp('</
阅读全文
posted @ 2021-03-25 14:35 面包_girl
阅读(75)
评论(0)
推荐(0)
2021年1月11日
vue3.x +ts- 使用记录,踩坑
摘要: 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
阅读(2512)
评论(0)
推荐(0)
vue 3.x - 安装scss/sass
摘要: 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
阅读(13090)
评论(0)
推荐(1)
2020年7月14日
CSS-0.5px 边框
摘要: <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
阅读(143)
评论(0)
推荐(0)
CSS-自定义虚线
摘要: <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
阅读(541)
评论(0)
推荐(0)
2020年7月13日
post 请求,responseType为blob,后端返回文件流,前端进行转换下载
摘要: 1.请求接口时,请求类型设置为blob;responseType:'blob'; 2.将后端返回的文件流进行转换为ulr,新开窗口下载 let reader = new FileReader(); // 创建读取文件对象 let result: any; reader.addEventListene
阅读全文
posted @ 2020-07-13 14:20 面包_girl
阅读(14929)
评论(0)
推荐(0)
angular-debounceTime 防抖
摘要: 1.新建一个Subject对象; private searchUserNick = new Subject<string>(); 2.在需要的地方调用这个对象 this.searchUserNick.next(val); 3.在ngOnInit中初始化 ngOnInit() { this.initS
阅读全文
posted @ 2020-07-13 14:13 面包_girl
阅读(472)
评论(0)
推荐(0)
2020年7月6日
js-动态修改伪元素样式
摘要: document.styleSheets[0].addRule('#' + node.key + '::after', 'height:' + fileNameDom.clientHeight + 'px !important'); // 设置伪元素样式 document.styleSheets[0
阅读全文
posted @ 2020-07-06 17:33 面包_girl
阅读(2409)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
11
下一页
公告
/* 鼠标点击文字特效 */