How does the website implement the background drag-and-drop layout and save the front-end display?

problem description

clipboard.png

like this one in the picture, drag and drop the layout, and then you can make configuration changes to the layout, and then save it. How should this be achieved?

the environmental background of the problems and what methods you have tried

I want to do something similar here, such as enterprise station building, mall layout, etc. I have thought about generating json data from the layout and then rendering it from the foreground, as well as using Sortable jq plug-ins to achieve drag and drop.

what result do you expect? What is the error message actually seen?

but in the end, I still feel that all the methods are troublesome. I want to know what do you think of this? Or have already done this kind of web application, you can leave your experience to share with us.

Mar.08,2022

is so troublesome. If it were that simple, many cms could do it because of trouble and uncertainty.

Menu