problem description:
is like this. At present, there is a page with course details, showing different information according to different types, but in almost the same way. At present, there are three kinds of course details. I wrote three page pages when I took over the project. I would like to know if there is any way to extract common method logic. All three pages can be used publicly? Are there any good ideas and methods?
ps: the existing Mini Program page cannot be deleted, because a QR code is generated when the course details are involved, and the path will change if deleted