摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><style type='text/css'> #container{position:absolute;left:50%; 阅读全文
posted @ 2018-11-15 17:11 shuihanxiao 阅读(1054) 评论(0) 推荐(0) 编辑
摘要: 1. 实现下拉刷新和下拉加载效果 iscroll-probe.js 2.手势密码插件 阅读全文
posted @ 2018-11-08 17:50 shuihanxiao 阅读(404) 评论(0) 推荐(0) 编辑
摘要: html <textarea id="bar" cols="62" rows="5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">3dd</textarea> <button class=" 阅读全文
posted @ 2018-11-08 17:44 shuihanxiao 阅读(463) 评论(0) 推荐(0) 编辑
摘要: <form class="mian__form" @submit.prevent="submit"> <ul> <li> <div class="form__til">企业名称</div> <div class="form__input"> <input id="companyName" type= 阅读全文
posted @ 2018-11-08 17:09 shuihanxiao 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1. vue-cli 构建项目 # 全局安装 vue-cli $ npm install --global vue-clif # 创建一个基于 webpack 模板的新项目 $ vue init webpack your-project-name # 安装依赖 $ npm install # 进入项 阅读全文
posted @ 2018-11-08 16:54 shuihanxiao 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1、main.js中添加 vue.config.productiontip = false 这样即可去除警告! 第一个除了那个配置意外,还需要将 NODE_ENV 设置为 production 参考文档 https://cn.vuejs.org/v2/guide/deployment.html# F 阅读全文
posted @ 2018-11-08 16:19 shuihanxiao 阅读(4154) 评论(0) 推荐(0) 编辑
摘要: fastclick:处理移动端click事件300毫秒延迟 1、兼容性iOS 3及更高版本的移动SafariiOS 5及更高版本的ChromeAndroid上的Chrome(ICS)Opera Mobile 11.5及以上版本Android 2以来的Android浏览器PlayBook OS 1及以 阅读全文
posted @ 2018-11-08 14:55 shuihanxiao 阅读(156) 评论(0) 推荐(0) 编辑
摘要: var url = "http://www.wrox.com/illegal value.html#start";encodeURIComponent(url) //"http%3A%2F%2Fwww.wrox.com%2Fillegal%20value.html%23start" encodeUR 阅读全文
posted @ 2018-11-05 15:40 shuihanxiao 阅读(212) 评论(0) 推荐(0) 编辑
摘要: npm install --save jsencrypt 阅读全文
posted @ 2018-11-05 15:04 shuihanxiao 阅读(543) 评论(0) 推荐(0) 编辑
摘要: /*重置浏览器默认样式*/body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,form, fieldset, input, textarea, p, blockquote, th, td ,button{ padding: 0 阅读全文
posted @ 2018-11-05 14:53 shuihanxiao 阅读(1026) 评论(0) 推荐(0) 编辑