It depends on the extent, because there are many templates that are the same and are used by many people. Secretary, if there are several pages with the same layout, this is not considered plagiarism. Content is what matters.
If the packaging has the same layout as the prototype, it is considered plagiarism, but whether it is an infringement should be determined based on the specific circumstances. If the other party's patent does not comply with the provisions of the patent law, for example, if it has been disclosed before the patent application date, it is not an infringement, otherwise it is an infringement.