会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
哔哩哔哩干杯
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
21
下一页
2019年1月17日
基于thinkphp5.1和easyWeChat实现第三方平台扫码授权
摘要: 1 <?php 2 3 namespace app\wechat\controller; 4 5 use EasyWeChat\Factory; 6 use EasyWeChat\Kernel\Messages\News; 7 use EasyWeChat\Kernel\Messages\NewsI
阅读全文
posted @ 2019-01-17 15:46 哔哩哔哩干杯
阅读(2536)
评论(0)
推荐(0)
2017年10月30日
微信分享缩略图
摘要: $(document).ready(function(e) { var urll = location.href.split('#')[0]; $.ajax({ async:false, url:"php/fenxiang.php", data:{urll:urll}, type:"POST", d
阅读全文
posted @ 2017-10-30 14:44 哔哩哔哩干杯
阅读(415)
评论(0)
推荐(0)
2017年10月24日
js时间戳转时间格式
摘要: var sj = new Date(parseInt(时间戳));var time = sj.getFullYear()+'年'+(sj.getMonth()+1)+'月'+sj.getDate()+'日';
阅读全文
posted @ 2017-10-24 11:39 哔哩哔哩干杯
阅读(270)
评论(0)
推荐(0)
2017年9月7日
php调用微信客服消息接口给用户发送信息
摘要: $token_file = fopen("token.txt", "r"); //获取文本里的access_token和时间戳 $rs = fgets($token_file); fclose($token_file); $attr = explode(',',$rs); $time2 = time
阅读全文
posted @ 2017-09-07 17:32 哔哩哔哩干杯
阅读(2036)
评论(0)
推荐(0)
2017年8月2日
ueditor富文本
摘要: 引入 <script type="text/javascript" src="utf8-php/ueditor.config.js"></script><script type="text/javascript" src="utf8-php/ueditor.all.js"></script> <!-
阅读全文
posted @ 2017-08-02 16:44 哔哩哔哩干杯
阅读(185)
评论(0)
推荐(0)
2017年4月10日
转:【CSS/JS学习】如何实现单行/多行文本溢出的省略(...)--老司机绕过坑道的正确姿势
摘要: 本文来源:http://www.cnblogs.com/penghuwan/p/6682303.html 引言: 写前端UI的朋友们也许都遇到过这样的问题:我们需要实现这样一个需求,在一个父级元素中隐藏一个可能过长的文本: 这个文本可能是单行的: 也可能是多行的: 下面我就给大家展示如何简单或优雅地
阅读全文
posted @ 2017-04-10 15:04 哔哩哔哩干杯
阅读(180)
评论(0)
推荐(0)
2017年3月31日
jq实现div移入与移出以及获得与失去焦点
摘要: <div id='id' style='left:0px'></div> $('#id').animate({left:100+"px"}); 使div向右滑动100px; $('#id').animate({left:-100+"px"}); 使div向左滑动100px; <input type=
阅读全文
posted @ 2017-03-31 17:17 哔哩哔哩干杯
阅读(1389)
评论(0)
推荐(0)
2017年3月29日
mysql索引
摘要: 转自http://www.jb51.net/article/49346.htm; 在数据库表中,对字段建立索引可以大大提高查询速度。假如我们创建了一个 mytable表: 复制代码代码如下: CREATE TABLE mytable( ID INT NOT NULL, username VARCHA
阅读全文
posted @ 2017-03-29 15:50 哔哩哔哩干杯
阅读(179)
评论(0)
推荐(0)
2017年3月28日
通过a标签直接下载图片或文本文档
摘要: a标签直接下载文件如果遇到图片或文本文档则默认会直接打开,而不是下载,可以 <a href="/uploadfolder/xxxx.txt" download="文件名.txt">点击下载</a> ,如果download为空则默认使用文件名
阅读全文
posted @ 2017-03-28 14:07 哔哩哔哩干杯
阅读(3036)
评论(0)
推荐(0)
2017年3月27日
上传文件后获得返回的信息
摘要: <form id="tj_1" action="public/sccl.php" target="hidden_frame" method="post" enctype="multipart/form-data"> <input type='text' hidden="hidden" id="tj_
阅读全文
posted @ 2017-03-27 21:22 哔哩哔哩干杯
阅读(394)
评论(0)
推荐(0)
1
2
3
4
5
···
21
下一页
公告