If the first p and the second p are exchanged on the mobile terminal, the body will scroll down.
Currently I have no ideas and don’t want to reinvent the wheel.
Is there any effect like http://www.jq22.com/demo/drag...?
已解决
https://github.com/RubaXa/Sortable
https://github.com/RubaXa/Sor...
Naturally it is achievable.
Replace the
mousedown, mousemove, mouseup
on the PC side with thetouchstart, touchmove, touchend
supported by the mobile side.Documentation on MDN
Your online example jq has not been included. To achieve this effect, just use the jq sort plug-in