2018年7月12日

摘要: 前提:你的.apk文件所在路径正确,例如:www.grainnews.com.cn:8002/Attach/Images/201807/20180712091842127.apk 1.打开IIS 2.双击你的网站,找到MIME类型,双击打开它, 3.在右上角,点击添加 4.文件扩展名: .apk , 阅读全文
posted @ 2018-07-12 09:40 幽默是一种心情 阅读(624) 评论(0) 推荐(0) 编辑
 

2018年7月2日

摘要: layer.msg(resp.msg, { shift: -1, time: 2000 }, function () { window.location.href = document.referrer; }); 阅读全文
posted @ 2018-07-02 09:59 幽默是一种心情 阅读(1684) 评论(0) 推荐(0) 编辑
 

2018年5月31日

摘要: 1.Ctrl+O在PS里打开你要切图的长图 2.Ctrl+R显示标尺参考线 3.然后点击标尺栏按住不动,拖拽参考线,把参考线放在你要切图的合适位置 4.左侧菜单选择“切片工具”,点击上方的“基于参考线的切片” 5.点击“文件”——“存储为web所用格式”,按着步骤 存储到你想存储的路径就好了 (PS 阅读全文
posted @ 2018-05-31 14:11 幽默是一种心情 阅读(166) 评论(0) 推荐(0) 编辑
 

2018年5月10日

摘要: 语法:$(selector).toggle(speed,callback,switch) 实例: <script src="js/jquery.min.js"></script> <script type="text/javascript"> $(function () { $("input").c 阅读全文
posted @ 2018-05-10 09:38 幽默是一种心情 阅读(1159) 评论(0) 推荐(0) 编辑
 

2018年5月8日

摘要: 1.stringObject.substring(start,stop) 用于提取字符串中介于两个指定下标之间的字符。 (1) start必需。一个非负的整数,规定要提取的子串的第一个字符在 stringObject 中的位置。 (2) stop可选。一个非负的整数,比要提取的子串的最后一个字符在 阅读全文
posted @ 2018-05-08 11:39 幽默是一种心情 阅读(577) 评论(0) 推荐(1) 编辑
 

2018年4月28日

摘要: <head runat="server"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>图片编辑</title> <script src="js/jquery-1.7.2.js"></scrip 阅读全文
posted @ 2018-04-28 11:07 幽默是一种心情 阅读(397) 评论(0) 推荐(0) 编辑
 

2018年4月27日

摘要: static Regex RegPhone = new Regex(@"^((1[34578][0-9]{1}))\d{8}"); static Regex RegNumber = new Regex(@"^[0-9]+$"); static Regex RegNumberSign = new Re 阅读全文
posted @ 2018-04-27 18:52 幽默是一种心情 阅读(700) 评论(0) 推荐(0) 编辑
 
摘要: layer.open({ type: 2, anim: 5,//加上anim,渐显 title: '品牌列表', shadeClose: false, maxmin: true, //开启最大化最小化按钮 area: ['800px', '100%'], content: '/Admin/crumb 阅读全文
posted @ 2018-04-27 18:41 幽默是一种心情 阅读(2399) 评论(0) 推荐(0) 编辑
 
摘要: (1)子页面调用父页面的方法或者变量: window.parent.方法()或者变量名 例如:想在子页面中得到 id 为 aaa 的文本框的值 window.parent.$("#aaa").val();//这种写法的前提是引用了jquery window.parent.getElementById 阅读全文
posted @ 2018-04-27 18:11 幽默是一种心情 阅读(3725) 评论(0) 推荐(0) 编辑
 
摘要: layer.open({ type: 1, title: ‘在线调试‘, content: ‘这里是内容‘, maxmin: true, //开启最大,最小,还原按钮,只有type为1和2时,才能设置 full: function() { //点击最大化后的回调函数 console.log(‘这个是 阅读全文
posted @ 2018-04-27 18:03 幽默是一种心情 阅读(973) 评论(0) 推荐(0) 编辑