摘要: 从点击屏幕上的元素到触发元素的 click 事件,移动浏览器会有大约 300 毫秒的等待时间 fastclick清除点击延迟,让程序更灵敏 1、导出fastclick 2、 阅读全文
posted @ 2017-12-05 15:59 _York 阅读(2649) 评论(0) 推荐(0) 编辑
摘要: 1、导出VueRouter 2、全局注册VueRouter插件,在组件中就可以使用this.$router 来访问路由 3、定义路由 4、路由加载前后事件 5、创建和挂载根实例。 // 记得要通过 router 配置参数注入路由, // 从而让整个应用都有路由功能 6、JS 路由功能 阅读全文
posted @ 2017-12-05 15:46 _York 阅读(248) 评论(0) 推荐(0) 编辑
摘要: using Newtonsoft.Json; using System; using System.Collections.Concurrent; using System.Diagnostics; using System.IO; using System.Threading; using System.Web; namespace TestQuenu { /// /// ... 阅读全文
posted @ 2017-11-30 17:19 _York 阅读(542) 评论(0) 推荐(0) 编辑
摘要: href属性值“javascript:void()”,括号中没有加“0” 阅读全文
posted @ 2017-11-28 11:19 _York 阅读(318) 评论(0) 推荐(0) 编辑
摘要: /// /// 转换成MP4格式 /// /// /// public static string ToMp4(string fromFilePath) { string ffmpeg = HttpContext.Current.Server.MapPath("/") ... 阅读全文
posted @ 2017-11-28 08:52 _York 阅读(426) 评论(0) 推荐(1) 编辑
摘要: private static bool IsVideo(HttpPostedFile file) { bool isVideo = false; string fileName = file.FileName; IList formateList = new List { "... 阅读全文
posted @ 2017-11-28 08:51 _York 阅读(2979) 评论(0) 推荐(0) 编辑
摘要: Ctrl+C 退出.............. 阅读全文
posted @ 2017-11-24 10:18 _York 阅读(1323) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-11-23 15:25 _York 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 简单的说 Node.js 就是运行在服务端的 JavaScript。 Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台。 Node.js是一个事件驱动I/O服务端JavaScript环境,基于Google的V8引擎,V8引擎执行Javascript的速度非常快,性能 阅读全文
posted @ 2017-11-23 14:41 _York 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Web.config 下<system.webServer> 节点下配置 设置允许跨域传递Cookie 前端 请求的时候需设定:withCredentials = true; 设置了widthCredentials为true的请求中会包含远程域的所有cookie 阅读全文
posted @ 2017-11-22 10:41 _York 阅读(2909) 评论(0) 推荐(1) 编辑