From 8d397aa319eb8814e0003b7241a4e7a0bff5d1e1 Mon Sep 17 00:00:00 2001 From: everything411 Date: Sat, 26 Oct 2024 10:21:43 +0800 Subject: [PATCH] Update headers.vue --- src/components/headers.vue | 41 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/src/components/headers.vue b/src/components/headers.vue index 4ced1a0..d1e9a2f 100644 --- a/src/components/headers.vue +++ b/src/components/headers.vue @@ -46,7 +46,7 @@ function jumpTo(url){ - + @@ -55,7 +55,7 @@ function jumpTo(url){ - + @@ -174,16 +174,20 @@ export default defineComponent({ }, options1:[ { - label: '近期活动', + label: '组织部芝士虾', key: 'activities', icon:renderIcon(CalendarLtr16Regular) }, { - label: "NP知识库", + label: "BITNP Blog", key: 'blogs', icon:renderIcon(DnsServices) }, - + { + label: "BITNP知识库", + key: 'wiki', + icon:renderIcon(DnsServices) + }, ], options2:[ { @@ -202,18 +206,7 @@ export default defineComponent({ icon:renderIcon(DevicesPc) }, ], - options3:[ - { - label:"关于我们", - key:"Aboutus", - icon:renderIcon(PlanetOutline) - }, - { - label: "加入我们", - key: "joinus", - icon:renderIcon(MdContacts) - } - ], + // 移动端下拉菜单,因此和上方会有重复 optionsM:[ { label:'News', @@ -226,15 +219,20 @@ export default defineComponent({ icon:renderIcon(CodepenOutlined), children:[ { - label: '近期活动', + label: '组织部芝士虾', key: 'activities', icon:renderIcon(CalendarLtr16Regular) }, { - label: "NP知识库", + label: "BITNP Blog", key: 'blogs', icon:renderIcon(DnsServices) }, + { + label: "BITNP知识库", + key: 'wiki', + icon:renderIcon(DnsServices) + }, ] }, { @@ -278,8 +276,9 @@ export default defineComponent({ const map ={ news:'https://status.bitnp.net', github:'https://github.com/BITNP', - blogs:'https://cheesy-shrimp.bitnp.net', - activities:'https://www.bitnp.net', + activities:'https://cheesy-shrimp.bitnp.net', + blogs:'https://blog.bitnp.net', + wiki:'https://wiki.bitnp.net', address:'common-links', PCcommands:'https://docs.qq.com/aio/p/scmzu718dzus0zl', about:'about-us'