上一页 1 ··· 4 5 6 7 8
摘要: 创建控制器: // Windows php artisan admin:make UserController --model=App\User app\Admin\routes.php <?php use App\Admin\Controllers\UserController; use Enco 阅读全文
posted @ 2021-06-10 11:41 _迷途 阅读(1131) 评论(0) 推荐(0)
摘要: String.prototype.trim = function (char, type) { if (char) { if (type == 'left') { return this.replace(new RegExp('^\\'+char+'+', 'g'), ''); } else if 阅读全文
posted @ 2021-06-07 12:01 _迷途 阅读(593) 评论(0) 推荐(0)
摘要: function is_ip(ip){ let re = /^([0-9]|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.([0-9]|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.([0-9]|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\ 阅读全文
posted @ 2021-06-07 11:54 _迷途 阅读(246) 评论(0) 推荐(0)
摘要: function clearDomScriptTag(s) { var reg=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi; //生成相关正则信息 s = s.replace(reg, "");//忽略大小写的正则 return s; 阅读全文
posted @ 2021-06-07 11:52 _迷途 阅读(748) 评论(0) 推荐(0)
摘要: layer.open({ type: 1, content: $("在当前页面上要打开的元素"), shadeClose: true , scrollbar: true, success: function (layero, index) { //弹出层打开后回调代码 }, cancel: func 阅读全文
posted @ 2021-05-04 16:55 _迷途 阅读(1134) 评论(0) 推荐(0)
摘要: 如何实现? 1.)首先实现全屏 第一种:继承主题特定主题 在Android API 19以上可以使用****.TranslucentDecor***有关的主题,自带相应半透明效果,Theme.Holo.NoActionBar.TranslucentDecor和Theme.Holo.Light.NoA 阅读全文
posted @ 2020-11-20 19:37 _迷途 阅读(1413) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8