会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
怪咖咖
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
25
下一页
2019年6月3日
js验证:密码只能为大写字母+小写字母+数字的8至15位字符组合
摘要: var reg = /^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])[a-zA-Z0-9]{8,15}$/; // alert(password); if(reg.test(password)){ return true; ...
阅读全文
posted @ 2019-06-03 11:34 怪咖咖
阅读(9434)
评论(0)
推荐(0)
2019年5月28日
手机端可拖动控件
摘要: if((x+100)>api.winWidth){ x = api.winWidth - 100 } if(x<0){ x = 100 } if((y+100)>api.winHeight){ y = api.winHeight - 100 } if(y<0){ y = 100 }
阅读全文
posted @ 2019-05-28 11:01 怪咖咖
阅读(215)
评论(0)
推荐(0)
2019年5月23日
framework7 底部弹层popup js关闭方法
摘要: 同意 拒绝 提交 send: function () { var that = this; if(that.yuanyin==''){ showAlert(myApp,'请填写拒绝原因'); ...
阅读全文
posted @ 2019-05-23 11:46 怪咖咖
阅读(1189)
评论(0)
推荐(0)
2019年5月5日
div动画旋转效果
摘要: animation: spin 10s linear infinite;
阅读全文
posted @ 2019-05-05 09:27 怪咖咖
阅读(691)
评论(0)
推荐(0)
2019年4月24日
apicloud实现各种自定义弹层组件
摘要:
阅读全文
posted @ 2019-04-24 15:11 怪咖咖
阅读(654)
评论(0)
推荐(0)
2019年3月21日
解决ios10以上H5页面手势、双击缩放问题
摘要: html:<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" /> js: window.onload = function() { //
阅读全文
posted @ 2019-03-21 17:32 怪咖咖
阅读(2662)
评论(1)
推荐(0)
2019年2月26日
select标签默认选项
摘要: 1、selected:默认选择该选项; 2、disabled:该选项不能被鼠标选择;(注:选项没有被隐藏的时候) 3、style="display:none":隐藏该选项;(注:该选项不会出现在下拉列) 4、value="":该选项value为“”;(注:可做表单验证)
阅读全文
posted @ 2019-02-26 13:44 怪咖咖
阅读(2841)
评论(0)
推荐(0)
2019年1月9日
vue三级联动
摘要: app = new Vue({ el: '#app', data: { province: [], city: [], ...
阅读全文
posted @ 2019-01-09 11:11 怪咖咖
阅读(860)
评论(0)
推荐(0)
2018年12月24日
手动安装composer详细教学
摘要: 1.下载compser.phar 地址 https://getcomposer.org/download/ 2.新建composer.bat 文件,写入“@php "%~dp0composer.phar" %*” 3.把composer.bat composer.phar 两个文件放入 D:\php
阅读全文
posted @ 2018-12-24 17:10 怪咖咖
阅读(456)
评论(0)
推荐(0)
2018年12月7日
密码校验:长度6位以上,至少包含一个数字,一个大写字母,一个小写字母,不包含空格
摘要: ^((?=\S*?[A-Z])(?=\S*?[a-z])(?=\S*?[0-9]).{6,})\S$
阅读全文
posted @ 2018-12-07 10:30 怪咖咖
阅读(1231)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
25
下一页
公告