From e11c453ab94958796014dad207011e9b667664a8 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Wed, 2 Jan 2019 18:47:41 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BF=D1=83=D0=BD=D0=BA=D1=82=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/App.vue | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/client/components/App.vue b/client/components/App.vue index 59b3d77d..630960e9 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -6,31 +6,31 @@ - Картотека + Картотека - Читалка + Читалка - Форум-чат + Форум-чат - Поступления + Поступления - Источники + Источники - Параметры + Параметры - Справка + Справка @@ -82,7 +82,7 @@ class App extends Vue { if (this.uistate.asideBarCollapse) { return '64px'; } else { - return '160px'; + return '170px'; } } @@ -107,10 +107,11 @@ class App extends Vue { get rootRoute() { const m = this.$route.path.match(/^(\/[^\/]*).*$/i); - if (m) - return m[1]; - else - return this.$route.path; + return (m ? m[1] : this.$route.path); + } + + itemTitleClass(path) { + return (this.rootRoute == path ? {'bold-font': true} : {}); } } //----------------------------------------------------------------------------- @@ -124,6 +125,11 @@ class App extends Vue { line-height: 140%; font-weight: bold; } + +.bold-font { + font-weight: bold; +} + .el-container { height: 100%; }