From 95d3d60923195a7e3120cf936fa1c6060c42e123 Mon Sep 17 00:00:00 2001 From: kaku <1092804319@qq.com> Date: Thu, 18 Sep 2025 09:17:50 +0800 Subject: [PATCH 1/5] style: adjust border radius of hover-light --- src/.vuepress/layouts/members.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/.vuepress/layouts/members.vue b/src/.vuepress/layouts/members.vue index ea9e373dc..616c038ef 100644 --- a/src/.vuepress/layouts/members.vue +++ b/src/.vuepress/layouts/members.vue @@ -73,7 +73,7 @@ onMounted(() => { v-for="member in item.members" :key="member.name" > - +
{ flex-direction: column; padding: 15px; } - .test { + .hover-box { position: absolute; width: 100%; height: 100%; top: 0; + left: 0; + border-radius: 10px; } .photo { width: 100%; From d51396a7afa66d66e7d4cd6cdcc77b91ab377dcd Mon Sep 17 00:00:00 2001 From: kaku <1092804319@qq.com> Date: Thu, 18 Sep 2025 09:20:56 +0800 Subject: [PATCH 2/5] style(project): adjust container layout in project.vue --- src/.vuepress/layouts/projects.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/.vuepress/layouts/projects.vue b/src/.vuepress/layouts/projects.vue index 44ec0a903..f66cae220 100644 --- a/src/.vuepress/layouts/projects.vue +++ b/src/.vuepress/layouts/projects.vue @@ -329,7 +329,9 @@ onMounted(() => { height: 100%; .top-container { margin-top: 15px; - justify-items: center; + display: flex; + flex-direction: column; + align-items: center; } .badge-img { margin-top: 5px; From 400c8d26277091ee959c984d5664afd08b4d809c Mon Sep 17 00:00:00 2001 From: kaku <1092804319@qq.com> Date: Sat, 20 Sep 2025 13:49:29 +0800 Subject: [PATCH 3/5] feat: adjust UI for members and homepage --- src/.vuepress/components/HomePage.vue | 10 +- src/.vuepress/components/MembersPage.vue | 259 ------------------ src/.vuepress/components/ProjectsPage.vue | 6 +- src/.vuepress/composables/home/en.ts | 2 +- src/.vuepress/composables/home/zh.ts | 2 +- src/.vuepress/config.ts | 1 - src/.vuepress/layouts/members.vue | 4 + .../public/assets/img/logo/carbon-home.webp | Bin 0 -> 2698 bytes 8 files changed, 13 insertions(+), 271 deletions(-) delete mode 100644 src/.vuepress/components/MembersPage.vue create mode 100644 src/.vuepress/public/assets/img/logo/carbon-home.webp diff --git a/src/.vuepress/components/HomePage.vue b/src/.vuepress/components/HomePage.vue index cbaf5dcd0..37d7767d5 100644 --- a/src/.vuepress/components/HomePage.vue +++ b/src/.vuepress/components/HomePage.vue @@ -270,10 +270,6 @@ function jumpTo(url: string): void { :slidesPerView="1.5" :loopedSlides="3" slideToClickedSlide - :autoplay="{ - delay: 2500, - disableOnInteraction: false, - }" :pagination="{ clickable: true }" effect="coverflow" :coverflowEffect="{ @@ -624,7 +620,7 @@ function jumpTo(url: string): void { justify-content: space-evenly; height: 100%; font-size: 1.1rem; - color: #494949; + color: #000; padding: 0 20px; text-align: left; img { @@ -639,6 +635,7 @@ function jumpTo(url: string): void { font-size: 0.8em; display: flex; justify-content: space-between; + cursor: pointer; &:hover { .link { &::after { @@ -691,7 +688,7 @@ function jumpTo(url: string): void { } .swiper-slide { height: 220px; - background: #fff; + background: #ffffffc4; border-radius: 15px; } .swiper-slide-active { @@ -699,7 +696,6 @@ function jumpTo(url: string): void { 0px 4px 32px 0px rgba(0, 0, 0, 0.06), 0px 0px 10px 0px rgba(0, 0, 0, 0.04); } - .more { color: #2e64fe; padding: 5px 10px; diff --git a/src/.vuepress/components/MembersPage.vue b/src/.vuepress/components/MembersPage.vue deleted file mode 100644 index d5fd80c25..000000000 --- a/src/.vuepress/components/MembersPage.vue +++ /dev/null @@ -1,259 +0,0 @@ - - - - - diff --git a/src/.vuepress/components/ProjectsPage.vue b/src/.vuepress/components/ProjectsPage.vue index 5e9d249f9..00aac4883 100644 --- a/src/.vuepress/components/ProjectsPage.vue +++ b/src/.vuepress/components/ProjectsPage.vue @@ -4,7 +4,7 @@ import { noGiteeProjects, noGithubProjects, noImageProject, - useProjectsData + useProjectsData, } from "../composables/index.js"; import { onMounted } from "vue"; @@ -20,7 +20,9 @@ onMounted(() => { webCn = document.location.host.includes("dromara.org.cn"); const orgAds = document.getElementById("wwadsadsorg"); if (orgAds) { - orgAds.innerHTML = webCn ? "
" : "
"; + orgAds.innerHTML = webCn + ? '
' + : '
'; } }); diff --git a/src/.vuepress/composables/home/en.ts b/src/.vuepress/composables/home/en.ts index 19d09e4b5..f2507cbad 100644 --- a/src/.vuepress/composables/home/en.ts +++ b/src/.vuepress/composables/home/en.ts @@ -69,7 +69,7 @@ export const enHomeOption: HomeOption = { url: "https://api-buddy.cn", }, { - name: "carbon", + name: "carbon-home", description: "A simple, semantic and developer-friendly golang package for time.", url: "https://github.com/dromara/carbon", diff --git a/src/.vuepress/composables/home/zh.ts b/src/.vuepress/composables/home/zh.ts index 78297b844..c18a9c4da 100644 --- a/src/.vuepress/composables/home/zh.ts +++ b/src/.vuepress/composables/home/zh.ts @@ -69,7 +69,7 @@ export const zhHomeOption: HomeOption = { url: "https://api-buddy.cn", }, { - name: "carbon", + name: "carbon-home", description: "一个轻量级、语义化、对开发者友好的 golang 时间处理库", url: "https://github.com/dromara/carbon", }, diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts index 0b523f130..741a73c04 100644 --- a/src/.vuepress/config.ts +++ b/src/.vuepress/config.ts @@ -108,7 +108,6 @@ export default defineUserConfig({ __dirname, "./components/PageFooter.vue", ), - // "@MembersPage": path.resolve(__dirname, "./components/MembersPage.vue"), "@ProjectsPage": path.resolve(__dirname, "./components/ProjectsPage.vue"), "@HonorComp": path.resolve(__dirname, "./components/HonorComp.vue"), "@SiteSection": path.resolve(__dirname, "./components/SiteSection.vue"), diff --git a/src/.vuepress/layouts/members.vue b/src/.vuepress/layouts/members.vue index 616c038ef..7813eab71 100644 --- a/src/.vuepress/layouts/members.vue +++ b/src/.vuepress/layouts/members.vue @@ -309,7 +309,9 @@ onMounted(() => { text-align: center; background: #ffffff17; @media (max-width: 1000px) { + display: flex; flex-direction: column; + align-items: center; padding: 15px; } .hover-box { @@ -363,6 +365,8 @@ onMounted(() => { height: 160px; position: absolute; top: -80px; + left: 50%; + transform: translateX(-50%); @media (max-width: 1000px) { width: 100px; height: 100px; diff --git a/src/.vuepress/public/assets/img/logo/carbon-home.webp b/src/.vuepress/public/assets/img/logo/carbon-home.webp new file mode 100644 index 0000000000000000000000000000000000000000..f4a7c9a741e3df6f6431d031d3e6aeac6bbcbd10 GIT binary patch literal 2698 zcmV;53U&2TNk&G33IG6CMM6+kP&il$0000G0001s001HY06|PpNZSJd00G~_plusL z=lngC=TCBb3=xs%>upjr>HpGr8W1gtmUY{-h^PX!+qTuV)lOqYSNGWtCj}?vV42%6 zGc%Q$nbyxgSIToc27Zd@{{-moc-(yPR?q497r|kF72<&VRoDT(B);n?`_3IY}{q zlk^IBNw8M~Y41M*EX9(d8Gr|^Q4+PTnU8r%&SY+P<){N#sFx)F2%yQ#1G7%%K5$;r zV=|6tBJjE`j^pO{Kz}UN0^Eya^KAgbQKpriK|@_Rx=fRTZRV_b2cHrJXMhPwyMeiJ zU`QhYC))_nAe}Jn3P)=Ik(7jHy;J_MnJvel@gZ+!%q(;%7uS|fweJBBByF3;3I_~o z*z_cUcmf!dZkQ-Vt>(Do1B*pTO6~&hTp1QK6`ueLCKu-p%{(RjnWR+{t77B>IrW)C z3bz1Hq*>ri24~Jm`9PxJEr1_IhXzLHN+vq-jLgp^tpm?1Bvn+V)ThM2$Iy!mk?E0Y z&7}JoGPV(XxiL2T3V0%E85mb;kMa8%1jtY@SER$HO+SVA-b?b|fJY~DIZ4-mXOdQd zn`yU9oYDe3kMP|>1 zlDo!B?Z&5EEmz6(6;0t1wqCjbTvIUj9C#sV8914C&D4Yr0UVN|J%BTLlbi>*n@HzO zlG0x;{~Dm(OLg7Y<$9?LSgA6_C4f&=(mHT9?W&nCN^*_wfZ19}4Tj-@kLpIT?UJq; zmof&tDTg`@_lIVlVm~%WiUG!sw_TX}PB0D)?SrS6&yDN>JgJwYxXr*f!hMmXfoyZY zQ8smS61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N&0_z`+i` zno4+I^ub8sxXp>9UQVqrFjipPlz+pvPX%K5XI$aXTfSMW1)Q|sTq#mrX6o(Udn$e+ z_No)xp7r)mm|^q|>yo>20`sS3bgNLu7B>eWzs3u4gXP0}G3qP2+=z#0$1};PGlhW@ zWJri@Ziw^sFX;Xy_Be=lN{n z$W*7Gwg0^jm9gftZk+Eb)|GPM8NEQ>1^(AP&g8e_UF&UX_YZ@8CpVT1I^UtcevN zxU!!LLR#3fk%9CNYU}&j+KW$$Bj{ui`?6tSnFlO*D{3Fp9mi*E)6AltncAT-7XVa% z$NXe!5}^Wh);`@OxO;W-d&D#qcuM&}>pHgu@BUY7c0m)JrK{kvpHUY#wPPmIzY4$r E0K_tB3IG5A literal 0 HcmV?d00001 From 25e27a5fcc9b817e408d2d0f3382b58349584173 Mon Sep 17 00:00:00 2001 From: kaku <1092804319@qq.com> Date: Sun, 21 Sep 2025 13:20:18 +0800 Subject: [PATCH 4/5] feat: add auto play to HomePage swiper --- src/.vuepress/components/HomePage.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/.vuepress/components/HomePage.vue b/src/.vuepress/components/HomePage.vue index 37d7767d5..9a57c8d0d 100644 --- a/src/.vuepress/components/HomePage.vue +++ b/src/.vuepress/components/HomePage.vue @@ -270,6 +270,10 @@ function jumpTo(url: string): void { :slidesPerView="1.5" :loopedSlides="3" slideToClickedSlide + :autoplay="{ + delay: 2500, + disableOnInteraction: false, + }" :pagination="{ clickable: true }" effect="coverflow" :coverflowEffect="{ From 2f76f9009cfedcaae934a3e0780cb666e5161a25 Mon Sep 17 00:00:00 2001 From: kaku <1092804319@qq.com> Date: Fri, 26 Sep 2025 12:16:01 +0800 Subject: [PATCH 5/5] fix:Fix the bottom jump button path issue --- src/.vuepress/components/PageFooter.vue | 6 ++++-- src/.vuepress/layouts/members.vue | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/.vuepress/components/PageFooter.vue b/src/.vuepress/components/PageFooter.vue index 6c3a2842c..d5e651668 100644 --- a/src/.vuepress/components/PageFooter.vue +++ b/src/.vuepress/components/PageFooter.vue @@ -88,7 +88,7 @@ const qrcodeOption = computed(() => [ @@ -128,7 +128,7 @@ const qrcodeOption = computed(() => [ @@ -328,7 +328,9 @@ const qrcodeOption = computed(() => [ display: none; transform: translate(-45px, -90px); color: #fff; + margin: 0; } + .icon-box { position: relative; width: 60px; diff --git a/src/.vuepress/layouts/members.vue b/src/.vuepress/layouts/members.vue index 7813eab71..e6f1c985f 100644 --- a/src/.vuepress/layouts/members.vue +++ b/src/.vuepress/layouts/members.vue @@ -372,6 +372,7 @@ onMounted(() => { height: 100px; flex-shrink: 0; position: static; + transform: none; } } }