会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
明知山有虎,那就不要去明知山~
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
下一页
2021年8月27日
jQuery-ajax-天气接口
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <div id="show" style="margin: 0 auto;width: 900px;"> </div> </body
阅读全文
posted @ 2021-08-27 23:17 青烟绕指柔
阅读(185)
评论(0)
推荐(0)
2021年8月24日
VUE-表单验证
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstra
阅读全文
posted @ 2021-08-24 01:00 青烟绕指柔
阅读(77)
评论(0)
推荐(0)
VUE-购物车
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <script src="vue.js"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.
阅读全文
posted @ 2021-08-24 00:56 青烟绕指柔
阅读(76)
评论(0)
推荐(0)
JS-购物车
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstra
阅读全文
posted @ 2021-08-24 00:54 青烟绕指柔
阅读(42)
评论(0)
推荐(0)
Js-左侧折叠
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <dl> <dt>商品管理</dt> <dd>商品添加</dd> <dd>商品列表</dd> <dd>
阅读全文
posted @ 2021-08-24 00:42 青烟绕指柔
阅读(46)
评论(0)
推荐(0)
jQuery-图片轮播
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv
阅读全文
posted @ 2021-08-24 00:34 青烟绕指柔
阅读(45)
评论(0)
推荐(0)
2021年7月29日
Laravel-自带分页+搜索
摘要: public function getNewsList(){ $condition = []; $cond = []; if (!empty($_GET['title'])) { array_push($condition, ["title", "like", "%{$_GET['title']}%
阅读全文
posted @ 2021-07-29 20:03 青烟绕指柔
阅读(72)
评论(0)
推荐(0)
ob-页面静态化(1)
摘要: $page = $_GET['page'] ?? 1; $filename = 'list_' . $page . '.html'; ////判断有没有静态页面,有的话直接读取静态页面,没有的话,连接数据库,查询数据并且生成静态页面; if (file_exists($filename)) { ec
阅读全文
posted @ 2021-07-29 13:43 青烟绕指柔
阅读(71)
评论(0)
推荐(0)
2021年7月7日
Laravel-多条件检索方案
摘要: 控制器 public function index(Request $request) { $status = $request->input('status'); $title = $request->input('title'); $cate_id = $request->input('cate
阅读全文
posted @ 2021-07-07 15:23 青烟绕指柔
阅读(244)
评论(0)
推荐(0)
2021年6月21日
PHP-MVC-三层架构模拟
摘要: 1.控制器定义 <?php class VideoController{ public function index(){ echo "这是视频控制器的index方法"; include './models/VideoModel.php'; $Video = new VideoModel(); $v
阅读全文
posted @ 2021-06-21 15:31 青烟绕指柔
阅读(128)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告