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

This commit is contained in:
2025-07-10 13:20:55 +03:00
parent 18a259a5d2
commit e0ec889863
11 changed files with 114 additions and 21 deletions

View File

@@ -169,6 +169,11 @@ const routes = [
name: 'email-settings',
component: () => import('@/views/settings/AI/EmailSettingsView.vue'),
},
{
path: '/content',
name: 'content-page',
component: () => import('../views/ContentPageView.vue'),
},
];
const router = createRouter({

View File

@@ -0,0 +1,25 @@
<template>
<BaseLayout>
<div class="content-page-block">
<h2>Контент</h2>
<p>Здесь будет размещён контент.</p>
</div>
</BaseLayout>
</template>
<script setup>
import BaseLayout from '../components/BaseLayout.vue';
</script>
<style scoped>
.content-page-block {
background: #fff;
border-radius: 16px;
box-shadow: 0 4px 32px rgba(0,0,0,0.12);
padding: 32px 24px 24px 24px;
width: 100%;
margin-top: 40px;
position: relative;
overflow-x: auto;
}
</style>

View File

@@ -25,6 +25,13 @@
<i class="fas fa-table"></i> Подробнее
</button>
</div>
<!-- Новый блок Контент -->
<div class="crm-content-block">
<h2>Контент</h2>
<button class="btn btn-info" @click="goToContent">
<i class="fas fa-file-alt"></i> Подробнее
</button>
</div>
</div>
</BaseLayout>
</template>
@@ -195,6 +202,10 @@ function goToDleManagement() {
function goToContactsList() {
router.push({ name: 'contacts-list' });
}
function goToContent() {
router.push({ name: 'content-page' });
}
</script>
<style scoped>
@@ -347,4 +358,24 @@ strong {
font-size: 1rem;
padding: 8px 18px;
}
.crm-content-block {
margin: 32px 0 24px 0;
padding: 24px;
background: #f8fafc;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
display: flex;
align-items: center;
justify-content: space-between;
}
.crm-content-block h2 {
margin: 0;
font-size: 1.4rem;
font-weight: 600;
}
.crm-content-block .btn {
font-size: 1rem;
padding: 8px 18px;
}
</style>

View File

@@ -16,8 +16,8 @@
<button class="details-btn" @click="$router.push('/settings/security')">Подробнее</button>
</div>
<div class="main-block">
<h3>Интерфейс</h3>
<p>Настройки внешнего вида, локализации и пользовательского опыта.</p>
<h3>Сервер</h3>
<p>Настройки серверов, хостинга и публикации приложения.</p>
<button class="details-btn" @click="$router.push('/settings/interface')">Подробнее</button>
</div>
</div>