![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
Cloud_lengfeng
这个作者很懒,什么都没留下…
展开
-
a标签点击获取当前对象
html:<a id="btn" onclick="addTabs(this)" class="easyui-linkbutton" data-options="" style="width: 100%">按钮1</a>javascript:<script> function addTabs(obj) { var text = ...原创 2019-04-10 10:36:13 · 1826 阅读 · 0 评论 -
Ajax + Layui + thinkphp5 前台分页的实现
效果图:一、首先先引用Layui的相关文件 JS CS等等 我就不多说了-。-二、后台查询方法public function disscussionListPage(){ $subject_chapter_no = $this->request->post('subject_chapter_no'); $start = $this...原创 2019-04-12 11:19:13 · 1588 阅读 · 1 评论 -
Dplayer Html5 弹幕视频播放器的实现
本弹幕视频,通过 Html5 Dplayer实现。Dplayer官网:http://dplayer.js.org/#/Dplayer文档:http://dplayer.js.org/#/zh-Hans/Dplayer GitHub:https://github.com/MoePlayer/DPlayer先看效果图一、下载Dplayer相关文件就是Dplay...原创 2019-04-26 14:29:34 · 11169 阅读 · 1 评论 -
FastAdmin 权限判断,自定义table操作按钮,列表按钮,隐藏按钮,隐藏自定义按钮
一、JS自定义按钮 + 按钮隐藏1、FastAdmin JS自定义按钮效果图:自定义video视频按钮{ field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, buttons: [ { ...原创 2019-04-18 10:21:34 · 8378 阅读 · 1 评论 -
Layui 实现rate评分点击后只读,动态rate控制只读,动态控制只读
废话不多说了。。直接粘代码layui.use(['rate'], function(){ var rate = layui.rate; rate.render({ elem: '#score' ,value: 3.5 ,half: true ,text: true ,choose: functio...原创 2019-04-24 15:10:34 · 3327 阅读 · 0 评论