From 2b537d27ec582ad5d041bfe6142379812db4103e Mon Sep 17 00:00:00 2001 From: snowy Date: Mon, 5 Aug 2024 06:02:53 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=96=B0=E5=A2=9E=E5=85=A8=E7=90=83?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/client.js | 12 --------- docs/.vuepress/sidebar.ts | 5 ---- docs/other/README.md | 8 ------ docs/other/geo.md | 55 --------------------------------------- 4 files changed, 80 deletions(-) delete mode 100644 docs/other/README.md delete mode 100644 docs/other/geo.md diff --git a/docs/.vuepress/client.js b/docs/.vuepress/client.js index c9ca9454..b55a3941 100644 --- a/docs/.vuepress/client.js +++ b/docs/.vuepress/client.js @@ -1,5 +1,4 @@ import {defineClientConfig} from "vuepress/client"; -import { defineEChartsConfig } from "vuepress-plugin-md-enhance/client"; import resourceStoreComp from "./components/ResStore.vue"; import pluginStoreComp from "./components/PluginStore.vue"; @@ -9,17 +8,6 @@ import geoComp from "./components/Geo.vue"; // import ElementPlus from 'element-plus'; -defineEChartsConfig({ - options: { - // 全局 ECharts 配置 - }, - setup: async () => { - // ECharts 设置 - // 例如: await import("echarts-wordcloud") - }, -}); - - export default defineClientConfig({ enhance: ({app, router, siteData}) => { app.component("homeComp", homeComp); diff --git a/docs/.vuepress/sidebar.ts b/docs/.vuepress/sidebar.ts index 7b32d753..5a144421 100644 --- a/docs/.vuepress/sidebar.ts +++ b/docs/.vuepress/sidebar.ts @@ -20,11 +20,6 @@ export default sidebar({ icon: "store", prefix: "store/", children: "structure", - },{ - text: "其他", - icon: "question-circle", - prefix: "other/", - children: "structure", } ], }); diff --git a/docs/other/README.md b/docs/other/README.md deleted file mode 100644 index 81216c8e..00000000 --- a/docs/other/README.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: 其他 -index: false -icon: question-circle -category: 其他 ---- - - diff --git a/docs/other/geo.md b/docs/other/geo.md deleted file mode 100644 index f82515c3..00000000 --- a/docs/other/geo.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: 地理分布 -icon: globe -order: 1 -category: 其他 - ---- - -:::echarts Liteyuki Dist - -```js -const option = { - backgroundColor: '#454545', - title: { - text: 'LiteyukiBot分布demo', - subtext: 'LiteyukiBot分布', - textStyle: { - color: '#fff', - fontSize: 20 - }, - top: '10px', - left: '10px' - }, - geo: { - map: 'world', - roam: false, - itemStyle: { - normal: { - areaColor: '#000', - borderType: null, // 设置边界线类型为无 - borderColor: '#000', // 设置边界线颜色 - - }, - emphasis: { - areaColor: '#000', - borderType: null, // 设置边界线类型为无 - borderColor: '#000', // 设置边界线颜色 - } - }, - regions: [] // 先保留为空 - }, - series: [{ - // 散点效果 - type: 'scatter', - coordinateSystem: 'geo', // 表示使用的坐标系为地理坐标系 - symbolSize: 5, // 设置散点的大小为20 - itemStyle: { - color: '#ffeb3b', // 黄色 - }, - }], - textStyle: { - fontSize: 1 - } -}; -``` \ No newline at end of file