会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
鲨鱼大王
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
10
下一页
2022年3月4日
FastAdmin append 按钮触发绑定事件
摘要: \public\assets\js\require-form.js fieldlist: function (form) { //绑定fieldlist if ($(".fieldlist", form).size() > 0) { require(['dragsort', 'template'],
阅读全文
posted @ 2022-03-04 12:34 鲨鱼大王
阅读(777)
评论(0)
推荐(0)
2022年3月3日
FastAdmin 添加编辑窗口最大化
摘要: table.on('post-body.bs.table', function (e, settings, json, xhr) { $(".btn-editone,.btn-edit,.btn-add").data("area", ["100%", "100%"]); });
阅读全文
posted @ 2022-03-03 12:18 鲨鱼大王
阅读(617)
评论(0)
推荐(0)
FastAdmin 点击子窗口右上角关闭时触发父窗口事件
摘要: parent.window.$(".layui-layer-iframe").find(".layui-layer-close").on('click',function () { //这里执行你的逻辑 Fast.api.close("1"); });
阅读全文
posted @ 2022-03-03 10:53 鲨鱼大王
阅读(719)
评论(0)
推荐(0)
FastAdmin 打开新窗口
摘要: $(".btn-imports").on('click',function () { Fast.api.open('exam/examinee/imports', '导入考员信息', { callback: function (data) { window.location.reload() },
阅读全文
posted @ 2022-03-03 10:51 鲨鱼大王
阅读(801)
评论(0)
推荐(0)
FastAdmin表格中添加操作按钮
摘要: { field: 'buttons', width: "120px", title: __('试题'), table: table, events: Table.api.events.operate, buttons: [ { name: 'detail', text: __('考试试题'), ti
阅读全文
posted @ 2022-03-03 10:50 鲨鱼大王
阅读(1047)
评论(0)
推荐(0)
2021年10月22日
ThinkPHP 是否包含字符
摘要: ->where(function ($query) { $param = $this->request->param(); $train_body_id = isset($param['train_body_id'])?$param['train_body_id']:0; $query->where
阅读全文
posted @ 2021-10-22 15:26 鲨鱼大王
阅读(148)
评论(0)
推荐(0)
PHP 验证是否是图片
摘要: getimagesize($im['img']); 是图片返回图片信息 不是图片返回false
阅读全文
posted @ 2021-10-22 15:23 鲨鱼大王
阅读(39)
评论(0)
推荐(0)
2021年10月15日
PHP 扫描文件夹
摘要: 扫描文件夹获取目录 //scandir方法 $arr = array(); $data = scandir('./Uploads/ipcai/'); foreach ($data as $value){ if($value != '.' && $value != '..'){ $arr[] = $v
阅读全文
posted @ 2021-10-15 16:01 鲨鱼大王
阅读(295)
评论(0)
推荐(0)
Windows 批量修改文件名字
摘要: 编写.bat文件 @echo off set a=0 setlocal EnableDelayedExpansion dir /b .\*.png | find /c /v "" >> .\tmp.txt set /p c=<.\tmp.txt del /a /f /q .\tmp.txt for
阅读全文
posted @ 2021-10-15 14:41 鲨鱼大王
阅读(36)
评论(0)
推荐(0)
2021年9月13日
TP5.1 Redis订阅消息
摘要: 修改reids配置文件打开订阅销毁事件 # 原配置: notify-keyspace-events "" # 更改为: notify-keyspace-events "Ex" 添加TP5.1 Redis订阅处理函数 <?php namespace app\common\command; use th
阅读全文
posted @ 2021-09-13 09:50 鲨鱼大王
阅读(253)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
10
下一页
公告