会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
鲨鱼大王
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
FastAdmin
PHP框架
FastadminSopro添加商品配套信息
摘要:点击下载修改文件
阅读全文
posted @
2023-04-04 14:36
鲨鱼大王
阅读(47)
评论(0)
推荐(0)
FastAdmin 修改上传组件预览方式
摘要:在\public\assets\js\backend-init.js中添加以下函数 $('body').on('click', '[data-tips-image]', function () { var img = new Image(); var imgWidth = this.getAttri
阅读全文
posted @
2022-03-07 13:43
鲨鱼大王
阅读(840)
评论(0)
推荐(0)
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
鲨鱼大王
阅读(763)
评论(0)
推荐(0)
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
鲨鱼大王
阅读(609)
评论(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
鲨鱼大王
阅读(707)
评论(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
鲨鱼大王
阅读(783)
评论(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
鲨鱼大王
阅读(1042)
评论(0)
推荐(0)
公告