H5 natively introduces other page content on the current page

insert image description here

html

<div id="evalCode_E01" class="resultpage" style="width: 100vw;height: 100%;">
    <!-- sas_result_copy.html -->
</div>

js

Mainly use the .load method to introduce another page into a div of the current page

if ('#evalCode_E01' == '#evalCode_' + evalCode) {
    
    
    $('#evalCode_' + evalCode).load('../sas/sas_result_copy.html');
} 

Guess you like

Origin blog.csdn.net/BubbleABC/article/details/128198505