Home  >  Q&A  >  body text

javascript - H5 page is embedded into ios, but the effect is different when opened on the same mobile phone.

The H5 page is embedded into ios, and the same app version is opened on iPhone 6.
The page is not normal after opening on an iPhone 6. How to trace the cause...

The products are all crowded in one row. Normally there are two products in one row.
This situation seems to be a problem that occurs when the network is not loaded yet..

仅有的幸福仅有的幸福2694 days ago737

reply all(3)I'll reply

  • 为情所困

    为情所困2017-06-28 09:29:15

    You should set the width according to the layout of the image. The width is determined before the image is fully loaded. It is recommended to obtain the image width in advance and then set the layout.

    reply
    0
  • 天蓬老师

    天蓬老师2017-06-28 09:29:15

    iOS safari and Mac safari are combined to debug mobile pages.

    http://xuanmomo.com/1461.html

    reply
    0
  • 滿天的星座

    滿天的星座2017-06-28 09:29:15

    1. Try putting js at the end. Maybe js loads faster.
    2. Is the meta tag written correctly?

    reply
    0
  • Cancelreply