会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一颗糊涂淡
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
13
下一页
2021年7月18日
fastadmin展示多个视频按钮
摘要: { field: 'videoimage', title: __('Videoimage'), events: Table.api.events.image, // formatter: Table.api.formatter.image, formatter: function (row) { /
阅读全文
posted @ 2021-07-18 10:21 一颗糊涂淡
阅读(571)
评论(0)
推荐(0)
2021年7月14日
fastadmin在json字段动态关联
摘要: <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Json')}:</label> <div class="col-xs-12 col-sm-8"> <dl class="fieldlist"
阅读全文
posted @ 2021-07-14 13:42 一颗糊涂淡
阅读(840)
评论(0)
推荐(0)
2021年7月5日
fastadmin放大镜改为“搜索”
摘要: 文件位置:public/assets/js/bootstrap-table-commonsearch.js
阅读全文
posted @ 2021-07-05 15:35 一颗糊涂淡
阅读(126)
评论(0)
推荐(0)
2021年6月8日
fastadmin行内手机验证规则
摘要: <input id="c-phone" class="form-control" name="row[phone]" data-rule="required;phone" data-rule-phone="[/^(1(([3456789][0-9])|(47)))\d{8}$/,'手机号格式错误']
阅读全文
posted @ 2021-06-08 11:43 一颗糊涂淡
阅读(794)
评论(0)
推荐(0)
2020年12月1日
fastadmin批量修改状态
摘要: 页面 视图内 <div id="toolbar" class="toolbar"> <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh
阅读全文
posted @ 2020-12-01 13:29 一颗糊涂淡
阅读(1799)
评论(0)
推荐(0)
2020年10月21日
php手机、邮箱规则验证
摘要: function checkPhone($phone) { $check = '/^(1(([3456789][0-9])|(47)))\d{8}$/'; if (preg_match($check, $phone)) { return true; } else { return false; }
阅读全文
posted @ 2020-10-21 09:56 一颗糊涂淡
阅读(151)
评论(0)
推荐(0)
2020年10月20日
tp5 查询某个值是否在数据表某一个字段中 FIND_IN_SET
摘要: $list = $this->model ->where('FIND_IN_SET(:id,members)', ['id' => $member_id]) ->field('id,title,image,tips,collection,members') ->order('createtime d
阅读全文
posted @ 2020-10-20 13:26 一颗糊涂淡
阅读(1830)
评论(0)
推荐(0)
2020年8月11日
tp5按照汉字首字母排序
摘要: $exp = new Expression('convert(nickname using gbk) asc'); $list = $this->model ->where($where)->where('pid', $member_id) // ->order($sort, $order) ->o
阅读全文
posted @ 2020-08-11 16:24 一颗糊涂淡
阅读(941)
评论(0)
推荐(0)
2020年8月7日
php获取日期信息
摘要: public function week() { echo "今天星期:" . date("w", time()); echo '<br>'; echo "上周一日期:" . date('Y-m-d H:i:s', strtotime('-2 monday', strtotime(date('Y-m
阅读全文
posted @ 2020-08-07 17:06 一颗糊涂淡
阅读(574)
评论(0)
推荐(0)
2020年7月24日
tp5 关联删除
摘要: $cateInfo = model('Songcate')->with('song,song.comment')->find($id); foreach ($cateInfo['song'] as $v) { $v->together('comment')->delete(); } $res = $
阅读全文
posted @ 2020-07-24 13:40 一颗糊涂淡
阅读(697)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
13
下一页
公告