Realize the module storage function in the background

A module similar to Taobao stores goods, such as one on the left and two on the right (see figure). You need to do a background. You can let the merchant choose the template style and the products in the template, which can be displayed in app. How to realize this background function

clipboard.png

Jun.11,2021
There is no need to store the specific implementation of the template in the background

. You only need to store a code name for the template. For example, the style on the left is A, the style on the right is B, and the user selects the template on the left and stores a record similar to (userId, A) in the database. When rendering the interface at the current end, get the user's options from the background, and then render dynamically according to the options (generally changing the css).

Menu