摘要: tp5中 Product.php // 多图上传 var arr = ''; layui.use('upload', function() { var $ = layui.jquery, upload = layui.upload; //多图上传 upload.render({ elem: '#te 阅读全文
posted @ 2019-01-17 18:00 闹什么闹 阅读(180) 评论(0) 推荐(0) 编辑
摘要: <div class="layui-upload"> <button type="button" class="layui-btn" id="test1">相关照片</button> <div class="layui-upload-list"> <img class="layui-upload-i 阅读全文
posted @ 2019-01-17 17:55 闹什么闹 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 先把文件夹引到public下 <td> <a title="详情" onclick="member_open('{$data.shidetail}')" href="javascript:;" style=" color: #009688;"> <i class="layui-icon">&#xe6 阅读全文
posted @ 2019-01-17 17:34 闹什么闹 阅读(581) 评论(0) 推荐(0) 编辑
摘要: <td class="td-status"> {if condition="$data.state eq 1"} <span class="layui-btn layui-btn-normal layui-btn-mini">启用</span> {else/} <span class="layui- 阅读全文
posted @ 2019-01-17 17:25 闹什么闹 阅读(280) 评论(0) 推荐(0) 编辑
摘要: $data = Db::name('user')->order('id asc')->paginate(5,false,['query' => request()->param(),'type' => 'page\Page','var_page' => 'page']); 阅读全文
posted @ 2019-01-17 17:23 闹什么闹 阅读(85) 评论(0) 推荐(0) 编辑
摘要: html <form class="layui-form" action="{:url('User/index')}" method="post"> <div class="text-c"> <input type="text" class="input-text" style="width:250 阅读全文
posted @ 2019-01-17 17:20 闹什么闹 阅读(144) 评论(0) 推荐(0) 编辑
摘要: base中 /** * [phpexcel excel导出!不支持ajax js用window.open] * @Author aaron_yw * @DateTime 2018-12-14T17:08:04+0800 * @copyright [copyright] * @license [lic 阅读全文
posted @ 2019-01-17 17:17 闹什么闹 阅读(228) 评论(0) 推荐(0) 编辑