|
1234567891011121314151617181920212223 |
- $(function() {
- var parameter = $(".section_2_html_root").data("page-params");
- parameter = JSON.parse(parameter);
- var sectionsHtmlArr = [
- "section_2_class_all",
- // "section_2_class_single",
- // "section_2_level",
- // "section_2_part",
- // "section_2_lin_all",
- // "section_2_lin_single",
- // "section_2_excellent_all"
- ];
- $(".section_2.score_analysis_root").html(sectionsHtmlArr.map(function (htmlName) {
- return "<div class='" + htmlName + "_html_root'></div>";
- }).join(""));
- sectionsHtmlArr.forEach(function(htmlName) {
- $(".section_2.score_analysis_root ." + htmlName + "_html_root").data("page-params", JSON.stringify({
- cjfx: parameter.cjfx,
- djfx: parameter.djfx
- }));
- $(".section_2.score_analysis_root ." + htmlName + "_html_root").load("./sections/scoreAnalysis/" + htmlName + ".html");
- });
- });
|