@jetlinks-web/components 2.0.30 → 2.0.32
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/es/CardSelect/style/index.css +24 -0
- package/es/CardSelect/style/index.less +1 -1
- package/es/Ellipsis/style/index.css +17 -0
- package/es/Ellipsis/style/index.less +20 -0
- package/es/FullPage/FullPage.js +1 -1
- package/es/ProLayout/Basic/BasicLayout.js +2 -0
- package/es/ProLayout/Basic/BasicLayout.less +66 -0
- package/es/ProLayout/Basic/Header.js +1 -0
- package/es/ProLayout/Basic/Header.less +8 -0
- package/es/ProLayout/PageContainer/index.less +103 -0
- package/es/ProLayout/SiderMenu/index.less +231 -0
- package/es/ProLayout/TopHeader/index.js +8 -1
- package/es/ProLayout/TopHeader/index.less +174 -0
- package/es/ProLayout/style/default.less +4 -0
- package/es/ProLayout/style/style.less +7 -0
- package/es/ProTable/style/index.css +69 -0
- package/es/ProTable/style/index.less +92 -0
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +1 -1
- package/es/Search/style/Item.less +33 -0
- package/es/Search/style/Search.less +179 -0
- package/lib/CardSelect/style/index.css +24 -0
- package/lib/CardSelect/style/index.less +1 -1
- package/lib/Ellipsis/style/index.css +17 -0
- package/lib/Ellipsis/style/index.less +20 -0
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/ProLayout/Basic/BasicLayout.js +2 -0
- package/lib/ProLayout/Basic/BasicLayout.less +66 -0
- package/lib/ProLayout/Basic/Header.js +1 -0
- package/lib/ProLayout/Basic/Header.less +8 -0
- package/lib/ProLayout/PageContainer/index.less +103 -0
- package/lib/ProLayout/SiderMenu/index.less +231 -0
- package/lib/ProLayout/TopHeader/index.js +8 -1
- package/lib/ProLayout/TopHeader/index.less +174 -0
- package/lib/ProLayout/style/default.less +4 -0
- package/lib/ProLayout/style/style.less +7 -0
- package/lib/ProTable/style/index.css +69 -0
- package/lib/ProTable/style/index.less +92 -0
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +1 -1
- package/lib/Search/style/Item.less +33 -0
- package/lib/Search/style/Search.less +179 -0
- package/lib/style/components.less +4 -0
- package/package.json +3 -3
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
@import '../style/default.less';
|
|
2
|
+
|
|
3
|
+
@top-nav-header-prefix-cls: ~'@{ant-prefix}-pro-top-nav-header';
|
|
4
|
+
@pro-layout-global-header-prefix-cls: ~'@{ant-prefix}-pro-global-header';
|
|
5
|
+
|
|
6
|
+
@pro-layout-header-bg: @component-background;
|
|
7
|
+
@pro-layout-header-hover-bg: @component-background;
|
|
8
|
+
@pro-layout-header-box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
|
9
|
+
|
|
10
|
+
.@{pro-layout-global-header-prefix-cls} {
|
|
11
|
+
position: relative;
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
height: 100%;
|
|
15
|
+
padding: 0 16px;
|
|
16
|
+
background: @pro-layout-header-bg;
|
|
17
|
+
box-shadow: @pro-layout-header-box-shadow;
|
|
18
|
+
> * {
|
|
19
|
+
height: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-collapsed-button {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
margin-left: 16px;
|
|
26
|
+
font-size: 20px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-layout {
|
|
30
|
+
&-mix {
|
|
31
|
+
background-color: @layout-sider-background;
|
|
32
|
+
.@{pro-layout-global-header-prefix-cls}-logo {
|
|
33
|
+
h1 {
|
|
34
|
+
color: @btn-primary-color;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.anticon {
|
|
38
|
+
color: @btn-primary-color;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-logo {
|
|
44
|
+
position: relative;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
a {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
height: 100%;
|
|
50
|
+
img {
|
|
51
|
+
height: 28px;
|
|
52
|
+
}
|
|
53
|
+
h1 {
|
|
54
|
+
height: 32px;
|
|
55
|
+
margin: 0 0 0 8px;
|
|
56
|
+
margin: 0 0 0 12px;
|
|
57
|
+
color: @primary-color;
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
font-size: 18px;
|
|
60
|
+
line-height: 32px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-menu {
|
|
66
|
+
.anticon {
|
|
67
|
+
margin-right: 8px;
|
|
68
|
+
}
|
|
69
|
+
.@{ant-prefix}-dropdown-menu-item {
|
|
70
|
+
min-width: 160px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.dark {
|
|
75
|
+
height: @pro-layout-header-height;
|
|
76
|
+
.action {
|
|
77
|
+
color: rgba(255, 255, 255, 0.85);
|
|
78
|
+
> i {
|
|
79
|
+
color: rgba(255, 255, 255, 0.85);
|
|
80
|
+
}
|
|
81
|
+
&:hover,
|
|
82
|
+
&.opened {
|
|
83
|
+
background: @primary-color;
|
|
84
|
+
}
|
|
85
|
+
.@{ant-prefix}-badge {
|
|
86
|
+
color: rgba(255, 255, 255, 0.85);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.@{top-nav-header-prefix-cls} {
|
|
93
|
+
position: relative;
|
|
94
|
+
width: 100%;
|
|
95
|
+
height: 100%;
|
|
96
|
+
box-shadow: 0 1px 4px 0 rgba(0, 21, 41, 0.12);
|
|
97
|
+
transition: background 0.3s, width 0.2s;
|
|
98
|
+
|
|
99
|
+
.@{ant-prefix}-menu {
|
|
100
|
+
background: transparent;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.light {
|
|
104
|
+
background-color: @component-background;
|
|
105
|
+
.@{top-nav-header-prefix-cls}-logo {
|
|
106
|
+
h1 {
|
|
107
|
+
color: @heading-color;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
.anticon {
|
|
111
|
+
color: inherit;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&-main {
|
|
116
|
+
display: flex;
|
|
117
|
+
height: 100%;
|
|
118
|
+
padding-left: 16px;
|
|
119
|
+
&-left {
|
|
120
|
+
display: flex;
|
|
121
|
+
min-width: 192px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.anticon {
|
|
126
|
+
color: @btn-primary-color;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&-logo {
|
|
130
|
+
position: relative;
|
|
131
|
+
min-width: 165px;
|
|
132
|
+
height: 100%;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
|
|
135
|
+
img {
|
|
136
|
+
display: inline-block;
|
|
137
|
+
height: 32px;
|
|
138
|
+
vertical-align: middle;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
h1 {
|
|
142
|
+
display: inline-block;
|
|
143
|
+
margin: 0 0 0 12px;
|
|
144
|
+
color: @btn-primary-color;
|
|
145
|
+
font-weight: 600;
|
|
146
|
+
font-size: 16px;
|
|
147
|
+
vertical-align: top;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&-menu {
|
|
152
|
+
min-width: 0;
|
|
153
|
+
|
|
154
|
+
.@{ant-prefix}-menu.@{ant-prefix}-menu-horizontal {
|
|
155
|
+
height: 100%;
|
|
156
|
+
border: none;
|
|
157
|
+
|
|
158
|
+
.@{ant-prefix}-menu-item {
|
|
159
|
+
height: 100%;
|
|
160
|
+
|
|
161
|
+
.@{ant-prefix}-badge {
|
|
162
|
+
color: unset;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
// replace sub.item
|
|
170
|
+
.@{ant-prefix}-pro-menu-popup {
|
|
171
|
+
.@{ant-prefix}-badge {
|
|
172
|
+
color: unset;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
2
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
3
|
+
/* stylelint-disable */
|
|
4
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
5
|
+
.jtable-body-spin {
|
|
6
|
+
min-height: 100%;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: 16px 24px 24px;
|
|
9
|
+
background-color: #fff;
|
|
10
|
+
}
|
|
11
|
+
.jtable-body-spin .ant-spin-nested-loading {
|
|
12
|
+
height: 100%;
|
|
13
|
+
}
|
|
14
|
+
.jtable-body-spin .ant-spin-nested-loading .ant-spin-container {
|
|
15
|
+
height: 100%;
|
|
16
|
+
}
|
|
17
|
+
.jtable-body-spin .jtable-body {
|
|
18
|
+
width: 100%;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
height: 100%;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
}
|
|
24
|
+
.jtable-body-spin .jtable-body .jtable-body-header {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
align-items: center;
|
|
28
|
+
}
|
|
29
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right {
|
|
30
|
+
display: flex;
|
|
31
|
+
gap: 8px;
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
34
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right .jtable-body-header-right-button .right-button-icon {
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
color: #d9d9d9;
|
|
37
|
+
}
|
|
38
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right .jtable-body-header-right-button .ant-radio-button-wrapper {
|
|
39
|
+
padding: 0 8px;
|
|
40
|
+
}
|
|
41
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right .jtable-body-header-right-button .ant-radio-button-wrapper-checked .right-button-icon {
|
|
42
|
+
color: #1890ff;
|
|
43
|
+
}
|
|
44
|
+
.jtable-body-spin .jtable-body .jtable-content {
|
|
45
|
+
flex: 1;
|
|
46
|
+
padding: 16px 0;
|
|
47
|
+
}
|
|
48
|
+
.jtable-body-spin .jtable-body .jtable-content .jtable-alert {
|
|
49
|
+
margin-bottom: 16px;
|
|
50
|
+
}
|
|
51
|
+
.jtable-body-spin .jtable-body .jtable-content .jtable-card .jtable-card-items {
|
|
52
|
+
display: grid;
|
|
53
|
+
grid-gap: 26px;
|
|
54
|
+
}
|
|
55
|
+
.jtable-body-spin .jtable-body .jtable-content .jtable-card .jtable-card-items .jtable-card-item {
|
|
56
|
+
display: flex;
|
|
57
|
+
min-width: 0;
|
|
58
|
+
}
|
|
59
|
+
.jtable-body-spin .jtable-body .jtable-pagination {
|
|
60
|
+
width: 100%;
|
|
61
|
+
display: flex;
|
|
62
|
+
justify-content: flex-end;
|
|
63
|
+
}
|
|
64
|
+
.jtable-body-spin .jtable-body .j-table-empty {
|
|
65
|
+
display: flex;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
align-items: center;
|
|
68
|
+
margin: 10% 0;
|
|
69
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@import '../../style/variable.less';
|
|
2
|
+
//@import 'ant-design-vue/es/style/themes/variable.less';
|
|
3
|
+
|
|
4
|
+
.jtable-body-spin {
|
|
5
|
+
min-height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
padding: 16px 24px 24px;
|
|
8
|
+
background-color: #fff;
|
|
9
|
+
|
|
10
|
+
.ant-spin-nested-loading {
|
|
11
|
+
height: 100%;
|
|
12
|
+
.ant-spin-container {
|
|
13
|
+
height: 100%;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.jtable-body {
|
|
18
|
+
width: 100%;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
height: 100%;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
|
|
24
|
+
.jtable-body-header {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
align-items: center;
|
|
28
|
+
|
|
29
|
+
.jtable-body-header-right {
|
|
30
|
+
display: flex;
|
|
31
|
+
gap: 8px;
|
|
32
|
+
align-items: center;
|
|
33
|
+
|
|
34
|
+
.jtable-body-header-right-button {
|
|
35
|
+
.right-button-icon {
|
|
36
|
+
font-size: 16px;
|
|
37
|
+
color: #d9d9d9;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ant-radio-button-wrapper {
|
|
41
|
+
padding: 0 8px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ant-radio-button-wrapper-checked {
|
|
45
|
+
.right-button-icon {
|
|
46
|
+
color: @primary-color;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.jtable-content {
|
|
54
|
+
flex: 1;
|
|
55
|
+
padding: 16px 0;
|
|
56
|
+
|
|
57
|
+
.jtable-alert {
|
|
58
|
+
margin-bottom: 16px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.jtable-card {
|
|
62
|
+
.jtable-card-items {
|
|
63
|
+
display: grid;
|
|
64
|
+
grid-gap: 26px;
|
|
65
|
+
|
|
66
|
+
.jtable-card-item {
|
|
67
|
+
display: flex;
|
|
68
|
+
min-width: 0;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.jtable-pagination {
|
|
75
|
+
// position: absolute;
|
|
76
|
+
// background-color: white;
|
|
77
|
+
// padding: 10px 0;
|
|
78
|
+
// right: 0;
|
|
79
|
+
// bottom: 0;
|
|
80
|
+
width: 100%;
|
|
81
|
+
display: flex;
|
|
82
|
+
justify-content: flex-end;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.j-table-empty {
|
|
86
|
+
display: flex;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
align-items: center;
|
|
89
|
+
margin: 10% 0;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
} */
|
|
22
22
|
import { defineComponent as _defineComponent } from 'vue';
|
|
23
23
|
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
24
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
24
|
+
const _withScopeId = n => (_pushScopeId("data-v-1716194139186"), n = n(), _popScopeId(), n);
|
|
25
25
|
const _hoisted_1 = {
|
|
26
26
|
key: 0,
|
|
27
27
|
style: { "width": "240px" }
|
package/es/Search/Item.js
CHANGED
|
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
78
78
|
} */
|
|
79
79
|
import { defineComponent as _defineComponent } from 'vue';
|
|
80
80
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
81
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
81
|
+
const _withScopeId = n => (_pushScopeId("data-v-1716194138546"), n = n(), _popScopeId(), n);
|
|
82
82
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
83
83
|
const _hoisted_2 = {
|
|
84
84
|
key: 0,
|
package/es/Search/Search.js
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
} */
|
|
37
37
|
import { defineComponent as _defineComponent } from 'vue';
|
|
38
38
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
39
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
39
|
+
const _withScopeId = n => (_pushScopeId("data-v-1716194138825"), n = n(), _popScopeId(), n);
|
|
40
40
|
const _hoisted_1 = { class: "JSearch-content simple" };
|
|
41
41
|
const _hoisted_2 = { class: "JSearch-items" };
|
|
42
42
|
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.JSearch-item {
|
|
2
|
+
display: flex;
|
|
3
|
+
gap: 16px;
|
|
4
|
+
align-items: center;
|
|
5
|
+
|
|
6
|
+
.JSearch-item--type {
|
|
7
|
+
width: 90px;
|
|
8
|
+
min-width: 0;
|
|
9
|
+
> span {
|
|
10
|
+
line-height: 34px;
|
|
11
|
+
font-weight: bold;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.JSearch-item--column {
|
|
16
|
+
width: 130px;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.JSearch-item--termType {
|
|
21
|
+
width: 110px;
|
|
22
|
+
min-width: 0;
|
|
23
|
+
}
|
|
24
|
+
.JSearch-item--label {
|
|
25
|
+
min-width: 40px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.JSearch-item--value {
|
|
29
|
+
display: flex;
|
|
30
|
+
width: 0;
|
|
31
|
+
flex-grow: 1;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
@import '../../style/variable.less';
|
|
2
|
+
.JSearch-warp {
|
|
3
|
+
padding: 24px;
|
|
4
|
+
background-color: #fff;
|
|
5
|
+
margin-bottom: 24px;
|
|
6
|
+
|
|
7
|
+
.pack-up {
|
|
8
|
+
.JSearch-items {
|
|
9
|
+
flex: 1 1 auto;
|
|
10
|
+
|
|
11
|
+
.left {
|
|
12
|
+
min-width: 380px;
|
|
13
|
+
max-width: 580px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.senior {
|
|
19
|
+
> .JSearch-content {
|
|
20
|
+
display: flex;
|
|
21
|
+
.JSearch-footer {
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: 64px;
|
|
24
|
+
position: relative;
|
|
25
|
+
|
|
26
|
+
.more-btn {
|
|
27
|
+
.more-text {
|
|
28
|
+
padding-right: 24px;
|
|
29
|
+
}
|
|
30
|
+
.more-icon {
|
|
31
|
+
transition: transform 0.3s;
|
|
32
|
+
transform: rotateZ(90deg);
|
|
33
|
+
font-size: 14px;
|
|
34
|
+
|
|
35
|
+
&.more-up {
|
|
36
|
+
transform: rotateZ(-90deg);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.expand {
|
|
42
|
+
margin-top: 16px;
|
|
43
|
+
width: 100%;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.JSearch-footer--btns {
|
|
48
|
+
display: flex;
|
|
49
|
+
gap: 12px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.items-expand {
|
|
54
|
+
display: flex;
|
|
55
|
+
gap: 16px;
|
|
56
|
+
|
|
57
|
+
.left,
|
|
58
|
+
& .right {
|
|
59
|
+
min-width: 0;
|
|
60
|
+
flex: 1 1 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.left-items,
|
|
64
|
+
& .right-items {
|
|
65
|
+
display: flex;
|
|
66
|
+
gap: 16px;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.center {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.vertical {
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
.center {
|
|
79
|
+
flex-direction: row;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.senior-expand {
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.small {
|
|
90
|
+
gap: 12px;
|
|
91
|
+
.JSearch-footer {
|
|
92
|
+
gap: 4px;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.JSearch-content {
|
|
99
|
+
&.simple {
|
|
100
|
+
.JSearch-footer--btns {
|
|
101
|
+
display: flex;
|
|
102
|
+
gap: 12px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.JSearch-item {
|
|
106
|
+
gap: 8px;
|
|
107
|
+
|
|
108
|
+
.JSearch-item--label {
|
|
109
|
+
text-align: right;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.no-radius {
|
|
116
|
+
border-radius: 0;
|
|
117
|
+
border-color: #f1f1f1;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.search-history-warp {
|
|
121
|
+
position: relative;
|
|
122
|
+
|
|
123
|
+
.search-history-button {
|
|
124
|
+
padding-right: 32px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.search-history-button-icon {
|
|
128
|
+
position: absolute;
|
|
129
|
+
width: 24px;
|
|
130
|
+
height: 18px;
|
|
131
|
+
right: 6px;
|
|
132
|
+
top: 8px;
|
|
133
|
+
color: #fff;
|
|
134
|
+
line-height: 18px;
|
|
135
|
+
text-align: center;
|
|
136
|
+
font-weight: bold;
|
|
137
|
+
> span {
|
|
138
|
+
font-size: 14px;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.search-history-empty {
|
|
145
|
+
padding: 12px 12px 6px 12px;
|
|
146
|
+
background-color: #fff;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.search-history-items {
|
|
150
|
+
width: 120px;
|
|
151
|
+
max-height: 300px;
|
|
152
|
+
overflow-y: auto;
|
|
153
|
+
.search-history-item {
|
|
154
|
+
display: flex;
|
|
155
|
+
padding: 4px 0px 4px 4px;
|
|
156
|
+
align-items: center;
|
|
157
|
+
gap: 4px;
|
|
158
|
+
|
|
159
|
+
&:hover {
|
|
160
|
+
background-color: #f1f1f1;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.history-item--title {
|
|
164
|
+
width: calc(100% - 30px);
|
|
165
|
+
cursor: pointer;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.delete {
|
|
169
|
+
padding: 0 6px;
|
|
170
|
+
flex: 0 0 28px;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.search-history-list-pop {
|
|
176
|
+
.ant-popover-inner-content {
|
|
177
|
+
padding: 0;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
2
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
3
|
+
/* stylelint-disable */
|
|
4
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
5
|
+
.j-card-select {
|
|
6
|
+
display: grid;
|
|
7
|
+
gap: 12px;
|
|
8
|
+
}
|
|
9
|
+
.j-card-select .j-card-select-item {
|
|
10
|
+
padding: 12px;
|
|
11
|
+
border: 1px solid #e6e6e6;
|
|
12
|
+
border-radius: 2px;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
15
|
+
.j-card-select .j-card-select-item.active {
|
|
16
|
+
border-color: #1890ff;
|
|
17
|
+
}
|
|
18
|
+
.j-card-select .j-card-select-item.disabled {
|
|
19
|
+
cursor: not-allowed;
|
|
20
|
+
opacity: 0.75;
|
|
21
|
+
}
|
|
22
|
+
.j-card-select .j-card-select-item .j-card-select-describe {
|
|
23
|
+
color: #263237;
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.j-ellipsis {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
vertical-align: bottom;
|
|
4
|
+
}
|
|
5
|
+
.j-ellipsis-cursor {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
.j-ellipsis-line-clamp {
|
|
9
|
+
display: -webkit-box;
|
|
10
|
+
-webkit-box-orient: vertical;
|
|
11
|
+
word-break: break-all;
|
|
12
|
+
}
|
|
13
|
+
.j-ellipsis-deep {
|
|
14
|
+
max-height: 380px;
|
|
15
|
+
-webkit-line-clamp: 17;
|
|
16
|
+
text-overflow: ellipsis;
|
|
17
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.j-ellipsis {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
vertical-align: bottom;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.j-ellipsis-cursor {
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.j-ellipsis-line-clamp {
|
|
11
|
+
display: -webkit-box;
|
|
12
|
+
-webkit-box-orient: vertical;
|
|
13
|
+
word-break: break-all;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.j-ellipsis-deep {
|
|
17
|
+
max-height: 380px;
|
|
18
|
+
-webkit-line-clamp: 17;
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
}
|
package/lib/FullPage/FullPage.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
} */
|
|
7
7
|
import { defineComponent as _defineComponent } from 'vue';
|
|
8
8
|
import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
9
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
9
|
+
const _withScopeId = n => (_pushScopeId("data-v-1716194136644"), n = n(), _popScopeId(), n);
|
|
10
10
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
11
11
|
import { ref } from 'vue';
|
|
12
12
|
import { useElementBounding } from '@vueuse/core';
|
|
@@ -219,6 +219,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
219
219
|
var linksRender = (0, _util.getSlot)(slots, props, 'linksRender');
|
|
220
220
|
var logoRender = (0, _util.getSlot)(slots, props, 'logoRender');
|
|
221
221
|
var historyRender = (0, _util.getSlot)(slots, props, 'historyRender');
|
|
222
|
+
var topHeaderMenuRender = (0, _util.getSlot)(slots, props, 'topHeaderMenuRender');
|
|
222
223
|
var headerDom = (0, _vue.computed)(function () {
|
|
223
224
|
return headerRender((0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
224
225
|
menuItemRender: menuItemRender,
|
|
@@ -237,6 +238,7 @@ var _default2 = exports.default = (0, _vue.defineComponent)({
|
|
|
237
238
|
headerContentRender: headerContentRender,
|
|
238
239
|
logo: logoRender || props.logo,
|
|
239
240
|
headerRender: customHeaderRender,
|
|
241
|
+
topHeaderMenuRender: topHeaderMenuRender,
|
|
240
242
|
theme: (props.theme || 'dark').toLocaleLowerCase().includes('dark') ? 'dark' : 'light'
|
|
241
243
|
}), props.matchMenuKeys);
|
|
242
244
|
});
|