Tencent / Tencent/tdesign-miniprogram

[Drag]拖拽排序

Open
#2,966 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

这个功能解决了什么问题

拖拽排序,列表item,可长按拖拽排序
使用场景,例如多项选项,通过排序确定优先级,例如发货快递公司选择或者推荐,支付通道选择,银行支付卡优先级等多项优先级选择

你建议的方案是什么

官方的movable-area仅仅只是悬浮移动,并不能很好展现拖拽场景
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the issue's proposed drag-sorting interaction and the WeChat MiniProgram movable-area behavior. Define the component scope and acceptance criteria for long-press reordering of list items, including how priority order is represented; the issue names no file or test entry point.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.