上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页

2022年9月9日

mysql 使用函数验证身份证(简易)

摘要: CREATE DEFINER=`root`@`%` FUNCTION `check_jumin_idcard`(`idcard` varchar(50)) RETURNS tinyint(1) BEGIN if idcard regexp '[0-9]{18}|[0-9]{17}X|[0-9]{15 阅读全文

posted @ 2022-09-09 10:59 小馬過河﹎ 阅读(164) 评论(0) 推荐(0)

mysql 触发器修改密码

摘要: #admin_before_insert if (new.user_pass<>'' and new.user_pass is not null) then set new.user_pass=md5(new.user_pass); else set new.user_pass='' end if; 阅读全文

posted @ 2022-09-09 10:58 小馬過河﹎ 阅读(23) 评论(0) 推荐(0)

常用正则表达式

摘要: //手机号码 /^[1][1,2,3,4,5,7,8,9][0-9]{9}$/ //汉字 /^[\u0391-\uFFE5]+$/ 阅读全文

posted @ 2022-09-09 10:56 小馬過河﹎ 阅读(10) 评论(0) 推荐(0)

layer.alert|layer.msg图标

摘要: ![image](https://img2022.cnblogs.com/blog/316407/202209/316407-20220909105409547-1638618656.png) ![image](https://img2022.cnblogs.com/blog/316407/202209/316407-20220909105413749-446560884.png) ![image 阅读全文

posted @ 2022-09-09 10:55 小馬過河﹎ 阅读(18) 评论(0) 推荐(0)

div圆角头像

摘要: <div class="avator" style="background: url({:format_person_photo($vo[person_photo],$vo[person_sex])});" ></div> .avator { width: 60px; height: 60px; b 阅读全文

posted @ 2022-09-09 10:53 小馬過河﹎ 阅读(15) 评论(0) 推荐(0)

layui layedit

摘要: <textarea id="edit" name="article_content" style="display: none;" >{$row[article_content]}</textarea> layui.use(['layedit'], function () { var 'form', 阅读全文

posted @ 2022-09-09 10:52 小馬過河﹎ 阅读(82) 评论(0) 推荐(0)

php本月第一天/本月最后一天

摘要: 本月第一天 $month_first_day=date('Y-m-01',strtotime(date("Y-m-d"))); 本月第二天 $month_last_day=date('Y-m-d',strtotime("$month_first_day +1 month -1 day")); 202 阅读全文

posted @ 2022-09-09 10:51 小馬過河﹎ 阅读(16) 评论(0) 推荐(0)

uniapp/微信小程序 获取手机号码

摘要: <button type="primary" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber" >获取本机号码</button> getPhoneNumber(e) { this.$request({ url: 'user/get 阅读全文

posted @ 2022-09-09 10:50 小馬過河﹎ 阅读(340) 评论(0) 推荐(0)

uniapp 获取视窗高度

摘要: , onReady: function() { uni.getSystemInfo({ success: function(res) { pageHeight = res.windowHeight console.log('pageHeight',pageHeight) } }) setTimeou 阅读全文

posted @ 2022-09-09 10:49 小馬過河﹎ 阅读(27) 评论(0) 推荐(0)

css 分隔竖线

摘要: .fly-mid { display: inline-block; height: 10px; width: 1px; margin: 0 10px; vertical-align: middle; background-color: #e2e2e2; } 阅读全文

posted @ 2022-09-09 10:48 小馬過河﹎ 阅读(142) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页

导航