Home  >  Article  >  Backend Development  >  How to display product details in app

How to display product details in app

WBOY
WBOYOriginal
2016-10-09 08:32:261125browse

A product has product details, which are generally saved as HTML using a rich text editor in the background.
What I want to ask is, how should I provide the interface? Which of the following methods is better?
1. Save product details in the background, use all pictures, and save them as a picture array. When returning to the interface, return an array of all pictures, so that on the app side, one picture can be displayed row by row;
2 .Use a rich text editor in the background, save it, and then write an h5 adaptive page to display these html contents. The return interface is directly given to an h5 web page, so that the app can directly load the web page to the designated area

Which method is suitable?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn