摘要: 即点即改: 1 @if($v->fang_status==1) 2 <span class="label label-info radius zhuangtaiUp" id="zhuangtaiUp" href="{{route('admin.zhuangtaiUp',['id'=>$v->id]) 阅读全文
posted @ 2021-01-28 23:57 Conqueror· 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 1 public static function treeLevels($data,$pid="0",$html="--",$level=0){ 2 static $arr=[]; 3 foreach ($data as $key=>$val){ 4 if ($val['pid']==$pid){ 阅读全文
posted @ 2021-01-28 23:28 Conqueror· 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 资源路由示例: Route::resource('user','UserController'); 使用: 修改页面跳转 <a class="label label-secondary radius updata" href='{{route("user.edit",$v['id'])}}'>修改< 阅读全文
posted @ 2021-01-28 21:47 Conqueror· 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Datatables中文网手册:http://datatables.club/manual/install.html 从网站上下载 datatables安装包,将其解压到你的pubic目录下 html 伪代码示例: 可以引入线上的 dataTables 来进行使用 <!--第一步:引入Javascr 阅读全文
posted @ 2021-01-28 12:37 Conqueror· 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 1.首先需要使用 composer 在命令行安装最新版本的 intervention/image : composer require intervention/image 2.注册服务提供者及别名(Laravel 版本 ≤ 5.4) 如果你的 laravel 版本小于或等于 5.4,安装后需要注册 阅读全文
posted @ 2021-01-28 00:10 Conqueror· 阅读(559) 评论(0) 推荐(0) 编辑