mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 15:53:50 +02:00
feat: add tools tab
This commit is contained in:
@@ -42,18 +42,19 @@
|
||||
import { useUiStore, useVRCXUpdaterStore } from '../stores';
|
||||
|
||||
const navItems = [
|
||||
{ index: 'feed', icon: 'el-icon-news', tooltip: 'nav_tooltip.feed' },
|
||||
{ index: 'gameLog', icon: 'el-icon-s-data', tooltip: 'nav_tooltip.game_log' },
|
||||
{ index: 'playerList', icon: 'el-icon-tickets', tooltip: 'nav_tooltip.player_list' },
|
||||
{ index: 'search', icon: 'el-icon-search', tooltip: 'nav_tooltip.search' },
|
||||
{ index: 'favorite', icon: 'el-icon-star-off', tooltip: 'nav_tooltip.favorites' },
|
||||
{ index: 'friendLog', icon: 'el-icon-notebook-2', tooltip: 'nav_tooltip.friend_log' },
|
||||
{ index: 'moderation', icon: 'el-icon-finished', tooltip: 'nav_tooltip.moderation' },
|
||||
{ index: 'notification', icon: 'el-icon-bell', tooltip: 'nav_tooltip.notification' },
|
||||
{ index: 'friendList', icon: 'el-icon-s-management', tooltip: 'nav_tooltip.friend_list' },
|
||||
{ index: 'charts', icon: 'el-icon-data-analysis', tooltip: 'nav_tooltip.charts' },
|
||||
{ index: 'profile', icon: 'el-icon-user', tooltip: 'nav_tooltip.profile' },
|
||||
{ index: 'settings', icon: 'el-icon-s-tools', tooltip: 'nav_tooltip.settings' }
|
||||
{ index: 'feed', icon: 'ri-rss-line', tooltip: 'nav_tooltip.feed' },
|
||||
{ index: 'gameLog', icon: 'ri-history-line', tooltip: 'nav_tooltip.game_log' },
|
||||
{ index: 'playerList', icon: 'ri-group-3-line', tooltip: 'nav_tooltip.player_list' },
|
||||
{ index: 'search', icon: 'ri-search-line', tooltip: 'nav_tooltip.search' },
|
||||
{ index: 'favorite', icon: 'ri-star-line', tooltip: 'nav_tooltip.favorites' },
|
||||
{ index: 'friendLog', icon: 'ri-contacts-book-3-line', tooltip: 'nav_tooltip.friend_log' },
|
||||
{ index: 'moderation', icon: 'ri-user-forbid-line', tooltip: 'nav_tooltip.moderation' },
|
||||
{ index: 'notification', icon: 'ri-notification-2-line', tooltip: 'nav_tooltip.notification' },
|
||||
{ index: 'friendList', icon: 'ri-contacts-book-2-line', tooltip: 'nav_tooltip.friend_list' },
|
||||
{ index: 'charts', icon: 'ri-bar-chart-line', tooltip: 'nav_tooltip.charts' },
|
||||
{ index: 'tools', icon: 'ri-tools-line', tooltip: 'nav_tooltip.tools' },
|
||||
{ index: 'profile', icon: 'ri-user-line', tooltip: 'nav_tooltip.profile' },
|
||||
{ index: 'settings', icon: 'ri-settings-3-line', tooltip: 'nav_tooltip.settings' }
|
||||
];
|
||||
|
||||
const VRCXUpdaterStore = useVRCXUpdaterStore();
|
||||
@@ -63,3 +64,16 @@
|
||||
const { menuActiveIndex, notifiedMenus } = storeToRefs(uiStore);
|
||||
const { selectMenu } = uiStore;
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.el-menu-item i[class*='ri-'] {
|
||||
font-size: 19px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user