会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
guo-siqi
博客园
首页
新随笔
联系
订阅
管理
2023年8月30日
java中判断String是否为数字类型字符串
摘要: 一:判断java中的字符串是否为数字,可以通过正则表达式来判断;其判断逻辑如下: 1、根据阿里巴巴代码规范,将Pattern设置为全局常量,通过 -?[0-9]+(\\\\.[0-9]+)? 进行匹配是否为数字 private static final Pattern pattern = Patte
阅读全文
posted @ 2023-08-30 16:55 见贤思“奇”
阅读(524)
评论(0)
推荐(0)
2023年2月17日
vue添加一个可拉伸边框的线条
摘要: <div id="middle" ref="middle" @mousedown="dragMousedown"></div> #middle{ width: 5px; height: 100%; background-color: #d6d6d6; margin-top: -40px; posit
阅读全文
posted @ 2023-02-17 17:24 见贤思“奇”
阅读(166)
评论(0)
推荐(0)
2023年1月5日
css选择两个类名下的子类 :is()>child
摘要: :is(.parent1, .parent2, ...) > child { ... } 当同时修改多个类名下的子类时可以用 :is(.parent1,... 各种类名 )>child
阅读全文
posted @ 2023-01-05 15:35 见贤思“奇”
阅读(98)
评论(0)
推荐(0)
2022年12月25日
dom标签快捷键
摘要: 1 <!-- 快速键入多个标签 div*3[tab] --> 2 <div tab=""></div> 3 <div tab=""></div> 4 <div tab=""></div> 5 <!-- 带id和类名的标签 div.name#age*3--> 6 <div class="name" i
阅读全文
posted @ 2022-12-25 15:00 见贤思“奇”
阅读(44)
评论(0)
推荐(0)
2022年12月23日
js原生拖拽效果
摘要: <div class="list"> <div class="list-item" draggable="true" style="--color:#e63e31"> <span class="list-item-title">双鱼座</span> </div> <div class="list-i
阅读全文
posted @ 2022-12-23 10:26 见贤思“奇”
阅读(58)
评论(0)
推荐(0)
vue 中简单的使用css变量 --color
摘要: <div class="list"> <div class="list-item" draggable="true" style="--color:#e63e31"> <span class="list-item-title">双鱼座</span> </div> <div class="list-i
阅读全文
posted @ 2022-12-23 10:19 见贤思“奇”
阅读(206)
评论(0)
推荐(0)
2022年11月20日
git提交出现问题
摘要: 有时候git提交容易出现想pull的时候但是已经commit了的报错 这时候可以先将commit暂时隐藏 解决方案:修复冲突第一步:git stash第二步:git pull --rebase第三步:git stash pop
阅读全文
posted @ 2022-11-20 21:46 见贤思“奇”
阅读(25)
评论(0)
推荐(0)
2022年8月16日
页面滚动到指定dom的位置
摘要: // 1.使用wx.createSelectorQuery()查询到需要滚动到的元素位置 wx.createSelectorQuery().select('#bb4').boundingClientRect(res => { console.log(res); // 到这里,我们可以从res中读到c
阅读全文
posted @ 2022-08-16 11:28 见贤思“奇”
阅读(348)
评论(0)
推荐(0)
2022年7月12日
Vue自定义指令实现点击Dom外元素触发事件
摘要: 1.创建directive.js文件 import Vue from "vue"; // 提交验证 Vue.directive("clickOutside", { // 初始化指令 bind(el, binding, vnode) { function clickHandler(e) { // 这里
阅读全文
posted @ 2022-07-12 10:09 见贤思“奇”
阅读(1418)
评论(0)
推荐(0)
2022年6月30日
css制作圆形进度条
摘要: https://blog.csdn.net/tdl081071tdy/article/details/106547045 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" cont
阅读全文
posted @ 2022-06-30 09:50 见贤思“奇”
阅读(455)
评论(0)
推荐(0)
下一页
公告