From f6bc6ed2dec9cd60853db928fa6e56a92ab5de0d Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 12 二月 2025 11:07:17 +0800 Subject: [PATCH] 测试完成 --- src/App.vue | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/App.vue b/src/App.vue index 2bf66ab..30d9a8f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,7 @@ <div id="app"> <router-view /> <theme-picker /> - <Assistant /> + <!-- <Assistant v-if="routertf" /> --> </div> </template> @@ -14,6 +14,16 @@ components: { ThemePicker, Assistant: () => import("./components/Assistant"), //寮傛缁勪欢鍔犺浇鏂瑰紡 + }, + data() { + return { + routers: window.location.href, + routertf: true, + }; + }, + created() { + var startIndex = this.routers.indexOf("param5=") + "param5=".length; // 鎵惧埌绗竴涓瓧绗︾殑浣嶇疆 + this.routertf = JSON.parse(this.routers.substring(startIndex)); // 鎴彇浠� 'param5=' 涔嬪悗鐨勫唴瀹� }, metaInfo() { return { @@ -30,6 +40,13 @@ }; </script> <style scoped> +#app { + overflow-y: scroll; + height: 100vh; + background: #f8fafd; + /* font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif, "瀹嬩綋"; */ + font-family: "Hiragino Sans GB"; +} #app .theme-picker { display: none; } -- Gitblit v1.9.3