上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 41 下一页
摘要: <td> {if $v.status==1} <span class="top{$v.id}" name="0" onclick="dian({$v.id})">上架</span> {else} <span class="top{$v.id}" name="1" onclick="dian({$v. 阅读全文
posted @ 2021-08-17 21:26 王越666 阅读(117) 评论(0) 推荐(0)
摘要: <html> <head> <meta charset="UTF-8" /> <title>Highcharts 教程 | 菜鸟教程(runoob.com)</title> <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min 阅读全文
posted @ 2021-08-17 09:43 王越666 阅读(49) 评论(0) 推荐(0)
摘要: 商品的详细描述一般都是图文混合。对于图文混合的内容,需要使用富文本编辑器来实现。 Ueditor富文本编辑器的下载地址: http://ueditor.baidu.com/website/download.html 2、Ueditor编辑器的使用 使用步骤: 引入编辑器的代码到项目中 引入js文件 阅读全文
posted @ 2021-08-16 21:55 王越666 阅读(106) 评论(0) 推荐(0)
摘要: 1、下载 composer require topthink/think-captcha 1.* // composer 下载 //过程 D:\PHP\phpstudy_pro\WWW\1906A\pyg>composer require topthink/think-captcha 1.* ./c 阅读全文
posted @ 2021-08-16 21:37 王越666 阅读(45) 评论(0) 推荐(0)
摘要: 、、、、、、、、、、表单页面 <!DOCTYPE html> {__NOLAYOUT__} <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initia 阅读全文
posted @ 2021-08-16 21:18 王越666 阅读(67) 评论(0) 推荐(0)
摘要: //以对象的形式获取数据库$data变量的信息,将lastPage()传输至页面 $lastpage = $data->lastPage(); $this->assign('lastpage', $lastpage); <select name="page" id="page" > <option 阅读全文
posted @ 2021-08-15 21:15 王越666 阅读(56) 评论(0) 推荐(0)
摘要: 表单页面 <a href="/examtest/test/edit/id/{$v['id']}">修改</a> <a href="/examtest/test/delete/id/{$v['id']}" onclick=" return confirm('您确定要删除吗?')">删除</a> 。。。 阅读全文
posted @ 2021-08-14 21:29 王越666 阅读(51) 评论(0) 推荐(0)
摘要: 表单页面 <a href="/examtest/test/edit/id/{$v['id']}">修改</a> <a href="/examtest/test/delete/id/{$v['id']}" onclick=" return confirm('您确定要删除吗?')">删除</a> 、、、 阅读全文
posted @ 2021-08-14 21:21 王越666 阅读(38) 评论(0) 推荐(0)
摘要: 、、、、、、、、、、控制器方法 public function index() { //接受搜索关键字 $word=input('word'); $where=[]; if (!empty($word)){ $where['title']=['like',"%".$word."%"]; } $dat 阅读全文
posted @ 2021-08-13 22:05 王越666 阅读(68) 评论(0) 推荐(0)
摘要: 、、、、控制器方法返回视图 public function create() { // return view(); } 、、、、、、、、、、、、、、、表单页面 <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title 阅读全文
posted @ 2021-08-13 21:59 王越666 阅读(100) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 41 下一页