@opendesign-plus/components 0.0.1-rc.10
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 +833 -0
- package/dist/components/OBanner.vue.d.ts +11 -0
- package/dist/components/OCookieNotice.vue.d.ts +17 -0
- package/dist/components/OFooter.vue.d.ts +46 -0
- package/dist/components/OHeaderSearch.vue.d.ts +692 -0
- package/dist/components/OHeaderUser.vue.d.ts +38 -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/activity/OActivityApproval.vue.d.ts +277 -0
- package/dist/components/activity/OActivityForm.vue.d.ts +140 -0
- package/dist/components/activity/OMyActivityCalendar.vue.d.ts +578 -0
- package/dist/components/activity/config.d.ts +15 -0
- package/dist/components/activity/index.d.ts +623 -0
- package/dist/components/activity/types.d.ts +81 -0
- package/dist/components/element-plus/OElCookieNotice.vue.d.ts +34 -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 +27 -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/header/OHeader.vue.d.ts +24 -0
- package/dist/components/header/OHeaderMoblie.vue.d.ts +33 -0
- package/dist/components/header/components/HeaderContent.vue.d.ts +6 -0
- package/dist/components/header/components/HeaderNav.vue.d.ts +7 -0
- package/dist/components/header/components/HeaderNavMoblie.vue.d.ts +17 -0
- package/dist/components/header/components/HeaderUbmcNav.vue.d.ts +2 -0
- package/dist/components/header/index.d.ts +22 -0
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +298 -0
- package/dist/components/meeting/OMeetingForm.vue.d.ts +145 -0
- package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +586 -0
- package/dist/components/meeting/OSigMeetingCalendar.vue.d.ts +24 -0
- package/dist/components/meeting/components/OMeetingCalendarList.vue.d.ts +28 -0
- package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
- package/dist/components/meeting/components/OMeetingDetail.vue.d.ts +12 -0
- package/dist/components/meeting/components/OMeetingPlaybackSubtitles.vue.d.ts +5 -0
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +17 -0
- package/dist/components/meeting/components/OSigMeetingAside.vue.d.ts +16 -0
- package/dist/components/meeting/config.d.ts +27 -0
- package/dist/components/meeting/types.d.ts +166 -0
- package/dist/components/meeting/utils.d.ts +22 -0
- package/dist/components.cjs.js +224 -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 +45054 -0
- package/dist/index.d.ts +19 -0
- package/docs/design.md +27 -0
- package/docs/design_banner.md +41 -0
- package/docs/design_section.md +27 -0
- package/package.json +56 -0
- package/scripts/generate-components-index.js +104 -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/meeting/svg-icons/icon-all.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-backward.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-calendar.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-cancel.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-captions.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-close-captions.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-close-fullscreen.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-copy.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-create.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-delete.svg +7 -0
- package/src/assets/meeting/svg-icons/icon-empty.svg +31 -0
- package/src/assets/meeting/svg-icons/icon-empty_dark.svg +49 -0
- package/src/assets/meeting/svg-icons/icon-event.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-export.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-forward.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-fullscreen.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-help.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-important.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-info.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-meet.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-meeting-message.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-meeting.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-play.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-playing-tip.svg +7 -0
- package/src/assets/meeting/svg-icons/icon-playing.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-question.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-sound.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-speaker.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-summit.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-telligent.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-tip.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-todo.svg +4 -0
- package/src/assets/meeting/transparent.png +0 -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-chevron-up.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-filter.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-loading.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-search.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/assets/svg-icons/icon-tips.svg +3 -0
- package/src/components/OBanner.vue +398 -0
- package/src/components/OCookieNotice.vue +575 -0
- package/src/components/OFooter.vue +576 -0
- package/src/components/OHeaderSearch.vue +601 -0
- package/src/components/OHeaderUser.vue +237 -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/activity/OActivityApproval.vue +871 -0
- package/src/components/activity/OActivityForm.vue +548 -0
- package/src/components/activity/OMyActivityCalendar.vue +1501 -0
- package/src/components/activity/config.ts +141 -0
- package/src/components/activity/index.ts +24 -0
- package/src/components/activity/types.ts +88 -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/MoreText.vue +124 -0
- package/src/components/common/ThFilter.vue +330 -0
- package/src/components/element-plus/OElCookieNotice.vue +603 -0
- package/src/components/element-plus/index.ts +3 -0
- package/src/components/events/OEventsApply.vue +419 -0
- package/src/components/events/OEventsCalendar.vue +588 -0
- package/src/components/events/OEventsList.vue +354 -0
- package/src/components/events/config.ts +35 -0
- package/src/components/events/index.ts +24 -0
- package/src/components/events/types.ts +80 -0
- package/src/components/events/utils.ts +9 -0
- package/src/components/header/OHeader.vue +175 -0
- package/src/components/header/OHeaderMoblie.vue +152 -0
- package/src/components/header/components/HeaderContent.vue +942 -0
- package/src/components/header/components/HeaderNav.vue +280 -0
- package/src/components/header/components/HeaderNavMoblie.vue +346 -0
- package/src/components/header/components/HeaderUbmcNav.vue +540 -0
- package/src/components/header/index.ts +16 -0
- package/src/components/meeting/OMeetingCalendar.vue +900 -0
- package/src/components/meeting/OMeetingForm.vue +1041 -0
- package/src/components/meeting/OMeetingPlayback.vue +439 -0
- package/src/components/meeting/OMyMeetingCalendar.vue +1502 -0
- package/src/components/meeting/OSigMeetingCalendar.vue +411 -0
- package/src/components/meeting/components/OMeetingCalendarList.vue +505 -0
- package/src/components/meeting/components/OMeetingCalendarSelector.vue +206 -0
- package/src/components/meeting/components/OMeetingDetail.vue +227 -0
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +611 -0
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +741 -0
- package/src/components/meeting/components/OSigMeetingAside.vue +197 -0
- package/src/components/meeting/config.ts +121 -0
- package/src/components/meeting/index.ts +45 -0
- package/src/components/meeting/types.ts +193 -0
- package/src/components/meeting/utils.ts +123 -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 +16 -0
- package/src/i18n/en.ts +261 -0
- package/src/i18n/index.ts +56 -0
- package/src/i18n/zh.ts +250 -0
- package/src/index.ts +45 -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 +37 -0
- package/vite.config.ts +118 -0
|
@@ -0,0 +1,942 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { OScroller, OIcon, OTag } from '@opensig/opendesign';
|
|
4
|
+
|
|
5
|
+
import ContentWrapper from '../../common/ContentWrapper.vue';
|
|
6
|
+
|
|
7
|
+
import { useLocale, useTheme } from '@opendesign-plus/composables';
|
|
8
|
+
|
|
9
|
+
export interface OHeaderEmitsT {
|
|
10
|
+
(e: 'handle-mouseenter-sub', val: any): void;
|
|
11
|
+
(e: 'handle-mouseleave-sub', val: any): void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const emit = defineEmits<OHeaderEmitsT>();
|
|
15
|
+
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
itemData: undefined,
|
|
18
|
+
itemVisible: undefined,
|
|
19
|
+
community: undefined,
|
|
20
|
+
bgLeft: undefined,
|
|
21
|
+
bgRight: undefined,
|
|
22
|
+
hoverIndex: undefined,
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
const { locale } = useLocale();
|
|
26
|
+
const { theme } = useTheme();
|
|
27
|
+
|
|
28
|
+
const navVisible = ref(false);
|
|
29
|
+
|
|
30
|
+
const onMouseEnter = () => {
|
|
31
|
+
emit('handle-mouseenter-sub', props.itemData?.id);
|
|
32
|
+
navVisible.value = true;
|
|
33
|
+
};
|
|
34
|
+
const onMouseLeave = () => {
|
|
35
|
+
emit('handle-mouseenter-sub', '');
|
|
36
|
+
navVisible.value = false;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
const showDesc = ref(false);
|
|
40
|
+
const descMouseenter = (e: MouseEvent) => {
|
|
41
|
+
if (!e || !e.target) return;
|
|
42
|
+
showDesc.value = e.target.clientHeight < e.target.scrollHeight;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const onClickNavHref = (item: any, sub: any) => {
|
|
46
|
+
const res = {
|
|
47
|
+
properties: {
|
|
48
|
+
module: 'navigation',
|
|
49
|
+
level1: item.label,
|
|
50
|
+
level2: sub.label,
|
|
51
|
+
target: sub.label,
|
|
52
|
+
url: item.href,
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
return res;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const onClickShortcut = (item: any) => {
|
|
59
|
+
const res = {
|
|
60
|
+
properties: {
|
|
61
|
+
module: 'navigation',
|
|
62
|
+
level1: locale.value === 'zh' ? '快捷链接' : 'Quick Link',
|
|
63
|
+
level2: item.label,
|
|
64
|
+
target: item.label,
|
|
65
|
+
url: item.href,
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
return res;
|
|
69
|
+
};
|
|
70
|
+
</script>
|
|
71
|
+
|
|
72
|
+
<template>
|
|
73
|
+
<div @mouseenter="onMouseEnter" @mouseleave="onMouseLeave">
|
|
74
|
+
<div
|
|
75
|
+
v-if="(props.itemVisible || navVisible) && props.itemData?.children?.length"
|
|
76
|
+
class="nav-content"
|
|
77
|
+
:class="[props.community?.toLowerCase(), props.hoverIndex, theme, `${props.hoverIndex}-${locale}`]"
|
|
78
|
+
>
|
|
79
|
+
<div class="nav-background-left" :style="{ backgroundImage: `url(${props.bgLeft})` }"></div>
|
|
80
|
+
<div class="nav-background-right" :style="{ backgroundImage: `url(${props.bgRight})` }"></div>
|
|
81
|
+
<ContentWrapper>
|
|
82
|
+
<OScroller class="nav-scroller" show-type="always" size="small" disabled-y>
|
|
83
|
+
<div class="nav-sub-content">
|
|
84
|
+
<div class="content-left">
|
|
85
|
+
<div class="item-sub" v-for="(sub, s) in props.itemData?.children" :key="s">
|
|
86
|
+
<span class="content-label">{{ sub.label }}</span>
|
|
87
|
+
<div class="content-container">
|
|
88
|
+
<div v-for="subItem in sub.children" :key="subItem.label" class="content-item">
|
|
89
|
+
<a
|
|
90
|
+
:href="subItem.href"
|
|
91
|
+
:target="subItem?.target || '_self'"
|
|
92
|
+
rel="noopener noreferrer"
|
|
93
|
+
class="item-label"
|
|
94
|
+
v-analytics="() => onClickNavHref(sub, subItem)"
|
|
95
|
+
>
|
|
96
|
+
<span class="item-name">{{ subItem.label }}</span>
|
|
97
|
+
<OIcon v-if="subItem.icon">
|
|
98
|
+
<component :is="subItem.icon" />
|
|
99
|
+
</OIcon>
|
|
100
|
+
<OTag v-if="subItem.tag" round="pill" color="danger" size="small" class="content-tag">{{ subItem.tag }}</OTag>
|
|
101
|
+
</a>
|
|
102
|
+
<div v-if="subItem.description" class="desc-container">
|
|
103
|
+
<p class="item-desc" :title="showDesc ? subItem.description : null" @mouseenter="descMouseenter($event)">
|
|
104
|
+
{{ subItem.description }}
|
|
105
|
+
</p>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="split-line" v-if="props.itemData?.shortcut?.length"></div>
|
|
112
|
+
<div class="content-right" v-if="props.itemData?.shortcut?.length">
|
|
113
|
+
<span class="content-label">{{ locale === 'zh' ? '快捷链接' : 'Quick Link' }}</span>
|
|
114
|
+
<template v-if="!props.itemData?.withPicture">
|
|
115
|
+
<div v-for="shortcut in props.itemData?.shortcut" :key="shortcut.label" class="shortcut">
|
|
116
|
+
<a
|
|
117
|
+
:href="shortcut.href"
|
|
118
|
+
:target="shortcut?.target || '_self'"
|
|
119
|
+
rel="noopener noreferrer"
|
|
120
|
+
class="shortcut-link"
|
|
121
|
+
v-analytics="() => onClickShortcut(shortcut)"
|
|
122
|
+
>
|
|
123
|
+
<span>{{ shortcut.label }}</span>
|
|
124
|
+
<OIcon v-if="shortcut.icon">
|
|
125
|
+
<component :is="shortcut.icon" />
|
|
126
|
+
</OIcon>
|
|
127
|
+
</a>
|
|
128
|
+
</div>
|
|
129
|
+
</template>
|
|
130
|
+
<template v-else>
|
|
131
|
+
<a
|
|
132
|
+
v-for="shortcut in props.itemData?.shortcut"
|
|
133
|
+
:key="shortcut.label"
|
|
134
|
+
:href="shortcut.href"
|
|
135
|
+
:target="shortcut?.target || '_self'"
|
|
136
|
+
rel="noopener noreferrer"
|
|
137
|
+
class="review"
|
|
138
|
+
v-analytics="() => onClickShortcut(shortcut)"
|
|
139
|
+
>
|
|
140
|
+
<img :src="shortcut.picture" class="review-picture" />
|
|
141
|
+
<div class="review-content">
|
|
142
|
+
<p class="review-label">
|
|
143
|
+
{{ shortcut.label }}
|
|
144
|
+
</p>
|
|
145
|
+
<div class="review-property">
|
|
146
|
+
<span>{{ shortcut.remark }}</span>
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</a>
|
|
150
|
+
</template>
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
</OScroller>
|
|
154
|
+
</ContentWrapper>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
</template>
|
|
158
|
+
|
|
159
|
+
<style lang="scss" scoped>
|
|
160
|
+
.nav-content {
|
|
161
|
+
cursor: default;
|
|
162
|
+
overflow: hidden;
|
|
163
|
+
justify-content: center;
|
|
164
|
+
transform-origin: top;
|
|
165
|
+
transition: all 0.3s allow-discrete;
|
|
166
|
+
}
|
|
167
|
+
.nav-scroller {
|
|
168
|
+
height: 100%;
|
|
169
|
+
width: 100%;
|
|
170
|
+
overflow-x: auto;
|
|
171
|
+
overflow-y: auto;
|
|
172
|
+
white-space: nowrap;
|
|
173
|
+
|
|
174
|
+
@include respond-to('<=pad_v') {
|
|
175
|
+
--scroller-padding: 0 var(--layout-content-padding);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:deep(.o-scrollbar) {
|
|
179
|
+
--scrollbar-height: 100%;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
.nav-sub-content {
|
|
183
|
+
display: flex;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.content-left {
|
|
187
|
+
display: flex;
|
|
188
|
+
flex: 1;
|
|
189
|
+
padding: 32px 0;
|
|
190
|
+
}
|
|
191
|
+
.content-label {
|
|
192
|
+
display: inline-block;
|
|
193
|
+
margin-bottom: var(--o-gap-3);
|
|
194
|
+
color: var(--o-color-info3);
|
|
195
|
+
@include text1;
|
|
196
|
+
}
|
|
197
|
+
.content-container {
|
|
198
|
+
display: flex;
|
|
199
|
+
flex-wrap: wrap;
|
|
200
|
+
}
|
|
201
|
+
.content-item {
|
|
202
|
+
width: 200px;
|
|
203
|
+
margin-top: 24px;
|
|
204
|
+
@include respond-to('laptop') {
|
|
205
|
+
width: 170px;
|
|
206
|
+
margin-top: 16px;
|
|
207
|
+
}
|
|
208
|
+
@include respond-to('pad_h') {
|
|
209
|
+
width: 132px;
|
|
210
|
+
margin-top: 12px;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
.item-label {
|
|
214
|
+
display: inline-flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
margin-bottom: var(--o-gap-1);
|
|
217
|
+
color: var(--o-color-info1);
|
|
218
|
+
@include hover {
|
|
219
|
+
color: var(--o-color-primary1);
|
|
220
|
+
text-decoration: none;
|
|
221
|
+
}
|
|
222
|
+
.item-name {
|
|
223
|
+
font-weight: 500;
|
|
224
|
+
white-space: nowrap;
|
|
225
|
+
@include text1;
|
|
226
|
+
}
|
|
227
|
+
.o-icon {
|
|
228
|
+
--icon-size: 24px;
|
|
229
|
+
margin-left: var(--o-gap-2);
|
|
230
|
+
@include respond-to('<=laptop') {
|
|
231
|
+
--icon-size: 16px;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
.content-tag {
|
|
235
|
+
margin-left: var(--o-gap-2);
|
|
236
|
+
--layout-pkg-radius: var(--o-radius-xs);
|
|
237
|
+
@include respond-to('<=laptop') {
|
|
238
|
+
display: none;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
.desc-container {
|
|
243
|
+
overflow: hidden;
|
|
244
|
+
position: relative;
|
|
245
|
+
height: 36px;
|
|
246
|
+
white-space: normal;
|
|
247
|
+
|
|
248
|
+
.item-desc {
|
|
249
|
+
color: var(--o-color-info2);
|
|
250
|
+
word-break: normal;
|
|
251
|
+
@include tip2;
|
|
252
|
+
@include text-truncate(2);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.split-line {
|
|
257
|
+
background: var(--o-color-control4);
|
|
258
|
+
width: 1px;
|
|
259
|
+
margin: 0 16px;
|
|
260
|
+
flex-shrink: 0;
|
|
261
|
+
|
|
262
|
+
@include respond-to('<=pad') {
|
|
263
|
+
display: none;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
.content-right {
|
|
267
|
+
width: 342px;
|
|
268
|
+
padding: 32px 0;
|
|
269
|
+
flex-shrink: 0;
|
|
270
|
+
@include respond-to('laptop') {
|
|
271
|
+
width: 240px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
@include respond-to('pad_h') {
|
|
275
|
+
width: 240px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
@include respond-to('<=pad') {
|
|
279
|
+
display: none;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.shortcut {
|
|
283
|
+
min-height: 42px;
|
|
284
|
+
background: var(--o-color-fill3);
|
|
285
|
+
border-radius: var(--o-radius_control-xs);
|
|
286
|
+
padding: 10px 24px;
|
|
287
|
+
display: flex;
|
|
288
|
+
align-items: center;
|
|
289
|
+
gap: var(--o-gap-3);
|
|
290
|
+
cursor: pointer;
|
|
291
|
+
@include tip1;
|
|
292
|
+
|
|
293
|
+
@include respond-to('laptop') {
|
|
294
|
+
@include text1;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@include respond-to('pad_h') {
|
|
298
|
+
@include text1;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
& + .shortcut {
|
|
302
|
+
margin-top: var(--o-gap-2);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.shortcut-link {
|
|
306
|
+
display: flex;
|
|
307
|
+
align-items: center;
|
|
308
|
+
color: var(--o-color-link1);
|
|
309
|
+
word-break: normal;
|
|
310
|
+
white-space: normal;
|
|
311
|
+
@include hover {
|
|
312
|
+
color: var(--o-color-primary2);
|
|
313
|
+
text-decoration: none;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
span {
|
|
317
|
+
@include text-truncate(1);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.o-icon {
|
|
321
|
+
--icon-size: 16px;
|
|
322
|
+
margin-left: var(--o-gap-2);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.review {
|
|
328
|
+
display: flex;
|
|
329
|
+
align-items: unset;
|
|
330
|
+
position: relative;
|
|
331
|
+
@include hover {
|
|
332
|
+
text-decoration: none;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
@include respond-to('pad_h') {
|
|
336
|
+
&:not(:last-child) {
|
|
337
|
+
&:after {
|
|
338
|
+
content: '';
|
|
339
|
+
position: absolute;
|
|
340
|
+
left: 0;
|
|
341
|
+
right: 0;
|
|
342
|
+
bottom: -8px;
|
|
343
|
+
height: 1px;
|
|
344
|
+
background: var(--o-color-control4);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
& + .review {
|
|
350
|
+
margin-top: var(--o-gap-3);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.review-picture {
|
|
354
|
+
width: 120px;
|
|
355
|
+
height: auto;
|
|
356
|
+
display: block;
|
|
357
|
+
object-fit: contain;
|
|
358
|
+
|
|
359
|
+
@include respond-to('<=laptop') {
|
|
360
|
+
display: none;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
.review-content {
|
|
364
|
+
margin-left: var(--o-gap-2);
|
|
365
|
+
flex: 1;
|
|
366
|
+
max-width: 212px;
|
|
367
|
+
height: 68px;
|
|
368
|
+
display: flex;
|
|
369
|
+
flex-direction: column;
|
|
370
|
+
justify-content: space-between;
|
|
371
|
+
white-space: normal;
|
|
372
|
+
|
|
373
|
+
@include respond-to('<=laptop') {
|
|
374
|
+
margin-left: unset;
|
|
375
|
+
height: auto;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.review-label {
|
|
379
|
+
word-break: normal;
|
|
380
|
+
max-height: 48px;
|
|
381
|
+
color: var(--o-color-info1);
|
|
382
|
+
font-weight: 500;
|
|
383
|
+
cursor: pointer;
|
|
384
|
+
@include text1;
|
|
385
|
+
@include text-truncate(2);
|
|
386
|
+
|
|
387
|
+
@include hover {
|
|
388
|
+
color: var(--o-color-primary1);
|
|
389
|
+
}
|
|
390
|
+
@include respond-to('pad_v-laptop') {
|
|
391
|
+
max-height: 44px;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.review-property {
|
|
396
|
+
color: var(--o-color-info3);
|
|
397
|
+
overflow: hidden;
|
|
398
|
+
white-space: nowrap;
|
|
399
|
+
text-overflow: ellipsis;
|
|
400
|
+
@include tip2;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.nav-background-left {
|
|
407
|
+
position: absolute;
|
|
408
|
+
left: 0;
|
|
409
|
+
top: -87px;
|
|
410
|
+
width: 173px;
|
|
411
|
+
height: 249px;
|
|
412
|
+
background-size: cover;
|
|
413
|
+
z-index: -1;
|
|
414
|
+
|
|
415
|
+
@include respond-to('<=laptop') {
|
|
416
|
+
display: none;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
.nav-background-right {
|
|
420
|
+
position: absolute;
|
|
421
|
+
right: 0;
|
|
422
|
+
bottom: 0;
|
|
423
|
+
width: 173px;
|
|
424
|
+
height: 172px;
|
|
425
|
+
background-size: cover;
|
|
426
|
+
z-index: -1;
|
|
427
|
+
|
|
428
|
+
@include respond-to('<=laptop') {
|
|
429
|
+
display: none;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.openeuler {
|
|
434
|
+
&.download {
|
|
435
|
+
.item-sub {
|
|
436
|
+
margin-left: 80px;
|
|
437
|
+
&:nth-of-type(1) {
|
|
438
|
+
margin-left: 0;
|
|
439
|
+
.content-container {
|
|
440
|
+
width: 464px;
|
|
441
|
+
:deep(.content-item) {
|
|
442
|
+
margin-left: 64px;
|
|
443
|
+
&:nth-child(2n + 1) {
|
|
444
|
+
margin-left: 0;
|
|
445
|
+
}
|
|
446
|
+
&:nth-of-type(2) {
|
|
447
|
+
margin-top: 0;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
@include respond-to('<=laptop') {
|
|
454
|
+
margin-left: 24px;
|
|
455
|
+
&:nth-of-type(1) {
|
|
456
|
+
.content-container {
|
|
457
|
+
width: 364px;
|
|
458
|
+
:deep(.content-item) {
|
|
459
|
+
margin-left: 24px;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
&:nth-of-type(3) {
|
|
464
|
+
.content-container {
|
|
465
|
+
width: 170px;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
@include respond-to('pad_h') {
|
|
471
|
+
&:nth-of-type(1) {
|
|
472
|
+
.content-container {
|
|
473
|
+
width: 344px;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
@include respond-to('pad_h') {
|
|
480
|
+
.content-left {
|
|
481
|
+
.item-sub {
|
|
482
|
+
max-width: 25%;
|
|
483
|
+
flex: 1 1 auto;
|
|
484
|
+
.content-container {
|
|
485
|
+
width: auto;
|
|
486
|
+
:deep(.content-item) {
|
|
487
|
+
width: 100%;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
&:nth-of-type(1) {
|
|
491
|
+
max-width: 50%;
|
|
492
|
+
.content-container {
|
|
493
|
+
:deep(.content-item) {
|
|
494
|
+
width: calc(50% - 12px);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
&.development {
|
|
504
|
+
.item-sub {
|
|
505
|
+
margin-left: 24px;
|
|
506
|
+
&:nth-of-type(1) {
|
|
507
|
+
margin-left: 0;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
@include respond-to('>laptop') {
|
|
511
|
+
width: 200px;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
@include respond-to('laptop') {
|
|
515
|
+
width: 170px;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
@include respond-to('pad_h') {
|
|
519
|
+
width: 132px;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
@include respond-to('pad_h') {
|
|
524
|
+
.content-left {
|
|
525
|
+
.item-sub {
|
|
526
|
+
flex: 1 1 auto;
|
|
527
|
+
.content-container {
|
|
528
|
+
width: auto;
|
|
529
|
+
:deep(.content-item) {
|
|
530
|
+
width: 100%;
|
|
531
|
+
.desc-container {
|
|
532
|
+
width: auto;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
&.document {
|
|
542
|
+
.item-sub {
|
|
543
|
+
&:nth-of-type(1) {
|
|
544
|
+
.content-container {
|
|
545
|
+
:deep(.content-item) {
|
|
546
|
+
margin-right: 64px;
|
|
547
|
+
&:nth-child(-n + 4) {
|
|
548
|
+
margin-top: 0;
|
|
549
|
+
}
|
|
550
|
+
&:nth-of-type(4) {
|
|
551
|
+
margin-right: 0;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
@include respond-to('<=laptop') {
|
|
555
|
+
margin-right: 24px;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
@media (min-width: 1441px) and (max-width: 1505px) {
|
|
559
|
+
:deep(.content-item) {
|
|
560
|
+
margin-right: 40px;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
@include respond-to('>laptop') {
|
|
564
|
+
width: 992px;
|
|
565
|
+
}
|
|
566
|
+
@include respond-to('laptop') {
|
|
567
|
+
width: 752px;
|
|
568
|
+
}
|
|
569
|
+
@include respond-to('pad_h') {
|
|
570
|
+
width: auto;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
@include respond-to('pad_h') {
|
|
577
|
+
.content-left {
|
|
578
|
+
.item-sub {
|
|
579
|
+
max-width: 80%;
|
|
580
|
+
flex: 1 1 auto;
|
|
581
|
+
.content-container {
|
|
582
|
+
:deep(.content-item) {
|
|
583
|
+
width: calc(25% - 18px);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
&.learn {
|
|
592
|
+
.item-sub {
|
|
593
|
+
margin-left: 48px;
|
|
594
|
+
&:nth-of-type(1) {
|
|
595
|
+
margin-left: 0;
|
|
596
|
+
}
|
|
597
|
+
&:nth-of-type(2) {
|
|
598
|
+
.content-container {
|
|
599
|
+
width: 448px;
|
|
600
|
+
:deep(.content-item) {
|
|
601
|
+
margin-left: 48px;
|
|
602
|
+
&:nth-child(2n + 1) {
|
|
603
|
+
margin-left: 0;
|
|
604
|
+
}
|
|
605
|
+
&:nth-of-type(2) {
|
|
606
|
+
margin-top: 0;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
@include respond-to('<=laptop') {
|
|
613
|
+
margin-left: 24px;
|
|
614
|
+
&:nth-of-type(2) {
|
|
615
|
+
.content-container {
|
|
616
|
+
width: 364px;
|
|
617
|
+
:deep(.content-item) {
|
|
618
|
+
margin-left: 24px;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
@include respond-to('pad_h') {
|
|
625
|
+
&:nth-of-type(2) {
|
|
626
|
+
.content-container {
|
|
627
|
+
width: auto;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
@include respond-to('pad_h') {
|
|
634
|
+
.content-left {
|
|
635
|
+
.item-sub {
|
|
636
|
+
max-width: 25%;
|
|
637
|
+
flex: 1 1 auto;
|
|
638
|
+
.content-container {
|
|
639
|
+
width: auto;
|
|
640
|
+
:deep(.content-item) {
|
|
641
|
+
width: 100%;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
&:nth-of-type(2) {
|
|
645
|
+
max-width: 50%;
|
|
646
|
+
.content-container {
|
|
647
|
+
:deep(.content-item) {
|
|
648
|
+
width: calc(50% - 12px);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
&.approve {
|
|
658
|
+
.item-sub {
|
|
659
|
+
margin-left: 80px;
|
|
660
|
+
&:nth-of-type(1) {
|
|
661
|
+
margin-left: 0;
|
|
662
|
+
.content-container {
|
|
663
|
+
width: 440px;
|
|
664
|
+
:deep(.content-item) {
|
|
665
|
+
margin-left: 40px;
|
|
666
|
+
&:nth-child(2n + 1) {
|
|
667
|
+
margin-left: 0;
|
|
668
|
+
}
|
|
669
|
+
&:nth-of-type(2) {
|
|
670
|
+
margin-top: 0;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
@include respond-to('<=laptop') {
|
|
677
|
+
margin-left: 24px;
|
|
678
|
+
&:nth-of-type(1) {
|
|
679
|
+
.content-container {
|
|
680
|
+
width: 364px;
|
|
681
|
+
:deep(.content-item) {
|
|
682
|
+
margin-left: 24px;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
&:nth-of-type(2),
|
|
687
|
+
&:nth-of-type(3) {
|
|
688
|
+
.content-container {
|
|
689
|
+
width: 170px;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
@include respond-to('pad_h') {
|
|
695
|
+
&:nth-of-type(n) {
|
|
696
|
+
.content-container {
|
|
697
|
+
width: auto;
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
@include respond-to('pad_h') {
|
|
704
|
+
.content-left {
|
|
705
|
+
.item-sub {
|
|
706
|
+
max-width: 20%;
|
|
707
|
+
flex: 1 1 auto;
|
|
708
|
+
.content-container {
|
|
709
|
+
width: auto;
|
|
710
|
+
:deep(.content-item) {
|
|
711
|
+
width: 100%;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
&:nth-of-type(1) {
|
|
715
|
+
max-width: 40%;
|
|
716
|
+
.content-container {
|
|
717
|
+
:deep(.content-item) {
|
|
718
|
+
width: calc(50% - 12px);
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
&.approve-en {
|
|
727
|
+
.item-sub {
|
|
728
|
+
&:nth-child(n) {
|
|
729
|
+
.content-container {
|
|
730
|
+
width: 200px;
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
@include respond-to('<=laptop') {
|
|
735
|
+
&:nth-child(n) {
|
|
736
|
+
.content-container {
|
|
737
|
+
width: 170px;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
@include respond-to('pad_h') {
|
|
743
|
+
&:nth-child(n) {
|
|
744
|
+
.content-container {
|
|
745
|
+
width: 132px;
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
@include respond-to('pad_h') {
|
|
752
|
+
.content-left {
|
|
753
|
+
.item-sub {
|
|
754
|
+
.content-container {
|
|
755
|
+
width: auto;
|
|
756
|
+
}
|
|
757
|
+
&:nth-of-type(1) {
|
|
758
|
+
max-width: 20%;
|
|
759
|
+
.content-container {
|
|
760
|
+
:deep(.content-item) {
|
|
761
|
+
width: 100%;
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
&.community {
|
|
771
|
+
.item-sub {
|
|
772
|
+
margin-left: 48px;
|
|
773
|
+
&:nth-of-type(1) {
|
|
774
|
+
margin-left: 0;
|
|
775
|
+
.content-container {
|
|
776
|
+
width: 696px;
|
|
777
|
+
:deep(.content-item) {
|
|
778
|
+
margin-left: 48px;
|
|
779
|
+
&:nth-child(3n + 1) {
|
|
780
|
+
margin-left: 0;
|
|
781
|
+
}
|
|
782
|
+
&:nth-child(-n + 3) {
|
|
783
|
+
margin-top: 0;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
&:nth-of-type(2) {
|
|
790
|
+
.content-container {
|
|
791
|
+
width: 200px;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
@include respond-to('<=laptop') {
|
|
796
|
+
margin-left: 24px;
|
|
797
|
+
&:nth-of-type(1) {
|
|
798
|
+
.content-container {
|
|
799
|
+
:deep(.content-item) {
|
|
800
|
+
margin-left: 24px;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
@include respond-to('laptop') {
|
|
807
|
+
&:nth-of-type(1) {
|
|
808
|
+
.content-container {
|
|
809
|
+
width: 558px;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
&:nth-of-type(2) {
|
|
813
|
+
.content-container {
|
|
814
|
+
width: 170px;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
@include respond-to('pad_h') {
|
|
820
|
+
&:nth-of-type(1) {
|
|
821
|
+
.content-container {
|
|
822
|
+
width: auto;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
&:nth-of-type(2) {
|
|
826
|
+
.content-container {
|
|
827
|
+
width: 132px;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
@include respond-to('pad_h') {
|
|
834
|
+
.content-left {
|
|
835
|
+
.item-sub {
|
|
836
|
+
max-width: 20%;
|
|
837
|
+
flex: 1 1 auto;
|
|
838
|
+
.content-container {
|
|
839
|
+
width: auto;
|
|
840
|
+
:deep(.content-item) {
|
|
841
|
+
width: 100%;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
&:nth-of-type(1) {
|
|
845
|
+
max-width: 60%;
|
|
846
|
+
.content-container {
|
|
847
|
+
:deep(.content-item) {
|
|
848
|
+
width: calc((100% / 3) - 18px);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
&.update {
|
|
858
|
+
.item-sub {
|
|
859
|
+
margin-left: 48px;
|
|
860
|
+
.content-container {
|
|
861
|
+
width: 448px;
|
|
862
|
+
:deep(.content-item) {
|
|
863
|
+
margin-left: 48px;
|
|
864
|
+
&:nth-child(2n + 1) {
|
|
865
|
+
margin-left: 0;
|
|
866
|
+
}
|
|
867
|
+
&:nth-child(-n + 2) {
|
|
868
|
+
margin-top: 0;
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
&:nth-of-type(1) {
|
|
873
|
+
margin-left: 0;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
@include respond-to('<=laptop') {
|
|
877
|
+
margin-left: 24px;
|
|
878
|
+
.content-container {
|
|
879
|
+
:deep(.content-item) {
|
|
880
|
+
margin-left: 24px;
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
@include respond-to('laptop') {
|
|
885
|
+
.content-container {
|
|
886
|
+
width: 364px;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
@include respond-to('pad_h') {
|
|
891
|
+
.content-container {
|
|
892
|
+
width: auto;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
@include respond-to('pad_h') {
|
|
898
|
+
.content-left {
|
|
899
|
+
.item-sub {
|
|
900
|
+
max-width: 40%;
|
|
901
|
+
flex: 1 1 auto;
|
|
902
|
+
.content-container {
|
|
903
|
+
:deep(.content-item) {
|
|
904
|
+
width: calc(50% - 24px);
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.mindspore {
|
|
914
|
+
.content-left {
|
|
915
|
+
flex: 1;
|
|
916
|
+
}
|
|
917
|
+
.item-sub + .item-sub {
|
|
918
|
+
margin-left: 48px;
|
|
919
|
+
@include respond-to('laptop') {
|
|
920
|
+
margin-left: 32px;
|
|
921
|
+
}
|
|
922
|
+
@include respond-to('pad_h') {
|
|
923
|
+
margin-left: 16px;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
.content-container {
|
|
927
|
+
flex-direction: column;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
.nav-background-left {
|
|
931
|
+
left: 0;
|
|
932
|
+
top: 0;
|
|
933
|
+
width: 540px;
|
|
934
|
+
height: 360px;
|
|
935
|
+
}
|
|
936
|
+
.nav-background-right {
|
|
937
|
+
width: 643px;
|
|
938
|
+
height: 364px;
|
|
939
|
+
z-index: -1;
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
</style>
|