From 8acc514ba6da5987caaf4f3f2a634a144f45b9f9 Mon Sep 17 00:00:00 2001 From: edbrz9 Date: Fri, 30 Dec 2022 16:46:49 +0100 Subject: [PATCH] loading js and html added --- proj/y2t/assets/js/main.js | 9 ++++++++- proj/y2t/index.php | 6 ++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/proj/y2t/assets/js/main.js b/proj/y2t/assets/js/main.js index 236658c..de71136 100644 --- a/proj/y2t/assets/js/main.js +++ b/proj/y2t/assets/js/main.js @@ -45,5 +45,12 @@ Vue.component('copbox',{ }) let vm = new Vue({ - + data: { + loading: false + }, + methods: { + loadingStart(){ + this.loading = true + } + } }).$mount('#root') \ No newline at end of file diff --git a/proj/y2t/index.php b/proj/y2t/index.php index 5fcb542..c17f5a1 100644 --- a/proj/y2t/index.php +++ b/proj/y2t/index.php @@ -28,6 +28,12 @@ PH2 PH3 +
+

loading

+ + + +