Nested external page app

This method asks generally have a relatively large number of h5 of an iframe, my side of it is relatively simple processing requirements, you can use iframe, relatively simple.

First normal write a sub-page, normal click to jump to sub-pages, add iframe tag in the sub-pages, then you need to embed src path of the page to join it. Return, you can add your own head a navigation, mobile phones can also be physical back key, does not trigger Log problem.

In addition, we also use the back office systems iframe, is the dynamic acquisition src, href a label can be replaced target, which put src, after dynamic access to, added to the src iframe

Paste code app

 

 

 

 Below this js mainly because of a problem with the height of 100%, get a look at the height of the phone, dynamic assignment for a moment

Guess you like

Origin www.cnblogs.com/wuzhaoyu/p/12055833.html