refactor: 完成Handlebars模板组件化

This commit is contained in:
Zuoling Rong
2025-05-08 01:32:14 +08:00
parent 6474fa3635
commit 9ea6cb1f09
24 changed files with 1440 additions and 598 deletions

View File

@@ -1,6 +1,6 @@
{{#each this}}
<div class="nav-item-wrapper">
<a href="#" class="nav-item{{#if active}} active{{/if}}" data-page="{{id}}">
<a href="#" class="nav-item{{#if isActive}} active{{/if}}{{#if active}} active{{/if}}" data-page="{{id}}">
<div class="icon-container">
<i class="{{icon}}"></i>
</div>