码迷,mamicode.com
首页 >  
搜索关键字:better    ( 1030个结果
vue.js 1.0中用v-for遍历出的li中的@click事件在移动端无效
在vue.js使用v-for遍历出的li中的@click事件在移动端无效,在网页端可以执行,代码如下 应该是你使用了better-scroll的原因,默认它会阻止touch事件。所以在配置中需要加上click: true 具体的配置还可以查看 https://github.com/ustbhuang ...
分类:移动开发   时间:2017-10-08 20:27:14    阅读次数:249
第二次作业:软件产品分析之网易云音乐
1.产品相关信息 1.1你选择的产品是 我选择的产品是网易云音乐 1.2为什么选择该产品作为分析? 著名短租网站Airbnb创始人Brian Chesky在去年的一次演讲中曾经说过”Better to have a 100 people who love you than a million peo ...
分类:其他好文   时间:2017-10-07 19:43:36    阅读次数:334
hdu 2828 Buy Tickets
Buy Tickets Problem Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queu ...
分类:其他好文   时间:2017-10-06 17:33:57    阅读次数:168
July 20th 2017 Week 29th Thursday
The darkness is no darkness with you. 有了你,黑暗将不再是黑暗。 The darkness will not be driven out if we failed to light a candle. With somebody accompanying us, ...
分类:其他好文   时间:2017-10-02 10:08:32    阅读次数:94
July 19th 2017 Week 29th Wednesday
Rather than envy others, it is better to speed up their own pace. 与其羡慕他人,不如加快自己的脚步。 The envy of others' success or happy life is not always a bad thin ...
分类:其他好文   时间:2017-10-02 00:24:52    阅读次数:240
HDU 1856 并查集
http://acm.hdu.edu.cn/showproblem.php?pid=1856 More is better Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 327680/102400 K (Java/Others)Total ...
分类:其他好文   时间:2017-09-29 01:41:41    阅读次数:164
写出优质Java代码的4个技巧(转)
http://geek.csdn.net/news/detail/238243 原文:4 More Techniques for Writing Better Java 作者:Justin Albano 翻译:Vincent 译者注:如果现在要求对你写的Java代码进行优化,那你会怎么做呢?作者在本 ...
分类:编程语言   时间:2017-09-28 09:52:03    阅读次数:164
better-scroll 与 Vue 结合
什么是 better-scroll better-scroll 是一个移动端滚动的解决方案,它是基于 iscroll 的重写,它和 iscroll 的主要区别在这里。better-scroll 也很强大,不仅可以做普通的滚动列表,还可以做轮播图、picker 等等。 better-scroll 的 ...
分类:其他好文   时间:2017-09-27 17:32:03    阅读次数:193
better-scroll插件 api
Vue中的better-scroll插件 问题: PC页面时,点击不会被 better-scroll阻止事件,初始化,给 better-scroll派发事件,使移动端拥有点击事件,因此切换到PC端时,点击事件会被执行两次, 方法:在点击时,传 $event变量,Better-scroll插件中的 e ...
分类:Windows程序   时间:2017-09-27 17:31:50    阅读次数:441
常用项目依赖(前端)
记录一些比较实用的项目依赖: 1、fastclick 解决移动端click事件300ms延迟的一个问题 import引入,fastclick.attach(document.body); 2、better-scroll 移动端滑屏的操作,不用自己写了,开心 实例需要注意dom是否渲染,参数详情查看官 ...
分类:其他好文   时间:2017-09-25 01:00:01    阅读次数:492
1030条   上一页 1 ... 40 41 42 43 44 ... 103 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!