1 2 3 4 5 ··· 19 下一页

2025年10月25日

layui多文件上传表格

摘要: {layout name="layout" /} <style> .ellipsis-cell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fixed-table { table-layout: fixed 阅读全文

posted @ 2025-10-25 17:03 小馬過河﹎ 阅读(7) 评论(0) 推荐(0)

layui静态表格防止被内容撑开变形

摘要: .ellipsis-cell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fixed-table { table-layout: fixed; } <table class="layui-table fix 阅读全文

posted @ 2025-10-25 16:59 小馬過河﹎ 阅读(9) 评论(0) 推荐(0)

2024年5月10日

php使用mysql-text字段存取json字符串

摘要: PHP保存时过滤掉双引号&单引号&tab function formartJsonString($jsonString = '') { $jsonString = str_replace("'", "", $jsonString); $jsonString = str_replace('\"', " 阅读全文

posted @ 2024-05-10 14:08 小馬過河﹎ 阅读(30) 评论(0) 推荐(0)

2023年12月2日

ThinkPHP3 系统常量__SELF__在生产模式(debug=false)下不更新

摘要: 解决办法:使用__ACTION__自行拼接 另:系统常量__INFO__也无法输出预期效果(当前的PATH_INFO字符串),仅能输出"INFO"字符串。 阅读全文

posted @ 2023-12-02 09:10 小馬過河﹎ 阅读(43) 评论(0) 推荐(0)

2023年11月25日

PHP将数据表里的两个字段映射成对象的键和值

摘要: $playersArray = DB::table('sign_up') ->select('user_id', 'nickname') ->where('order_id', '=', $request->id) ->where('nickname', '<>', '') ->get() ->to 阅读全文

posted @ 2023-11-25 15:58 小馬過河﹎ 阅读(37) 评论(0) 推荐(0)

2023年8月26日

普通表格table样式美化

摘要: ```css table { width: 100%; border-collapse: collapse; border-spacing: 0; empty-cells: show; border: 1px solid #e9e9e9; } table th { background: #f7f7 阅读全文

posted @ 2023-08-26 16:59 小馬過河﹎ 阅读(233) 评论(0) 推荐(0)

2023年8月19日

PHP通用请求函数sendCurl

摘要: ```php function sendCurl($url, $data = null, $method = 'POST') { $method = strtoupper($method); $start_wdmcurl_time = microtime(true); $header = array 阅读全文

posted @ 2023-08-19 11:29 小馬過河﹎ 阅读(43) 评论(0) 推荐(0)

2023年8月5日

查看证书/apk指纹md5/sha1/sha256

摘要: [Android证书在线一键生成工具](https://www.kxapp.com/keystore.html "Android证书在线一键生成工具") ### 查看apk指纹 ```shell keytool -printcert -jarfile android_debug.apk ``` ## 阅读全文

posted @ 2023-08-05 08:35 小馬過河﹎ 阅读(283) 评论(0) 推荐(0)

2023年6月19日

php跨域

摘要: ```php header("Access-Control-Allow-Origin: " . $_SERVER['HTTP_ORIGIN']); header('Access-Control-Allow-Credentials: true'); header('Access-Control-Max 阅读全文

posted @ 2023-06-19 14:48 小馬過河﹎ 阅读(29) 评论(0) 推荐(0)

2023年6月6日

javascript使用正则表达式高亮关键字

摘要: ```javascript d.person_position_codes_.replace(/(其他相关职位)/img, '$1') ``` 阅读全文

posted @ 2023-06-06 16:39 小馬過河﹎ 阅读(50) 评论(0) 推荐(0)

1 2 3 4 5 ··· 19 下一页

导航