diff --git a/app/.vitepress/public/img/home/carouse/img-list1.png b/app/.vitepress/public/img/home/carouse/img-list1.png new file mode 100644 index 0000000000000000000000000000000000000000..8c7550e8927c98516a9b03f022e837225b4c08ad Binary files /dev/null and b/app/.vitepress/public/img/home/carouse/img-list1.png differ diff --git a/app/.vitepress/public/img/home/carouse/img-list2.png b/app/.vitepress/public/img/home/carouse/img-list2.png new file mode 100644 index 0000000000000000000000000000000000000000..0803822bcef2710d92fff9b06e970cd8b0b1253d Binary files /dev/null and b/app/.vitepress/public/img/home/carouse/img-list2.png differ diff --git a/app/.vitepress/public/img/home/carouse/img-list3.png b/app/.vitepress/public/img/home/carouse/img-list3.png new file mode 100644 index 0000000000000000000000000000000000000000..28b211a5f45f53ee054a220c00a0d7a0b06103d7 Binary files /dev/null and b/app/.vitepress/public/img/home/carouse/img-list3.png differ diff --git a/app/.vitepress/public/img/home/carouse/list-img1.png b/app/.vitepress/public/img/home/carouse/list-img1.png deleted file mode 100644 index 1c15573bd7511ed0057a36aab397aed1b29331cf..0000000000000000000000000000000000000000 Binary files a/app/.vitepress/public/img/home/carouse/list-img1.png and /dev/null differ diff --git a/app/.vitepress/public/img/home/case/education-active.svg b/app/.vitepress/public/img/home/case/education-active.svg new file mode 100644 index 0000000000000000000000000000000000000000..d6b475af256513f3f22ece705728fdd28f766f8c --- /dev/null +++ b/app/.vitepress/public/img/home/case/education-active.svg @@ -0,0 +1,11 @@ + + diff --git a/app/.vitepress/public/img/home/case/energy-active.svg b/app/.vitepress/public/img/home/case/energy-active.svg new file mode 100644 index 0000000000000000000000000000000000000000..b6a44f3a3b97e43a197916f56d45e3188bae16dd --- /dev/null +++ b/app/.vitepress/public/img/home/case/energy-active.svg @@ -0,0 +1,16 @@ + + diff --git a/app/.vitepress/public/img/home/case/finance-active.svg b/app/.vitepress/public/img/home/case/finance-active.svg new file mode 100644 index 0000000000000000000000000000000000000000..14345d01eb1c911d6cff5a8d6302a194982b2c4e --- /dev/null +++ b/app/.vitepress/public/img/home/case/finance-active.svg @@ -0,0 +1,13 @@ + + \ No newline at end of file diff --git a/app/.vitepress/public/img/home/case/finance.svg b/app/.vitepress/public/img/home/case/finance.svg index a14e408977ee9d6bdb31e26fa81165ed36417531..650043f172618595efa756130465b9877b0883a6 100644 --- a/app/.vitepress/public/img/home/case/finance.svg +++ b/app/.vitepress/public/img/home/case/finance.svg @@ -1,12 +1,12 @@ - - + + \ No newline at end of file diff --git a/app/.vitepress/public/img/home/case/government-active.svg b/app/.vitepress/public/img/home/case/government-active.svg new file mode 100644 index 0000000000000000000000000000000000000000..b14b852afd262e277aba62c621a35ab8f2a69c30 --- /dev/null +++ b/app/.vitepress/public/img/home/case/government-active.svg @@ -0,0 +1,10 @@ + + diff --git a/app/.vitepress/public/img/home/case/logistics-active.svg b/app/.vitepress/public/img/home/case/logistics-active.svg new file mode 100644 index 0000000000000000000000000000000000000000..27c0814c79aa3021f86e999285de24ab9486400a --- /dev/null +++ b/app/.vitepress/public/img/home/case/logistics-active.svg @@ -0,0 +1,22 @@ + + diff --git a/app/.vitepress/public/img/home/case/operator-active.svg b/app/.vitepress/public/img/home/case/operator-active.svg new file mode 100644 index 0000000000000000000000000000000000000000..53047810b6e59fe7db3c2246df09291b1264e62d --- /dev/null +++ b/app/.vitepress/public/img/home/case/operator-active.svg @@ -0,0 +1,12 @@ + + diff --git a/app/.vitepress/public/img/home/case/spaceflight-active.svg b/app/.vitepress/public/img/home/case/spaceflight-active.svg new file mode 100644 index 0000000000000000000000000000000000000000..13d15955192bd723ad143648fd343faed4db3475 --- /dev/null +++ b/app/.vitepress/public/img/home/case/spaceflight-active.svg @@ -0,0 +1,12 @@ + + diff --git a/app/.vitepress/public/img/home/dark/case/education.svg b/app/.vitepress/public/img/home/dark/case/education.svg index b7c2ff7fa20731f6ce10a511e348097820df455f..f3edcf0a002329360e57ff0d1b95e3855ac33393 100644 --- a/app/.vitepress/public/img/home/dark/case/education.svg +++ b/app/.vitepress/public/img/home/dark/case/education.svg @@ -1,16 +1,10 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/case/energy.svg b/app/.vitepress/public/img/home/dark/case/energy.svg index f69be8d762963c8c1b86ccde62a0fcda350ea216..f696b14fbde70520a1562e41a26f65296ba949e4 100644 --- a/app/.vitepress/public/img/home/dark/case/energy.svg +++ b/app/.vitepress/public/img/home/dark/case/energy.svg @@ -1,53 +1,15 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/case/government.svg b/app/.vitepress/public/img/home/dark/case/government.svg index 5da1e8d40a10dfed80f7866bc844af4c416f2bed..604a98af601055fd25bb5d21112d61f5124b2e60 100644 --- a/app/.vitepress/public/img/home/dark/case/government.svg +++ b/app/.vitepress/public/img/home/dark/case/government.svg @@ -1,15 +1,9 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/case/logistics.svg b/app/.vitepress/public/img/home/dark/case/logistics.svg index c7ee55a7d671634cd45e6841dacf3de2c0f4bcf5..8bdd46c95e8f090e52fad2a787c449d36eaf0f80 100644 --- a/app/.vitepress/public/img/home/dark/case/logistics.svg +++ b/app/.vitepress/public/img/home/dark/case/logistics.svg @@ -1,73 +1,21 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/case/operator.svg b/app/.vitepress/public/img/home/dark/case/operator.svg index 32bed1f833573f80fba419d17792fa1b96c19d87..f34193b9a17875566ab05f50ca7b9dfa7d862465 100644 --- a/app/.vitepress/public/img/home/dark/case/operator.svg +++ b/app/.vitepress/public/img/home/dark/case/operator.svg @@ -1,17 +1,11 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/case/spaceflight.svg b/app/.vitepress/public/img/home/dark/case/spaceflight.svg index c8cd3eba0ef81793cb51d50c127da71b5efe7675..1172191da7548a171604a53e41a568e526f277b0 100644 --- a/app/.vitepress/public/img/home/dark/case/spaceflight.svg +++ b/app/.vitepress/public/img/home/dark/case/spaceflight.svg @@ -1,17 +1,11 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/round/contributer.svg b/app/.vitepress/public/img/home/dark/round/contributer.svg index 8c2b7144ef3d551f6ee616901ca156ac5f07ab53..6fdbad1830b7c420159b0846773037e3e7258209 100644 --- a/app/.vitepress/public/img/home/dark/round/contributer.svg +++ b/app/.vitepress/public/img/home/dark/round/contributer.svg @@ -1,20 +1,10 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/round/osv.svg b/app/.vitepress/public/img/home/dark/round/osv.svg index ed46061b510442e26d1bfc7f97a0eca0f8e74f7b..aba7115d170231c2514cdaeff1382b4298a0b7e3 100644 --- a/app/.vitepress/public/img/home/dark/round/osv.svg +++ b/app/.vitepress/public/img/home/dark/round/osv.svg @@ -1,26 +1,14 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/round/sig.svg b/app/.vitepress/public/img/home/dark/round/sig.svg index 202e083cb99cadb2f1afecf448a898508e39dcc7..ae75edd0b963aab54c670b87a42c921b07c2404a 100644 --- a/app/.vitepress/public/img/home/dark/round/sig.svg +++ b/app/.vitepress/public/img/home/dark/round/sig.svg @@ -1,22 +1,14 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/round/software.svg b/app/.vitepress/public/img/home/dark/round/software.svg index 93a76ae4450d689c8537b39a197727c804010824..52a623000c21dfc15dc7004897bc969e34aae88c 100644 --- a/app/.vitepress/public/img/home/dark/round/software.svg +++ b/app/.vitepress/public/img/home/dark/round/software.svg @@ -1,26 +1,16 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/home/dark/round/user.svg b/app/.vitepress/public/img/home/dark/round/user.svg index cf38ab2e4e946a82228b596a1fca85f3dc22d446..87c683b76e512b273dae0a5210de33650fc74df6 100644 --- a/app/.vitepress/public/img/home/dark/round/user.svg +++ b/app/.vitepress/public/img/home/dark/round/user.svg @@ -1,18 +1,8 @@ - - \ No newline at end of file + + diff --git a/app/.vitepress/public/img/other/brand/Style.png b/app/.vitepress/public/img/other/brand/Style.png deleted file mode 100644 index d24c88882af2800b75e5b16f577238afce3c3c77..0000000000000000000000000000000000000000 Binary files a/app/.vitepress/public/img/other/brand/Style.png and /dev/null differ diff --git a/app/.vitepress/public/img/other/brand/brand-mobile-1.png b/app/.vitepress/public/img/other/brand/brand-mobile-1.png new file mode 100644 index 0000000000000000000000000000000000000000..c955c572e8fd1bb6d472561249148743a3335443 Binary files /dev/null and b/app/.vitepress/public/img/other/brand/brand-mobile-1.png differ diff --git a/app/.vitepress/public/img/other/brand/brand-mobile-2.png b/app/.vitepress/public/img/other/brand/brand-mobile-2.png new file mode 100644 index 0000000000000000000000000000000000000000..3202cfccaf4d6e8e6e2541e6ac22fcef302bb873 Binary files /dev/null and b/app/.vitepress/public/img/other/brand/brand-mobile-2.png differ diff --git a/app/.vitepress/public/img/other/brand/brand-mobile-3.png b/app/.vitepress/public/img/other/brand/brand-mobile-3.png new file mode 100644 index 0000000000000000000000000000000000000000..a597d3149d119f1e0b98ac0fcafc752099fbd64e Binary files /dev/null and b/app/.vitepress/public/img/other/brand/brand-mobile-3.png differ diff --git a/app/.vitepress/public/img/other/brand/brand-mobile-4.png b/app/.vitepress/public/img/other/brand/brand-mobile-4.png new file mode 100644 index 0000000000000000000000000000000000000000..e277ad3ab314893509b9fc542250a78324af41a4 Binary files /dev/null and b/app/.vitepress/public/img/other/brand/brand-mobile-4.png differ diff --git a/app/.vitepress/public/img/other/brand/brand-mobile-5.png b/app/.vitepress/public/img/other/brand/brand-mobile-5.png new file mode 100644 index 0000000000000000000000000000000000000000..3757fde6c694215916af5c1091a1faae9844bf8d Binary files /dev/null and b/app/.vitepress/public/img/other/brand/brand-mobile-5.png differ diff --git a/app/.vitepress/public/img/other/brand/brand-mobile-6.png b/app/.vitepress/public/img/other/brand/brand-mobile-6.png new file mode 100644 index 0000000000000000000000000000000000000000..948a3ea42aed3566010a2d08d57f9dae40600965 Binary files /dev/null and b/app/.vitepress/public/img/other/brand/brand-mobile-6.png differ diff --git a/app/.vitepress/src/api/api-mirror.ts b/app/.vitepress/src/api/api-mirror.ts index 340b7dd63b3431995016463640e2a8ece52b4897..16720f0eb1b5c6d5188502014c10bef5f5661502 100644 --- a/app/.vitepress/src/api/api-mirror.ts +++ b/app/.vitepress/src/api/api-mirror.ts @@ -12,3 +12,15 @@ export function getAllMirror() { const url = '/api/mirrors/?mirrorstats=true'; return request.get(url).then((res: AxiosResponse) => res.data); } + +/** + * 调用接口获取优选镜像列表 + * @name getAllMirror + * @param {string} version 镜像版本 + * @return {Array} 镜像列表 + */ + +export const selectMirror = (version: string) => { + const url = `/api/mirrors/openEuler-${version}/ISO/`; + return request.get(url).then((res: AxiosResponse) => res.data); +}; diff --git a/app/.vitepress/src/assets/illustrations/brand.png b/app/.vitepress/src/assets/illustrations/brand.png new file mode 100644 index 0000000000000000000000000000000000000000..a079c3f7df3243d2d71c10bfb7ff474c7b1b207a Binary files /dev/null and b/app/.vitepress/src/assets/illustrations/brand.png differ diff --git a/app/.vitepress/src/i18n/home/home-zh.ts b/app/.vitepress/src/i18n/home/home-zh.ts index 9f586607e414355f3979b921b2a6c5636fc24277..87530a3f32f10188abf63e3dd48ab4c246bf0788 100644 --- a/app/.vitepress/src/i18n/home/home-zh.ts +++ b/app/.vitepress/src/i18n/home/home-zh.ts @@ -5,19 +5,19 @@ export default { LIST: [ { TITLE: '覆盖全场景应用', - IMG_URL: '/img/home/carouse/list-img1.png', + IMG_URL: '/img/home/carouse/img-list1.png', }, { TITLE: '支持多样性计算', - IMG_URL: '/img/home/carouse/list-img1.png', + IMG_URL: '/img/home/carouse/img-list2.png', }, { TITLE: '全产业生态共建', - IMG_URL: '/img/home/carouse/list-img1.png', + IMG_URL: '/img/home/carouse/img-list3.png', }, { TITLE: '开源 开放 创新', - IMG_URL: '/img/home/carouse/list-img1.png', + IMG_URL: '/img/home/carouse/img-list4.png', }, ], }, @@ -69,11 +69,13 @@ export default { USER_CASE: { TITLE: '用户案例', VIEW_MORE: '查看更多', + VIEW_MORE_URL: '', CASE_LIST: [ { TYPE: '金融', URL: '/img/home/case/finance.svg', URL_DARK: '/img/home/dark/case/finance.svg', + URL_ACTIVE: '/img/home/case/finance-active.svg', CONTENT: [ { NAME: '中国建设银行', @@ -97,6 +99,7 @@ export default { TYPE: '运营商', URL: '/img/home/case/operator.svg', URL_DARK: '/img/home/dark/case/operator.svg', + URL_ACTIVE: '/img/home/case/operator-active.svg', CONTENT: [ { NAME: '中国建设银行', @@ -120,6 +123,7 @@ export default { TYPE: '政府', URL: '/img/home/case/government.svg', URL_DARK: '/img/home/dark/case/government.svg', + URL_ACTIVE: '/img/home/case/government-active.svg', CONTENT: [ { NAME: '中国建设银行', @@ -143,6 +147,7 @@ export default { TYPE: '能源', URL: '/img/home/case/energy.svg', URL_DARK: '/img/home/dark/case/energy.svg', + URL_ACTIVE: '/img/home/case/energy-active.svg', CONTENT: [ { NAME: '中国建设银行', @@ -166,6 +171,7 @@ export default { TYPE: '航天', URL: '/img/home/case/spaceflight.svg', URL_DARK: '/img/home/dark/case/spaceflight.svg', + URL_ACTIVE: '/img/home/case/spaceflight-active.svg', CONTENT: [ { NAME: '中国建设银行', @@ -189,6 +195,7 @@ export default { TYPE: '物流', URL: '/img/home/case/logistics.svg', URL_DARK: '/img/home/dark/case/logistics.svg', + URL_ACTIVE: '/img/home/case/logistics-active.svg', CONTENT: [ { NAME: '中国建设银行', @@ -212,6 +219,7 @@ export default { TYPE: '教育', URL: '/img/home/case/education.svg', URL_DARK: '/img/home/dark/case/education.svg', + URL_ACTIVE: '/img/home/case/education-active.svg', CONTENT: [ { NAME: '中国建设银行', diff --git a/app/.vitepress/src/views/TheDemo.vue b/app/.vitepress/src/views/TheDemo.vue index 13aaf5aff773c48c7dfb8d265dda11d413eb5c99..b4ff09919b57c01b480c28169c50120114f169b8 100644 --- a/app/.vitepress/src/views/TheDemo.vue +++ b/app/.vitepress/src/views/TheDemo.vue @@ -191,7 +191,7 @@ onMounted(() => {