From d0dc9b2af006fb8af4cfeed50c61e1c79d358241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Wed, 27 May 2026 09:29:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../images/home/{design-bg.jpg => aida-bg.jpg} | Bin src/utils/tools.ts | 4 ++++ src/views/home/index.vue | 4 ++-- .../home/{section-design.vue => section-aida.vue} | 13 +++++++------ src/views/home/section-digital-items1.vue | 8 +++++++- src/views/home/section-footer.vue | 9 ++++++--- src/views/shoppingCart/sc-list-null.vue | 1 - src/views/shoppingCart/sc-list.vue | 11 ++++++++--- 8 files changed, 34 insertions(+), 16 deletions(-) rename src/assets/images/home/{design-bg.jpg => aida-bg.jpg} (100%) rename src/views/home/{section-design.vue => section-aida.vue} (73%) diff --git a/src/assets/images/home/design-bg.jpg b/src/assets/images/home/aida-bg.jpg similarity index 100% rename from src/assets/images/home/design-bg.jpg rename to src/assets/images/home/aida-bg.jpg diff --git a/src/utils/tools.ts b/src/utils/tools.ts index dab25f2..2ddd80c 100644 --- a/src/utils/tools.ts +++ b/src/utils/tools.ts @@ -210,4 +210,8 @@ export function FormatBytes(bytes, options: { decimals?: number, unitBig?: boole const i = Math.floor(Math.log(bytes) / Math.log(k)); const value = bytes / Math.pow(k, i); return `${Number(value.toFixed(decimals))} ${sizes[i]}`; +} + +export const openAida = () => { + window.open('https://www.aida.com.hk/', '_blank') } \ No newline at end of file diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 20241e1..ad62926 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -2,7 +2,7 @@
- + @@ -13,7 +13,7 @@ import { computed } from 'vue' import SectionIndex from './section-index.vue' import SectionDesigner from './section-designer.vue' - import SectionDesign from './section-design.vue' + import SectionAida from './section-aida.vue' import SectionDigitalItems1 from './section-digital-items1.vue' import SectionDigitalItems2 from './section-digital-items2.vue' import SectionFooter from './section-footer.vue' diff --git a/src/views/home/section-design.vue b/src/views/home/section-aida.vue similarity index 73% rename from src/views/home/section-design.vue rename to src/views/home/section-aida.vue index 833f868..ade0002 100644 --- a/src/views/home/section-design.vue +++ b/src/views/home/section-aida.vue @@ -1,24 +1,25 @@