@opendesign-plus-test/components 0.0.1-rc.217 → 0.0.1-rc.219
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 +48 -74
- 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/index.d.ts +25 -25
- 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/config-provider/OPlusConfigProvider.vue.d.ts +0 -1
- package/dist/components/events/index.d.ts +20 -20
- 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/meeting/OMeetingPlayback.vue.d.ts +7 -8
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +45 -48
- package/dist/components/meeting/types.d.ts +0 -2
- 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/sig/index.d.ts +15 -15
- package/dist/components/summit/index.d.ts +12 -12
- package/dist/components/user-center/OAppHeader.vue.d.ts +2 -0
- package/dist/components/user-center/index.d.ts +24 -18
- package/dist/components/video/index.d.ts +3 -3
- package/dist/components.cjs.js +45 -45
- package/dist/components.css +2 -2
- package/dist/components.es.js +15291 -15996
- package/dist/index.d.ts +0 -1
- package/dist/treeshaking/_virtual/icon-email.mjs +9 -8
- package/dist/treeshaking/_virtual/icon-email2.mjs +8 -9
- 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/index.d.ts +25 -25
- 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/config-provider/OPlusConfigProvider.vue.d.ts +0 -1
- package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.mjs +2 -4
- package/dist/treeshaking/components/empty/OEmpty.css +10 -10
- package/dist/treeshaking/components/empty/OEmpty.vue.mjs +1 -1
- package/dist/treeshaking/components/empty/OEmpty.vue2.mjs +2 -6
- package/dist/treeshaking/components/events/index.d.ts +20 -20
- package/dist/treeshaking/components/footer/components/FooterList.css +109 -149
- package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +1 -1
- package/dist/treeshaking/components/footer/components/FooterList.vue2.mjs +60 -59
- 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 +221 -191
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -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/index.d.ts +11 -11
- package/dist/treeshaking/components/meeting/OMeetingPlayback.css +0 -2
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +7 -8
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.mjs +4 -12
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +0 -3
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue.mjs +7 -15
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.mjs +15 -13
- package/dist/treeshaking/components/meeting/index.d.ts +45 -48
- package/dist/treeshaking/components/meeting/types.d.ts +0 -2
- 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/index.d.ts +3 -3
- package/dist/treeshaking/components/search/OSearchInput.vue.mjs +2 -2
- package/dist/treeshaking/components/search/index.d.ts +11 -11
- package/dist/treeshaking/components/search/index.mjs +3 -3
- package/dist/treeshaking/components/search/internal/SearchImageInput.css +48 -46
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
- package/dist/treeshaking/components/sig/index.d.ts +15 -15
- package/dist/treeshaking/components/summit/index.d.ts +12 -12
- package/dist/treeshaking/components/user-center/OAccountSecurity.css +76 -50
- package/dist/treeshaking/components/user-center/OAccountSecurity.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAccountSecurity.vue2.mjs +7 -7
- package/dist/treeshaking/components/user-center/OAccountSetting.css +112 -60
- package/dist/treeshaking/components/user-center/OAccountSetting.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAppHeader.css +3 -3
- package/dist/treeshaking/components/user-center/OAppHeader.vue.d.ts +2 -0
- package/dist/treeshaking/components/user-center/OAppHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAppHeader.vue2.mjs +3 -2
- package/dist/treeshaking/components/user-center/OAsideBar.css +14 -14
- package/dist/treeshaking/components/user-center/OAsideBar.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OLayout.css +47 -13
- package/dist/treeshaking/components/user-center/OLayout.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OLayout.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OTheAccountManage.css +28 -11
- package/dist/treeshaking/components/user-center/OTheAccountManage.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.css +10 -10
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OTheMeeting.css +35 -35
- package/dist/treeshaking/components/user-center/OTheMeeting.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.css +80 -27
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.css +263 -85
- package/dist/treeshaking/components/user-center/OUserInfo.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo3.css +4 -4
- package/dist/treeshaking/components/user-center/index.d.ts +24 -18
- package/dist/treeshaking/components/user-center/index.mjs +2 -2
- package/dist/treeshaking/components/user-center/internal/OAppDialog.css +42 -16
- package/dist/treeshaking/components/user-center/internal/OAppDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OAppDialog.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.css +9 -9
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.css +32 -32
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.css +65 -15
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog2.css +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.css +65 -15
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog2.css +1 -1
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.css +46 -20
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.css +4 -4
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.vue2.mjs +2 -2
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.css +39 -13
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.css +41 -15
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.css +106 -106
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar2.css +2 -2
- package/dist/treeshaking/components/video/index.d.ts +3 -3
- package/dist/treeshaking/i18n/en.mjs +0 -13
- package/dist/treeshaking/i18n/zh.mjs +0 -13
- package/dist/treeshaking/index.d.ts +0 -1
- package/dist/treeshaking/index.mjs +0 -4
- package/package.json +3 -3
- package/dist/components/search-result/OSearchResult.vue.d.ts +0 -55
- package/dist/components/search-result/OSearchResultHeader.vue.d.ts +0 -1296
- package/dist/components/search-result/OSearchResultItem.vue.d.ts +0 -34
- package/dist/components/search-result/components/OSearchResultEmpty.vue.d.ts +0 -2
- package/dist/components/search-result/components/OSearchResultFeedback.vue.d.ts +0 -8
- package/dist/components/search-result/components/OSearchResultFeedbackBanner.vue.d.ts +0 -8
- package/dist/components/search-result/components/OSearchResultRelative.vue.d.ts +0 -10
- package/dist/components/search-result/index.d.ts +0 -851
- package/dist/components/search-result/types.d.ts +0 -9
- package/dist/treeshaking/_virtual/icon-arrow-left.mjs +0 -20
- package/dist/treeshaking/_virtual/icon-edit.mjs +0 -38
- package/dist/treeshaking/_virtual/icon-like.mjs +0 -20
- package/dist/treeshaking/_virtual/icon-relative-search.mjs +0 -21
- package/dist/treeshaking/_virtual/icon-unlike.mjs +0 -20
- package/dist/treeshaking/assets/search/search-empty.png.mjs +0 -4
- package/dist/treeshaking/components/search-result/OSearchResult.css +0 -101
- package/dist/treeshaking/components/search-result/OSearchResult.vue.d.ts +0 -55
- package/dist/treeshaking/components/search-result/OSearchResult.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/OSearchResult.vue2.mjs +0 -120
- package/dist/treeshaking/components/search-result/OSearchResultHeader.css +0 -125
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +0 -1296
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue2.mjs +0 -104
- package/dist/treeshaking/components/search-result/OSearchResultItem.css +0 -213
- package/dist/treeshaking/components/search-result/OSearchResultItem.vue.d.ts +0 -34
- package/dist/treeshaking/components/search-result/OSearchResultItem.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/OSearchResultItem.vue2.mjs +0 -117
- package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.css +0 -52
- package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue.d.ts +0 -2
- package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue2.mjs +0 -29
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.css +0 -154
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue.d.ts +0 -8
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue2.mjs +0 -171
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.css +0 -188
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.d.ts +0 -8
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue2.mjs +0 -185
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.css +0 -97
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.d.ts +0 -10
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue2.mjs +0 -55
- package/dist/treeshaking/components/search-result/index.d.ts +0 -851
- package/dist/treeshaking/components/search-result/index.mjs +0 -23
- package/dist/treeshaking/components/search-result/types.d.ts +0 -9
- package/dist/treeshaking/components/user-center/styles/global.css +0 -349
- package/dist/treeshaking/components/user-center/styles/variables.css +0 -361
|
@@ -1,361 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon {
|
|
2
|
-
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
-
}
|
|
4
|
-
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* 全局响应式变量定义(桌面优先方式)
|
|
12
|
-
* 基于栅格布局系统的响应式设计
|
|
13
|
-
*
|
|
14
|
-
* 设计方式:桌面优先(Desktop-First)
|
|
15
|
-
* - 默认值为大屏幕(>= 1680px)设置
|
|
16
|
-
* - 使用 @include uc-screen.respond-to() 在较小断点覆盖值
|
|
17
|
-
*
|
|
18
|
-
* 栅格布局规则:
|
|
19
|
-
* 1680px+ - 24栅格 + 两侧64px间距,栅格间距32px,侧边栏5栅格+4间距,内容区15栅格+14间距
|
|
20
|
-
* 1440-1680 - 24栅格 + 两侧64px间距,栅格间距32px,侧边栏5栅格+4间距,内容区17栅格+16间距
|
|
21
|
-
* 1200-1440 - 24栅格 + 两侧40px间距,栅格间距24px,侧边栏5栅格+4间距,内容区17栅格+16间距
|
|
22
|
-
* 840-1200 - 12栅格 + 两侧32px间距,栅格间距16px,侧边栏3栅格+2间距,内容区9栅格+8间距
|
|
23
|
-
* <= 840 - 单栏布局
|
|
24
|
-
*/
|
|
25
|
-
/* ============================================================
|
|
26
|
-
DEFAULT VALUES - 1680px+ (桌面 - 最高优先级)
|
|
27
|
-
24栅格 + 两侧64px间距,栅格间距32px
|
|
28
|
-
侧边栏: 5栅格 + 4间距 = (5 * 栅格宽 + 4 * 32px)
|
|
29
|
-
内容区: 15栅格 + 14间距 = (15 * 栅格宽 + 14 * 32px)
|
|
30
|
-
============================================================ */
|
|
31
|
-
:root {
|
|
32
|
-
/* 栅格系统 */
|
|
33
|
-
--grid-columns: 24;
|
|
34
|
-
--grid-gap: 32px;
|
|
35
|
-
--container-padding-x: 64px;
|
|
36
|
-
--container-padding-top: 40px;
|
|
37
|
-
--container-padding-bottom: 72px;
|
|
38
|
-
--header-height: 72px;
|
|
39
|
-
--footer-height: 56px;
|
|
40
|
-
--container-border-radius: 4px;
|
|
41
|
-
--item-height: 46px;
|
|
42
|
-
--item-padding: 15px 8px;
|
|
43
|
-
/* 两栏布局 - 栅格计算 */
|
|
44
|
-
--sidebar-grid-columns: 5;
|
|
45
|
-
--sidebar-grid-gaps: 4;
|
|
46
|
-
--content-grid-columns: 15;
|
|
47
|
-
--content-grid-gaps: 14;
|
|
48
|
-
/* 栅格宽度计算 (动态) */
|
|
49
|
-
/* 总宽度 = 100vw - 2*64px = 100vw - 128px */
|
|
50
|
-
/* 栅格宽度 = (100vw - 128px - 23*32px) / 24 */
|
|
51
|
-
/* 栅格宽度 = (100vw - 128px - 736px) / 24 = (100vw - 864px) / 24 */
|
|
52
|
-
--grid-item-width: calc((100vw - 128px - 736px) / 24);
|
|
53
|
-
--sidebar-width: calc(5 * var(--grid-item-width) + 4 * 32px);
|
|
54
|
-
--content-width: calc(15 * var(--grid-item-width) + 14 * 32px);
|
|
55
|
-
--footer-width: calc(20 * var(--grid-item-width) + 19 * 32px);
|
|
56
|
-
--page-min-height: calc(100vh - var(--container-padding-top) - var(--header-height) - var(--footer-height) - var(--container-padding-bottom));
|
|
57
|
-
/* 布局间距 */
|
|
58
|
-
--layout-gap: 32px;
|
|
59
|
-
--layout-gap2: 24px;
|
|
60
|
-
--layout-gap3: 16px;
|
|
61
|
-
--layout-gap4: 12px;
|
|
62
|
-
--padding-value-1: 32px;
|
|
63
|
-
--padding-value-2: 24px;
|
|
64
|
-
/* 字体大小 */
|
|
65
|
-
--font-size1: 24px;
|
|
66
|
-
--font-size2: 22px;
|
|
67
|
-
--font-size3: 20px;
|
|
68
|
-
--font-size4: 18px;
|
|
69
|
-
--font-size5: 16px;
|
|
70
|
-
--font-size6: 14px;
|
|
71
|
-
--font-size7: 12px;
|
|
72
|
-
/* 行高 */
|
|
73
|
-
--line-height1: 32px;
|
|
74
|
-
--line-height2: 30px;
|
|
75
|
-
--line-height3: 28px;
|
|
76
|
-
--line-height4: 26px;
|
|
77
|
-
--line-height5: 24px;
|
|
78
|
-
--line-height6: 22px;
|
|
79
|
-
--line-height7: 18px;
|
|
80
|
-
/* 输入框的宽度 */
|
|
81
|
-
--input-width1: 480px;
|
|
82
|
-
/* 输入框的高度 */
|
|
83
|
-
--input-height1: 40px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* ============================================================
|
|
87
|
-
1440-1680px - 平板横屏/笔记本
|
|
88
|
-
24栅格 + 两侧64px间距,栅格间距32px
|
|
89
|
-
侧边栏: 5栅格 + 4间距,内容区: 17栅格 + 16间距
|
|
90
|
-
============================================================ */
|
|
91
|
-
@media (min-width: 1401px) and (max-width: 1680px) {
|
|
92
|
-
:root {
|
|
93
|
-
/* 栅格系统 */
|
|
94
|
-
--grid-columns: 24;
|
|
95
|
-
--grid-gap: 32px;
|
|
96
|
-
--container-padding-x: 64px;
|
|
97
|
-
--container-padding-top: 24px;
|
|
98
|
-
--container-padding-bottom: 56px;
|
|
99
|
-
--header-height: 64px;
|
|
100
|
-
--footer-height: 48px;
|
|
101
|
-
--item-height: 38px;
|
|
102
|
-
--item-padding: 8px;
|
|
103
|
-
/* 两栏布局 - 栅格计算 */
|
|
104
|
-
--sidebar-grid-columns: 5;
|
|
105
|
-
--sidebar-grid-gaps: 4;
|
|
106
|
-
--content-grid-columns: 17;
|
|
107
|
-
--content-grid-gaps: 16;
|
|
108
|
-
/* 栅格宽度计算 */
|
|
109
|
-
/* 总宽度 = 1440px - 2*64px = 1312px */
|
|
110
|
-
/* 栅格宽度 = (1312px - 23*32px) / 24 = (1312px - 736px) / 24 = 576px / 24 = 24px */
|
|
111
|
-
--grid-item-width: calc((100vw - 736px - 128px) / 24);
|
|
112
|
-
--sidebar-width: calc(5 * var(--grid-item-width) + 4 * 32px);
|
|
113
|
-
--content-width: calc(17 * var(--grid-item-width) + 16 * 32px);
|
|
114
|
-
--footer-width: calc(22 * var(--grid-item-width) + 21 * 32px);
|
|
115
|
-
--page-min-height: calc(100vh - var(--container-padding-top) - var(--header-height) - var(--footer-height) - var(--container-padding-bottom));
|
|
116
|
-
/* 布局间距 */
|
|
117
|
-
--layout-gap: 24px;
|
|
118
|
-
--layout-gap2: 16px;
|
|
119
|
-
--layout-gap3: 12px;
|
|
120
|
-
--layout-gap4: 8px;
|
|
121
|
-
--padding-value-1: 24px;
|
|
122
|
-
--padding-value-2: 16px;
|
|
123
|
-
/* 字体大小 */
|
|
124
|
-
--font-size1: 20px;
|
|
125
|
-
--font-size2: 18px;
|
|
126
|
-
--font-size3: 18px;
|
|
127
|
-
--font-size4: 16px;
|
|
128
|
-
--font-size5: 14px;
|
|
129
|
-
--font-size6: 14px;
|
|
130
|
-
--font-size7: 12px;
|
|
131
|
-
/* 行高 */
|
|
132
|
-
--line-height1: 28px;
|
|
133
|
-
--line-height2: 26px;
|
|
134
|
-
--line-height3: 26px;
|
|
135
|
-
--line-height4: 24px;
|
|
136
|
-
--line-height5: 22px;
|
|
137
|
-
--line-height6: 22px;
|
|
138
|
-
--line-height7: 18px;
|
|
139
|
-
/* 输入框的宽度 */
|
|
140
|
-
--input-width1: 360px;
|
|
141
|
-
/* 输入框的高度 */
|
|
142
|
-
--input-height1: 36px;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
/* ============================================================
|
|
146
|
-
1200-1440px - 平板横屏
|
|
147
|
-
24栅格 + 两侧40px间距,栅格间距24px
|
|
148
|
-
侧边栏: 5栅格 + 4间距,内容区: 17栅格 + 16间距
|
|
149
|
-
============================================================ */
|
|
150
|
-
@media (min-width: 1201px) and (max-width: 1440px) {
|
|
151
|
-
:root {
|
|
152
|
-
/* 栅格系统 */
|
|
153
|
-
--grid-columns: 24;
|
|
154
|
-
--grid-gap: 24px;
|
|
155
|
-
--container-padding-x: 40px;
|
|
156
|
-
--container-padding-top: 24px;
|
|
157
|
-
--container-padding-bottom: 56px;
|
|
158
|
-
--header-height: 64px;
|
|
159
|
-
--footer-height: 48px;
|
|
160
|
-
--item-height: 38px;
|
|
161
|
-
--item-padding: 8px;
|
|
162
|
-
/* 两栏布局 - 栅格计算 */
|
|
163
|
-
--sidebar-grid-columns: 5;
|
|
164
|
-
--sidebar-grid-gaps: 4;
|
|
165
|
-
--content-grid-columns: 17;
|
|
166
|
-
--content-grid-gaps: 16;
|
|
167
|
-
/* 栅格宽度计算 */
|
|
168
|
-
/* 总宽度 = 1200px - 2*40px = 1120px */
|
|
169
|
-
/* 栅格宽度 = (1120px - 23*24px) / 24 = (1120px - 552px) / 24 = 568px / 24 ≈ 23.67px */
|
|
170
|
-
--grid-item-width: calc((100vw - 552px - 80px) / 24);
|
|
171
|
-
--sidebar-width: calc(5 * var(--grid-item-width) + 4 * 24px);
|
|
172
|
-
--content-width: calc(17 * var(--grid-item-width) + 16 * 24px);
|
|
173
|
-
--footer-width: calc(22 * var(--grid-item-width) + 21 * 24px);
|
|
174
|
-
--page-min-height: calc(100vh - var(--container-padding-top) - var(--header-height) - var(--footer-height) - var(--container-padding-bottom));
|
|
175
|
-
/* 布局间距 */
|
|
176
|
-
--layout-gap: 24px;
|
|
177
|
-
--layout-gap2: 16px;
|
|
178
|
-
--layout-gap3: 12px;
|
|
179
|
-
--layout-gap4: 8px;
|
|
180
|
-
--padding-value-1: 24px;
|
|
181
|
-
--padding-value-2: 16px;
|
|
182
|
-
/* 字体大小 */
|
|
183
|
-
--font-size1: 20px;
|
|
184
|
-
--font-size2: 18px;
|
|
185
|
-
--font-size3: 18px;
|
|
186
|
-
--font-size4: 16px;
|
|
187
|
-
--font-size5: 14px;
|
|
188
|
-
--font-size6: 14px;
|
|
189
|
-
--font-size7: 12px;
|
|
190
|
-
/* 行高 */
|
|
191
|
-
--line-height1: 28px;
|
|
192
|
-
--line-height2: 26px;
|
|
193
|
-
--line-height3: 26px;
|
|
194
|
-
--line-height4: 24px;
|
|
195
|
-
--line-height5: 22px;
|
|
196
|
-
--line-height6: 22px;
|
|
197
|
-
--line-height7: 18px;
|
|
198
|
-
/* 输入框的宽度 */
|
|
199
|
-
--input-width1: 360px;
|
|
200
|
-
/* 输入框的高度 */
|
|
201
|
-
--input-height1: 36px;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
/* ============================================================
|
|
205
|
-
840-1200px - 平板竖屏
|
|
206
|
-
12栅格 + 两侧32px间距,栅格间距16px
|
|
207
|
-
侧边栏: 3栅格 + 2间距,内容区: 9栅格 + 8间距
|
|
208
|
-
============================================================ */
|
|
209
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
210
|
-
:root {
|
|
211
|
-
/* 栅格系统 */
|
|
212
|
-
--grid-columns: 12;
|
|
213
|
-
--grid-gap: 16px;
|
|
214
|
-
--container-padding-x: 32px;
|
|
215
|
-
--container-padding-top: 16px;
|
|
216
|
-
--container-padding-bottom: 40px;
|
|
217
|
-
--header-height: 56px;
|
|
218
|
-
--footer-height: 40px;
|
|
219
|
-
--item-height: 38px;
|
|
220
|
-
--item-padding: 8px;
|
|
221
|
-
/* 两栏布局 - 栅格计算 */
|
|
222
|
-
--sidebar-grid-columns: 3;
|
|
223
|
-
--sidebar-grid-gaps: 2;
|
|
224
|
-
--content-grid-columns: 9;
|
|
225
|
-
--content-grid-gaps: 8;
|
|
226
|
-
/* 栅格宽度计算 */
|
|
227
|
-
/* 总宽度 = 840px - 2*32px = 776px */
|
|
228
|
-
/* 栅格宽度 = (776px - 11*16px) / 12 = (776px - 176px) / 12 = 600px / 12 = 50px */
|
|
229
|
-
--grid-item-width: calc((100vw - 176px - 64px) / 12);
|
|
230
|
-
--sidebar-width: calc(3 * var(--grid-item-width) + 2 * 16px);
|
|
231
|
-
--content-width: calc(9 * var(--grid-item-width) + 8 * 16px);
|
|
232
|
-
--footer-width: calc(12 * var(--grid-item-width) + 11 * 16px);
|
|
233
|
-
--page-min-height: calc(100vh - var(--container-padding-top) - var(--header-height) - var(--footer-height) - var(--container-padding-bottom));
|
|
234
|
-
/* 布局间距 */
|
|
235
|
-
--layout-gap: 16px;
|
|
236
|
-
--layout-gap2: 12px;
|
|
237
|
-
--layout-gap3: 8px;
|
|
238
|
-
--layout-gap4: 8px;
|
|
239
|
-
--padding-value-1: 16px;
|
|
240
|
-
--padding-value-2: 12px;
|
|
241
|
-
/* 字体大小 */
|
|
242
|
-
--font-size1: 18px;
|
|
243
|
-
--font-size2: 16px;
|
|
244
|
-
--font-size3: 16px;
|
|
245
|
-
--font-size4: 14px;
|
|
246
|
-
--font-size5: 14px;
|
|
247
|
-
--font-size6: 12px;
|
|
248
|
-
--font-size7: 12px;
|
|
249
|
-
/* 行高 */
|
|
250
|
-
--line-height1: 26px;
|
|
251
|
-
--line-height2: 24px;
|
|
252
|
-
--line-height3: 24px;
|
|
253
|
-
--line-height4: 22px;
|
|
254
|
-
--line-height5: 22px;
|
|
255
|
-
--line-height6: 18px;
|
|
256
|
-
--line-height7: 18px;
|
|
257
|
-
/* 输入框的宽度 */
|
|
258
|
-
--input-width1: 320px;
|
|
259
|
-
/* 输入框的高度 */
|
|
260
|
-
--input-height1: 36px;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
/* ============================================================
|
|
264
|
-
<840px - 手机端 (单栏布局)
|
|
265
|
-
============================================================ */
|
|
266
|
-
@media (max-width: 840px) {
|
|
267
|
-
:root {
|
|
268
|
-
/* 栅格系统 */
|
|
269
|
-
--grid-columns: 1;
|
|
270
|
-
--grid-gap: 0px;
|
|
271
|
-
--container-padding-x: 16px;
|
|
272
|
-
--container-padding-y: 16px;
|
|
273
|
-
--header-height: 48px;
|
|
274
|
-
--footer-height: 102px;
|
|
275
|
-
--item-height: 38px;
|
|
276
|
-
--item-padding: 8px;
|
|
277
|
-
--container-padding-bottom: 32px;
|
|
278
|
-
/* 两栏布局 - 单栏模式 */
|
|
279
|
-
--sidebar-grid-columns: 0;
|
|
280
|
-
--sidebar-grid-gaps: 0;
|
|
281
|
-
--content-grid-columns: 1;
|
|
282
|
-
--content-grid-gaps: 0;
|
|
283
|
-
/* 栅格宽度 */
|
|
284
|
-
--grid-item-width: 100%;
|
|
285
|
-
--sidebar-width: 0px;
|
|
286
|
-
--content-width: 100%;
|
|
287
|
-
--footer-width: 100%;
|
|
288
|
-
--page-min-height: calc(100vh - var(--container-padding-top) - var(--header-height) - var(--footer-height) - var(--container-padding-bottom));
|
|
289
|
-
/* 布局间距 */
|
|
290
|
-
--layout-gap: 12px;
|
|
291
|
-
--layout-gap2: 12px;
|
|
292
|
-
--layout-gap3: 8px;
|
|
293
|
-
--layout-gap4: 8px;
|
|
294
|
-
--container-bg-color: transparent;
|
|
295
|
-
--padding-value-1: 24px;
|
|
296
|
-
--padding-value-2: 24px;
|
|
297
|
-
/* 字体大小 */
|
|
298
|
-
--font-size1: 18px;
|
|
299
|
-
--font-size2: 16px;
|
|
300
|
-
--font-size3: 16px;
|
|
301
|
-
--font-size4: 14px;
|
|
302
|
-
--font-size5: 14px;
|
|
303
|
-
--font-size6: 12px;
|
|
304
|
-
--font-size7: 10px;
|
|
305
|
-
/* 行高 */
|
|
306
|
-
--line-height1: 26px;
|
|
307
|
-
--line-height2: 24px;
|
|
308
|
-
--line-height3: 24px;
|
|
309
|
-
--line-height4: 22px;
|
|
310
|
-
--line-height5: 22px;
|
|
311
|
-
--line-height6: 18px;
|
|
312
|
-
--line-height7: 16px;
|
|
313
|
-
/* 输入框的宽度 */
|
|
314
|
-
--input-width1: 320px;
|
|
315
|
-
/* 输入框的高度 */
|
|
316
|
-
--input-height1: 36px;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
/* ============================================================
|
|
320
|
-
设计令牌补充:字号 / 行高 / 间距
|
|
321
|
-
(迁移自 personComponents base/_font.scss、base/_spacing.scss,
|
|
322
|
-
OpenDesignPlus 的 token css 不包含这三组,由本文件统一提供)
|
|
323
|
-
============================================================ */
|
|
324
|
-
/* 字号 */
|
|
325
|
-
:root {
|
|
326
|
-
--o-font-size-h1: 64px;
|
|
327
|
-
--o-font-size-h2: 54px;
|
|
328
|
-
--o-font-size-h3: 36px;
|
|
329
|
-
--o-font-size-h4: 28px;
|
|
330
|
-
--o-font-size-h5: 24px;
|
|
331
|
-
--o-font-size-h6: 20px;
|
|
332
|
-
--o-font-size-h7: 18px;
|
|
333
|
-
--o-font-size-h8: 16px;
|
|
334
|
-
--o-font-size-text: 14px;
|
|
335
|
-
--o-font-size-tip: 12px;
|
|
336
|
-
/* 行高 */
|
|
337
|
-
--o-line-height-h1: 84px;
|
|
338
|
-
--o-line-height-h2: 76px;
|
|
339
|
-
--o-line-height-h3: 48px;
|
|
340
|
-
--o-line-height-h4: 36px;
|
|
341
|
-
--o-line-height-h5: 32px;
|
|
342
|
-
--o-line-height-h6: 28px;
|
|
343
|
-
--o-line-height-h7: 24px;
|
|
344
|
-
--o-line-height-h8: 22px;
|
|
345
|
-
--o-line-height-text: 22px;
|
|
346
|
-
--o-line-height-tip: 18px;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
/* 间距 */
|
|
350
|
-
:root {
|
|
351
|
-
--o-spacing-h1: 64px;
|
|
352
|
-
--o-spacing-h2: 40px;
|
|
353
|
-
--o-spacing-h3: 32px;
|
|
354
|
-
--o-spacing-h4: 24px;
|
|
355
|
-
--o-spacing-h5: 16px;
|
|
356
|
-
--o-spacing-h6: 12px;
|
|
357
|
-
--o-spacing-h7: 10px;
|
|
358
|
-
--o-spacing-h8: 8px;
|
|
359
|
-
--o-spacing-h9: 6px;
|
|
360
|
-
--o-spacing-h10: 4px;
|
|
361
|
-
}
|