ваше сообщение коммита

This commit is contained in:
2025-06-26 20:34:58 +03:00
parent 25f1286c93
commit 1f4024d5be
36 changed files with 1709 additions and 967 deletions

View File

@@ -1,5 +1,6 @@
<template>
<div class="security-settings settings-panel">
<button class="close-btn" @click="goBack">×</button>
<h2>Настройки безопасности и подключения к блокчейну</h2>
<!-- Индикатор загрузки -->
@@ -59,6 +60,7 @@ import useBlockchainNetworks from '@/composables/useBlockchainNetworks';
import eventBus from '@/utils/eventBus';
import RpcProvidersSettings from './RpcProvidersSettings.vue';
import AuthTokensSettings from './AuthTokensSettings.vue';
import { useRouter } from 'vue-router';
// Состояние для отображения/скрытия дополнительных настроек
const showRpcSettings = ref(false);
@@ -288,6 +290,9 @@ provide('removeAuthToken', removeAuthToken);
provide('addAuthToken', addAuthToken);
provide('newAuthToken', newAuthToken);
provide('networks', networks);
const router = useRouter();
const goBack = () => router.push('/settings');
</script>
<style scoped>
@@ -573,4 +578,20 @@ small {
transform: translateY(0);
}
}
.close-btn {
position: absolute;
top: 18px;
right: 18px;
background: none;
border: none;
font-size: 2rem;
cursor: pointer;
color: #bbb;
transition: color 0.2s;
z-index: 10;
}
.close-btn:hover {
color: #333;
}
</style>