2024年10月6日
Fastadmin表格的列头对齐以及内容对齐设定方式
摘要: 一、列头对齐 {field: 'title', title: __('Title'), operate: 'LIKE',align:'left'}, 二、内容对齐 {field: 'title', title: __('Title'), operate: 'LIKE', cellStyle:func 阅读全文
posted @ 2024-10-06 22:50 温柔的风
阅读(1)
评论(0)
推荐(0) 编辑
2024年10月5日
好用的websocket 心跳重连js脚本
摘要: <script> var wsUrl = "{$ws_url}"; var ws = null; // WebSocket 对象 var heartbeatTimer = null; // 心跳定时器 var isReconnect = true; // 是否自动重连 function create 阅读全文
posted @ 2024-10-05 22:00 温柔的风
阅读(1)
评论(0)
推荐(0) 编辑
Fastadmin(thinkphp5)安装集成workerman(gatewayworker)Linux环境
摘要: 一、安装 直接上命令 composer require topthink/think-worker 1.0.1 //因为fastadmin的tp版本是5,所以这里1.0.1 composer update --with-all-dependencies 找到根目录的composer.json修改制定 阅读全文
posted @ 2024-10-05 14:27 温柔的风
阅读(1)
评论(0)
推荐(0) 编辑
2024年9月27日
Fastadmin中 表单form 绑定和提交后自定义处理方法
摘要: Form.api.bindevent($("form[role=form]"), function(data, ret){ //这里是表单提交处理成功后的回调函数,接收来自php的返回数据 //Fast.api.close(data); 关闭弹窗 }, function(data, ret){ // 阅读全文
posted @ 2024-09-27 21:24 温柔的风
阅读(27)
评论(0)
推荐(0) 编辑
2024年9月10日
Fastadmin 在列表页window.top.open打开新页面操作表单后保持表单验证回调操作
摘要: //列表页click事件 $(document).on('click','#add_customer',function(){ var url = "ap/controller/add"; var data = { area:["1050px","588px"], resize:false, sha 阅读全文
posted @ 2024-09-10 11:25 温柔的风
阅读(9)
评论(0)
推荐(0) 编辑
2024年9月7日
Jquery中获取iframe的代码(window.top.parent)
摘要: 父窗口中操作iframe:window.frames["iframeChild"].document //假如iframe的id为iframeChild 在子窗口中操作父窗口:window.parent.document 那么,用如果想用jquery的方法,我们怎么用jquery来获取iframe呢 阅读全文
posted @ 2024-09-07 17:45 温柔的风
阅读(7)
评论(0)
推荐(0) 编辑
2024年9月5日
layui layer.confrim弹框用法以及fastadmin Fast.api.open用法
摘要: 一、layier.confirm用法 layer.confirm('纳尼?', { title: '<span class="confirm-title-style">操作提示</span>', icon: 0, closeBtn: 2, shade: [0.3, '#000'], shadeClo 阅读全文
posted @ 2024-09-05 10:40 温柔的风
阅读(16)
评论(0)
推荐(0) 编辑
Fastadmin fast.api.open回调函数
摘要: 文章讲述了如何通过Fast.api的回调函数功能,在A页面点击事件打开B页面后,当B页面上的特定按钮被点击时,将数据传回给A页面。在B页面,数据会被处理并以Fast.api.close()方法关闭时传递出去,如果需要传输多个数据,可以将它们拼接成字符串。 通过回调函数讲子页面的数据传输到父页面,A页 阅读全文
posted @ 2024-09-05 00:42 温柔的风
阅读(68)
评论(0) java基础菜鸟驿站
推荐(0) 编辑
2024年9月1日
Fastadmin在原有筛选条件filter基础之上,js重新附加新条件
摘要: $(document).on('click','.small_customer_number_item',function(){ var small_customer_number_index = $(this).attr('small_customer_number_index'); var op 阅读全文
posted @ 2024-09-01 01:20 温柔的风
阅读(24)
评论(0)
推荐(0) 编辑
2024年8月15日
fastadmin表单取消data-rule:required验证之后,仍然无效,如何解决
摘要: $('#selected_signing_time').attr('data-rule','none'); //取消验证 $('#selected_signing_time').removeAttr('aria-invalid'); //移除多余attr $('#selected_signing_t 阅读全文
posted @ 2024-08-15 12:08 温柔的风
阅读(26)
评论(0)
推荐(0) 编辑
版权声明:
本文来源网络,所有图片文章版权属于原作者,如有侵权,联系删除。
本文网址:https://www.bianchenghao6.com/h6javajc/2845.html