2016年10月16日

摘要: 一、效果展示 二、使用方法 1)、相关css和js的引用 2)、页面html 3)、初始化表格js和相应的增、删、改、查js事件 4)、控制器方法 项目源码下载: http://files.cnblogs.com/files/weishuanbao/BootstrapTable.rar 参考资料: 阅读全文
posted @ 2016-10-16 18:15 CeleryCabbage 阅读(2727) 评论(0) 推荐(0) 编辑

2016年7月19日

摘要: 返回博客列表 转 .Net中的加密解密 李朝强 发布时间: 2015/11/23 12:55 阅读: 33 收藏: 3 点赞: 0 评论: 0 转 .Net中的加密解密 李朝强 李朝强 发布时间: 2015/11/23 12:55 阅读: 33 收藏: 3 点赞: 0 评论: 0 发布时间: 201 阅读全文
posted @ 2016-07-19 19:13 CeleryCabbage 阅读(4224) 评论(0) 推荐(0) 编辑

2016年6月16日

摘要: 安装篇 第一步:配置防火墙(默认情况下,端口80和3306是拒绝访问的,在防火墙上进行配置): vi /etc/sysconfig/iptables(在"COMMIT"的上一行加上如下两句) -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 阅读全文
posted @ 2016-06-16 17:45 CeleryCabbage 阅读(2616) 评论(0) 推荐(0) 编辑

2016年6月6日

摘要: 1 一、接口设计 2 1.1. IBaseRepository.cs 3 public interface IBaseRepository 4 { 5 T Add(T entity); 6 bool Update(T entity); 7 bool Delete(T entity); 8 IQ... 阅读全文
posted @ 2016-06-06 15:46 CeleryCabbage 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 天气 7 8 9 10 11 12 13 14 15 16 17 18 19 20 86 87 阅读全文
posted @ 2016-06-06 09:24 CeleryCabbage 阅读(546) 评论(0) 推荐(0) 编辑

2016年4月20日

摘要: 1.html代码 <div id="qrcode" style="width:200px; height:200px;position: fixed;bottom: 40%; right: 20%;"></div> 2.引入外部js文件 <script src="QRCode.js"></scrip 阅读全文
posted @ 2016-04-20 11:31 CeleryCabbage 阅读(705) 评论(0) 推荐(0) 编辑
摘要: 1.html代码 <input type="number" id="mobileNo" placeholder="请输入手机号" /> <input type="button" id="btnGetCode" style="background-color:#68BE02;color: #FFFFF 阅读全文
posted @ 2016-04-20 11:07 CeleryCabbage 阅读(421) 评论(0) 推荐(0) 编辑

2016年4月12日

摘要: 一、校验数字的表达式 1 数字:^[0-9]*$ 2 n位的数字:^\d{n}$ 3 至少n位的数字:^\d{n,}$ 4 m-n位的数字:^\d{m,n}$ 5 零和非零开头的数字:^(0|[1-9][0-9]*)$ 6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$ 7 带1-2位小数的正数或负数:^(\-)?\d+(\.\d{1,... 阅读全文
posted @ 2016-04-12 14:20 CeleryCabbage 阅读(1898) 评论(0) 推荐(0) 编辑

2016年3月15日

摘要: 1 一、微信第三方登录 2 通过微信打开链接:http://www.hzm.com/Entry/Login 3 微信OAuth2.0授权登录目前支持authorization_code模式,适用于拥有server端的应用授权。该模式整体流程为: 4 1. 第三方发起微信授权登录请求,微信用户允许授权第三方应用后,微信会拉起应用或重定向到第三方网站,并且带上授权临时票据code... 阅读全文
posted @ 2016-03-15 12:00 CeleryCabbage 阅读(1642) 评论(0) 推荐(0) 编辑

2016年3月11日

摘要: 1 1.前端页面代码 2 /** 3 * 通过图片本地路径获取图片真实大小,并进行压缩 4 */ 5 function getLocalRealSize(path, callback) { 6 var img = new Image(); 7 var tempimg = new Image(); 8 阅读全文
posted @ 2016-03-11 16:22 CeleryCabbage 阅读(9784) 评论(0) 推荐(0) 编辑

导航