@opendesign-plus-test/components 0.0.1-rc.242 → 0.0.1-rc.243
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/components/activity/index.d.ts +9 -9
- package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
- package/dist/components/anchor-bar/index.d.ts +9 -9
- package/dist/components/article/OArticle.vue.d.ts +196 -14
- package/dist/components/article/components/ArticleTitle.vue.d.ts +22 -0
- package/dist/components/article/components/DocTitle.vue.d.ts +24 -0
- package/dist/components/article/index.d.ts +151 -50
- package/dist/components/article-anchor/index.d.ts +9 -9
- package/dist/components/article-pagination/index.d.ts +17 -17
- package/dist/components/banner/index.d.ts +6 -6
- package/dist/components/brand/index.d.ts +15 -15
- package/dist/components/doc-layout/ODocLayout.vue.d.ts +38 -0
- package/dist/components/doc-layout/index.d.ts +59 -0
- package/dist/components/doc-layout/types.d.ts +23 -0
- package/dist/components/events/index.d.ts +20 -20
- package/dist/components/footer/components/FooterSimple.vue.d.ts +4 -0
- package/dist/components/footer/index.d.ts +3 -3
- package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/components/header/index.d.ts +28 -28
- package/dist/components/header-search/index.d.ts +13 -13
- package/dist/components/logo-swiper/index.d.ts +11 -11
- package/dist/components/logo-swiper/types.d.ts +1 -0
- package/dist/components/markdown/OMarkdown.vue.d.ts +7 -16
- package/dist/components/markdown/index.d.ts +13 -45
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +51 -51
- package/dist/components/org/index.d.ts +9 -9
- package/dist/components/recursion-menu/index.d.ts +3 -3
- package/dist/components/search/index.d.ts +11 -11
- package/dist/components/search-doc-result/OSearchDocResult.vue.d.ts +3 -3
- package/dist/components/search-doc-result/index.d.ts +8 -8
- package/dist/components/search-result/OSearchResult.vue.d.ts +2 -2
- package/dist/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
- package/dist/components/search-result/index.d.ts +31 -31
- package/dist/components/sig/index.d.ts +15 -15
- package/dist/components/summit/index.d.ts +12 -12
- package/dist/components/summit/types.d.ts +18 -9
- package/dist/components/summit/utils.d.ts +11 -0
- package/dist/components/user-center/index.d.ts +18 -18
- package/dist/components/video/index.d.ts +3 -3
- package/dist/components.cjs.js +44 -44
- package/dist/components.css +1 -1
- package/dist/components.es.js +9478 -9198
- package/dist/index.d.ts +1 -0
- package/dist/treeshaking/_virtual/icon-email.mjs +9 -8
- package/dist/treeshaking/_virtual/icon-email2.mjs +8 -9
- package/dist/treeshaking/_virtual/icon-menu-fold.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-menu-unfold.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-tips.mjs +2 -13
- package/dist/treeshaking/_virtual/icon-tips2.mjs +13 -2
- package/dist/treeshaking/components/activity/index.d.ts +9 -9
- package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
- package/dist/treeshaking/components/anchor-bar/index.d.ts +9 -9
- package/dist/treeshaking/components/article/OArticle.css +18 -124
- package/dist/treeshaking/components/article/OArticle.vue.d.ts +196 -14
- package/dist/treeshaking/components/article/OArticle.vue.mjs +1 -1
- package/dist/treeshaking/components/article/OArticle.vue2.mjs +48 -82
- package/dist/treeshaking/components/article/components/ArticleTitle.css +123 -0
- package/dist/treeshaking/components/article/components/ArticleTitle.vue.d.ts +22 -0
- package/dist/treeshaking/components/article/components/ArticleTitle.vue.mjs +7 -0
- package/dist/treeshaking/components/article/components/ArticleTitle.vue2.mjs +97 -0
- package/dist/treeshaking/components/article/components/DocTitle.css +246 -0
- package/dist/treeshaking/components/{markdown/components/MarkdownPageTitle.vue.d.ts → article/components/DocTitle.vue.d.ts} +6 -5
- package/dist/treeshaking/components/article/components/DocTitle.vue.mjs +7 -0
- package/dist/treeshaking/components/{markdown/components/MarkdownPageTitle.vue2.mjs → article/components/DocTitle.vue2.mjs} +131 -80
- package/dist/treeshaking/components/article/index.d.ts +151 -50
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.css +4 -4
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue.mjs +1 -1
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue2.mjs +4 -5
- package/dist/treeshaking/components/article-anchor/index.d.ts +9 -9
- package/dist/treeshaking/components/article-pagination/index.d.ts +17 -17
- package/dist/treeshaking/components/banner/index.d.ts +6 -6
- package/dist/treeshaking/components/brand/index.d.ts +15 -15
- package/dist/treeshaking/components/doc-layout/ODocLayout.css +271 -0
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue.d.ts +38 -0
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue.mjs +7 -0
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue2.mjs +165 -0
- package/dist/treeshaking/components/doc-layout/index.d.ts +59 -0
- package/dist/treeshaking/components/doc-layout/index.mjs +9 -0
- package/dist/treeshaking/components/events/index.d.ts +20 -20
- package/dist/treeshaking/components/footer/OFooter.css +20 -15
- package/dist/treeshaking/components/footer/OFooter.vue.mjs +1 -1
- package/dist/treeshaking/components/footer/components/FooterSimple.css +37 -36
- package/dist/treeshaking/components/footer/components/FooterSimple.vue.d.ts +4 -0
- package/dist/treeshaking/components/footer/components/FooterSimple.vue.mjs +1 -1
- package/dist/treeshaking/components/footer/components/FooterSimple.vue2.mjs +54 -37
- package/dist/treeshaking/components/footer/index.d.ts +3 -3
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +2 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/treeshaking/components/header/index.d.ts +28 -28
- package/dist/treeshaking/components/header-search/index.d.ts +13 -13
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.css +19 -19
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.mjs +1 -1
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue2.mjs +4 -2
- package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
- package/dist/treeshaking/components/logo-swiper/types.d.ts +1 -0
- package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +7 -16
- package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +1 -1
- package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +47 -36
- package/dist/treeshaking/components/markdown/OMarkdown2.css +3 -3
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.css +22 -22
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.mjs +1 -1
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue2.mjs +11 -5
- package/dist/treeshaking/components/markdown/index.d.ts +13 -45
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +51 -51
- package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +1 -1
- package/dist/treeshaking/components/org/index.d.ts +9 -9
- package/dist/treeshaking/components/recursion-menu/ORecursionMenu.vue.mjs +1 -1
- package/dist/treeshaking/components/recursion-menu/index.d.ts +3 -3
- package/dist/treeshaking/components/search/index.d.ts +11 -11
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
- package/dist/treeshaking/components/search-result/index.d.ts +31 -31
- package/dist/treeshaking/components/sig/index.d.ts +15 -15
- package/dist/treeshaking/components/summit/OSummitLive.css +20 -20
- package/dist/treeshaking/components/summit/OSummitLive.vue.mjs +1 -1
- package/dist/treeshaking/components/summit/OSummitLive.vue2.mjs +12 -3
- package/dist/treeshaking/components/summit/OSummitSchedule.css +33 -33
- package/dist/treeshaking/components/summit/OSummitSchedule.vue.mjs +1 -1
- package/dist/treeshaking/components/summit/OSummitSchedule.vue2.mjs +13 -3
- package/dist/treeshaking/components/summit/components/OSummitTabs.css +30 -29
- package/dist/treeshaking/components/summit/components/OSummitTabs.vue.mjs +1 -1
- package/dist/treeshaking/components/summit/components/OSummitTabs.vue2.mjs +2 -0
- package/dist/treeshaking/components/summit/index.d.ts +12 -12
- package/dist/treeshaking/components/summit/types.d.ts +18 -9
- package/dist/treeshaking/components/summit/utils.d.ts +11 -0
- package/dist/treeshaking/components/summit/utils.mjs +56 -0
- package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/index.d.ts +18 -18
- package/dist/treeshaking/components/video/index.d.ts +3 -3
- package/dist/treeshaking/index.d.ts +1 -0
- package/dist/treeshaking/index.mjs +2 -0
- package/package.json +2 -2
- package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.css +0 -261
- package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/replacer/h1.d.ts +0 -11
- package/dist/treeshaking/components/markdown/replacer/h1.mjs +0 -29
|
@@ -1,52 +1,57 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-41010b1f] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-41010b1f] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.app-footer[data-v-
|
|
9
|
+
.app-footer[data-v-41010b1f] {
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
background: #121214;
|
|
12
12
|
--o-footer-content-max-width: 1488px;
|
|
13
13
|
--o-footer-content-padding: 0;
|
|
14
14
|
}
|
|
15
15
|
@media (max-width: 1680px) {
|
|
16
|
-
.app-footer[data-v-
|
|
16
|
+
.app-footer[data-v-41010b1f] {
|
|
17
17
|
--o-footer-content-max-width: 100%;
|
|
18
18
|
--o-footer-content-padding: 98px;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
@media (max-width: 1440px) {
|
|
22
|
-
.app-footer[data-v-
|
|
22
|
+
.app-footer[data-v-41010b1f] {
|
|
23
23
|
--o-footer-content-padding: 64px;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
@media (max-width: 1200px) {
|
|
27
|
-
.app-footer[data-v-
|
|
27
|
+
.app-footer[data-v-41010b1f] {
|
|
28
28
|
--o-footer-content-padding: 32px;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
@media (max-width: 600px) {
|
|
32
|
-
.app-footer[data-v-
|
|
32
|
+
.app-footer[data-v-41010b1f] {
|
|
33
33
|
--o-footer-content-padding: 24px;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
.app-footer-simple[data-v-
|
|
36
|
+
.app-footer-simple[data-v-41010b1f] {
|
|
37
37
|
background: transparent;
|
|
38
38
|
}
|
|
39
39
|
@media (max-width: 1680px) {
|
|
40
|
-
.app-footer-simple[data-v-
|
|
41
|
-
--o-footer-content-padding:
|
|
40
|
+
.app-footer-simple[data-v-41010b1f] {
|
|
41
|
+
--o-footer-content-padding: 16px 32px 24px;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
@media (max-width:
|
|
45
|
-
.app-footer-simple[data-v-
|
|
46
|
-
--o-footer-content-padding: 32px;
|
|
44
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
45
|
+
.app-footer-simple[data-v-41010b1f] {
|
|
46
|
+
--o-footer-content-padding: 24px 32px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
@media (max-width: 600px) {
|
|
50
|
+
.app-footer-simple[data-v-41010b1f] {
|
|
51
|
+
--o-footer-content-padding: 24px;
|
|
47
52
|
}
|
|
48
53
|
}
|
|
49
|
-
.app-footer-content[data-v-
|
|
54
|
+
.app-footer-content[data-v-41010b1f] {
|
|
50
55
|
max-width: var(--o-footer-content-max-width);
|
|
51
56
|
margin: 0 auto;
|
|
52
57
|
padding: 0 var(--o-footer-content-padding);
|
|
@@ -54,7 +59,7 @@
|
|
|
54
59
|
background-repeat: no-repeat;
|
|
55
60
|
background-size: auto;
|
|
56
61
|
}
|
|
57
|
-
.app-footer-simple-content[data-v-
|
|
62
|
+
.app-footer-simple-content[data-v-41010b1f] {
|
|
58
63
|
padding-top: 16px;
|
|
59
64
|
padding-bottom: 24px;
|
|
60
65
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OFooter.vue2.mjs";
|
|
2
2
|
import './OFooter.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OFooter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OFooter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-41010b1f"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OFooter as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-bb36ddad] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-bb36ddad] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
a[data-v-
|
|
9
|
+
a[data-v-bb36ddad] {
|
|
10
10
|
color: var(--o-color-info2);
|
|
11
11
|
text-decoration: none;
|
|
12
12
|
white-space: nowrap;
|
|
@@ -14,110 +14,111 @@ a[data-v-962bf858] {
|
|
|
14
14
|
line-height: 22px;
|
|
15
15
|
}
|
|
16
16
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
17
|
-
a[data-v-
|
|
17
|
+
a[data-v-bb36ddad] {
|
|
18
18
|
font-size: 14px;
|
|
19
19
|
line-height: 18px;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
23
|
-
a[data-v-
|
|
23
|
+
a[data-v-bb36ddad] {
|
|
24
24
|
font-size: 12px;
|
|
25
25
|
line-height: 18px;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
29
|
-
a[data-v-
|
|
29
|
+
a[data-v-bb36ddad] {
|
|
30
30
|
font-size: 12px;
|
|
31
31
|
line-height: 18px;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
@media (max-width: 600px) {
|
|
35
|
-
a[data-v-
|
|
35
|
+
a[data-v-bb36ddad] {
|
|
36
36
|
font-size: 12px;
|
|
37
37
|
line-height: 18px;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
@media (hover: hover) {
|
|
41
|
-
a[data-v-
|
|
41
|
+
a[data-v-bb36ddad]:hover {
|
|
42
42
|
color: var(--o-color-info1);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
a[data-v-
|
|
45
|
+
a[data-v-bb36ddad]:active {
|
|
46
46
|
color: var(--o-color-info1);
|
|
47
47
|
}
|
|
48
|
-
.footer-content[data-v-
|
|
48
|
+
.footer-content[data-v-bb36ddad] {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
51
|
justify-content: space-between;
|
|
52
52
|
}
|
|
53
|
-
.footer-left[data-v-
|
|
53
|
+
.footer-left[data-v-bb36ddad] {
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
|
-
flex-wrap:
|
|
56
|
+
flex-wrap: nowrap; /* 内部不换行:放不下时整块切堆叠 */
|
|
57
|
+
flex-shrink: 0; /* 不压缩,scrollWidth 即自然行宽 */
|
|
57
58
|
color: var(--o-color-info3);
|
|
58
59
|
font-size: 14px;
|
|
59
60
|
line-height: 22px;
|
|
60
61
|
}
|
|
61
62
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
62
|
-
.footer-left[data-v-
|
|
63
|
+
.footer-left[data-v-bb36ddad] {
|
|
63
64
|
font-size: 14px;
|
|
64
65
|
line-height: 18px;
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
68
|
-
.footer-left[data-v-
|
|
69
|
+
.footer-left[data-v-bb36ddad] {
|
|
69
70
|
font-size: 12px;
|
|
70
71
|
line-height: 18px;
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
74
|
-
.footer-left[data-v-
|
|
75
|
+
.footer-left[data-v-bb36ddad] {
|
|
75
76
|
font-size: 12px;
|
|
76
77
|
line-height: 18px;
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
@media (max-width: 600px) {
|
|
80
|
-
.footer-left[data-v-
|
|
81
|
+
.footer-left[data-v-bb36ddad] {
|
|
81
82
|
font-size: 12px;
|
|
82
83
|
line-height: 18px;
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
|
-
.footer-left .copyright-left[data-v-
|
|
86
|
-
|
|
86
|
+
.footer-left .copyright-left[data-v-bb36ddad] {
|
|
87
|
+
white-space: nowrap; /* 长版权文本不折行,保证溢出可被检测 */
|
|
88
|
+
}
|
|
89
|
+
.footer-left .copyright-left[data-v-bb36ddad],
|
|
90
|
+
.footer-left .filing[data-v-bb36ddad] {
|
|
87
91
|
display: flex;
|
|
88
|
-
flex-wrap:
|
|
92
|
+
flex-wrap: nowrap;
|
|
89
93
|
justify-content: center;
|
|
90
94
|
}
|
|
91
|
-
.footer-left .filing-img[data-v-
|
|
95
|
+
.footer-left .filing-img[data-v-bb36ddad] {
|
|
92
96
|
height: 18px;
|
|
93
97
|
}
|
|
94
|
-
.footer-left .beian-info[data-v-
|
|
98
|
+
.footer-left .beian-info[data-v-bb36ddad] {
|
|
95
99
|
margin-left: 4px;
|
|
96
100
|
color: var(--o-color-info3);
|
|
97
101
|
}
|
|
98
|
-
.footer-
|
|
99
|
-
margin-right: 32px;
|
|
100
|
-
}
|
|
101
|
-
.footer-right[data-v-962bf858] {
|
|
102
|
+
.footer-right[data-v-bb36ddad] {
|
|
102
103
|
display: flex;
|
|
103
104
|
align-items: center;
|
|
104
105
|
justify-content: center;
|
|
105
|
-
|
|
106
|
+
flex-shrink: 0; /* 不压缩,scrollWidth 即自然行宽 */
|
|
106
107
|
}
|
|
107
|
-
.footer-right .o-divider[data-v-
|
|
108
|
+
.footer-right .o-divider[data-v-bb36ddad] {
|
|
108
109
|
height: 12px;
|
|
109
110
|
--o-divider-label-gap: 0 8px;
|
|
110
111
|
--o-divider-bd-color: var(--o-color-control1);
|
|
111
112
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
.footer-content .footer-left[data-v-962bf858] {
|
|
117
|
-
margin-top: 8px;
|
|
118
|
-
justify-content: center;
|
|
113
|
+
.footer-content.is-stacked[data-v-bb36ddad] {
|
|
114
|
+
flex-direction: column-reverse;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
row-gap: 8px;
|
|
119
117
|
}
|
|
120
|
-
.footer-content
|
|
121
|
-
|
|
118
|
+
.footer-content.is-stacked .footer-left[data-v-bb36ddad] {
|
|
119
|
+
flex-direction: column;
|
|
120
|
+
align-items: center;
|
|
122
121
|
}
|
|
122
|
+
.footer-content.is-stacked .footer-left .filing[data-v-bb36ddad] {
|
|
123
|
+
margin-top: 8px;
|
|
123
124
|
}
|
|
@@ -6,13 +6,17 @@ declare function __VLS_template(): {
|
|
|
6
6
|
right?(_: {}): any;
|
|
7
7
|
};
|
|
8
8
|
refs: {
|
|
9
|
+
footerContentRef: HTMLDivElement;
|
|
9
10
|
footerLeftRef: HTMLDivElement;
|
|
11
|
+
footerRightRef: HTMLDivElement;
|
|
10
12
|
};
|
|
11
13
|
rootEl: HTMLDivElement;
|
|
12
14
|
};
|
|
13
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
16
|
declare const __VLS_component: import('vue').DefineComponent<FooterT, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FooterT> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
+
footerContentRef: HTMLDivElement;
|
|
15
18
|
footerLeftRef: HTMLDivElement;
|
|
19
|
+
footerRightRef: HTMLDivElement;
|
|
16
20
|
}, HTMLDivElement>;
|
|
17
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
22
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./FooterSimple.vue2.mjs";
|
|
2
2
|
import './FooterSimple.css';
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const FooterSimple = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const FooterSimple = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bb36ddad"]]);
|
|
5
5
|
export {
|
|
6
6
|
FooterSimple as default
|
|
7
7
|
};
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onBeforeUnmount, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, ref, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, renderSlot, createElementVNode, toDisplayString, unref, createBlock, createCommentVNode, Fragment, renderList } from "vue";
|
|
2
2
|
import { ODivider } from "@opensig/opendesign";
|
|
3
3
|
import { useScreen } from "@opendesign-plus/composables";
|
|
4
|
-
const _hoisted_1 = { class: "
|
|
5
|
-
const _hoisted_2 = { class: "copyright-
|
|
6
|
-
const _hoisted_3 =
|
|
7
|
-
const _hoisted_4 =
|
|
8
|
-
const _hoisted_5 =
|
|
9
|
-
const _hoisted_6 =
|
|
10
|
-
const _hoisted_7 =
|
|
11
|
-
const _hoisted_8 = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "footer-right"
|
|
14
|
-
};
|
|
15
|
-
const _hoisted_9 = ["href", "target"];
|
|
4
|
+
const _hoisted_1 = { class: "copyright-left" };
|
|
5
|
+
const _hoisted_2 = { class: "copyright-text" };
|
|
6
|
+
const _hoisted_3 = ["href"];
|
|
7
|
+
const _hoisted_4 = { class: "filing" };
|
|
8
|
+
const _hoisted_5 = ["src"];
|
|
9
|
+
const _hoisted_6 = { class: "beian-info" };
|
|
10
|
+
const _hoisted_7 = ["href", "target"];
|
|
16
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
12
|
__name: "FooterSimple",
|
|
18
13
|
props: {
|
|
@@ -27,20 +22,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
22
|
},
|
|
28
23
|
setup(__props) {
|
|
29
24
|
const { isPhone } = useScreen();
|
|
25
|
+
const footerContentRef = ref();
|
|
30
26
|
const footerLeftRef = ref();
|
|
31
|
-
const
|
|
27
|
+
const footerRightRef = ref();
|
|
28
|
+
const isStacked = ref(false);
|
|
29
|
+
const neededWidth = ref(0);
|
|
32
30
|
let observer = null;
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
const checkStacked = () => {
|
|
32
|
+
const content = footerContentRef.value;
|
|
33
|
+
const left = footerLeftRef.value;
|
|
34
|
+
const right = footerRightRef.value;
|
|
35
|
+
if (!content || !left || !right) {
|
|
36
|
+
isStacked.value = false;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (!isStacked.value) {
|
|
40
|
+
neededWidth.value = left.scrollWidth + right.scrollWidth;
|
|
41
|
+
isStacked.value = neededWidth.value > content.clientWidth;
|
|
42
|
+
} else {
|
|
43
|
+
isStacked.value = neededWidth.value > content.clientWidth;
|
|
44
|
+
}
|
|
37
45
|
};
|
|
38
46
|
onMounted(() => {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
47
|
+
observer = new ResizeObserver(checkStacked);
|
|
48
|
+
if (footerContentRef.value) observer.observe(footerContentRef.value);
|
|
49
|
+
if (footerLeftRef.value) observer.observe(footerLeftRef.value);
|
|
50
|
+
if (footerRightRef.value) observer.observe(footerRightRef.value);
|
|
51
|
+
checkStacked();
|
|
44
52
|
});
|
|
45
53
|
onBeforeUnmount(() => {
|
|
46
54
|
observer == null ? void 0 : observer.disconnect();
|
|
@@ -53,37 +61,46 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
61
|
}
|
|
54
62
|
};
|
|
55
63
|
return (_ctx, _cache) => {
|
|
56
|
-
return openBlock(), createElementBlock("div",
|
|
64
|
+
return openBlock(), createElementBlock("div", {
|
|
65
|
+
ref_key: "footerContentRef",
|
|
66
|
+
ref: footerContentRef,
|
|
67
|
+
class: normalizeClass(["footer-content", { "is-stacked": isStacked.value }])
|
|
68
|
+
}, [
|
|
57
69
|
_ctx.$slots.left || __props.footerOption ? renderSlot(_ctx.$slots, "left", { key: 0 }, () => [
|
|
58
70
|
__props.footerOption ? (openBlock(), createElementBlock("div", {
|
|
59
71
|
key: 0,
|
|
60
72
|
ref_key: "footerLeftRef",
|
|
61
73
|
ref: footerLeftRef,
|
|
62
|
-
class:
|
|
74
|
+
class: "footer-left"
|
|
63
75
|
}, [
|
|
64
|
-
createElementVNode("div",
|
|
65
|
-
createElementVNode("p",
|
|
76
|
+
createElementVNode("div", _hoisted_1, [
|
|
77
|
+
createElementVNode("p", _hoisted_2, toDisplayString(__props.footerOption.copyright), 1),
|
|
66
78
|
createElementVNode("a", {
|
|
67
79
|
href: __props.footerOption.beianLink,
|
|
68
80
|
target: "_blank",
|
|
69
81
|
class: "beian-info"
|
|
70
|
-
}, toDisplayString(__props.footerOption.beianInfo1), 9,
|
|
82
|
+
}, toDisplayString(__props.footerOption.beianInfo1), 9, _hoisted_3)
|
|
71
83
|
]),
|
|
72
|
-
!unref(isPhone) && !
|
|
84
|
+
!unref(isPhone) && !isStacked.value ? (openBlock(), createBlock(unref(ODivider), {
|
|
73
85
|
key: 0,
|
|
74
86
|
direction: "v"
|
|
75
87
|
})) : createCommentVNode("", true),
|
|
76
|
-
createElementVNode("div",
|
|
88
|
+
createElementVNode("div", _hoisted_4, [
|
|
77
89
|
createElementVNode("img", {
|
|
78
90
|
src: __props.footerOption.policeIcon,
|
|
79
91
|
class: "filing-img"
|
|
80
|
-
}, null, 8,
|
|
81
|
-
createElementVNode("p",
|
|
92
|
+
}, null, 8, _hoisted_5),
|
|
93
|
+
createElementVNode("p", _hoisted_6, toDisplayString(__props.footerOption.beianInfo2), 1)
|
|
82
94
|
])
|
|
83
|
-
],
|
|
95
|
+
], 512)) : createCommentVNode("", true)
|
|
84
96
|
], true) : createCommentVNode("", true),
|
|
85
97
|
_ctx.$slots.right || __props.footerOption ? renderSlot(_ctx.$slots, "right", { key: 1 }, () => [
|
|
86
|
-
__props.footerOption ? (openBlock(), createElementBlock("div",
|
|
98
|
+
__props.footerOption ? (openBlock(), createElementBlock("div", {
|
|
99
|
+
key: 0,
|
|
100
|
+
ref_key: "footerRightRef",
|
|
101
|
+
ref: footerRightRef,
|
|
102
|
+
class: "footer-right"
|
|
103
|
+
}, [
|
|
87
104
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerOption.children, (link, index) => {
|
|
88
105
|
return openBlock(), createElementBlock(Fragment, {
|
|
89
106
|
key: link.href
|
|
@@ -91,16 +108,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
91
108
|
createElementVNode("a", {
|
|
92
109
|
href: link.href,
|
|
93
110
|
target: linkTarget(link.href, link == null ? void 0 : link.target)
|
|
94
|
-
}, toDisplayString(link.title), 9,
|
|
111
|
+
}, toDisplayString(link.title), 9, _hoisted_7),
|
|
95
112
|
index !== __props.footerOption.children.length - 1 ? (openBlock(), createBlock(unref(ODivider), {
|
|
96
113
|
key: 0,
|
|
97
114
|
direction: "v"
|
|
98
115
|
})) : createCommentVNode("", true)
|
|
99
116
|
], 64);
|
|
100
117
|
}), 128))
|
|
101
|
-
])) : createCommentVNode("", true)
|
|
118
|
+
], 512)) : createCommentVNode("", true)
|
|
102
119
|
], true) : createCommentVNode("", true)
|
|
103
|
-
]);
|
|
120
|
+
], 2);
|
|
104
121
|
};
|
|
105
122
|
}
|
|
106
123
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
declare const OFooter: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').FooterT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
4
4
|
simple: boolean;
|
|
5
5
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
6
6
|
P: {};
|
|
@@ -9,13 +9,13 @@ declare const OFooter: {
|
|
|
9
9
|
C: {};
|
|
10
10
|
M: {};
|
|
11
11
|
Defaults: {};
|
|
12
|
-
}, Readonly<import('
|
|
12
|
+
}, Readonly<import('../../index').FooterT> & Readonly<{}>, {}, {}, {}, {}, {
|
|
13
13
|
simple: boolean;
|
|
14
14
|
}>;
|
|
15
15
|
__isFragment?: never;
|
|
16
16
|
__isTeleport?: never;
|
|
17
17
|
__isSuspense?: never;
|
|
18
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
18
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../index').FooterT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
19
19
|
simple: boolean;
|
|
20
20
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
21
21
|
$slots: {
|
|
@@ -20,8 +20,8 @@ declare function __VLS_template(): {
|
|
|
20
20
|
$props: {
|
|
21
21
|
readonly menuShow: boolean;
|
|
22
22
|
readonly navData: NavItemT[];
|
|
23
|
-
readonly codeData?: import('
|
|
24
|
-
readonly langData?: import('
|
|
23
|
+
readonly codeData?: import('../../index.ts').CodeT | undefined;
|
|
24
|
+
readonly langData?: import('../../index.ts').LangT | undefined;
|
|
25
25
|
readonly activeIndex: string | number;
|
|
26
26
|
readonly community?: string | undefined;
|
|
27
27
|
readonly "onHandle-click"?: ((val: any) => any) | undefined;
|
|
@@ -40,7 +40,7 @@ declare function __VLS_template(): {
|
|
|
40
40
|
$host: Element | null;
|
|
41
41
|
$emit: ((event: "handle-click", val: any) => void) & ((event: "on-click") => void) & ((event: "lang-click", val: LangItemT) => void);
|
|
42
42
|
$el: HTMLDivElement;
|
|
43
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
43
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../../index.ts').NavMobileItemT> & Readonly<{
|
|
44
44
|
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
45
45
|
"onOn-click"?: (() => any) | undefined;
|
|
46
46
|
"onLang-click"?: ((val: LangItemT) => any) | undefined;
|
|
@@ -74,7 +74,7 @@ declare function __VLS_template(): {
|
|
|
74
74
|
} & Readonly<{
|
|
75
75
|
navData: NavItemT[];
|
|
76
76
|
menuShow: boolean;
|
|
77
|
-
}> & Omit<Readonly<import('
|
|
77
|
+
}> & Omit<Readonly<import('../../index.ts').NavMobileItemT> & Readonly<{
|
|
78
78
|
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
79
79
|
"onOn-click"?: (() => any) | undefined;
|
|
80
80
|
"onLang-click"?: ((val: LangItemT) => any) | undefined;
|
|
@@ -104,8 +104,8 @@ declare const __VLS_component: import('vue').DefineComponent<NavT, {}, {}, {}, {
|
|
|
104
104
|
$props: {
|
|
105
105
|
readonly menuShow: boolean;
|
|
106
106
|
readonly navData: NavItemT[];
|
|
107
|
-
readonly codeData?: import('
|
|
108
|
-
readonly langData?: import('
|
|
107
|
+
readonly codeData?: import('../../index.ts').CodeT | undefined;
|
|
108
|
+
readonly langData?: import('../../index.ts').LangT | undefined;
|
|
109
109
|
readonly activeIndex: string | number;
|
|
110
110
|
readonly community?: string | undefined;
|
|
111
111
|
readonly "onHandle-click"?: ((val: any) => any) | undefined;
|
|
@@ -124,7 +124,7 @@ declare const __VLS_component: import('vue').DefineComponent<NavT, {}, {}, {}, {
|
|
|
124
124
|
$host: Element | null;
|
|
125
125
|
$emit: ((event: "handle-click", val: any) => void) & ((event: "on-click") => void) & ((event: "lang-click", val: LangItemT) => void);
|
|
126
126
|
$el: HTMLDivElement;
|
|
127
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
127
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../../index.ts').NavMobileItemT> & Readonly<{
|
|
128
128
|
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
129
129
|
"onOn-click"?: (() => any) | undefined;
|
|
130
130
|
"onLang-click"?: ((val: LangItemT) => any) | undefined;
|
|
@@ -158,7 +158,7 @@ declare const __VLS_component: import('vue').DefineComponent<NavT, {}, {}, {}, {
|
|
|
158
158
|
} & Readonly<{
|
|
159
159
|
navData: NavItemT[];
|
|
160
160
|
menuShow: boolean;
|
|
161
|
-
}> & Omit<Readonly<import('
|
|
161
|
+
}> & Omit<Readonly<import('../../index.ts').NavMobileItemT> & Readonly<{
|
|
162
162
|
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
163
163
|
"onOn-click"?: (() => any) | undefined;
|
|
164
164
|
"onLang-click"?: ((val: LangItemT) => any) | undefined;
|