Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update deps #279

Merged
merged 4 commits into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions docs/.vuepress/components/AdPage.vue
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
<template>
<div :class="`wwads-cn wwads-${mode} page-wwads-${content}`" data-id="274"></div>
<div
:class="`wwads-cn wwads-${mode} page-wwads-${content}`"
data-id="274"
></div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { defineComponent } from "vue";

export default defineComponent({
props: {
mode: {
type: String,
default: 'horizontal',
default: "horizontal",
},
content: {
type: String,
default: '',
default: "",
},
}

},
});

</script>
<style>
@use "vuepress-shared/styles/wrapper";
Expand All @@ -26,4 +27,4 @@ export default defineComponent({
max-width: var(--content-width, 740px);
margin: 0 auto;
}
</style>
</style>
2 changes: 1 addition & 1 deletion docs/.vuepress/components/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<script setup lang="ts">
import HopeHomePage from "vuepress-theme-hope/components/HomePage.js";
import AdPage from "./AdPage.vue";
</script>
</script>
4 changes: 2 additions & 2 deletions docs/.vuepress/components/NormalPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
</template>
<script setup lang="ts">
import NormalPage from "vuepress-theme-hope/components/NormalPage.js";
import AdPage from "./AdPage.vue"
</script>
import AdPage from "./AdPage.vue";
</script>
22 changes: 0 additions & 22 deletions docs/.vuepress/components/Sidebar.vue

This file was deleted.

29 changes: 13 additions & 16 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import theme from "./theme.js";
const __dirname = getDirname(import.meta.url);

export default defineUserConfig({


title: "Fast Request",
description: "Intellij Restful Fast Request",

Expand All @@ -20,7 +18,7 @@ export default defineUserConfig({
},
],
["script", { src: "//at.alicdn.com/t/c/font_2601581_dhvis4jtn7m.js" }],
["script", { src: "/js/baidu.js" }],
["script", { src: "/js/baidu.js" }],
// ["script", { src: "https://cdn.wwads.cn/js/makemoney.js" }],
],

Expand Down Expand Up @@ -74,18 +72,17 @@ export default defineUserConfig({
__dirname,
"./layouts/Layout.vue",
),
// "@theme-hope/components/HomePage": path.resolve(
// __dirname,
// "./components/HomePage.vue"
// ),
// "@theme-hope/components/NormalPage": path.resolve(
// __dirname,
// "./components/NormalPage.vue"
// ),
// "@theme-hope/modules/sidebar/components/Sidebar": path.resolve(
// __dirname,
// "./components/Sidebar.vue"
// ),
// "@theme-hope/components/HomePage": path.resolve(
// __dirname,
// "./components/HomePage.vue"
// ),
// "@theme-hope/components/NormalPage": path.resolve(
// __dirname,
// "./components/NormalPage.vue"
// ),
// "@theme-hope/modules/sidebar/components/Sidebar": path.resolve(
// __dirname,
// "./components/Sidebar.vue"
// ),
},

});
4 changes: 2 additions & 2 deletions docs/.vuepress/layouts/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import NormalPage from "@theme-hope/components/NormalPage";
import SkipLink from "@theme-hope/components/SkipLink";
import FadeSlideY from "@theme-hope/components/transitions/FadeSlideY";

import type { ThemePageFrontmatter } from "../../shared/index.js";
import type { ThemePageFrontmatter } from "vuepress-theme-hope";

