diff --git a/docs/.vitepress/src/assets/style/highlight/atom-one-dark.scss b/docs/.vitepress/src/assets/style/highlight/atom-one-dark.scss index 5add95da36e531a9646b27e933ad7c63c429d4f4..01e88d5fede7e9b8bfa51ea4af826a05e121967a 100644 --- a/docs/.vitepress/src/assets/style/highlight/atom-one-dark.scss +++ b/docs/.vitepress/src/assets/style/highlight/atom-one-dark.scss @@ -29,7 +29,7 @@ hue-6-2: #e6c07b */ .hljs { - color: #abb2bf; + color: var(--o-color-info2); background: #2b2b2f; } diff --git a/docs/.vitepress/src/assets/svg-icons/icon-outlink.svg b/docs/.vitepress/src/assets/svg-icons/icon-outlink.svg new file mode 100644 index 0000000000000000000000000000000000000000..1bd3ac319ef73c8106e031d1cfd7d3a3aa9596ec --- /dev/null +++ b/docs/.vitepress/src/assets/svg-icons/icon-outlink.svg @@ -0,0 +1,12 @@ + + + + + + + + + \ No newline at end of file diff --git a/docs/.vitepress/src/components/DocBreadCrumb.vue b/docs/.vitepress/src/components/DocBreadCrumb.vue index 97081b655370c0da650e7f48700ac04012af158c..fbf28c26212d751748936fbc0781667695271811 100644 --- a/docs/.vitepress/src/components/DocBreadCrumb.vue +++ b/docs/.vitepress/src/components/DocBreadCrumb.vue @@ -44,7 +44,7 @@ const moduleNode = computed(() => { // 是否是贡献指南手册,直接显示 文档中心 > 贡献指南的具体章节 const isContribute = computed(() => { const pathHref = route.path.replace('.html', ''); - return pathHref.includes('/zh/Contribute') || pathHref.includes('/en/Contribute'); + return pathHref.includes('/zh/contribute') || pathHref.includes('/en/contribute'); }) // -------------------- 当前节点标题 -------------------- diff --git a/docs/.vitepress/src/components/DocBugDialog.vue b/docs/.vitepress/src/components/DocBugDialog.vue index cc5ea00c2d40f2ac89ef4780ef0193cac49703a2..be5a28b951f58c756e90278969a4aa09e035dcae 100644 --- a/docs/.vitepress/src/components/DocBugDialog.vue +++ b/docs/.vitepress/src/components/DocBugDialog.vue @@ -200,9 +200,6 @@ const change = (visible: boolean) => { diff --git a/docs/.vitepress/src/components/FloatingButtonDocs.vue b/docs/.vitepress/src/components/FloatingButtonDocs.vue index 0b7112a237e36bb5be484320be29df4e2fa66d53..8bff96aa8a8f10badcf75a616466b7956fd85b09 100644 --- a/docs/.vitepress/src/components/FloatingButtonDocs.vue +++ b/docs/.vitepress/src/components/FloatingButtonDocs.vue @@ -87,7 +87,11 @@ const updateItemScore = (value: number, index: number) => { showPopup.value = true; }; -const updateItemScoreAfter = () => {}; +const updateItemScoreAfter = (index: number) => { + if (multiRate[index]) { + multiRate[index].isChange = true; + } +}; // -------------------- 论坛、issues -------------------- const floatData = reactive([ @@ -134,13 +138,13 @@ const marks_mb: Marks = Array(RATE_MAX_MB + 1) }, Object.create(null)); const floatDataMb = reactive([ - { + /* { img: computed(() => { return IconScore; }), id: 'score', textMb: '我要评分', - }, + }, */ ...floatData, ]); @@ -188,7 +192,7 @@ onUnmounted(() => {