会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Rgzs
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
···
10
下一页
2023年8月3日
js 所有空格替换成任意字符
摘要:
阅读全文
posted @ 2023-08-03 15:00 飄落的葉子
阅读(59)
评论(0)
推荐(0)
2023年6月27日
将带标签的代码 插入到dom中
摘要:
阅读全文
posted @ 2023-06-27 15:36 飄落的葉子
阅读(12)
评论(0)
推荐(0)
2023年6月7日
js实现复制功能
摘要: https://blog.csdn.net/lalala_dxf/article/details/128374242 const url = this.url + e.manageId;const dom = document.createElement('input');dom.value = u
阅读全文
posted @ 2023-06-07 15:23 飄落的葉子
阅读(19)
评论(0)
推荐(0)
2022年8月15日
js实现复制功能
摘要:
阅读全文
posted @ 2022-08-15 17:24 飄落的葉子
阅读(16)
评论(0)
推荐(0)
2022年7月1日
解决手机端手机键盘遮挡下边内容问题
摘要: css代码: header ,main , footer { display: block; width: 100%;} header { position: fixed; height: 0px; left: 0; top: 0;}footer { position: fixed; height:
阅读全文
posted @ 2022-07-01 16:07 飄落的葉子
阅读(70)
评论(0)
推荐(0)
2022年4月21日
间隔线美化
摘要: 用渐变 width: 100%; height: 1px; background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%); background-size: 8px 1px; background-re
阅读全文
posted @ 2022-04-21 11:22 飄落的葉子
阅读(40)
评论(0)
推荐(0)
2022年3月25日
正则验证身份证、数字、数字字母
摘要: // 对不是必填属性的验证(手机号的验证)export const matchPhone = (control: FormControl): { [key: string]: boolean } => { if (control.value == null || '' control.value)
阅读全文
posted @ 2022-03-25 10:18 飄落的葉子
阅读(178)
评论(0)
推荐(0)
2022年1月26日
富文本框
摘要: 引用 "@tinymce/tinymce-angular": "^3.6.1","tinymce": "^5.10.1", // 方法editDataInfo(e, data) { console.log(e, data) this.addModal.isVisible = true; this.c
阅读全文
posted @ 2022-01-26 16:47 飄落的葉子
阅读(210)
评论(0)
推荐(0)
2021年12月28日
正则验证身份证号
摘要: SFZHChange() { console.log((/(^\d{15}$)|(^\d{17}([0-9]|X|[*])$)/.test(this.dataInfo.sfz))); if (!(/(^\d{15}$)|(^\d{17}([0-9]|X|[*])$)/.test(this.dataI
阅读全文
posted @ 2021-12-28 17:50 飄落的葉子
阅读(163)
评论(0)
推荐(0)
2021年12月6日
字符串转日期
摘要:
阅读全文
posted @ 2021-12-06 17:04 飄落的葉子
阅读(31)
评论(0)
推荐(0)
1
2
3
4
5
···
10
下一页