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

2022年9月9日

mysql 根据指定值排序

摘要: select * from `jumin` where jumin_house_id=$house_id order by (case when jumin_quanshu='自有' then 1 when jumin_quanzhu='租赁' then 2 else 99 end) ,(case 阅读全文

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

css 中文单行竖排

摘要: .vertical{ width: 20px; margin: 0 auto; line-height: 24px; } 阅读全文

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

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 小馬過河﹎ 阅读(169) 评论(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 小馬過河﹎ 阅读(25) 评论(0) 推荐(0)

常用正则表达式

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

posted @ 2022-09-09 10:56 小馬過河﹎ 阅读(14) 评论(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 小馬過河﹎ 阅读(22) 评论(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 小馬過河﹎ 阅读(16) 评论(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 小馬過河﹎ 阅读(85) 评论(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 小馬過河﹎ 阅读(18) 评论(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 小馬過河﹎ 阅读(343) 评论(0) 推荐(0)

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

导航