@jetlinks-web/components 2.5.4 → 2.5.5
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/AMap/Map.js +1 -1
- package/es/CardSelect/CardSelect.js +1 -1
- package/es/CheckButton/CheckButton.js +1 -1
- package/es/ConfigProvider/index.js +2 -1
- package/es/DragModal/DragModal.js +19 -13
- package/es/DragModal/style/index.css +1 -0
- package/es/DragModal/style/index.less +1 -0
- package/es/EditTable/components/Search/search.js +28 -11
- package/es/EditTable/components/Search/sort.js +5 -4
- package/es/EditTable/style/body.less +8 -8
- package/es/EditTable/style/index.css +1 -1
- package/es/FullPage/FullPage.js +1 -1
- package/es/LocaleReciver/index.js +3 -1
- package/es/PermissionButton/index.js +13 -20
- package/es/ProTable/Alert.js +3 -3
- package/es/ProTable/Pagination.js +17 -1
- package/es/RadioButton/RadioButton.js +10 -7
- package/es/RadioButton/style/index.js +1 -0
- package/es/RadioButton/style/index.less +18 -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/Title/index.js +5 -0
- package/es/components.js +3 -2
- package/es/locale/en-US.js +3 -0
- package/es/locale/zh-CN.js +3 -0
- package/es/style/index.css +41 -1
- package/es/style/index.less +2 -0
- package/es/style.js +3 -1
- package/lib/AMap/Map.js +1 -1
- package/lib/CardSelect/CardSelect.js +1 -1
- package/lib/CheckButton/CheckButton.js +1 -1
- package/lib/ConfigProvider/index.js +2 -1
- package/lib/DragModal/DragModal.js +19 -13
- package/lib/DragModal/style/index.css +1 -0
- package/lib/DragModal/style/index.less +1 -0
- package/lib/EditTable/components/Search/search.js +28 -11
- package/lib/EditTable/components/Search/sort.js +5 -4
- package/lib/EditTable/style/body.less +8 -8
- package/lib/EditTable/style/index.css +1 -1
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/LocaleReciver/index.js +3 -1
- package/lib/PermissionButton/index.js +12 -19
- package/lib/ProTable/Alert.js +3 -3
- package/lib/ProTable/Pagination.js +17 -1
- package/lib/RadioButton/RadioButton.js +10 -7
- package/lib/RadioButton/style/index.js +3 -0
- package/lib/RadioButton/style/index.less +18 -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/Title/index.js +12 -0
- package/lib/components.js +14 -1
- package/lib/locale/en-US.js +3 -0
- package/lib/locale/zh-CN.js +3 -0
- package/lib/style/index.css +41 -1
- package/lib/style/index.less +2 -0
- package/lib/style.js +3 -1
- package/package.json +2 -2
- package/es/ProTable/style/ProTable.less +0 -139
- package/es/Scrollbar/style/index.css +0 -61
- package/es/Scrollbar/style/index.less +0 -82
- package/es/Search/style/Item.less +0 -33
- package/es/Search/style/Search.less +0 -179
- package/es/Title/style/index.css +0 -23
- package/es/Title/style/index.less +0 -25
- package/lib/ProTable/style/ProTable.less +0 -139
- package/lib/Scrollbar/style/index.css +0 -61
- package/lib/Scrollbar/style/index.less +0 -82
- package/lib/Search/style/Item.less +0 -33
- package/lib/Search/style/Search.less +0 -179
- package/lib/Title/style/index.css +0 -23
- package/lib/Title/style/index.less +0 -25
- package/lib/style/components.less +0 -8
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
} */
|
|
24
24
|
import { defineComponent as _defineComponent } from 'vue';
|
|
25
25
|
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
26
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
26
|
+
const _withScopeId = n => (_pushScopeId("data-v-1743503004249"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
package/lib/Search/Item.js
CHANGED
|
@@ -80,7 +80,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
80
80
|
} */
|
|
81
81
|
import { defineComponent as _defineComponent } from 'vue';
|
|
82
82
|
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";
|
|
83
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
83
|
+
const _withScopeId = n => (_pushScopeId("data-v-1743503003588"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
package/lib/Search/Search.js
CHANGED
|
@@ -249,7 +249,7 @@ const __sfc_main__ = _defineComponent({
|
|
|
249
249
|
type: "primary"
|
|
250
250
|
}, {
|
|
251
251
|
default: _withCtx(() => [
|
|
252
|
-
_createTextVNode(_toDisplayString(__props.submitText || _unref(contextLocale).search.search
|
|
252
|
+
_createTextVNode(_toDisplayString(__props.submitText || _unref(contextLocale).search.search), 1 /* TEXT */)
|
|
253
253
|
]),
|
|
254
254
|
_: 1 /* STABLE */
|
|
255
255
|
})
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _title = _interopRequireDefault(require("./title.js"));
|
|
9
|
+
_title.default.install = function (app) {
|
|
10
|
+
app.component(_title.default.name, _title.default);
|
|
11
|
+
};
|
|
12
|
+
var _default = exports.default = _title.default;
|
package/lib/components.js
CHANGED
|
@@ -83,6 +83,12 @@ Object.defineProperty(exports, "FullPage", {
|
|
|
83
83
|
return _FullPage.default;
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
|
+
Object.defineProperty(exports, "Map", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function get() {
|
|
89
|
+
return _AMap.default;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
86
92
|
Object.defineProperty(exports, "Markdown", {
|
|
87
93
|
enumerable: true,
|
|
88
94
|
get: function get() {
|
|
@@ -137,13 +143,19 @@ Object.defineProperty(exports, "TimeFormat", {
|
|
|
137
143
|
return _TimeFormat.default;
|
|
138
144
|
}
|
|
139
145
|
});
|
|
146
|
+
Object.defineProperty(exports, "Title", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function get() {
|
|
149
|
+
return _Title.default;
|
|
150
|
+
}
|
|
151
|
+
});
|
|
140
152
|
Object.defineProperty(exports, "ValueItem", {
|
|
141
153
|
enumerable: true,
|
|
142
154
|
get: function get() {
|
|
143
155
|
return _ValueItem.default;
|
|
144
156
|
}
|
|
145
157
|
});
|
|
146
|
-
require("./AMap");
|
|
158
|
+
var _AMap = _interopRequireDefault(require("./AMap"));
|
|
147
159
|
var _BadgeStatus = _interopRequireDefault(require("./BadgeStatus"));
|
|
148
160
|
var _CardSelect = _interopRequireDefault(require("./CardSelect"));
|
|
149
161
|
var _CheckButton = _interopRequireDefault(require("./CheckButton"));
|
|
@@ -165,5 +177,6 @@ var _DragModal = _interopRequireDefault(require("./DragModal"));
|
|
|
165
177
|
var _EditTable = _interopRequireDefault(require("./EditTable"));
|
|
166
178
|
var _Markdown = _interopRequireDefault(require("./Markdown"));
|
|
167
179
|
var _AutoComplete = _interopRequireDefault(require("./AutoComplete"));
|
|
180
|
+
var _Title = _interopRequireDefault(require("./Title"));
|
|
168
181
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
169
182
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
package/lib/locale/en-US.js
CHANGED
package/lib/locale/zh-CN.js
CHANGED
package/lib/style/index.css
CHANGED
|
@@ -4793,6 +4793,7 @@ span.ant-radio + * {
|
|
|
4793
4793
|
.jetlinks-drag-modal .jetlinks-drag-modal-sprite .jetlinks-drag-modal-footer {
|
|
4794
4794
|
border-top: 1px solid #f0f0f0;
|
|
4795
4795
|
padding: 5px 15px;
|
|
4796
|
+
text-align: right;
|
|
4796
4797
|
}
|
|
4797
4798
|
.jetlinks-drag-modal .jetlinks-drag-modal-range {
|
|
4798
4799
|
position: absolute;
|
|
@@ -4898,7 +4899,7 @@ span.ant-radio + * {
|
|
|
4898
4899
|
padding: 0 12px;
|
|
4899
4900
|
position: relative;
|
|
4900
4901
|
}
|
|
4901
|
-
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .
|
|
4902
|
+
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .readonly-mask {
|
|
4902
4903
|
position: absolute;
|
|
4903
4904
|
top: 0;
|
|
4904
4905
|
left: 0;
|
|
@@ -5137,3 +5138,42 @@ span.ant-radio + * {
|
|
|
5137
5138
|
.j-scrollbar-fade-leave-active {
|
|
5138
5139
|
opacity: 0;
|
|
5139
5140
|
}
|
|
5141
|
+
.j-title {
|
|
5142
|
+
display: flex;
|
|
5143
|
+
align-items: center;
|
|
5144
|
+
width: 100%;
|
|
5145
|
+
margin-bottom: 16px;
|
|
5146
|
+
}
|
|
5147
|
+
.j-title .j-title-content {
|
|
5148
|
+
position: relative;
|
|
5149
|
+
padding-left: 10px;
|
|
5150
|
+
color: rgba(0, 0, 0, 0.8);
|
|
5151
|
+
font-weight: 600;
|
|
5152
|
+
line-height: 1;
|
|
5153
|
+
}
|
|
5154
|
+
.j-title .j-title-content::before {
|
|
5155
|
+
position: absolute;
|
|
5156
|
+
top: 0;
|
|
5157
|
+
left: 0;
|
|
5158
|
+
width: 4px;
|
|
5159
|
+
height: 100%;
|
|
5160
|
+
background-color: #1890ff;
|
|
5161
|
+
border-radius: 0 3px 3px 0;
|
|
5162
|
+
content: ' ';
|
|
5163
|
+
}
|
|
5164
|
+
.j-radio-button {
|
|
5165
|
+
display: grid;
|
|
5166
|
+
gap: 16px;
|
|
5167
|
+
}
|
|
5168
|
+
.j-radio-button .j-radio-button-item {
|
|
5169
|
+
padding: 6px 12px;
|
|
5170
|
+
text-align: center;
|
|
5171
|
+
height: 100%;
|
|
5172
|
+
border-radius: 2px;
|
|
5173
|
+
background-color: #f5f5f5;
|
|
5174
|
+
cursor: pointer;
|
|
5175
|
+
}
|
|
5176
|
+
.j-radio-button .j-radio-button-item.active {
|
|
5177
|
+
color: #fff;
|
|
5178
|
+
background-color: #1890ff;
|
|
5179
|
+
}
|
package/lib/style/index.less
CHANGED
package/lib/style.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"webpack-merge": "^5.0.0",
|
|
158
158
|
"webpackbar": "^5.0.2",
|
|
159
159
|
"@jetlinks-web/constants": "^1.0.9",
|
|
160
|
-
"@jetlinks-web/hooks": "^1.0.
|
|
160
|
+
"@jetlinks-web/hooks": "^1.0.25",
|
|
161
161
|
"@jetlinks-web/utils": "^1.2.8"
|
|
162
162
|
},
|
|
163
163
|
"publishConfig": {
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
@import '../../style/variable.less';
|
|
2
|
-
@import 'ant-design-vue/es/pagination/style/index.less';
|
|
3
|
-
@import 'ant-design-vue/es/table/style/index.less';
|
|
4
|
-
@import 'ant-design-vue/es/button/style/index.less';
|
|
5
|
-
@import 'ant-design-vue/es/alert/style/index.less';
|
|
6
|
-
@import 'ant-design-vue/es/radio/style/index.less';
|
|
7
|
-
@import 'ant-design-vue/es/spin/style/index.less';
|
|
8
|
-
|
|
9
|
-
.jtable-body-spin {
|
|
10
|
-
height: 100%;
|
|
11
|
-
width: 100%;
|
|
12
|
-
background-color: #fff;
|
|
13
|
-
|
|
14
|
-
.ant-spin-nested-loading {
|
|
15
|
-
height: 100%;
|
|
16
|
-
|
|
17
|
-
.ant-spin-container {
|
|
18
|
-
height: 100%;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.jtable-body {
|
|
23
|
-
width: 100%;
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
height: 100%;
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.jtable-body-header {
|
|
32
|
-
display: flex;
|
|
33
|
-
justify-content: space-between;
|
|
34
|
-
align-items: center;
|
|
35
|
-
margin-bottom: 16px;
|
|
36
|
-
width: 100%;
|
|
37
|
-
gap: 8px;
|
|
38
|
-
|
|
39
|
-
.jtable-body-header-left {
|
|
40
|
-
flex: 1;
|
|
41
|
-
min-width: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.jtable-body-header-right {
|
|
45
|
-
display: flex;
|
|
46
|
-
gap: 8px;
|
|
47
|
-
align-items: center;
|
|
48
|
-
|
|
49
|
-
.jtable-body-header-right-button {
|
|
50
|
-
width: 62px;
|
|
51
|
-
|
|
52
|
-
.right-button-icon {
|
|
53
|
-
font-size: 16px;
|
|
54
|
-
color: #d9d9d9;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.ant-radio-button-wrapper {
|
|
58
|
-
padding: 0 8px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
:deep(.ant-radio-button-wrapper-checked) {
|
|
62
|
-
color: @primary-color;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.jtable-box {
|
|
69
|
-
flex: 1;
|
|
70
|
-
min-height: 0;
|
|
71
|
-
|
|
72
|
-
.jtable-card {
|
|
73
|
-
height: 100%;
|
|
74
|
-
overflow-y: auto;
|
|
75
|
-
|
|
76
|
-
.jtable-card-items {
|
|
77
|
-
display: grid;
|
|
78
|
-
grid-gap: 26px;
|
|
79
|
-
|
|
80
|
-
.jtable-card-item {
|
|
81
|
-
display: flex;
|
|
82
|
-
min-width: 0;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.j-table-empty {
|
|
87
|
-
margin-top: 100px;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.ant-table-wrapper {
|
|
92
|
-
height: 100%;
|
|
93
|
-
.ant-table {
|
|
94
|
-
height: 100%;
|
|
95
|
-
|
|
96
|
-
.ant-table-container {
|
|
97
|
-
height: 100%;
|
|
98
|
-
|
|
99
|
-
.ant-table-content {
|
|
100
|
-
height: 100%;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.j-table-scroll {
|
|
107
|
-
|
|
108
|
-
.ant-table-container {
|
|
109
|
-
display: flex;
|
|
110
|
-
flex-direction: column;
|
|
111
|
-
|
|
112
|
-
.ant-table-body {
|
|
113
|
-
flex: 1;
|
|
114
|
-
min-height: 0;
|
|
115
|
-
overflow-y: auto;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.jtable-alert {
|
|
122
|
-
margin-bottom: 16px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.jtable-pagination {
|
|
126
|
-
width: 100%;
|
|
127
|
-
display: flex;
|
|
128
|
-
justify-content: flex-end;
|
|
129
|
-
margin-top: 16px;
|
|
130
|
-
|
|
131
|
-
.hide-content {
|
|
132
|
-
.@{ant-prefix}-pagination-item,
|
|
133
|
-
& .@{ant-prefix}-pagination-jump-prev,
|
|
134
|
-
& .@{ant-prefix}-pagination-jump-next {
|
|
135
|
-
display: none;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
.j-scrollbar {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
position: relative;
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
.j-scrollbar__wrap {
|
|
7
|
-
overflow: auto;
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
.j-scrollbar__wrap--hidden-default {
|
|
11
|
-
scrollbar-width: none;
|
|
12
|
-
}
|
|
13
|
-
.j-scrollbar__wrap--hidden-default::-webkit-scrollbar {
|
|
14
|
-
display: none;
|
|
15
|
-
}
|
|
16
|
-
.j-scrollbar__thumb {
|
|
17
|
-
position: relative;
|
|
18
|
-
display: block;
|
|
19
|
-
width: 0;
|
|
20
|
-
height: 0;
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
border-radius: inherit;
|
|
23
|
-
background-color: #909399;
|
|
24
|
-
transition: 0.3s background-color;
|
|
25
|
-
opacity: 0.3;
|
|
26
|
-
}
|
|
27
|
-
.j-scrollbar__thumb:hover {
|
|
28
|
-
background-color: #909399;
|
|
29
|
-
opacity: 0.5;
|
|
30
|
-
}
|
|
31
|
-
.j-scrollbar__bar {
|
|
32
|
-
position: absolute;
|
|
33
|
-
right: 2px;
|
|
34
|
-
bottom: 2px;
|
|
35
|
-
z-index: 1;
|
|
36
|
-
border-radius: 4px;
|
|
37
|
-
}
|
|
38
|
-
.j-scrollbar__bar--vertical {
|
|
39
|
-
width: 6px;
|
|
40
|
-
top: 2px;
|
|
41
|
-
}
|
|
42
|
-
.j-scrollbar__bar--vertical > div {
|
|
43
|
-
width: 100%;
|
|
44
|
-
}
|
|
45
|
-
.j-scrollbar__bar--horizontal {
|
|
46
|
-
height: 6px;
|
|
47
|
-
left: 2px;
|
|
48
|
-
}
|
|
49
|
-
.j-scrollbar__bar--horizontal > div {
|
|
50
|
-
height: 100%;
|
|
51
|
-
}
|
|
52
|
-
.j-scrollbar-fade-enter-active {
|
|
53
|
-
transition: opacity 340ms ease-out;
|
|
54
|
-
}
|
|
55
|
-
.j-scrollbar-fade-leave-active {
|
|
56
|
-
transition: opacity 120ms ease-out;
|
|
57
|
-
}
|
|
58
|
-
.j-scrollbar-fade-enter-from,
|
|
59
|
-
.j-scrollbar-fade-leave-active {
|
|
60
|
-
opacity: 0;
|
|
61
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
@scrollbar-bg-color: #909399;
|
|
2
|
-
@scrollbar-hover-bg-color: #909399;
|
|
3
|
-
@scrollbar-hover-opacity: 0.5;
|
|
4
|
-
@scrollbar-opacity: 0.3;
|
|
5
|
-
@transition-duration: 0.3s;
|
|
6
|
-
|
|
7
|
-
.j-scrollbar {
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
position: relative;
|
|
10
|
-
height: 100%;
|
|
11
|
-
|
|
12
|
-
&__wrap {
|
|
13
|
-
overflow: auto;
|
|
14
|
-
height: 100%;
|
|
15
|
-
|
|
16
|
-
&--hidden-default {
|
|
17
|
-
scrollbar-width: none;
|
|
18
|
-
|
|
19
|
-
&::-webkit-scrollbar {
|
|
20
|
-
display: none;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__thumb {
|
|
26
|
-
position: relative;
|
|
27
|
-
display: block;
|
|
28
|
-
width: 0;
|
|
29
|
-
height: 0;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
border-radius: inherit;
|
|
32
|
-
background-color: @scrollbar-bg-color;
|
|
33
|
-
transition: @transition-duration background-color;
|
|
34
|
-
opacity: @scrollbar-opacity;
|
|
35
|
-
|
|
36
|
-
&:hover {
|
|
37
|
-
background-color: @scrollbar-hover-bg-color;
|
|
38
|
-
opacity: @scrollbar-hover-opacity;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&__bar {
|
|
43
|
-
position: absolute;
|
|
44
|
-
right: 2px;
|
|
45
|
-
bottom: 2px;
|
|
46
|
-
z-index: 1;
|
|
47
|
-
border-radius: 4px;
|
|
48
|
-
|
|
49
|
-
&--vertical {
|
|
50
|
-
width: 6px;
|
|
51
|
-
top: 2px;
|
|
52
|
-
|
|
53
|
-
> div {
|
|
54
|
-
width: 100%;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&--horizontal {
|
|
59
|
-
height: 6px;
|
|
60
|
-
left: 2px;
|
|
61
|
-
|
|
62
|
-
> div {
|
|
63
|
-
height: 100%;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.j-scrollbar-fade {
|
|
70
|
-
&-enter-active {
|
|
71
|
-
transition: opacity 340ms ease-out;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&-leave-active {
|
|
75
|
-
transition: opacity 120ms ease-out;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&-enter-from,
|
|
79
|
-
&-leave-active {
|
|
80
|
-
opacity: 0;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,179 +0,0 @@
|
|
|
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
|
-
}
|