const page = usePageData();
const frontmatter = usePageFrontmatter<ThemePageFrontmatter>();
Expand Down Expand Up @@ -54,7 +54,7 @@ ${sidebarTopArray.slice(0, 4).join("\n ")}
</span>
</div>
`;
}
},
);
</script>
<template>
Expand Down
192 changes: 96 additions & 96 deletions docs/.vuepress/navbar.ts
Original file line number Diff line number Diff line change
@@ -1,102 +1,102 @@
import {navbar} from "vuepress-theme-hope";
import { navbar } from "vuepress-theme-hope";

export const enNavbar = navbar([
{
text: "Get start",
link: "/en/guide/getstarted/start",
icon: "start1",
},
{
text: "Features",
link: "/en/guide/features/README.md",
icon: "featuresNew",
},
{
text: "Script",
link: "/en/guide/script",
icon: "code-box-fill",
},
{
text: "What's New",
link: "/en/guide/history",
icon: "changelog",
},
{
text: "Buy",
icon: "buy",
children: ["/en/guide/buy","/en/guide/versionCompare"],
},
{
text: "🔥 Teamwork",
link: "/en/guide/teamwork",
// icon: "teamwork",
},
{
text: "Contact us",
link: "/en/guide/concatGroup",
// icon: "teamwork",
},
{
text: "🎯 Faq",
link: "/en/guide/faq",
// icon: "teamwork",
},
// {
// text: "More",
// children: [],
// },
{
text: "Get start",
link: "/en/guide/getstarted/start",
icon: "start1",
},
{
text: "Features",
link: "/en/guide/features/README.md",
icon: "featuresNew",
},
{
text: "Script",
link: "/en/guide/script",
icon: "code-box-fill",
},
{
text: "What's New",
link: "/en/guide/history",
icon: "changelog",
},
{
text: "Buy",
icon: "buy",
children: ["/en/guide/buy", "/en/guide/versionCompare"],
},
{
text: "🔥 Teamwork",
link: "/en/guide/teamwork",
// icon: "teamwork",
},
{
text: "Contact us",
link: "/en/guide/concatGroup",
// icon: "teamwork",
},
{
text: "🎯 Faq",
link: "/en/guide/faq",
// icon: "teamwork",
},
// {
// text: "More",
// children: [],
// },
]);

export const zhNavbar = navbar([
{
text: "快速上手",
link: "/guide/getstarted/start",
icon: "start1",
},
{
text: "功能",
link: "/guide/features/README.md",
icon: "featuresNew",
},
{
text: "脚本",
link: "/guide/script",
icon: "code-box-fill",
},
{
text: "最新变化",
link: "/guide/history",
icon: "changelog",
},
{
text: "购买",
icon: "buy",
children: ["/guide/buy", "/guide/versionCompare"],
},
{
text: "视频教程",
link: "/guide/teachingVideo",
icon: "bilibili",
},
{
text: "🔥 团队协作",
// icon: "teamwork",
link: "/guide/teamwork",
},
{
text: "👥 群聊",
link: "/guide/concatGroup",
},
{
text: "🎯 FAQ",
link: "/guide/faq",
},
{
text: "友链",
link: "/guide/link",
},
{
text: "更多",
children: ["/guide/sponsorList", "/guide/activity", "/guide/java"],
},
{
text: "快速上手",
link: "/guide/getstarted/start",
icon: "start1",
},
{
text: "功能",
link: "/guide/features/README.md",
icon: "featuresNew",
},
{
text: "脚本",
link: "/guide/script",
icon: "code-box-fill",
},
{
text: "最新变化",
link: "/guide/history",
icon: "changelog",
},
{
text: "购买",
icon: "buy",
children: ["/guide/buy", "/guide/versionCompare"],
},
{
text: "视频教程",
link: "/guide/teachingVideo",
icon: "bilibili",
},
{
text: "🔥 团队协作",
// icon: "teamwork",
link: "/guide/teamwork",
},
{
text: "👥 群聊",
link: "/guide/concatGroup",
},
{
text: "🎯 FAQ",
link: "/guide/faq",
},
{
text: "友链",
link: "/guide/link",
},
{
text: "更多",
children: ["/guide/sponsorList", "/guide/activity", "/guide/java"],
},
]);
6 changes: 2 additions & 4 deletions docs/.vuepress/public/html/showside.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@

// 显示新的图片和进度条
var imgName = items[index].getAttribute("imgName");
image.style.backgroundImage =
"url(/img/index/" + imgName + ")";
image.style.backgroundImage = "url(/img/index/" + imgName + ")";
image.style.opacity = "1";

// 遍历所有的图片项,将除了当前图片项的描述元素都隐藏
Expand Down Expand Up @@ -243,8 +242,7 @@
description.style.display = "block";
console.log(item);
var imgName = item.getAttribute("imgName");
image.style.backgroundImage =
"url(/img/index/" + imgName + ")";
image.style.backgroundImage = "url(/img/index/" + imgName + ")";
});
});

Expand Down
Loading