From 65d90e20b9d6b90fe15c91315a166aafffad15d5 Mon Sep 17 00:00:00 2001 From: Next <1406099478@qq.com> Date: Tue, 26 Jul 2022 10:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- release/preview-template/index.ejs | 8 ++--- release/preview-template/toolbar.ejs | 46 ++++++++++++++++++++++++++++ src/App.vue | 5 +-- src/components/TreePanel.vue | 6 ++-- vite.config.ts | 3 +- 6 files changed, 59 insertions(+), 11 deletions(-) create mode 100644 release/preview-template/toolbar.ejs diff --git a/index.html b/index.html index ea3224a..010ac30 100644 --- a/index.html +++ b/index.html @@ -1,2 +1,2 @@ -
+
\ No newline at end of file diff --git a/release/preview-template/index.ejs b/release/preview-template/index.ejs index 148dfb0..2625eaa 100644 --- a/release/preview-template/index.ejs +++ b/release/preview-template/index.ejs @@ -18,9 +18,10 @@ - <%- include(cocosToolBar, {config: config}) %> -
-
+ <%- include('./toolbar', {config: config}) %> +
+ <% include ./dist/index.html %> +
@@ -38,7 +39,6 @@
<%- include(cocosTemplate, {}) %> diff --git a/release/preview-template/toolbar.ejs b/release/preview-template/toolbar.ejs new file mode 100644 index 0000000..bf3d3ee --- /dev/null +++ b/release/preview-template/toolbar.ejs @@ -0,0 +1,46 @@ +
+
+
+ +
+
+ Debug Mode: +
+ +
+
+
+ FPS: +
+
+
+
+ Step Length: + + ms +
+
+ diff --git a/src/App.vue b/src/App.vue index 4d97c32..78f0707 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,13 +5,14 @@ let showTree = ref(false);