Comments (37)
大佬 在线等哦
from wxp-ui.
好像不行呢, 我过几天拓展下, 最近在修 index-list 的坑
from wxp-ui.
可以具体描述下你的需求么, 因为需要控制的参数还是蛮多的, 所以不知道你需求的场景具体是什么样的
from wxp-ui.
from wxp-ui.
了解了
from wxp-ui.
thanks
from wxp-ui.
大佬 可有思路了 预览的图片限制10张
from wxp-ui.
有点难
from wxp-ui.
主要是横向,滑倒边缘,不好像垂直一样自动滑动一段距离, 如果是那样就必须加个 scroll-view 或者用 css transition, 但是垂直情况的直接调用 wx.pageScrollTo 就好了. 而且横向考虑多行也是个问题, 所以思路混乱~~~
from wxp-ui.
是啊 我搜遍全网也没看到水平拖拽的 只有竖直的
from wxp-ui.
这个只有一行 没有多行 而且只有10张照片
from wxp-ui.
因为,横向真的不一样, 横向的时候按照垂直的逻辑来说应该是按照从上到下的顺序来排列每一个初始化的数据, 但按照正常阅读习惯这样是不对的,还是要横向去排列,这个就麻烦了,因为要多定义好多参数,最起码你要规定我一行有几个
from wxp-ui.
要做肯定要做多行的,,一行的搞定了,多行也差不多了
from wxp-ui.
假如一行只显示4个或5个可以做吗
from wxp-ui.
我在想想吧,你也可以看看源码找找思路
from wxp-ui.
只要是超出屏幕都一样
from wxp-ui.
ok
from wxp-ui.
问题就在于横屏超出之后,滑到底怎么滚动
from wxp-ui.
安卓/ios原生应该有类似的组件
from wxp-ui.
微信小程序不好控制滚动,想控制必须加scroll-view,原生肯定可以的
from wxp-ui.
前端写起来太蛋疼了,体验都跟不上
from wxp-ui.
哎
from wxp-ui.
https://www.jianshu.com/p/d965c80fe901
大佬 看看这个
from wxp-ui.
拖拽我这个可以的,问题就是超出之后怎么滚,真的爆炸头疼,试了scroll-view, transition,movable-view 体验都很差
from wxp-ui.
我也吐血了
from wxp-ui.
我再看看,你这个可以降级先弄两排,一排五个将就顶一下~~
from wxp-ui.
666
from wxp-ui.
这个加单击事件回调怎么加呢
from wxp-ui.
有个bug 往左边拖动到屏幕外面 有很大几率回不来 显示空白了 如图
from wxp-ui.
...拖到屏幕外, 手势事件会断掉
from wxp-ui.
往其他方向都可以 就是左边会断掉.......
from wxp-ui.
不是很明白, 你是在手机上还是模拟器上测的, 我手机试了下没啥问题
from wxp-ui.
模拟器 真机没问题 ok
但是在ios上拖动效果不是很好 很容易重叠在一起回不去
from wxp-ui.
真机?我怎么没遇到过
from wxp-ui.
真机 ios 的 我再看看
from wxp-ui.
不要搞真机调试, 那玩意卡的很
from wxp-ui.
不是真机调试 是正常测试 ios比安卓问题多
from wxp-ui.
Related Issues (20)
- 加上图片删除功能 HOT 1
- 大佬你好,我提个建议,也是我目前急需的功能。 HOT 5
- 一个页面两处使用时出现BUG HOT 4
- 别的组件都看懂了,但swipe-list是啥 HOT 2
- 使用scss,上传时scss也会被上传吧? HOT 1
- 拖拽排序组件 HOT 1
- 为什么还要自己转scss,不直接用wxss? HOT 1
- 在 Taro 中使用 drag 组件,显示不出来,大佬看看是怎么回事? HOT 2
- 使用drag组件,在listData添加数据后重新调用drag.init()方法后图片不显示
- scroll 组件使用问题
- 拖拽组件item高度不一致问题 HOT 1
- demo里空列表会不断刷新
- drag-item 组件中如果有多个事件,触发delete事件时,itemClick addimg事件也是触发delete里面的方法,不会触发原函数方法 HOT 1
- scroll组件下拉加载时重复请求 HOT 1
- 拖拽组件双手操作 会卡住....这个现象可以解决么
- scroll 组件 上滑多个页面后,快速上拉一下到顶,会有一个瞬间回弹操作,导致卡在第一个item一半的位置。
- 在头条小程序中,无法回调加载更多的方法
- 元素大小不一样, 的啥时候支持
- 当页面需要多个排序组件时,长按后位置动画错误
- 双指拖动图片导致图片布局错乱
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wxp-ui.