diff --git a/public/images/home/digital-items-1.png b/public/images/home/digital-items-1.png new file mode 100644 index 0000000..6828ffd Binary files /dev/null and b/public/images/home/digital-items-1.png differ diff --git a/public/images/home/digital-items-2.jpg b/public/images/home/digital-items-2.jpg new file mode 100644 index 0000000..fb5c275 Binary files /dev/null and b/public/images/home/digital-items-2.jpg differ diff --git a/public/images/home/digital-items-3.png b/public/images/home/digital-items-3.png new file mode 100644 index 0000000..d14b1c0 Binary files /dev/null and b/public/images/home/digital-items-3.png differ diff --git a/public/images/home/digital-items-4.png b/public/images/home/digital-items-4.png new file mode 100644 index 0000000..d3f0fdb Binary files /dev/null and b/public/images/home/digital-items-4.png differ diff --git a/public/images/home/digital-items-5.png b/public/images/home/digital-items-5.png new file mode 100644 index 0000000..23d247e Binary files /dev/null and b/public/images/home/digital-items-5.png differ diff --git a/public/images/home/digital-items-6.png b/public/images/home/digital-items-6.png new file mode 100644 index 0000000..63e5b0a Binary files /dev/null and b/public/images/home/digital-items-6.png differ diff --git a/public/images/home/digital-items-7.png b/public/images/home/digital-items-7.png new file mode 100644 index 0000000..833cd73 Binary files /dev/null and b/public/images/home/digital-items-7.png differ diff --git a/public/images/home/digital-items-8.png b/public/images/home/digital-items-8.png new file mode 100644 index 0000000..c809e5e Binary files /dev/null and b/public/images/home/digital-items-8.png differ diff --git a/src/utils/UrlList.js b/src/utils/UrlList.js index 464ac2f..9b42d1d 100644 --- a/src/utils/UrlList.js +++ b/src/utils/UrlList.js @@ -3,7 +3,9 @@ export const UrlList = { codeCreate: 'https://www.code-create.com/', terms: 'https://www.code-create.com.hk/terms-of-use/', privacy: 'https://www.code-create.com.hk/privacy-policy/', - + faq: 'https://code-create.com.hk/help-centre/', + aboutUs: 'https://code-create.com.hk/about-us/', + joinWithUs: 'https://code-create.com.hk/contact-us/', } export const openView = (url) => { window.open(url, '_blank') diff --git a/src/views/home/section-digital-items1.vue b/src/views/home/section-digital-items1.vue index 11a3a7f..6446652 100644 --- a/src/views/home/section-digital-items1.vue +++ b/src/views/home/section-digital-items1.vue @@ -25,22 +25,22 @@ { title: 'Women’s Item', tip: 'Blue Pleat Aria', - url: 'http://118.31.39.42:3000/falls/digital-items-1.png' + url: '/images/home/digital-items-1.png' }, { title: 'Girls’ Item', tip: 'Candy Riot', - url: 'http://118.31.39.42:3000/falls/digital-items-2.jpg' + url: '/images/home/digital-items-2.jpg' }, { title: 'Men’s Item', tip: 'Void Armour', - url: 'http://118.31.39.42:3000/falls/digital-items-3.png' + url: '/images/home/digital-items-3.png' }, { title: 'Boys’ Item', tip: 'Jester Edit', - url: 'http://118.31.39.42:3000/falls/digital-items-4.png' + url: '/images/home/digital-items-4.png' } ]) const onShopAll = () => { diff --git a/src/views/home/section-digital-items2.vue b/src/views/home/section-digital-items2.vue index 34eca01..5116c20 100644 --- a/src/views/home/section-digital-items2.vue +++ b/src/views/home/section-digital-items2.vue @@ -17,25 +17,25 @@ diff --git a/src/views/home/section-footer.vue b/src/views/home/section-footer.vue index 2e51c4c..0446d35 100644 --- a/src/views/home/section-footer.vue +++ b/src/views/home/section-footer.vue @@ -21,26 +21,11 @@ -
-
{{ $t('Home.Help') }}
-
{{ $t('Home.FAQ') }}
-
{{ $t('Home.MyAccount') }}
-
{{ $t('Home.MyOrders') }}
-
{{ $t('Home.PaymentInvoices') }}
-
{{ $t('Home.CopyrightLicense') }}
-
-
-
{{ $t('Home.Polices') }}
-
{{ $t('Home.Legal') }}
-
{{ $t('Home.PrivacyPolicy') }}
-
{{ $t('Home.CookiesSettings') }}
-
{{ $t('Home.PurchaseConditions') }}
-
-
-
{{ $t('Home.Company') }}
-
{{ $t('Home.AboutUs') }}
-
{{ $t('Home.Offices') }}
-
{{ $t('Home.JoinWithUs') }}
+
+
{{ $t(v.title) }}
+
+ {{ $t(item.title) }} +
@@ -53,6 +38,81 @@ const router = useRouter() import HomeFooter from '@/components/Footer.vue' import { UrlList, openView } from '../../utils/UrlList' + const list = ref([ + { + title: 'Home.Help', + class: 'help', + child: [ + { + title: 'Home.FAQ', + url: UrlList.faq + }, + { + title: 'Home.MyAccount', + name: 'settings' + }, + { + title: 'Home.MyOrders', + name: 'wardrobe' + }, + { + title: 'Home.PaymentInvoices', + url: '' + }, + { + title: 'Home.CopyrightLicense', + url: '' + } + ] + }, + { + title: 'Home.Polices', + class: 'polices', + child: [ + { + title: 'Home.Legal', + url: '' + }, + { + title: 'Home.PrivacyPolicy', + url: UrlList.privacy + }, + { + title: 'Home.CookiesSettings', + url: '' + }, + { + title: 'Home.PurchaseConditions', + url: '' + } + ] + }, + { + title: 'Home.Company', + class: 'company', + child: [ + { + title: 'Home.AboutUs', + url: UrlList.aboutUs + }, + { + title: 'Home.Offices', + url: '' + }, + { + title: 'Home.JoinWithUs', + url: UrlList.joinWithUs + } + ] + } + ]) + const onItem = (item) => { + if (item.url) { + openView(item.url) + } else if (item.name) { + router.push({ name: item.name }) + } + }