1
0
forked from bot/app

📝 新增全球统计

This commit is contained in:
远野千束 2024-08-05 06:02:53 +08:00
parent 16930e96aa
commit 2b537d27ec
4 changed files with 0 additions and 80 deletions

View File

@ -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);

View File

@ -20,11 +20,6 @@ export default sidebar({
icon: "store",
prefix: "store/",
children: "structure",
},{
text: "其他",
icon: "question-circle",
prefix: "other/",
children: "structure",
}
],
});

View File

@ -1,8 +0,0 @@
---
title: 其他
index: false
icon: question-circle
category: 其他
---
<Catalog />

View File

@ -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
}
};
```