-
Импорт
+
Импорт
Экспорт
-
Сохранить
+
Сохранить
Предпросмотр
+
+
Курсор: ({{ xcord }}; {{ ycord }})
diff --git a/src/components/BaseSettings.vue b/src/components/BaseSettings.vue
new file mode 100644
index 0000000..b6c9486
--- /dev/null
+++ b/src/components/BaseSettings.vue
@@ -0,0 +1,67 @@
+
+
+
+
+
+ -
+
Ширина схемы:
+
+
+ -
+
Высота схемы:
+
+
+ -
+
Линия:
+
+
+
+
+
+
+
+
+ Название:
+
+
+ Номер:
+
+
+ Цвет:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/NewStation.vue b/src/components/NewStation.vue
new file mode 100644
index 0000000..ed8fac8
--- /dev/null
+++ b/src/components/NewStation.vue
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ Название:
+
+
+ Отображение:
+ Сверху
+ Снизу
+
+ Шаг (x: 0 — {{ store.width - 400 }}
):
+
+
+
+
+
+
+
+ Связанные станции (переходы):
+
+
+
+
+
+
+ {{ store.stations[store.stations.length-1].connectedStations[i - 1].name }}
+
+
+ Название:
+
+
+ Номер линии:
+
+
+ Цвет:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/StationsTable.vue b/src/components/StationsTable.vue
new file mode 100644
index 0000000..aeededf
--- /dev/null
+++ b/src/components/StationsTable.vue
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
+ Название
+ |
+
+ Шаг (x )
+ |
+ Действие |
+
+
+
+
+ {{ store.stations[i - 1].name }} |
+ {{ store.stations[i - 1].step }} |
+
+
+
+
+
+
+
+
+
+
+ Название:
+
+
+ Отображение:
+ Сверху
+ Снизу
+
+ Шаг (x: 0 — {{ store.width - 400 }} ):
+
+
+
+
+
+
+
+ Связанные станции (переходы):
+
+
+
+
+
+
+ {{ store.stations[i-1].connectedStations[j - 1].name }}
+
+
+ Название:
+
+
+ Номер линии:
+
+
+ Цвет:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main.ts b/src/main.ts
index ba59659..8b787cf 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,3 +1,5 @@
+import '@mdi/font/css/materialdesignicons.css'
+
import { createApp } from 'vue'
import './style.css'
@@ -9,13 +11,14 @@ import 'vuetify/styles'
import { createVuetify } from 'vuetify'
import * as components from 'vuetify/components'
import * as directives from 'vuetify/directives'
+
import {createPinia} from "pinia";
const pinia = createPinia()
const vuetify = createVuetify({
components,
- directives,
+ directives
})
createApp(App).use(vuetify).use(pinia).mount('#app')
\ No newline at end of file
diff --git a/src/style.css b/src/style.css
index 499b6af..5ece585 100644
--- a/src/style.css
+++ b/src/style.css
@@ -11,6 +11,7 @@
.map, svg {
overflow-x: auto;
+ cursor: crosshair;
}
.v-btn {
@@ -19,4 +20,9 @@
center {
padding: 10px;
+}
+
+.v-slider-thumb, .v-slider-thumb__surface, .v-slider-thumb__ripple, .v-expansion-panel, .v-expansion-panel-title,
+.v-expansion-panel-title__overlay, .v-expansion-panel__shadow, h2 {
+ overflow: hidden;
}
\ No newline at end of file
diff --git a/src/utils/store.ts b/src/utils/store.ts
new file mode 100644
index 0000000..4ba3afb
--- /dev/null
+++ b/src/utils/store.ts
@@ -0,0 +1,14 @@
+import {defineStore} from "pinia";
+
+export const useStore = defineStore('branch', {
+ state: () => {
+ return {
+ name: 'Тест',
+ number: 1,
+ color: '#0078BE',
+ stations: [],
+ width: window.innerWidth,
+ height: window.innerHeight / 2
+ }
+ },
+})
\ No newline at end of file