@opendesign-plus-test/components 0.0.1-rc.26 → 0.0.1-rc.27
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 -1
- package/dist/chunk-OElCookieNotice.es.js +262 -194
- package/dist/components/OCookieNotice.vue.d.ts +3 -2
- package/dist/components/OFooter.vue.d.ts +22 -1
- package/dist/components/OHeaderUser.vue.d.ts +0 -2
- package/dist/components/activity/OMyActivityCalendar.vue.d.ts +6 -6
- package/dist/components/activity/index.d.ts +3 -3
- package/dist/components/element-plus/OElCookieNotice.vue.d.ts +6 -3
- package/dist/components/{OHeader.vue.d.ts → header/OHeader.vue.d.ts} +2 -1
- package/dist/components/{OHeaderMoblie.vue.d.ts → header/OHeaderMoblie.vue.d.ts} +2 -2
- 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/OMeetingForm.vue.d.ts +3 -15
- package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +6 -6
- package/dist/components/meeting/types.d.ts +11 -4
- package/dist/components.cjs.js +47 -47
- package/dist/components.css +1 -1
- package/dist/components.es.js +17957 -17829
- package/dist/index.d.ts +2 -3
- package/package.json +1 -1
- package/src/assets/svg-icons/icon-chevron-down.svg +1 -1
- package/src/components/OCookieNotice.vue +270 -118
- package/src/components/OFooter.vue +11 -1
- package/src/components/OHeaderUser.vue +14 -81
- package/src/components/OSourceCode.vue +1 -1
- package/src/components/activity/OMyActivityCalendar.vue +14 -13
- package/src/components/common/MoreText.vue +3 -2
- package/src/components/element-plus/OElCookieNotice.vue +306 -115
- package/src/components/events/OEventsApply.vue +16 -0
- package/src/components/events/OEventsList.vue +3 -0
- package/src/components/header/OHeader.vue +175 -0
- package/src/components/{OHeaderMoblie.vue → header/OHeaderMoblie.vue} +6 -3
- package/src/components/{common/HeaderEulerNav.vue → header/components/HeaderContent.vue} +375 -551
- package/src/components/header/components/HeaderNav.vue +280 -0
- package/src/components/{common → header/components}/HeaderNavMoblie.vue +20 -18
- package/src/components/{common → header/components}/HeaderUbmcNav.vue +6 -63
- package/src/components/header/index.ts +16 -0
- package/src/components/meeting/OMeetingCalendar.vue +16 -2
- package/src/components/meeting/OMeetingForm.vue +17 -24
- package/src/components/meeting/OMeetingPlayback.vue +1 -1
- package/src/components/meeting/OMyMeetingCalendar.vue +5 -6
- package/src/components/meeting/components/OMeetingCalendarList.vue +1 -1
- package/src/components/meeting/types.ts +11 -5
- package/src/index.ts +2 -5
- package/dist/components/activity/data.d.ts +0 -51
- package/src/components/OHeader.vue +0 -97
- package/src/components/activity/data.ts +0 -365
- package/src/components/meeting/components/OMyCalendarWrapper.vue +0 -160
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { default as OBanner } from './components/OBanner.vue';
|
|
2
2
|
import { default as OCookieNotice } from './components/OCookieNotice.vue';
|
|
3
3
|
import { default as OFooter } from './components/OFooter.vue';
|
|
4
|
-
import { default as OHeader } from './components/OHeader.vue';
|
|
5
|
-
import { default as OHeaderMoblie } from './components/OHeaderMoblie.vue';
|
|
6
4
|
import { default as OHeaderSearch } from './components/OHeaderSearch.vue';
|
|
7
5
|
import { default as OHeaderUser } from './components/OHeaderUser.vue';
|
|
8
6
|
import { default as OPlusConfigProvider } from './components/OPlusConfigProvider.vue';
|
|
9
7
|
import { default as OSection } from './components/OSection.vue';
|
|
10
8
|
import { default as OSourceCode } from './components/OSourceCode.vue';
|
|
11
9
|
import { default as OThemeSwitcher } from './components/OThemeSwitcher.vue';
|
|
12
|
-
export { OBanner, OCookieNotice, OFooter,
|
|
10
|
+
export { OBanner, OCookieNotice, OFooter, OHeaderSearch, OHeaderUser, OPlusConfigProvider, OSection, OSourceCode, OThemeSwitcher };
|
|
13
11
|
export * from './components/activity';
|
|
14
12
|
export * from './components/element-plus';
|
|
15
13
|
export * from './components/events';
|
|
14
|
+
export * from './components/header';
|
|
16
15
|
export * from './components/meeting';
|
|
17
16
|
declare const _default: {
|
|
18
17
|
install: (app: any) => void;
|
package/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
-
<path d="M5.759 8.873c0.251-0.251 0.644-0.271 0.918-0.063l0.072 0.063 5.016 5.016c0.1 0.1 0.254 0.115 0.37 0.043l0.054-0.043 5.062-5.062c0.273-0.273 0.717-0.273 0.99 0 0.251 0.251 0.271 0.644 0.063 0.918l-0.063 0.072-5.062 5.062c-0.629 0.629-1.628 0.662-2.296 0.099l-0.108-0.099-5.016-5.016c-0.273-0.273-0.273-0.717 0-0.99z"></path>
|
|
2
|
+
<path fill="currentColor" d="M5.759 8.873c0.251-0.251 0.644-0.271 0.918-0.063l0.072 0.063 5.016 5.016c0.1 0.1 0.254 0.115 0.37 0.043l0.054-0.043 5.062-5.062c0.273-0.273 0.717-0.273 0.99 0 0.251 0.251 0.271 0.644 0.063 0.918l-0.063 0.072-5.062 5.062c-0.629 0.629-1.628 0.662-2.296 0.099l-0.108-0.099-5.016-5.016c-0.273-0.273-0.273-0.717 0-0.99z"></path>
|
|
3
3
|
</svg>
|
|
@@ -15,7 +15,6 @@ const COOKIE_KEY_EN = 'agreed-cookiepolicy-en';
|
|
|
15
15
|
|
|
16
16
|
const props = defineProps<{
|
|
17
17
|
visible?: boolean;
|
|
18
|
-
enableGrid?: boolean;
|
|
19
18
|
community: string;
|
|
20
19
|
detailUrl: string;
|
|
21
20
|
wrapper?: string | HTMLElement;
|
|
@@ -26,10 +25,18 @@ const emit = defineEmits<{
|
|
|
26
25
|
(e: 'update:visible', value: boolean): void;
|
|
27
26
|
}>();
|
|
28
27
|
|
|
29
|
-
const { lePadV, leLaptop } = useScreen();
|
|
28
|
+
const { lePadV, leLaptop, isPhone } = useScreen();
|
|
30
29
|
const { locale, t } = useI18n();
|
|
31
30
|
const isZh = computed(() => locale.value === 'zh');
|
|
32
31
|
|
|
32
|
+
const cookieNoticeRef = ref<HTMLDivElement>();
|
|
33
|
+
const enableGrid = computed(() => {
|
|
34
|
+
if (cookieNoticeRef.value) {
|
|
35
|
+
return !!getComputedStyle(cookieNoticeRef.value!).getPropertyValue('--grid-content-width');
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
});
|
|
39
|
+
|
|
33
40
|
const cookieKey = computed(() => (isZh.value ? COOKIE_KEY_ZH : COOKIE_KEY_EN));
|
|
34
41
|
|
|
35
42
|
// 是否允许分析cookie
|
|
@@ -123,38 +130,67 @@ const rejectAll = () => {
|
|
|
123
130
|
};
|
|
124
131
|
|
|
125
132
|
// 弹出框设置
|
|
126
|
-
const dlgActions = computed<Array<DialogActionT>>(() =>
|
|
127
|
-
{
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
133
|
+
const dlgActions = computed<Array<DialogActionT>>(() => {
|
|
134
|
+
if (isPhone.value) {
|
|
135
|
+
return [
|
|
136
|
+
{
|
|
137
|
+
id: 'save',
|
|
138
|
+
label: t('cookie.saveSetting'),
|
|
139
|
+
variant: 'text',
|
|
140
|
+
onClick: () => {
|
|
141
|
+
if (analysisAllowed.value) {
|
|
142
|
+
acceptAll();
|
|
143
|
+
} else {
|
|
144
|
+
rejectAll();
|
|
145
|
+
}
|
|
146
|
+
toggleDlgVisible(false);
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
id: 'allowAll',
|
|
151
|
+
label: t('cookie.acceptAll'),
|
|
152
|
+
variant: 'text',
|
|
153
|
+
onClick: () => {
|
|
154
|
+
analysisAllowed.value = true;
|
|
155
|
+
acceptAll();
|
|
156
|
+
toggleDlgVisible(false);
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
return [
|
|
162
|
+
{
|
|
163
|
+
id: 'save',
|
|
164
|
+
color: 'primary',
|
|
165
|
+
label: t('cookie.saveSetting'),
|
|
166
|
+
variant: 'outline',
|
|
167
|
+
size: 'medium',
|
|
168
|
+
round: 'pill',
|
|
169
|
+
onClick: () => {
|
|
170
|
+
if (analysisAllowed.value) {
|
|
171
|
+
acceptAll();
|
|
172
|
+
} else {
|
|
173
|
+
rejectAll();
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
toggleDlgVisible(false);
|
|
177
|
+
},
|
|
142
178
|
},
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
179
|
+
{
|
|
180
|
+
id: 'allowAll',
|
|
181
|
+
color: 'primary',
|
|
182
|
+
label: t('cookie.acceptAll'),
|
|
183
|
+
variant: 'outline',
|
|
184
|
+
size: 'medium',
|
|
185
|
+
round: 'pill',
|
|
186
|
+
onClick: () => {
|
|
187
|
+
analysisAllowed.value = true;
|
|
188
|
+
acceptAll();
|
|
189
|
+
toggleDlgVisible(false);
|
|
190
|
+
},
|
|
155
191
|
},
|
|
156
|
-
|
|
157
|
-
|
|
192
|
+
]
|
|
193
|
+
});
|
|
158
194
|
|
|
159
195
|
const onDlgChange = (val: boolean) => {
|
|
160
196
|
if (val) {
|
|
@@ -175,43 +211,54 @@ defineExpose({
|
|
|
175
211
|
<template>
|
|
176
212
|
<ClientOnly>
|
|
177
213
|
<Teleport :to="wrapper || '#app'">
|
|
178
|
-
<div v-if="visibleVmodel" class="cookie-notice">
|
|
214
|
+
<div ref="cookieNoticeRef" v-if="visibleVmodel" class="cookie-notice">
|
|
179
215
|
<div class="cookie-notice-content">
|
|
180
216
|
<div :type="locale" :class="{ 'cookie-notice-wrap-grid': enableGrid, 'cookie-notice-wrap': !enableGrid }">
|
|
181
|
-
<div class="cookie-
|
|
182
|
-
<
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
217
|
+
<div class="cookie-title">
|
|
218
|
+
<template v-if="isZh">
|
|
219
|
+
<OIcon style="display: inline-block; font-size: 24px; margin-right: 4px">
|
|
220
|
+
<svg style="transform: rotate(180deg);" xmlns="http://www.w3.org/2000/svg" version="1.1" width="24" height="24" viewBox="0 0 24 24">
|
|
221
|
+
<path fill="#002fa7" d="M21 12c0 4.971-4.029 9-9 9s-9-4.029-9-9c0-4.971 4.029-9 9-9s9 4.029 9 9z" />
|
|
222
|
+
<path
|
|
223
|
+
fill="#fff"
|
|
224
|
+
d="M12 9.4c0.552 0 1-0.448 1-1s-0.448-1-1-1c-0.552 0-1 0.448-1 1s0.448 1 1 1zM12.492 10.943c-0.042-0.233-0.246-0.41-0.492-0.41-0.276 0-0.5 0.224-0.5 0.5v5.5l0.008 0.090c0.042 0.233 0.246 0.41 0.492 0.41 0.276 0 0.5-0.224 0.5-0.5v-5.5l-0.008-0.090z"
|
|
225
|
+
/>
|
|
226
|
+
</svg>
|
|
227
|
+
</OIcon>
|
|
228
|
+
<p class="cookie-zh-title" style="margin-top: 0">
|
|
191
229
|
{{ t('cookie.desc') }}
|
|
192
|
-
<a :href="detailUrl" target="_blank" rel="noopener noreferrer">
|
|
230
|
+
<a :href="detailUrl" target="_blank" rel="noopener noreferrer">
|
|
231
|
+
{{ t('cookie.about') }}
|
|
232
|
+
</a>
|
|
193
233
|
</p>
|
|
194
234
|
</template>
|
|
235
|
+
<p v-else class="cookie-en-title">{{ t('cookie.title', [community]) }}</p>
|
|
236
|
+
<OIcon class="cookie-notice-close" @click="toggleNoticeVisible(false)">
|
|
237
|
+
<OIconClose />
|
|
238
|
+
</OIcon>
|
|
195
239
|
</div>
|
|
196
|
-
<div v-if="!isZh" class="cookie-
|
|
197
|
-
<
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
240
|
+
<div v-if="!isZh" class="cookie-en-content">
|
|
241
|
+
<p class="cookie-en-desc">
|
|
242
|
+
{{ t('cookie.desc') }}
|
|
243
|
+
<a :href="detailUrl" target="_blank" rel="noopener noreferrer">{{ t('cookie.about') }} </a>.
|
|
244
|
+
</p>
|
|
245
|
+
<div class="cookie-notice-right">
|
|
246
|
+
<OButton round="pill" variant="outline" color="primary" @click="acceptAll">{{ t('cookie.acceptAll') }}</OButton>
|
|
247
|
+
<OButton round="pill" variant="outline" color="primary" @click="rejectAll">{{ t('cookie.rejectAll') }}</OButton>
|
|
248
|
+
<OButton round="pill" variant="outline" color="primary" @click="toggleDlgVisible(true)">{{ t('cookie.manage') }}</OButton>
|
|
249
|
+
</div>
|
|
202
250
|
</div>
|
|
203
|
-
<OIcon class="cookie-notice-close" :type="locale" @click="toggleNoticeVisible(false)">
|
|
204
|
-
<OIconClose />
|
|
205
|
-
</OIcon>
|
|
206
251
|
</div>
|
|
207
252
|
</div>
|
|
208
253
|
<ODialog
|
|
209
254
|
v-model:visible="isDlgVisible"
|
|
210
255
|
:size="leLaptop ? 'medium' : 'large'"
|
|
211
256
|
:phone-half-full="lePadV"
|
|
257
|
+
:main-class="enableGrid ? 'o-cookie-notice-dlg-main' : ''"
|
|
212
258
|
class="cookie-dlg"
|
|
213
259
|
:actions="dlgActions"
|
|
214
260
|
@change="onDlgChange"
|
|
261
|
+
style="--dlg-radius: 4px"
|
|
215
262
|
>
|
|
216
263
|
<template #header>
|
|
217
264
|
<span class="cookie-dlg-title">{{ t('cookie.manage') }}</span>
|
|
@@ -244,7 +291,37 @@ defineExpose({
|
|
|
244
291
|
</ClientOnly>
|
|
245
292
|
</template>
|
|
246
293
|
|
|
294
|
+
<style lang="scss">
|
|
295
|
+
.o-cookie-notice-dlg-main {
|
|
296
|
+
--dlg-edge-gap: 32px;
|
|
297
|
+
@include respond-to('laptop') {
|
|
298
|
+
--dlg-edge-gap: 24px;
|
|
299
|
+
}
|
|
300
|
+
@include respond-to('phone') {
|
|
301
|
+
--dlg-edge-gap: 16px 24px;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
--dlg-width: var(--grid-14);
|
|
305
|
+
@include respond-to('pad_h') {
|
|
306
|
+
--dlg-edge-gap: 16px;
|
|
307
|
+
--dlg-width: var(--grid-8);
|
|
308
|
+
}
|
|
309
|
+
@include respond-to('<=pad_v') {
|
|
310
|
+
--dlg-width: 100vw;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
</style>
|
|
247
314
|
<style lang="scss" scoped>
|
|
315
|
+
.o-btn {
|
|
316
|
+
--btn-bd-color-hover: var(--o-color-primary2);
|
|
317
|
+
--btn-bd-color-active: var(--o-color-primary3);
|
|
318
|
+
|
|
319
|
+
--btn-color-hover: var(--o-color-primary2);
|
|
320
|
+
--btn-color-active: var(--o-color-primary3);
|
|
321
|
+
|
|
322
|
+
--btn-bg-color-hover: transparent;
|
|
323
|
+
--btn-bg-color-active: transparent;
|
|
324
|
+
}
|
|
248
325
|
.cookie-notice {
|
|
249
326
|
position: fixed;
|
|
250
327
|
bottom: 0;
|
|
@@ -271,153 +348,228 @@ defineExpose({
|
|
|
271
348
|
|
|
272
349
|
.cookie-notice-wrap {
|
|
273
350
|
position: relative;
|
|
274
|
-
display: flex;
|
|
275
|
-
justify-content: space-between;
|
|
276
351
|
margin: 0 auto;
|
|
277
|
-
padding:
|
|
352
|
+
padding: 16px var(--layout-content-padding);
|
|
278
353
|
max-width: var(--layout-content-max-width);
|
|
354
|
+
@media (1680px >= width >= 1201px) {
|
|
355
|
+
padding: 12px var(--layout-content-padding);
|
|
356
|
+
}
|
|
357
|
+
@include respond-to('pad_h') {
|
|
358
|
+
padding: 8px var(--layout-content-padding);
|
|
359
|
+
}
|
|
360
|
+
@media (max-width: 840px) {
|
|
361
|
+
padding: 16px var(--layout-content-padding);
|
|
362
|
+
}
|
|
363
|
+
@include respond-to('phone') {
|
|
364
|
+
padding: 16px var(--layout-content-padding);
|
|
365
|
+
}
|
|
279
366
|
&:not([type='zh']) {
|
|
280
367
|
@media (max-width: 840px) {
|
|
281
368
|
flex-direction: column;
|
|
282
|
-
align-items: center;
|
|
283
369
|
}
|
|
284
370
|
}
|
|
285
371
|
}
|
|
286
372
|
|
|
287
373
|
.cookie-notice-wrap-grid {
|
|
288
|
-
position: relative;
|
|
289
|
-
display: flex;
|
|
290
|
-
justify-content: space-between;
|
|
291
374
|
width: var(--grid-content-width);
|
|
292
|
-
padding:
|
|
375
|
+
padding: 16px 0;
|
|
293
376
|
margin: 0 auto;
|
|
377
|
+
@media (1680px >= width >= 1201px) {
|
|
378
|
+
padding: 12px 0;
|
|
379
|
+
}
|
|
380
|
+
@include respond-to('pad_h') {
|
|
381
|
+
padding: 8px 0;
|
|
382
|
+
}
|
|
383
|
+
@media (max-width: 840px) {
|
|
384
|
+
padding: 16px 0;
|
|
385
|
+
}
|
|
386
|
+
@include respond-to('phone') {
|
|
387
|
+
padding: 16px 0;
|
|
388
|
+
}
|
|
294
389
|
&:not([type='zh']) {
|
|
295
390
|
@media (max-width: 840px) {
|
|
296
391
|
padding: 16px 0;
|
|
297
392
|
flex-direction: column;
|
|
298
|
-
align-items: center;
|
|
299
393
|
}
|
|
300
394
|
}
|
|
301
395
|
}
|
|
302
396
|
|
|
303
|
-
.cookie-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
397
|
+
.cookie-title {
|
|
398
|
+
display: flex;
|
|
399
|
+
font-size: 16px;
|
|
400
|
+
line-height: calc(1em + 8px);
|
|
401
|
+
color: var(--o-color-info1);
|
|
402
|
+
font-weight: 500;
|
|
403
|
+
@media (max-width: 1680px) {
|
|
404
|
+
font-size: 14px;
|
|
308
405
|
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
width: 100%;
|
|
406
|
+
@include respond-to('<=pad_v') {
|
|
407
|
+
text-align: center;
|
|
312
408
|
}
|
|
409
|
+
}
|
|
313
410
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
color: var(--o-color-info1);
|
|
318
|
-
font-weight: 500;
|
|
319
|
-
@media (max-width: 840px) {
|
|
320
|
-
font-size: 16px;
|
|
321
|
-
line-height: 24px;
|
|
322
|
-
text-align: center;
|
|
323
|
-
}
|
|
411
|
+
.cookie-en-title {
|
|
412
|
+
@include respond-to('<=pad_v') {
|
|
413
|
+
margin-left: auto;
|
|
324
414
|
}
|
|
415
|
+
}
|
|
325
416
|
|
|
326
|
-
|
|
417
|
+
.cookie-zh-title {
|
|
418
|
+
font-size: 14px;
|
|
419
|
+
line-height: 22px;
|
|
420
|
+
margin-right: 8px;
|
|
421
|
+
text-align: start;
|
|
422
|
+
@include respond-to('<=pad_v') {
|
|
327
423
|
font-size: 12px;
|
|
328
424
|
line-height: 18px;
|
|
329
|
-
color: var(--o-color-info2);
|
|
330
|
-
margin-top: 8px;
|
|
331
425
|
}
|
|
332
426
|
}
|
|
333
427
|
|
|
334
|
-
.cookie-
|
|
428
|
+
.cookie-en-content {
|
|
335
429
|
display: flex;
|
|
336
|
-
|
|
337
|
-
margin-top:
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
width: 100%;
|
|
430
|
+
width: 100%;
|
|
431
|
+
margin-top: 8px;
|
|
432
|
+
@include respond-to('<=pad_v') {
|
|
433
|
+
flex-direction: column;
|
|
341
434
|
}
|
|
435
|
+
}
|
|
342
436
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
437
|
+
.cookie-en-desc {
|
|
438
|
+
font-size: 12px;
|
|
439
|
+
line-height: 18px;
|
|
440
|
+
color: var(--o-color-info2);
|
|
441
|
+
@media (min-width: 1681px) {
|
|
442
|
+
margin-right: 48px;
|
|
346
443
|
}
|
|
444
|
+
@media (1680px >= width >= 1201px) {
|
|
445
|
+
margin-right: 40px;
|
|
446
|
+
}
|
|
447
|
+
@include respond-to('pad') {
|
|
448
|
+
margin-right: 24px;
|
|
449
|
+
}
|
|
450
|
+
@include respond-to('<=pad_v') {
|
|
451
|
+
margin: 0;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.cookie-notice-right {
|
|
456
|
+
display: flex;
|
|
457
|
+
margin-left: auto;
|
|
347
458
|
|
|
348
459
|
.o-btn:not(:first-child) {
|
|
349
460
|
margin-left: 16px;
|
|
461
|
+
@media (1680px >= width >= 1201px) {
|
|
462
|
+
margin-left: 12px;
|
|
463
|
+
}
|
|
464
|
+
@include respond-to('pad_h') {
|
|
465
|
+
margin-left: 8px;
|
|
466
|
+
}
|
|
467
|
+
@media (min-width: 841px) {
|
|
468
|
+
margin-left: 12px;
|
|
469
|
+
}
|
|
350
470
|
}
|
|
351
471
|
|
|
352
|
-
@
|
|
472
|
+
@include respond-to('<=pad_v') {
|
|
473
|
+
margin-top: 16px;
|
|
474
|
+
width: 100%;
|
|
475
|
+
display: grid;
|
|
476
|
+
grid-template-columns: 1fr 1fr;
|
|
477
|
+
grid-template-rows: auto auto;
|
|
478
|
+
gap: 12px;
|
|
479
|
+
|
|
353
480
|
.o-btn {
|
|
354
|
-
|
|
355
|
-
&:
|
|
356
|
-
|
|
357
|
-
|
|
481
|
+
margin: 0;
|
|
482
|
+
&:nth-child(1) {
|
|
483
|
+
grid-column: 1;
|
|
484
|
+
grid-row: 1;
|
|
485
|
+
}
|
|
486
|
+
&:nth-child(2) {
|
|
487
|
+
grid-column: 2;
|
|
488
|
+
grid-row: 1;
|
|
489
|
+
}
|
|
490
|
+
&:nth-child(3) {
|
|
491
|
+
grid-column: 1 / span 2;
|
|
492
|
+
grid-row: 2;
|
|
358
493
|
}
|
|
359
494
|
}
|
|
360
495
|
}
|
|
361
496
|
}
|
|
362
497
|
|
|
363
498
|
.cookie-notice-close {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
right: var(--layout-content-padding);
|
|
368
|
-
transform-origin: center;
|
|
369
|
-
}
|
|
499
|
+
display: block;
|
|
500
|
+
overflow: visible !important;
|
|
501
|
+
margin-left: auto;
|
|
370
502
|
cursor: pointer;
|
|
371
503
|
color: var(--o-color-info1);
|
|
372
|
-
font-size:
|
|
504
|
+
font-size: 24px;
|
|
373
505
|
&:hover {
|
|
374
506
|
color: var(--o-color-primary2);
|
|
375
507
|
}
|
|
376
|
-
@media (max-width: 840px) {
|
|
377
|
-
font-size: 14px;
|
|
378
|
-
}
|
|
379
508
|
@include x-svg-hover;
|
|
380
509
|
}
|
|
381
510
|
|
|
382
|
-
.cookie-notice-wrap-grid .cookie-notice-close {
|
|
383
|
-
right: 0;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
511
|
.cookie-dlg-content {
|
|
387
512
|
.content-item + .content-item {
|
|
388
513
|
margin-top: 24px;
|
|
514
|
+
@media (1680px >= width >= 1201px) {
|
|
515
|
+
margin-top: 16px;
|
|
516
|
+
}
|
|
517
|
+
@include respond-to('<=pad') {
|
|
518
|
+
margin-top: 12px;
|
|
519
|
+
}
|
|
389
520
|
}
|
|
390
521
|
|
|
391
522
|
.content-item {
|
|
392
523
|
.item-header {
|
|
393
524
|
display: flex;
|
|
394
525
|
align-items: center;
|
|
526
|
+
justify-content: space-between;
|
|
395
527
|
.item-title {
|
|
396
|
-
font-size:
|
|
397
|
-
line-height:
|
|
528
|
+
font-size: 20px;
|
|
529
|
+
line-height: calc(1em + 8px);
|
|
398
530
|
color: var(--o-color-info1);
|
|
399
531
|
font-weight: 500;
|
|
532
|
+
@media (1680px >= width >= 1201px) {
|
|
533
|
+
font-size: 18px;
|
|
534
|
+
}
|
|
535
|
+
@include respond-to('<=pad') {
|
|
536
|
+
font-size: 16px;
|
|
537
|
+
}
|
|
400
538
|
}
|
|
401
539
|
|
|
402
540
|
.item-extra {
|
|
403
541
|
font-size: 14px;
|
|
404
|
-
line-height: 22px;
|
|
405
542
|
color: var(--o-color-info3);
|
|
406
543
|
margin-left: 24px;
|
|
544
|
+
@include respond-to('<=pad') {
|
|
545
|
+
font-size: 12px;
|
|
546
|
+
}
|
|
407
547
|
}
|
|
408
548
|
}
|
|
409
549
|
|
|
410
550
|
.item-detail {
|
|
411
551
|
font-size: 16px;
|
|
412
|
-
line-height:
|
|
552
|
+
line-height: calc(1em + 8px);
|
|
413
553
|
color: var(--o-color-info2);
|
|
414
|
-
margin-top:
|
|
415
|
-
@media (max-width:
|
|
554
|
+
margin-top: 16px;
|
|
555
|
+
@media (max-width: 1680px) {
|
|
556
|
+
margin-top: 12px;
|
|
416
557
|
font-size: 14px;
|
|
417
|
-
|
|
558
|
+
}
|
|
559
|
+
@include respond-to('<=pad') {
|
|
560
|
+
margin-top: 8px;
|
|
561
|
+
}
|
|
562
|
+
@media (max-width: 840px) {
|
|
418
563
|
margin-top: 8px;
|
|
419
564
|
}
|
|
420
565
|
}
|
|
421
566
|
}
|
|
567
|
+
|
|
568
|
+
.content-item:nth-child(2) {
|
|
569
|
+
.item-detail {
|
|
570
|
+
font-size: 16px !important;
|
|
571
|
+
line-height: calc(1em + 8px);
|
|
572
|
+
}
|
|
573
|
+
}
|
|
422
574
|
}
|
|
423
575
|
</style>
|
|
@@ -3,7 +3,17 @@ import { ODivider } from '@opensig/opendesign';
|
|
|
3
3
|
|
|
4
4
|
import ContentWrapper from './common/ContentWrapper.vue';
|
|
5
5
|
|
|
6
|
-
const props = withDefaults(defineProps
|
|
6
|
+
const props = withDefaults(defineProps<{
|
|
7
|
+
simple: any;
|
|
8
|
+
atom: any;
|
|
9
|
+
lang: any;
|
|
10
|
+
quickNav: any;
|
|
11
|
+
friendshipLink: any;
|
|
12
|
+
footerLogo: any;
|
|
13
|
+
footerOption: any;
|
|
14
|
+
qrcode: any;
|
|
15
|
+
footerBg: any;
|
|
16
|
+
}>(), {
|
|
7
17
|
simple: false,
|
|
8
18
|
atom: undefined,
|
|
9
19
|
lang: undefined,
|