Only need to add one more field: activity type, it can be completely distinguished in one table. After such a design, people will still ask: how to create an activity, but we only need to explain it once, and the user will know where to create it later. Like the above example, there will also be a problem that is not friendly to development, such as pop-up advertisements; The function of the pop-up advertisement is that an advertisement will pop up after the user enters However since the background is a list, users can create multiple pop-up advertisements, which makes it necessary to add logic to the development the home page has added the King Kong area as an entrance diversion.
At the same time, only one pop-up window is allowed, and the newly created one shall prevail. The user must carefully adjust the "active time" of the pop-up window when creating it to see if there is any conflicting pop-up window. However, the special leads method of abstracting this product in the "WeChat" book is only a page, and there is no more explanation. We can extend this theory with a componentized approach due to a large number of product categories and more ways to play, users need to know more information when purchasing, so the link will be longer. In order to stimulate user interest, the page display is mainly based on the product image display of the ordinary product manager, and the team leader.
Activities have common elements, such as activity name and time, we can extract two components, these components have a common style and interaction (for example, the time beyond the end date cannot be selected), and the main body of each activity is configured separately. It can even go further: for example, the turntable, the nine-square grid, etc. are all lottery activities. The probability and prizes are also configured, so the backend can use the same components to configure two activities that look completely different on the frontend homepage directly displays product information except for the King Kong area and key channel floors, and adopts the method of allowing users to have a more comprehensive.