会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
样子2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
52
下一页
2022年10月10日
Scrapy框架 之某视频网站采集案例
摘要: 代码只能作为学习,请不要用于其他。 一、效果图 二、代码编写 1、items.py # -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://
阅读全文
posted @ 2022-10-10 08:42 样子2018
阅读(140)
评论(0)
推荐(0)
2022年9月22日
Uni-app 之h5播放m3u8格式的视频
摘要: 一、安装插件 npm i dplayer -S npm i hls.js -S 二、代码示例 <template> <view class="content"> <div id="dplayer" style="height: 450px; width: 800rpx;"></div> </view
阅读全文
posted @ 2022-09-22 16:33 样子2018
阅读(1944)
评论(0)
推荐(0)
2022年9月16日
PHP 之sqlite3封装与示例
摘要: 一、sqlite3封装 <?php class SQLiteDB extends SQLite3 { function __construct(){ try { //打开数据库文件 $this->open('./ccfcf4572e60f80522c1cf0f8e4b95c3.db'); }catc
阅读全文
posted @ 2022-09-16 10:49 样子2018
阅读(354)
评论(0)
推荐(0)
2022年9月3日
Js 之swiper无缝滚动效果
摘要: 一、注意 当设置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
阅读(1215)
评论(0)
推荐(0)
2022年8月30日
用域名自定义短链接
摘要: 一、项目目录 二、配置.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
阅读(109)
评论(0)
推荐(0)
2022年8月27日
TP5框架 之连接其他数据库配置
摘要: 一、代码 /** * @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
阅读(162)
评论(0)
推荐(0)
2022年8月1日
Layui 之TreeTable(树形数据表格),适用于权限、部门等
摘要: 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
阅读(3588)
评论(0)
推荐(0)
2022年7月23日
PHP 之beast扩展加密源码
摘要: 一、安装 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
阅读(394)
评论(0)
推荐(0)
2022年7月22日
CSS 之子级用float浮动而父级div没高度不能自适应高度
摘要: 一、对父级设置固定高度 二、加css clear解决父div不能自适应高度 三、对父级样式加overflow样式
阅读全文
posted @ 2022-07-22 16:46 样子2018
阅读(38)
评论(0)
推荐(0)
2022年7月18日
TP5框架 之弹框版权限管理系统
摘要: 下载地址:https://github.com/yangsphp/tprbac-v2-master 一、效果图
阅读全文
posted @ 2022-07-18 13:17 样子2018
阅读(65)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
52
下一页
公告