上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 49 下一页
摘要: 一、注意 当设置speed太小时会有卡顿,建议设置为6000 二、效果图 三、代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>swiper4 无缝轮播处理</title> <link rel="styl 阅读全文
posted @ 2022-09-03 11:26 样子2018 阅读(1017) 评论(0) 推荐(0) 编辑
摘要: 一、项目目录 二、配置.htaccess 其中主要的是.htaccess文件配置 <IfModule mod_rewrite.c> if (!-f $request_filename){ set $rule_0 1$rule_0; } if ($rule_0 = "1"){ rewrite ^/([ 阅读全文
posted @ 2022-08-30 10:32 样子2018 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 一、代码 /** * @throws \think\Exception */ protected function getDb(){ if(!$this->my_db){ $this->my_db = Db::connect(config('db2')); } } config.php 阅读全文
posted @ 2022-08-27 14:42 样子2018 阅读(123) 评论(0) 推荐(0) 编辑
摘要: TreeTable.js下载 链接:https://pan.baidu.com/s/1lLBge_4MSSViLztwTnPfkA 提取码:whj3 一、效果图 二、前端代码 {include file='common/header'} <div class="layui-fluid"> <div 阅读全文
posted @ 2022-08-01 10:52 样子2018 阅读(2655) 评论(0) 推荐(0) 编辑
摘要: 一、安装 1、windows安装教程 下载地址:https://github.com/imaben/php-beast-binaries 将下载的扩展放入对应php的ext目录 修改php.ini 添加配置:extension=php_beast_x64_nts.dll,重启服务器 2、Linux安 阅读全文
posted @ 2022-07-23 17:03 样子2018 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 一、对父级设置固定高度 二、加css clear解决父div不能自适应高度 三、对父级样式加overflow样式 阅读全文
posted @ 2022-07-22 16:46 样子2018 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 下载地址:https://github.com/yangsphp/tprbac-v2-master 一、效果图 阅读全文
posted @ 2022-07-18 13:17 样子2018 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 一、效果图 1、后台 2、前端 阅读全文
posted @ 2022-07-18 10:33 样子2018 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 封装源码取自:workerman-mysql 一、封装源码 <?php /** * 数据库连接类,依赖 PDO_MYSQL 扩展 * 在 https://github.com/auraphp/Aura.SqlQuery 的基础上修改而成 */ class Connection { /** * SEL 阅读全文
posted @ 2022-07-18 09:56 样子2018 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 一、注解基本信息 1.声明bean的注解 Spring注解描述 @Component 组件,没有明确的角色 @Service 在业务逻辑层使用(service层) @Repository 标注在 DAO 类上,这是因为该注解的作用不只是将类识别为Bean,同时它还能将所标注的类中抛出的数据访问异常封 阅读全文
posted @ 2022-06-25 16:08 样子2018 阅读(174) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 49 下一页