Fork me on GitHub
摘要: //以下为前台多字段循环匹配if (!input.Filter.IsNullOrEmpty()) { var keysList = input.Filter.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries); if (ke 阅读全文
posted @ 2021-07-16 16:44 WantRemake 阅读(166) 评论(0) 推荐(0) 编辑
摘要: select * from(select id,detail, ROW_NUMBER()over(PARTITION By detail ORDER BY detail DESC) as rnfrom t_info_kind) Twhere T.rn = 1 阅读全文
posted @ 2021-07-16 16:39 WantRemake 阅读(279) 评论(0) 推荐(0) 编辑
摘要: // 初始化加载 $(function () { setInterval("leftTimer()", 1000); }); // 倒计时计时器 function leftTimer() { var leftTime = (new Date(year, month, day, hour, minut 阅读全文
posted @ 2021-07-16 16:37 WantRemake 阅读(46) 评论(0) 推荐(0) 编辑
摘要: var map = new BMap.Map('map'); var point = new BMap.Point(jing, wei); var marker = new BMap.Marker(point); // 创建标注 map.addOverlay(marker); // 将标注添加到地图 阅读全文
posted @ 2021-07-16 16:35 WantRemake 阅读(181) 评论(0) 推荐(0) 编辑
摘要: //根据id去重 function unique(arr1) { const res = new Map(); return arr1.filter((a) => !res.has(a.id) && res.set(a.id, 1)) } 阅读全文
posted @ 2021-07-16 16:33 WantRemake 阅读(407) 评论(0) 推荐(0) 编辑
摘要: //js \n全部替换<br/> function tranceBr(str) { return str.replace(/\n/g, '<br/>'); } 阅读全文
posted @ 2021-07-16 16:31 WantRemake 阅读(132) 评论(0) 推荐(0) 编辑