From 9f98e55bfa27f51be9ddc3cb466b07c894ddc695 Mon Sep 17 00:00:00 2001 From: Dhaverd Date: Tue, 18 Jun 2024 21:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BE?= =?UTF-8?q?=D0=BA=20=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=86=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/css/app.css | 19 +++++++++++++++++++ resources/views/Main.vue | 8 ++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index dbff2df..254ebaa 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -64,3 +64,22 @@ } } +.tg-link { + color: #00e5ff!important; + text-decoration: none!important; +} + +.tg-link:link { + color: #00e5ff!important; + text-decoration: none!important; +} + +.tg-link:visited { + color: #00ff2d!important; + text-decoration: none!important; +} + +.tg-link:hover { + color: #f9ff00!important; + text-decoration: none!important; +} diff --git a/resources/views/Main.vue b/resources/views/Main.vue index ca64c64..00d64bb 100644 --- a/resources/views/Main.vue +++ b/resources/views/Main.vue @@ -5,10 +5,11 @@
- Вставьте ссылку: + Link: - {{ hint }} + {{ hint }}: {{ errorText }} + Contact me on Telegram: @Dhaverd
Найти Скачать @@ -32,6 +33,7 @@ export default { downloadLink: '', hint: ref(''), error: ref(false), + errorText: ref(''), windowHeight: document.documentElement.clientHeight, windowWidth: document.documentElement.clientWidth, isWide: window.innerWidth >= 460 @@ -46,6 +48,7 @@ export default { if (responce.data.error){ this.error = true; this.hint = 'Возникла ошибка'; + this.errorText = responce.data.error; console.log(responce.data.error); } else if (responce.data.link){ this.downloadAvailable = true; @@ -53,6 +56,7 @@ export default { } }).catch((error)=>{ this.fetching = false; + this.errorText = error.response.data.message; console.log(error); this.error = true; this.hint = 'Возникла ошибка';