Giter VIP home page Giter VIP logo

Comments (37)

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

大佬 在线等哦

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

好像不行呢, 我过几天拓展下, 最近在修 index-list 的坑

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

可以具体描述下你的需求么, 因为需要控制的参数还是蛮多的, 所以不知道你需求的场景具体是什么样的

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

图片浏览 长按下面的缩略图可以实现放大拖拽排序
image

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

了解了

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

thanks

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

大佬 可有思路了 预览的图片限制10张

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

有点难

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

主要是横向,滑倒边缘,不好像垂直一样自动滑动一段距离, 如果是那样就必须加个 scroll-view 或者用 css transition, 但是垂直情况的直接调用 wx.pageScrollTo 就好了. 而且横向考虑多行也是个问题, 所以思路混乱~~~

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

是啊 我搜遍全网也没看到水平拖拽的 只有竖直的

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

这个只有一行 没有多行 而且只有10张照片

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

因为,横向真的不一样, 横向的时候按照垂直的逻辑来说应该是按照从上到下的顺序来排列每一个初始化的数据, 但按照正常阅读习惯这样是不对的,还是要横向去排列,这个就麻烦了,因为要多定义好多参数,最起码你要规定我一行有几个

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

要做肯定要做多行的,,一行的搞定了,多行也差不多了

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

假如一行只显示4个或5个可以做吗

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

我在想想吧,你也可以看看源码找找思路

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

只要是超出屏幕都一样

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

ok

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

问题就在于横屏超出之后,滑到底怎么滚动

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

安卓/ios原生应该有类似的组件

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

微信小程序不好控制滚动,想控制必须加scroll-view,原生肯定可以的

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

前端写起来太蛋疼了,体验都跟不上

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

https://www.jianshu.com/p/d965c80fe901

大佬 看看这个

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

拖拽我这个可以的,问题就是超出之后怎么滚,真的爆炸头疼,试了scroll-view, transition,movable-view 体验都很差

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

我也吐血了

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

我再看看,你这个可以降级先弄两排,一排五个将就顶一下~~

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

666

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

这个加单击事件回调怎么加呢

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

image
有个bug 往左边拖动到屏幕外面 有很大几率回不来 显示空白了 如图

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

...拖到屏幕外, 手势事件会断掉

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

往其他方向都可以 就是左边会断掉.......

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

不是很明白, 你是在手机上还是模拟器上测的, 我手机试了下没啥问题

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

模拟器 真机没问题 ok

但是在ios上拖动效果不是很好 很容易重叠在一起回不去

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

真机?我怎么没遇到过

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

真机 ios 的 我再看看

from wxp-ui.

singletouch avatar singletouch commented on May 18, 2024

不要搞真机调试, 那玩意卡的很

from wxp-ui.

Blizzard-liu avatar Blizzard-liu commented on May 18, 2024

不是真机调试 是正常测试 ios比安卓问题多

from wxp-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.