diff --git a/app/index/view/tops_nas/helper_detail.phtml b/app/index/view/tops_nas/helper_detail.phtml index ebf21c1..2ce50d2 100644 --- a/app/index/view/tops_nas/helper_detail.phtml +++ b/app/index/view/tops_nas/helper_detail.phtml @@ -1,402 +1,452 @@ + - - - 帮助中心 - {include file='include/head-nas' /} - + + + 帮助中心 + {include file='include/head-nas' /} + + - - {include file='include/top-header-nas'/} -
- -
-
帮助中心 / 使用教程
- - - -
- -
- -
- -
- -
-
{$article.content|default=''}
-
- -
-
-

目录

-
    -
    -
    -
    -
    - {include file='include/bottom2023'/} - - + $('#dropdown').show().html(html); + } + }) + }, 300); + }) + // 内容 + // 清空标题列表 + $("#title-list ul").empty(); + // 提取 h1 标题 + var h1Titles = $("#rendered-content").find("h3"); + h1Titles.each(function(index) { + var title = $(this); + var titleText = title.text(); + var titleId = "title-" + index; + title.attr("id", titleId); + var listItem = $("
  • "); + var link = $("", { + href: "#" + titleId, + text: titleText + }); + listItem.append(link); + $("#title-list ul").append(listItem); + }); + }); + + + \ No newline at end of file