mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
perf:优化菜单栏鼠标悬停时显示信息 (#90)
* perf:优化菜单栏鼠标悬停时显示信息 * perf:优化菜单栏鼠标悬停时显示信息 * perf:优化菜单栏鼠标悬停时显示信息
This commit is contained in:
parent
9efb72c8bb
commit
994793c967
@ -15,7 +15,7 @@
|
||||
class="item"
|
||||
th:href="${menuItem.status.href}"
|
||||
th:target="${menuItem.spec.target?.value}"
|
||||
th:title="${menuItem.status.displayName}">
|
||||
th:title="${#annotations.getOrDefault(menuItem, 'desc', menuItem.status.displayName)}">
|
||||
<i th:if="${!#strings.isEmpty(#annotations.getOrDefault(menuItem, 'icon', ''))}"
|
||||
th:class="${'m-icon ' + #annotations.getOrDefault(menuItem, 'icon', '')}"></i>
|
||||
[[${menuItem.status.displayName}]]
|
||||
@ -25,7 +25,7 @@
|
||||
<a class="item"
|
||||
th:href="${#strings.defaultString(menuItem.status.href, 'javascript:')}"
|
||||
th:target="${menuItem.spec.target?.value}"
|
||||
th:title="${menuItem.status.displayName}">
|
||||
th:title="${#annotations.getOrDefault(menuItem, 'desc', menuItem.status.displayName)}">
|
||||
<i th:if="${!#strings.isEmpty(#annotations.getOrDefault(menuItem, 'icon', ''))}"
|
||||
th:class="${'m-icon ' + #annotations.getOrDefault(menuItem, 'icon', '')}"></i>
|
||||
[[${menuItem.status.displayName}]]
|
||||
@ -37,7 +37,7 @@
|
||||
<a class="item"
|
||||
th:href="${#strings.defaultString(dropdown.status.href, 'javascript:')}"
|
||||
th:target="${dropdown.spec.target?.value}"
|
||||
th:title="${dropdown.status.displayName}">
|
||||
th:title="${#annotations.getOrDefault(dropdown, 'desc', dropdown.status.displayName)}">
|
||||
<i th:if="${!#strings.isEmpty(#annotations.getOrDefault(dropdown, 'icon', ''))}"
|
||||
th:class="${'m-icon ' + #annotations.getOrDefault(dropdown, 'icon', '')}"></i>
|
||||
[[${dropdown.status.displayName}]]
|
||||
@ -47,7 +47,7 @@
|
||||
<a class="item"
|
||||
th:href="${dropdownChild.status.href}"
|
||||
th:target="${dropdownChild.spec.target?.value}"
|
||||
th:title="${dropdownChild.status.displayName}">
|
||||
th:title="${#annotations.getOrDefault(dropdownChild, 'desc', dropdownChild.status.displayName)}">
|
||||
<i th:if="${!#strings.isEmpty(#annotations.getOrDefault(dropdownChild, 'icon', ''))}"
|
||||
th:class="${'m-icon ' + #annotations.getOrDefault(dropdownChild, 'icon', '')}"></i>
|
||||
[[${dropdownChild.status.displayName}]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user