This commit is contained in:
2025-11-21 19:06:27 +07:00
parent 971a23ae2a
commit 1dda5db73b
2 changed files with 36 additions and 9 deletions

View File

@@ -620,7 +620,8 @@
{% assign _type = _category[0] %}
{% assign _menuArray = _category[1].menu %}
{% if _category[1].enable == 1 %}
<li>
<li
class="{%- for _item in _menuArray -%}{%- if _item.url == global.url -%} active {%- endif -%} {%- endfor -%}">
<div class="flex items-center gap-3">
{% if _type == 'order' %}
<span class="iconify lucide--store tw-tsa"></span>
@@ -649,7 +650,8 @@
</div>
<ul class="p-2 submenu">
{% for _item in _menuArray %}
<li><a href="{{ _item.url }}" style="white-space: nowrap">{{ _item.name }}</a></li>
<li class="{% if _item.url == global.url %} active {% endif %}"><a href="{{ _item.url }}"
style="white-space: nowrap">{{ _item.name }}</a></li>
{% endfor %}
</ul>
</li>