上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页

2022年9月9日

mysql父子类排序|根据条件排序

摘要: select * from `position` where position_isshow=1 order by if(position_pid=0,position_id,position_pid),position_id 阅读全文

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

jQuery高亮页面中的关键字

摘要: github https://github.com/julmot/mark.js 相关说明 Examples <script src="/Public/js/jquery.min.js"></script> <script src="/Public/js/jquery.mark.min.js"></ 阅读全文

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

javascript url参数字符串-对象互转

摘要: function query2obj() { var query = window.location.search.substring(1) var obj = {} if (query) { var vars = query.split('&') for (var i = 0; i < vars. 阅读全文

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

jquery-viewer 图片查看/放大/缩小/旋转/翻转

摘要: github https://github.com/fengyuanchen/jquery-viewer Examples <link rel="stylesheet" href="/Public/css/viewer.min.css" > <script src="/Public/js/jquer 阅读全文

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

css选择前/后n个元素

摘要: /* 前3个元素 */ .layui-col-md4:nth-child(-n+3){ border:1px solid red; } /* 后3个元素 */ .layui-col-md4:nth-last-child(-n+3){ border:1px solid red; } 阅读全文

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

ThinkPHP提示美化

摘要: ThinkPHP/Tpl/dispatch_jump.tpl <?php if(C('LAYOUT_ON')) { echo '{__NOLAYOUT__}'; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " 阅读全文

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

mysql 游标 遍历

摘要: 3/4行、24行、7/8行字段的对应关系。变量名和字段名不要相同。 BEGIN DECLARE done BOOLEAN DEFAULT 0; DECLARE cur_ent_id VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ 阅读全文

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

接收阿里云上行短信

摘要: 表结构 DROP TABLE IF EXISTS `smsup`; CREATE TABLE `smsup` ( `smsup_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `smsup_sendtime` datetime(0) NOT NULL 阅读全文

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

ThinkPHP3原样输出字段名大小写

摘要: /Application/Common/Conf/config.php 'DB_PARAMS'=>[\PDO::ATTR_CASE=>\PDO::CASE_NATURAL], //原样输出数据库字段名大小写 阅读全文

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

mysql 今天过生日的会员

摘要: select * from `person` where substring(person_birthday,6,5)=date_format(curdate(),'%m-%d') 阅读全文

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

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页

导航