@opendesign-plus/components 0.0.1-rc.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-OElCookieNotice.cjs.js +1 -0
- package/dist/chunk-OElCookieNotice.es.js +281 -0
- package/dist/components/OBanner.vue.d.ts +2 -0
- package/dist/components/OCookieNotice.vue.d.ts +16 -0
- package/dist/components/OFooter.vue.d.ts +25 -0
- package/dist/components/OHeader.vue.d.ts +23 -0
- package/dist/components/OHeaderMoblie.vue.d.ts +33 -0
- package/dist/components/OHeaderSearch.vue.d.ts +692 -0
- package/dist/components/OHeaderUser.vue.d.ts +40 -0
- package/dist/components/OPlusConfigProvider.vue.d.ts +23 -0
- package/dist/components/OSection.vue.d.ts +37 -0
- package/dist/components/OSourceCode.vue.d.ts +20 -0
- package/dist/components/OThemeSwitcher.vue.d.ts +28 -0
- package/dist/components/element-plus/OElCookieNotice.vue.d.ts +31 -0
- package/dist/components/element-plus/index.d.ts +2 -0
- package/dist/components/events/OEventsApply.vue.d.ts +16 -0
- package/dist/components/events/OEventsCalendar.vue.d.ts +5 -0
- package/dist/components/events/OEventsList.vue.d.ts +26 -0
- package/dist/components/events/config.d.ts +26 -0
- package/dist/components/events/index.d.ts +78 -0
- package/dist/components/events/types.d.ts +66 -0
- package/dist/components/events/utils.d.ts +7 -0
- package/dist/components.cjs.js +3 -0
- package/dist/components.css +1 -0
- package/dist/components.element.cjs.js +1 -0
- package/dist/components.element.es.js +4 -0
- package/dist/components.es.js +3509 -0
- package/dist/index.d.ts +18 -0
- package/docs/design.md +27 -0
- package/docs/design_banner.md +41 -0
- package/docs/design_section.md +27 -0
- package/npmcachae/_cacache/content-v2/sha512/bd/56/25079ffb18446953f88fc063c3d6eaf7191772851b8477c118f113b920a7f357b67b9006181af58c9f68b0059b899ad0f2c86fe0a6490958d138cb063afd +1 -0
- package/npmcachae/_cacache/index-v5/d8/49/af4c6bb8f580edbd7b6e18db381844403e5f689a9849c5ffcdd2dd95d735 +3 -0
- package/npmcachae/_logs/2026-03-17T09_38_12_009Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_14_370Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_16_516Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_18_616Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_20_859Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_23_182Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_25_452Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_27_865Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_30_082Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_32_219Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_34_308Z-debug-0.log +157 -0
- package/npmcachae/_update-notifier-last-checked +0 -0
- package/package.json +53 -0
- package/scripts/generate-components-index.js +100 -0
- package/src/assets/events/city/default-cover.png +0 -0
- package/src/assets/events/city//344/270/212/346/265/267.png +0 -0
- package/src/assets/events/city//345/214/227/344/272/254.png +0 -0
- package/src/assets/events/city//345/215/227/344/272/254.png +0 -0
- package/src/assets/events/city//345/244/251/346/264/245.png +0 -0
- package/src/assets/events/city//345/271/277/345/267/236.png +0 -0
- package/src/assets/events/city//346/210/220/351/203/275.png +0 -0
- package/src/assets/events/city//346/227/240/351/224/241.png +0 -0
- package/src/assets/events/city//346/235/255/345/267/236.png +0 -0
- package/src/assets/events/city//346/255/246/346/261/211.png +0 -0
- package/src/assets/events/city//346/267/261/345/234/2631.png +0 -0
- package/src/assets/events/city//346/267/261/345/234/2632.png +0 -0
- package/src/assets/events/city//350/213/217/345/267/236.png +0 -0
- package/src/assets/events/city//350/245/277/345/256/211.png +0 -0
- package/src/assets/events/city//351/203/221/345/267/236.png +0 -0
- package/src/assets/events/svg-icons/icon-checked.svg +3 -0
- package/src/assets/events/svg-icons/icon-competition.svg +7 -0
- package/src/assets/events/svg-icons/icon-events.svg +4 -0
- package/src/assets/events/svg-icons/icon-release.svg +4 -0
- package/src/assets/events/svg-icons/icon-summit.svg +4 -0
- package/src/assets/svg-icons/icon-arrow-left.svg +3 -0
- package/src/assets/svg-icons/icon-avatar-line.svg +3 -0
- package/src/assets/svg-icons/icon-caret-left.svg +3 -0
- package/src/assets/svg-icons/icon-caret-right.svg +3 -0
- package/src/assets/svg-icons/icon-chevron-down.svg +3 -0
- package/src/assets/svg-icons/icon-chevron-right.svg +3 -0
- package/src/assets/svg-icons/icon-close.svg +3 -0
- package/src/assets/svg-icons/icon-delete.svg +3 -0
- package/src/assets/svg-icons/icon-header-back.svg +3 -0
- package/src/assets/svg-icons/icon-header-delete.svg +3 -0
- package/src/assets/svg-icons/icon-header-menu.svg +3 -0
- package/src/assets/svg-icons/icon-header-person.svg +3 -0
- package/src/assets/svg-icons/icon-header-search.svg +4 -0
- package/src/assets/svg-icons/icon-locale.svg +3 -0
- package/src/assets/svg-icons/icon-log-off.svg +3 -0
- package/src/assets/svg-icons/icon-message.svg +3 -0
- package/src/assets/svg-icons/icon-moon.svg +3 -0
- package/src/assets/svg-icons/icon-outlink.svg +3 -0
- package/src/assets/svg-icons/icon-overview.svg +3 -0
- package/src/assets/svg-icons/icon-setting.svg +3 -0
- package/src/assets/svg-icons/icon-sun.svg +3 -0
- package/src/components/OBanner.vue +390 -0
- package/src/components/OCookieNotice.vue +423 -0
- package/src/components/OFooter.vue +566 -0
- package/src/components/OHeader.vue +97 -0
- package/src/components/OHeaderMoblie.vue +149 -0
- package/src/components/OHeaderSearch.vue +601 -0
- package/src/components/OHeaderUser.vue +304 -0
- package/src/components/OPlusConfigProvider.vue +32 -0
- package/src/components/OSection.vue +178 -0
- package/src/components/OSourceCode.vue +153 -0
- package/src/components/OThemeSwitcher.vue +108 -0
- package/src/components/common/AppAvatar.vue +83 -0
- package/src/components/common/ClientOnlyWrapper.ts +21 -0
- package/src/components/common/ContentWrapper.vue +85 -0
- package/src/components/common/HeaderEulerNav.vue +1118 -0
- package/src/components/common/HeaderNavMoblie.vue +344 -0
- package/src/components/common/HeaderUbmcNav.vue +597 -0
- package/src/components/element-plus/OElCookieNotice.vue +412 -0
- package/src/components/element-plus/index.ts +3 -0
- package/src/components/events/OEventsApply.vue +487 -0
- package/src/components/events/OEventsCalendar.vue +611 -0
- package/src/components/events/OEventsList.vue +402 -0
- package/src/components/events/config.ts +47 -0
- package/src/components/events/index.ts +23 -0
- package/src/components/events/npmcachae/_cacache/content-v2/sha512/2c/4f/a4140bfbf374a43f7dfe71880c051f79149cd259fb1a154fb692802c7489ef2317b737e7e690a627714ba19317971f29051b3798c246297b425a626a5b7a +1 -0
- package/src/components/events/npmcachae/_cacache/index-v5/8e/86/70dc69f1b1592fe14da10d2516ddfaa609af0cd9054a6ebde664acc6ab12 +2 -0
- package/src/components/events/npmcachae/_logs/2026-03-25T09_58_33_134Z-debug-0.log +105 -0
- package/src/components/events/npmcachae/_update-notifier-last-checked +0 -0
- package/src/components/events/types.ts +80 -0
- package/src/components/events/utils.ts +9 -0
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/3e/17/1865217b9acb9f4921c53a09b5c76587cd2ab748beb2699ff6cfb1341d73b1aa56ed91ffc5ab2c9c9b3fbe626103b35d9a79ff29ff6b8cbb8d89755fe1a2 +1 -0
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/a6/15/47bb7552ec9248079e839a5feecc1742d4de19524fdf041cf581701cf4760a5025106036145e279ba193b07c8fa5b07ae3d75f1b6032f0cb2219115b6167 +1 -0
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/d1/4c/133b32e09c97101a27a07cc4432f94e470cff02d120d21babcea77c3f5cd436793516dc1a8e282ee1a568f923c148b1a48f4a43233462a530d35e8b41c67 +1 -0
- package/src/components/meeting/npmcachae/_cacache/index-v5/54/0d/a4909047714a0a7198bb9bd37020992464e47c79a791889919b84d90aab0 +3 -0
- package/src/components/meeting/npmcachae/_cacache/index-v5/8e/2b/21a79778e2ac08cf5663baf83cb35f951995a496007eb2e2f7fba54021a4 +3 -0
- package/src/components/meeting/npmcachae/_cacache/index-v5/eb/a0/b70c8132e5b57a0f1e129b8cc941796420a9c147c0baa680710083740898 +2 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_54_955Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_57_842Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_00_016Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_02_191Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_04_425Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_06_642Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_08_826Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_36_140Z-debug-0.log +433 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_39_573Z-debug-0.log +433 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_42_134Z-debug-0.log +212 -0
- package/src/components/meeting/npmcachae/_update-notifier-last-checked +0 -0
- package/src/draft/Banner.vue +265 -0
- package/src/draft/ButtonCards.vue +106 -0
- package/src/draft/Feature.vue +134 -0
- package/src/draft/Footer.vue +512 -0
- package/src/draft/HorizontalAnchor.vue +165 -0
- package/src/draft/ItemSwiper.vue +133 -0
- package/src/draft/Logo.vue +141 -0
- package/src/draft/LogoCard.vue +75 -0
- package/src/draft/LogoV2.vue +19 -0
- package/src/draft/MainCard.vue +38 -0
- package/src/draft/MultiCard.vue +95 -0
- package/src/draft/MultiIconCard.vue +74 -0
- package/src/draft/OInfoCard.vue +176 -0
- package/src/draft/Process.vue +81 -0
- package/src/draft/Section.vue +167 -0
- package/src/draft/SingleTabCard.vue +85 -0
- package/src/draft/SliderCard.vue +110 -0
- package/src/env.d.ts +1 -0
- package/src/i18n/en.ts +20 -0
- package/src/i18n/index.ts +42 -0
- package/src/i18n/zh.ts +14 -0
- package/src/index.ts +46 -0
- package/src/npmcachae/_cacache/content-v2/sha512/bd/56/25079ffb18446953f88fc063c3d6eaf7191772851b8477c118f113b920a7f357b67b9006181af58c9f68b0059b899ad0f2c86fe0a6490958d138cb063afd +1 -0
- package/src/npmcachae/_cacache/index-v5/d8/49/af4c6bb8f580edbd7b6e18db381844403e5f689a9849c5ffcdd2dd95d735 +3 -0
- package/src/npmcachae/_logs/2026-03-17T10_53_33_398Z-debug-0.log +156 -0
- package/src/npmcachae/_logs/2026-03-17T10_53_35_464Z-debug-0.log +156 -0
- package/src/npmcachae/_logs/2026-03-17T10_53_37_852Z-debug-0.log +156 -0
- package/src/npmcachae/_update-notifier-last-checked +0 -0
- package/src/shared/provide.ts +6 -0
- package/src/shims-vue-dompurify-html.d.ts +17 -0
- package/src/vue.d.ts +10 -0
- package/tsconfig.json +33 -0
- package/vite.config.ts +102 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import { useScreen } from '@/composables/useScreen.ts';
|
|
3
|
+
|
|
4
|
+
const { gtPadV } = useScreen();
|
|
5
|
+
|
|
6
|
+
interface FeatureT {
|
|
7
|
+
title: string;
|
|
8
|
+
content: string;
|
|
9
|
+
icon?: any;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const props = defineProps<{
|
|
13
|
+
features: FeatureT[];
|
|
14
|
+
}>();
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<div v-if="props.features.length" class="feature-list">
|
|
19
|
+
<div class="feature-list__item" v-for="(feature, index) in props.features" :key="index">
|
|
20
|
+
<div class="feature-item">
|
|
21
|
+
<component :is="feature.icon" class="g-icon-48"></component>
|
|
22
|
+
<div class="feature-title">{{ feature.title }}</div>
|
|
23
|
+
<div v-if="gtPadV" class="feature-content">{{ feature.content }}</div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<style lang="scss" scoped>
|
|
30
|
+
.feature-list {
|
|
31
|
+
background-color: var(--o-color-fill2);
|
|
32
|
+
padding: var(--o3-gap-8) var(--o3-gap-10);
|
|
33
|
+
display: grid;
|
|
34
|
+
justify-items: center;
|
|
35
|
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
36
|
+
column-gap: var(--o3-gap-8);
|
|
37
|
+
row-gap: var(--o3-gap-7);
|
|
38
|
+
border-radius: var(--o3-radius-l);
|
|
39
|
+
|
|
40
|
+
@include respond-to('phone') {
|
|
41
|
+
gap: 0;
|
|
42
|
+
display: flex;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
overflow-x: scroll;
|
|
46
|
+
width: 100%;
|
|
47
|
+
padding: 16px 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.feature-list__item {
|
|
52
|
+
position: relative;
|
|
53
|
+
width: 100%;
|
|
54
|
+
text-align: center;
|
|
55
|
+
|
|
56
|
+
&::after {
|
|
57
|
+
content: '';
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: 24px;
|
|
60
|
+
right: calc(0% - var(--o3-gap-8) / 2);
|
|
61
|
+
height: 96px;
|
|
62
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
63
|
+
width: 1px;
|
|
64
|
+
|
|
65
|
+
@include respond-to('<=pad_v') {
|
|
66
|
+
top: 16px;
|
|
67
|
+
height: 36px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&:last-child,
|
|
72
|
+
&:nth-of-type(3n) {
|
|
73
|
+
&::after {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&:nth-of-type(2) {
|
|
79
|
+
.feature-content {
|
|
80
|
+
max-width: 288px;
|
|
81
|
+
|
|
82
|
+
@include respond-to('<=laptop') {
|
|
83
|
+
max-width: 252px;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@include respond-to('phone') {
|
|
89
|
+
&::after {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.feature-item {
|
|
96
|
+
text-align: center;
|
|
97
|
+
position: relative;
|
|
98
|
+
display: inline-block;
|
|
99
|
+
max-width: 320px;
|
|
100
|
+
|
|
101
|
+
@include respond-to('phone') {
|
|
102
|
+
flex: 0 0 auto;
|
|
103
|
+
width: 25vw;
|
|
104
|
+
padding: 0 24px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.feature-content {
|
|
108
|
+
@include text1
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.feature-title {
|
|
113
|
+
@include h4;
|
|
114
|
+
white-space: wrap;
|
|
115
|
+
font-weight: 600;
|
|
116
|
+
margin-top: var(--o3-gap-4);
|
|
117
|
+
margin-bottom: var(--o3-gap-2);
|
|
118
|
+
color: var(--o-color-info1);
|
|
119
|
+
|
|
120
|
+
@include respond-to('phone') {
|
|
121
|
+
white-space: pre-wrap;
|
|
122
|
+
|
|
123
|
+
@include tip2;
|
|
124
|
+
|
|
125
|
+
&::after {
|
|
126
|
+
display: none;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.g-icon-48 {
|
|
132
|
+
font-size: var(--o-icon_size-xl);
|
|
133
|
+
}
|
|
134
|
+
</style>
|
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref, watch, type PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
import { linksData2, quickNav, friendshipLinks, filingData, localeData } from '@/data/footer';
|
|
5
|
+
|
|
6
|
+
import { ODivider } from '@opensig/opendesign';
|
|
7
|
+
import ContentWrapper from './ContentWrapper.vue';
|
|
8
|
+
|
|
9
|
+
import LogoFooter from '@/assets/category/footer/footer-logo2.png';
|
|
10
|
+
import LogoFooter1 from '@/assets/category/footer/footer-logo1.png';
|
|
11
|
+
import LogoAtom from '@/assets/category/footer/atom-logo.png';
|
|
12
|
+
|
|
13
|
+
// 公众号、小助手
|
|
14
|
+
import CodeTitleXzs from '@/assets/category/footer/img-xzs.png';
|
|
15
|
+
import CodeTitleGzh from '@/assets/category/footer/img-gzh.png';
|
|
16
|
+
import CodeImgXzs from '@/assets/category/footer/code-xzs.png';
|
|
17
|
+
import CodeImgZgz from '@/assets/category/footer/code-zgz.png';
|
|
18
|
+
|
|
19
|
+
import { useLocale } from '@/composables/useLocale';
|
|
20
|
+
|
|
21
|
+
const { t } = useLocale();
|
|
22
|
+
|
|
23
|
+
const props = defineProps({
|
|
24
|
+
lang: {
|
|
25
|
+
type: String as PropType<'zh' | 'en'>,
|
|
26
|
+
default: document.documentElement.getAttribute('lang') || 'zh',
|
|
27
|
+
},
|
|
28
|
+
target: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: '_blank',
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
const locale = ref({});
|
|
35
|
+
watch(
|
|
36
|
+
() => props.lang,
|
|
37
|
+
(val) => {
|
|
38
|
+
locale.value = localeData[val];
|
|
39
|
+
},
|
|
40
|
+
{ immediate: true }
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
// 公众号、小助手
|
|
44
|
+
const footerCodeList = [
|
|
45
|
+
{
|
|
46
|
+
img: CodeTitleGzh,
|
|
47
|
+
code: CodeImgZgz,
|
|
48
|
+
label: locale.qrAssistant,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
img: CodeTitleXzs,
|
|
52
|
+
code: CodeImgXzs,
|
|
53
|
+
label: locale.qrCode,
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
</script>
|
|
57
|
+
|
|
58
|
+
<template>
|
|
59
|
+
<div id="tour_footer" class="footer">
|
|
60
|
+
<ContentWrapper :pc-top="0" :mobile-top="0">
|
|
61
|
+
<div class="atom">
|
|
62
|
+
<p class="atom-text">{{ t('footer.atomText') }}</p>
|
|
63
|
+
<a href="https://openatom.cn" target="_blank">
|
|
64
|
+
<img :src="LogoAtom" class="atom-logo" alt="" />
|
|
65
|
+
</a>
|
|
66
|
+
</div>
|
|
67
|
+
<ODivider
|
|
68
|
+
:style="{
|
|
69
|
+
'--o-divider-bd-color': 'rgba(229, 229, 229, 0.12)',
|
|
70
|
+
'--o-divider-gap': '16px',
|
|
71
|
+
}"
|
|
72
|
+
/>
|
|
73
|
+
</ContentWrapper>
|
|
74
|
+
<div class="footer-content">
|
|
75
|
+
<ContentWrapper :pc-top="0" :mobile-top="0">
|
|
76
|
+
<div class="quick-nav">
|
|
77
|
+
<div v-for="category in quickNav[lang]" class="category">
|
|
78
|
+
<div class="category-title">
|
|
79
|
+
{{ category.title }}
|
|
80
|
+
</div>
|
|
81
|
+
<ul class="navs">
|
|
82
|
+
<li v-for="nav in category.list" class="nav">
|
|
83
|
+
<a :href="nav.link" target="_blank" rel="noopener noreferrer">{{ nav.title }}</a>
|
|
84
|
+
</li>
|
|
85
|
+
</ul>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="friendship-link">
|
|
89
|
+
<div class="friendship-link-title">
|
|
90
|
+
{{ locale.friendshipLink }}
|
|
91
|
+
</div>
|
|
92
|
+
<div class="friendship-link-box">
|
|
93
|
+
<a v-for="link in friendshipLinks[lang]" class="friendship-link-item" :href="link.link" :key="link.link" target="_blank">{{ link.title }}</a>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="inner">
|
|
97
|
+
<div class="footer-logo">
|
|
98
|
+
<img class="show-pc" :src="LogoFooter" alt="" />
|
|
99
|
+
<img class="show-mo" :src="LogoFooter1" alt="" />
|
|
100
|
+
<p>
|
|
101
|
+
<a class="email" href="mailto:contact@openeuler.io" target="_blank"> contact@openeuler.io </a>
|
|
102
|
+
</p>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="footer-option">
|
|
105
|
+
<div class="footer-option-item">
|
|
106
|
+
<template v-for="(link, index) in linksData2[lang]" :key="link.URL">
|
|
107
|
+
<a :target="target" :href="link.URL" class="link">{{ link.NAME }}</a>
|
|
108
|
+
<ODivider
|
|
109
|
+
v-if="index !== linksData2[lang].length - 1"
|
|
110
|
+
:style="{
|
|
111
|
+
'--o-divider-bd-color': 'var(--o-color-white)',
|
|
112
|
+
'--o-divider-label-gap': '0 8px',
|
|
113
|
+
}"
|
|
114
|
+
direction="v"
|
|
115
|
+
/>
|
|
116
|
+
</template>
|
|
117
|
+
</div>
|
|
118
|
+
<p class="license">
|
|
119
|
+
<span>{{ locale.license_1 }}</span>
|
|
120
|
+
{{ locale.license_2 }}
|
|
121
|
+
</p>
|
|
122
|
+
<div class="copyright">
|
|
123
|
+
<p>{{ locale.copyRight1 }} {{ new Date().getFullYear() }} {{ locale.copyRight2 }},</p>
|
|
124
|
+
<div class="filing">
|
|
125
|
+
<a :href="filingData.link" target="_blank" class="filing-link">
|
|
126
|
+
{{ locale.filingText1 }}
|
|
127
|
+
</a>
|
|
128
|
+
<img :src="filingData.icon" class="filing-img" />
|
|
129
|
+
<p>{{ locale.filingText2 }}</p>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="footer-right">
|
|
134
|
+
<div v-if="lang === 'zh'" class="code-box">
|
|
135
|
+
<div v-for="(item, index) in footerCodeList" :key="index" class="code-pop">
|
|
136
|
+
<img :src="item.img" class="code-img" alt="" />
|
|
137
|
+
<div class="code-layer">
|
|
138
|
+
<img :src="item.code" alt="" />
|
|
139
|
+
<p class="txt">{{ item.label }}</p>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
</ContentWrapper>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
</template>
|
|
149
|
+
|
|
150
|
+
<style lang="scss" scoped>
|
|
151
|
+
$color: #fff;
|
|
152
|
+
.o-divider {
|
|
153
|
+
@include tip2;
|
|
154
|
+
}
|
|
155
|
+
.footer {
|
|
156
|
+
&.is-doc {
|
|
157
|
+
margin-left: 300px;
|
|
158
|
+
@media (max-width: 1100px) {
|
|
159
|
+
margin-left: 0;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
overflow: hidden;
|
|
163
|
+
background: #121214;
|
|
164
|
+
:deep(.app-content) {
|
|
165
|
+
padding-bottom: 0;
|
|
166
|
+
}
|
|
167
|
+
.atom {
|
|
168
|
+
text-align: center;
|
|
169
|
+
margin-top: 24px;
|
|
170
|
+
position: relative;
|
|
171
|
+
|
|
172
|
+
.atom-text {
|
|
173
|
+
color: $color;
|
|
174
|
+
@include h4;
|
|
175
|
+
}
|
|
176
|
+
.atom-logo {
|
|
177
|
+
height: 32px;
|
|
178
|
+
margin-top: 12px;
|
|
179
|
+
@include respond-to('<=pad_v') {
|
|
180
|
+
margin-top: 16px;
|
|
181
|
+
height: 30px;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.footer-content {
|
|
187
|
+
@include tip1;
|
|
188
|
+
background: url('@/assets/category/footer/footer-bg.png') no-repeat bottom center;
|
|
189
|
+
@include respond-to('<=pad_v') {
|
|
190
|
+
background: url('@/assets/category/footer/footer-bg-mo.png') no-repeat bottom center;
|
|
191
|
+
}
|
|
192
|
+
.quick-nav {
|
|
193
|
+
margin: 16px auto 0;
|
|
194
|
+
display: flex;
|
|
195
|
+
justify-content: space-between;
|
|
196
|
+
max-width: 1140px;
|
|
197
|
+
@include respond-to('<=pad_v') {
|
|
198
|
+
display: none;
|
|
199
|
+
}
|
|
200
|
+
.category {
|
|
201
|
+
text-align: left;
|
|
202
|
+
.category-title {
|
|
203
|
+
@include h4;
|
|
204
|
+
color: var(--o-color-white);
|
|
205
|
+
}
|
|
206
|
+
.navs {
|
|
207
|
+
display: flex;
|
|
208
|
+
flex-direction: column;
|
|
209
|
+
.nav {
|
|
210
|
+
margin-top: 8px;
|
|
211
|
+
@include tip1;
|
|
212
|
+
a {
|
|
213
|
+
color: rgba(255, 255, 255, 0.6);
|
|
214
|
+
@include hover {
|
|
215
|
+
color: rgba(255, 255, 255, 1);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
.nav:first-child {
|
|
220
|
+
margin-top: 10px;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
.friendship-link {
|
|
226
|
+
margin-top: 16px;
|
|
227
|
+
padding-bottom: 12px;
|
|
228
|
+
display: flex;
|
|
229
|
+
@include tip2;
|
|
230
|
+
//TODO: 颜色变量
|
|
231
|
+
border-bottom: 1px solid rgba(229, 229, 229, 0.12);
|
|
232
|
+
@include respond-to('<=pad_v') {
|
|
233
|
+
flex-direction: column;
|
|
234
|
+
padding-bottom: 16px;
|
|
235
|
+
.friendship-link-box {
|
|
236
|
+
margin-top: 12px;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
.friendship-link-title {
|
|
240
|
+
color: var(--o-color-white);
|
|
241
|
+
margin-right: 38px;
|
|
242
|
+
@include respond-to('<=pad') {
|
|
243
|
+
margin-right: 24px;
|
|
244
|
+
min-width: 48px;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
.friendship-link-item {
|
|
248
|
+
white-space: nowrap;
|
|
249
|
+
&:not(:last-of-type) {
|
|
250
|
+
margin-right: 24px;
|
|
251
|
+
@include respond-to('<=pad') {
|
|
252
|
+
margin-right: 12px;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
color: rgba(255, 255, 255, 0.6);
|
|
256
|
+
@include hover {
|
|
257
|
+
color: rgba(255, 255, 255, 1);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
.inner {
|
|
262
|
+
display: flex;
|
|
263
|
+
align-items: center;
|
|
264
|
+
justify-content: space-between;
|
|
265
|
+
padding: 8px 0 32px;
|
|
266
|
+
position: relative;
|
|
267
|
+
@include respond-to('<=pad_v') {
|
|
268
|
+
margin: 0 auto;
|
|
269
|
+
padding: 12px 0 24px;
|
|
270
|
+
flex-direction: column;
|
|
271
|
+
justify-content: space-between;
|
|
272
|
+
align-items: center;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
.footer-logo {
|
|
277
|
+
flex: 1;
|
|
278
|
+
img {
|
|
279
|
+
height: 46px;
|
|
280
|
+
}
|
|
281
|
+
.show-pc {
|
|
282
|
+
display: block;
|
|
283
|
+
}
|
|
284
|
+
.show-mo {
|
|
285
|
+
display: none;
|
|
286
|
+
}
|
|
287
|
+
@include respond-to('<=pad_v') {
|
|
288
|
+
text-align: center;
|
|
289
|
+
margin: 16px 0;
|
|
290
|
+
.show-pc {
|
|
291
|
+
display: none;
|
|
292
|
+
}
|
|
293
|
+
.show-mo {
|
|
294
|
+
display: inline-block;
|
|
295
|
+
height: 20px;
|
|
296
|
+
}
|
|
297
|
+
p {
|
|
298
|
+
margin-top: 4px;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.copyright {
|
|
304
|
+
margin-top: 6px;
|
|
305
|
+
color: rgba(255, 255, 255, 0.6);
|
|
306
|
+
display: flex;
|
|
307
|
+
gap: var(--o-gap-2);
|
|
308
|
+
|
|
309
|
+
@include respond-to('<=pad') {
|
|
310
|
+
flex-direction: column;
|
|
311
|
+
gap: 6px;
|
|
312
|
+
}
|
|
313
|
+
@include respond-to('<=pad_v') {
|
|
314
|
+
margin-top: 4px;
|
|
315
|
+
gap: 4px;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.filing {
|
|
319
|
+
display: flex;
|
|
320
|
+
gap: var(--o-gap-2);
|
|
321
|
+
|
|
322
|
+
.filing-link {
|
|
323
|
+
color: rgba(255, 255, 255, 0.6);
|
|
324
|
+
@include hover {
|
|
325
|
+
color: rgba(255, 255, 255, 1);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
.filing-img {
|
|
329
|
+
height: 16px;
|
|
330
|
+
width: 16px;
|
|
331
|
+
align-self: center;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
.license {
|
|
336
|
+
color: $color;
|
|
337
|
+
margin-top: 6px;
|
|
338
|
+
span {
|
|
339
|
+
color: rgba(255, 255, 255, 0.6);
|
|
340
|
+
}
|
|
341
|
+
@include respond-to('<=pad_v') {
|
|
342
|
+
margin-top: 4px;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.footer-option {
|
|
347
|
+
text-align: center;
|
|
348
|
+
@include tip1;
|
|
349
|
+
.link {
|
|
350
|
+
color: $color;
|
|
351
|
+
display: inline-block;
|
|
352
|
+
}
|
|
353
|
+
.footer-option-item {
|
|
354
|
+
align-items: center;
|
|
355
|
+
}
|
|
356
|
+
@include respond-to('<=pad_v') {
|
|
357
|
+
order: -1;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.footer-right {
|
|
362
|
+
flex: 1;
|
|
363
|
+
.code-box {
|
|
364
|
+
display: flex;
|
|
365
|
+
justify-content: right;
|
|
366
|
+
gap: 16px;
|
|
367
|
+
.code-pop {
|
|
368
|
+
cursor: pointer;
|
|
369
|
+
position: relative;
|
|
370
|
+
height: 20px;
|
|
371
|
+
display: block;
|
|
372
|
+
> img {
|
|
373
|
+
height: 100%;
|
|
374
|
+
object-fit: cover;
|
|
375
|
+
}
|
|
376
|
+
.code-layer {
|
|
377
|
+
position: absolute;
|
|
378
|
+
top: -105px;
|
|
379
|
+
left: -32px;
|
|
380
|
+
z-index: 99;
|
|
381
|
+
display: none;
|
|
382
|
+
background: #fff;
|
|
383
|
+
padding: 6px;
|
|
384
|
+
img {
|
|
385
|
+
width: 78px;
|
|
386
|
+
height: 78px;
|
|
387
|
+
}
|
|
388
|
+
.txt {
|
|
389
|
+
margin-top: 8px;
|
|
390
|
+
color: $color;
|
|
391
|
+
display: none;
|
|
392
|
+
}
|
|
393
|
+
&::after {
|
|
394
|
+
border: 10px solid transparent;
|
|
395
|
+
content: '';
|
|
396
|
+
border-top-color: #fff;
|
|
397
|
+
position: absolute;
|
|
398
|
+
bottom: -20px;
|
|
399
|
+
left: 50%;
|
|
400
|
+
transform: translateX(-50%);
|
|
401
|
+
display: block;
|
|
402
|
+
}
|
|
403
|
+
@include respond-to('<=pad_v') {
|
|
404
|
+
display: block;
|
|
405
|
+
position: initial;
|
|
406
|
+
background: none;
|
|
407
|
+
padding: 0;
|
|
408
|
+
text-align: center;
|
|
409
|
+
&::after {
|
|
410
|
+
display: none !important;
|
|
411
|
+
}
|
|
412
|
+
.txt {
|
|
413
|
+
display: block;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
@include hover {
|
|
418
|
+
.code-layer {
|
|
419
|
+
display: block;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
@include respond-to('pad_h') {
|
|
423
|
+
height: 18px;
|
|
424
|
+
}
|
|
425
|
+
@include respond-to('<=pad_v') {
|
|
426
|
+
height: auto;
|
|
427
|
+
> img {
|
|
428
|
+
display: none;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
@include respond-to('<=pad_v') {
|
|
433
|
+
justify-content: space-between;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
.footer-links {
|
|
437
|
+
display: flex;
|
|
438
|
+
justify-content: right;
|
|
439
|
+
align-items: center;
|
|
440
|
+
gap: 12px;
|
|
441
|
+
margin-left: 24px;
|
|
442
|
+
.links-logo {
|
|
443
|
+
display: flex;
|
|
444
|
+
align-items: center;
|
|
445
|
+
height: 26px;
|
|
446
|
+
padding: 0 14px;
|
|
447
|
+
background-color: #2b2b2f;
|
|
448
|
+
border-radius: var(--o-radius-xs);
|
|
449
|
+
@include respond-to('pad_h') {
|
|
450
|
+
height: 26px;
|
|
451
|
+
padding: 0 8px;
|
|
452
|
+
}
|
|
453
|
+
@include respond-to('<=pad_v') {
|
|
454
|
+
height: 26px;
|
|
455
|
+
padding: 0 8px;
|
|
456
|
+
}
|
|
457
|
+
.logo {
|
|
458
|
+
object-fit: cover;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
@include respond-to('pad_h') {
|
|
462
|
+
margin-left: 32px;
|
|
463
|
+
}
|
|
464
|
+
@include respond-to('<=pad_v') {
|
|
465
|
+
justify-content: center;
|
|
466
|
+
display: flex;
|
|
467
|
+
text-align: center;
|
|
468
|
+
margin-left: 0;
|
|
469
|
+
}
|
|
470
|
+
&.iszh {
|
|
471
|
+
margin-top: 12px;
|
|
472
|
+
gap: 12px 8px;
|
|
473
|
+
.links-logo {
|
|
474
|
+
padding: 0 9px;
|
|
475
|
+
height: 20px;
|
|
476
|
+
}
|
|
477
|
+
@include respond-to('<=pad') {
|
|
478
|
+
display: flex;
|
|
479
|
+
flex-wrap: wrap;
|
|
480
|
+
text-align: center;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
p {
|
|
486
|
+
color: $color;
|
|
487
|
+
margin-top: var(--o-spacing-h8);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.email {
|
|
492
|
+
color: $color;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
[lang='en'] {
|
|
497
|
+
.footer {
|
|
498
|
+
.footer-content {
|
|
499
|
+
.inner {
|
|
500
|
+
@include respond-to('<=pad_v') {
|
|
501
|
+
margin: 0 auto;
|
|
502
|
+
max-width: fit-content;
|
|
503
|
+
padding: 14px 0 24px;
|
|
504
|
+
flex-direction: column;
|
|
505
|
+
justify-content: space-between;
|
|
506
|
+
align-items: center;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
</style>
|