只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-01-24 13:34 #i小龙# 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <div id="view"></div> <script> layui.config({ base: '__PUBLIC__/layuiadmin/' //静态资源所在路径 }).extend({ index: 'lib/index' //主入口模块 }).use(['index', 'Bw', 阅读全文
posted @ 2019-01-05 13:20 #i小龙# 阅读(490) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-12-20 21:08 #i小龙# 阅读(0) 评论(0) 推荐(0) 编辑
摘要: // var $ = layui.$, active = {// batchdel: function(){ //全选// var checkStatus = table.checkStatus('LAY-app-content-list')// ,checkData = checkStatus.d 阅读全文
posted @ 2018-12-20 10:14 #i小龙# 阅读(321) 评论(0) 推荐(0) 编辑
摘要: //刷新当前便签页$(".layui-laypage-btn")[0].click(); 阅读全文
posted @ 2018-12-18 16:51 #i小龙# 阅读(94) 评论(0) 推荐(0) 编辑
摘要: //柱状图 layui.use(['carousel', 'echarts'], function(){ var $ = layui.$ ,admin = layui.admin ,carousel = layui.carousel ,echarts = layui.echarts; //标准柱状图 阅读全文
posted @ 2018-11-16 09:33 #i小龙# 阅读(2381) 评论(0) 推荐(0) 编辑
摘要: <script>function fixed(str) { if (!str) str = '0.00'; let ret = Math.round(parseFloat(str) * 100) / 100; let decimal = ret.toString().split('.'); if ( 阅读全文
posted @ 2018-11-13 17:37 #i小龙# 阅读(2001) 评论(0) 推荐(0) 编辑
摘要: 第一步:'URL_MODEL'=>'2',第二步:根路径下建立一个.htaccess,可以通过一些软件比如EditPlus去另存为,windows可能不能直接创建第三步:<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{REQUEST_FIL 阅读全文
posted @ 2018-10-26 10:30 #i小龙# 阅读(730) 评论(0) 推荐(0) 编辑
摘要: //一维数组创建$dataAA[]=array();for ($i=0;$i<count($DataClass);$i++){ if($DataClass[$i]['ParentID']>0){ $dataAA[$i]['title']= $DataClass[$i]['SortNameCh']; 阅读全文
posted @ 2018-08-30 17:59 #i小龙# 阅读(197) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-08-23 18:05 #i小龙# 阅读(0) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-08-23 18:04 #i小龙# 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-06-22 11:16 #i小龙# 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 测速代码: <?php function getmicrotime() { list($usec, $sec) = explode(" ",microtime()); return ((float)$usec + (float)$sec); } $time_start = getmicrotime( 阅读全文
posted @ 2018-04-10 11:34 #i小龙# 阅读(1951) 评论(0) 推荐(0) 编辑
摘要: strstr -- 返回字符串中从某指定字符开始到结束处的字符串。 语法: string strstr ( string haystack, string needle) 返回haystack中从needle开始到结束的字符串. 如果没有返回值,即没有发现needle,则返回FALSE 注: 这个函 阅读全文
posted @ 2018-04-10 10:42 #i小龙# 阅读(1442) 评论(0) 推荐(0) 编辑
摘要: <volist name=":explode('|',$vo['all_zb'])" id="vx"> {$vx}<br/></volist> 阅读全文
posted @ 2018-03-29 15:07 #i小龙# 阅读(279) 评论(0) 推荐(0) 编辑
摘要: function GetInfoFromTable(tableid) { var tableInfo = ""; var tableObj = document.getElementById(tableid); for (var i = 0; i < tableObj.rows.length; i+ 阅读全文
posted @ 2018-03-09 16:10 #i小龙# 阅读(589) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> var data = [{ id: 0, chiild: [{ msg: '111' }, { msg: '222'}] }, { id: 3, chiild: [{ msg: '444' }, { msg 阅读全文
posted @ 2018-03-09 15:24 #i小龙# 阅读(1632) 评论(0) 推荐(0) 编辑
摘要: <script language="JavaScript"> layui.use('upload', function(){ var $ = layui.jquery ,upload = layui.upload; //普通图片上传 var uploadInst = upload.render({ 阅读全文
posted @ 2017-12-20 15:18 #i小龙# 阅读(1323) 评论(0) 推荐(0) 编辑
摘要: <title></title> <script src="js/jquery-1.7.2.min.js"></script> <script type="text/javascript"> $(function () { //没有默认选中的情况 //先判断radio是否有选中项,再获取选中的值 $( 阅读全文
posted @ 2017-09-15 11:57 #i小龙# 阅读(3029) 评论(0) 推荐(0) 编辑
摘要: $("input[type='checkbox']").is(':checked') 阅读全文
posted @ 2017-07-25 10:57 #i小龙# 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 在Fastcgi模式下,PHP不支持rewrite的目标网址的PATH_INFO的解析,当我们的 ThinkPHP运行在URL_MODEL=2时,就会出现 No input file specified.的情况, 这时可以修改网站目录的.htaccess文件: 将 RewriteRule ^(.*) 阅读全文
posted @ 2017-07-20 10:09 #i小龙# 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 扩展->插件管理->URL方式访问插件,这个一定要勾上不然后台传图必报错。 阅读全文
posted @ 2017-07-19 11:25 #i小龙# 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 勾上这个OK 阅读全文
posted @ 2017-07-18 18:29 #i小龙# 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-07-11 17:59 #i小龙# 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-07-06 17:03 #i小龙# 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 1、在PHP中建立数组 //建立数组 填充数组 $arr = array(); for($y = 0; $y <= $Subtract; $y++){ $Sttb=$Kto2+$y;//年份计算 $where['pbtime'] = array('like','%'.$Sttb.'%'); $fli 阅读全文
posted @ 2017-06-30 19:19 #i小龙# 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 解决办法:Onethink用户登录时,使用User/Conf/config.php的配置,修改此处位置的数据库配置即可 阅读全文
posted @ 2017-06-20 13:16 #i小龙# 阅读(736) 评论(0) 推荐(0) 编辑
摘要: 版权声明:本文转自http://blog.csdn.net/huutu 转载请带上 http://www.thisisgame.com.cn 版权声明:本文转自http://blog.csdn.net/huutu 转载请带上 http://www.thisisgame.com.cn 播放mp4格式的 阅读全文
posted @ 2017-06-19 17:20 #i小龙# 阅读(968) 评论(0) 推荐(0) 编辑
摘要: 正解:在入口文件添加 define('__APP__', ''); 阅读全文
posted @ 2017-06-16 17:45 #i小龙# 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1. 安装URL Rewrite模块 首先从官网下载安装URL Rewrite Module 2.0,下载页面 或者直接点击这里下载: re_write_x86_zh_CN.msi from microsoft re_write_x64_zh_CN.msi from microsoft安装即可 首先 阅读全文
posted @ 2017-03-24 09:03 #i小龙# 阅读(303) 评论(0) 推荐(0) 编辑