摘要: ``` watch: { "$route"(){ if (/iPhone|mac|iPod|iPad/i.test(navigator.userAgent)) { location.href = 'localhost:8081/mob/#' + this.$route.path } }, }, ``` 阅读全文
posted @ 2018-09-27 16:30 taoquns 阅读(4101) 评论(1) 推荐(0) 编辑
摘要: 原文地址: https://blog.csdn.net/u010377383/article/details/79838562 前言 为了提升移动端click的响应速度,使用了fastclick.js这么一个库。 这个库导致这个可编辑的div被点击无法轻松的唤起输入法。 长按才能成功。div的一个c 阅读全文
posted @ 2018-09-17 15:07 taoquns 阅读(1131) 评论(1) 推荐(1) 编辑
摘要: 服务器改了密码,试过密码多次后出现: 可以通过ssh v查看连接时详情 最后找打解决方法: 追加: 重启ssh就ok了 阅读全文
posted @ 2018-09-05 11:10 taoquns 阅读(121596) 评论(3) 推荐(3) 编辑
摘要: ``` x-webkit-airplay="true",x5-playsinline="true",webkit-playsinline="true",playsinline="true" ``` 阅读全文
posted @ 2018-09-04 17:14 taoquns 阅读(811) 评论(0) 推荐(0) 编辑
摘要: mac 远程桌面连接分享 8.0版本 https://pan.baidu.com/s/1wgVvAmQreGwYZAhLST764w 10.0版本 https://pan.baidu.com/s/1Y UNt6bIrmphEh7MiB10tQ 阅读全文
posted @ 2018-03-22 10:57 taoquns 阅读(229) 评论(0) 推荐(0) 编辑
摘要: vue 使用Jade模板写html,stylus写css 日常工作都是使用vue开发页面和webApp,写的多了就想偷懒简化各种书写方式,所以使用了jade写html,stylus写css,省了很多的步骤和提高了效率。 安装包 配置文件 jade使用前后对比 使用Jade注意事项 需要简单了解jad 阅读全文
posted @ 2018-02-22 23:09 taoquns 阅读(3618) 评论(0) 推荐(2) 编辑
摘要: stylus w style.styl o style.css 阅读全文
posted @ 2018-01-31 16:53 taoquns 阅读(355) 评论(0) 推荐(0) 编辑
摘要: flex 布局 input 宽度不自适应 解决方法: 给 input 加上min height 解决! 阅读全文
posted @ 2018-01-26 12:09 taoquns 阅读(1595) 评论(1) 推荐(0) 编辑
摘要: https://www.taoquns.com "自己搭的个人博客" require.js 参考阮一峰 "Javascript模块化编程(三):require.js的用法" r.js 合并压缩 参考司徒正美 "r.js合并实践" 准备: vue.js 原本是学习vue组件 require.js 然后 阅读全文
posted @ 2016-10-14 14:46 taoquns 阅读(13805) 评论(7) 推荐(0) 编辑
摘要: 本文基本是参照着 用Grunt与livereload构建实时预览的开发环境 实操了一遍,直接实现能实时预览文件列表,内容页面。不用刷新页面了,这比以前开发网页程序都简单。 这里要用到的 Grunt 插件有 grunt-contrib-connect , 用来充当一个静态文件服务器,本身集成了 liv 阅读全文
posted @ 2016-07-15 11:41 taoquns 阅读(843) 评论(0) 推荐(0) 编辑