01 2020 档案

摘要:layui官方上传视频时并没直接提供获取视频时长的方法,需要我们间接获得 HTML增加一个<video>标签,因为video标签可以帮我们获取视频时长 <video id="videoattr" width="250" height="100" ></video> 当然,你也可以设置隐藏。 然后JS 阅读全文
posted @ 2020-01-12 10:23 迷离月下 阅读(1945) 评论(0) 推荐(0)
摘要:<form class="layui-form" action="{:url('Plan/plan_train_num_edit')}" id="test" method="post"> <div class="layui-form-item"> <label class="layui-form-l 阅读全文
posted @ 2020-01-09 15:43 迷离月下 阅读(1916) 评论(0) 推荐(0)
摘要:需求: 1.利用layui上传控件上传至七牛 2.实现layedit插入图片上传至七牛 实现 前端js上传七牛云需要携带token 1、后端获取token,以PHP为例 public function getQiniuToken() { // 需要填写你的 Access Key 和 Secret K 阅读全文
posted @ 2020-01-09 15:27 迷离月下 阅读(719) 评论(0) 推荐(0)
摘要:可以执行下面命令 php -r "readfile('https://getcomposer.org/installer');" | php This will install composer to the current directory so that you can use php com 阅读全文
posted @ 2020-01-07 08:36 迷离月下 阅读(2380) 评论(0) 推荐(0)