hbte-saas-ui 0.0.1

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.
Files changed (137) hide show
  1. package/.browserslistrc +3 -0
  2. package/.editorconfig +7 -0
  3. package/.env.development +1 -0
  4. package/.env.lib +1 -0
  5. package/.eslintrc.js +14 -0
  6. package/.prettierrc +3 -0
  7. package/README.md +53 -0
  8. package/babel.config.js +3 -0
  9. package/docs/.vuepress/config.js +23 -0
  10. package/docs/.vuepress/styles/index.styl +4 -0
  11. package/docs/AdvQuery.md +26 -0
  12. package/docs/CustomQuery.md +21 -0
  13. package/docs/EditArea.md +16 -0
  14. package/docs/FilterDrop.md +29 -0
  15. package/docs/FullTable.md +68 -0
  16. package/docs/Pagination.md +22 -0
  17. package/docs/QueryForm.md +27 -0
  18. package/docs/README.md +17 -0
  19. package/docs/Table.md +58 -0
  20. package/docs/ToolGroup.md +32 -0
  21. package/examples/App.vue +97 -0
  22. package/examples/image/hb-image-viewer/3k.jpg +0 -0
  23. package/examples/image/hb-image-viewer/a.jpg +0 -0
  24. package/examples/image/hb-image-viewer/b.jpg +0 -0
  25. package/examples/main.js +39 -0
  26. package/examples/mock/authority.js +1108 -0
  27. package/examples/mock/dept.js +4001 -0
  28. package/examples/mock/fulltable.js +407 -0
  29. package/examples/mock/organizeData.js +18965 -0
  30. package/examples/router/index.js +111 -0
  31. package/examples/views/ElementCpTest.vue +299 -0
  32. package/examples/views/Fragment.vue +196 -0
  33. package/examples/views/HBAdvQuery.vue +150 -0
  34. package/examples/views/HBAuthority.vue +339 -0
  35. package/examples/views/HBDialog.vue +39 -0
  36. package/examples/views/HBEditarea.vue +350 -0
  37. package/examples/views/HBFilterDrop.vue +72 -0
  38. package/examples/views/HBFloatFooter.vue +42 -0
  39. package/examples/views/HBFullTable.vue +751 -0
  40. package/examples/views/HBImageViewer.vue +57 -0
  41. package/examples/views/HBNavMenu.vue +37 -0
  42. package/examples/views/HBOrganizeDialog.vue +133 -0
  43. package/examples/views/HBPagination.vue +80 -0
  44. package/examples/views/HBSelectVague.vue +57 -0
  45. package/examples/views/HBToolgroup.vue +29 -0
  46. package/examples/views/HBTopBar.vue +16 -0
  47. package/lib/demo.html +10 -0
  48. package/lib/fonts/iconfont.9e99af35.ttf +0 -0
  49. package/lib/hbte-ui.common.js +38291 -0
  50. package/lib/hbte-ui.css +1 -0
  51. package/lib/hbte-ui.umd.js +38301 -0
  52. package/lib/hbte-ui.umd.min.js +21 -0
  53. package/lib/img/nodata.f87d17c1.png +0 -0
  54. package/lib/img/user-logo--default.a53bd193.png +0 -0
  55. package/package.json +40 -0
  56. package/packages/adv-query/index.js +5 -0
  57. package/packages/adv-query/src/main.vue +294 -0
  58. package/packages/area-select/index.js +7 -0
  59. package/packages/area-select/src/main.vue +37 -0
  60. package/packages/authority/index.js +5 -0
  61. package/packages/authority/src/main.vue +606 -0
  62. package/packages/config.js +3 -0
  63. package/packages/custom-query/index.js +5 -0
  64. package/packages/custom-query/src/main.vue +80 -0
  65. package/packages/dialog/index.js +7 -0
  66. package/packages/dialog/src/main.vue +176 -0
  67. package/packages/edit-area/index.js +13 -0
  68. package/packages/edit-area/src/config.js +3 -0
  69. package/packages/edit-area/src/main.vue +304 -0
  70. package/packages/edit-area/src/simulateEvent.js +219 -0
  71. package/packages/filter-drop/index.js +6 -0
  72. package/packages/filter-drop/src/main.vue +107 -0
  73. package/packages/float-footer/index.js +7 -0
  74. package/packages/float-footer/src/main.vue +40 -0
  75. package/packages/fragment/index.js +7 -0
  76. package/packages/fragment/src/main.vue +74 -0
  77. package/packages/fragment/src/old.vue +144 -0
  78. package/packages/full-table/index.js +6 -0
  79. package/packages/full-table/src/config.js +14 -0
  80. package/packages/full-table/src/main.vue +141 -0
  81. package/packages/image-viewer/index.js +8 -0
  82. package/packages/image-viewer/src/main.js +14 -0
  83. package/packages/image-viewer/src/main.vue +138 -0
  84. package/packages/image-viewer/src/svg/cancel.svg +2 -0
  85. package/packages/image-viewer/src/svg/delete.svg +2 -0
  86. package/packages/image-viewer/src/svg/download.svg +2 -0
  87. package/packages/image-viewer/src/svg/rotate.svg +77 -0
  88. package/packages/image-viewer/src/svg/scaledown.svg +71 -0
  89. package/packages/image-viewer/src/svg/scaleup.svg +72 -0
  90. package/packages/index.js +43 -0
  91. package/packages/nav-menu/index.js +7 -0
  92. package/packages/nav-menu/src/main.vue +277 -0
  93. package/packages/organize-dialog/index.js +5 -0
  94. package/packages/organize-dialog/src/main.vue +427 -0
  95. package/packages/pagination/index.js +6 -0
  96. package/packages/pagination/src/main.vue +145 -0
  97. package/packages/query-form/index.js +5 -0
  98. package/packages/query-form/src/main.vue +142 -0
  99. package/packages/select-vague/index.js +5 -0
  100. package/packages/select-vague/src/main.vue +80 -0
  101. package/packages/table/index.js +5 -0
  102. package/packages/table/src/main.vue +265 -0
  103. package/packages/theme-chalk/adv-query.scss +107 -0
  104. package/packages/theme-chalk/authority.scss +103 -0
  105. package/packages/theme-chalk/common/elementCover.scss +722 -0
  106. package/packages/theme-chalk/common/flex.scss +66 -0
  107. package/packages/theme-chalk/common/global.scss +147 -0
  108. package/packages/theme-chalk/common/reset.scss +92 -0
  109. package/packages/theme-chalk/common/var.scss +46 -0
  110. package/packages/theme-chalk/custom-query.scss +10 -0
  111. package/packages/theme-chalk/dialog.scss +9 -0
  112. package/packages/theme-chalk/edit-area.scss +119 -0
  113. package/packages/theme-chalk/filter-drop.scss +81 -0
  114. package/packages/theme-chalk/float-footer.scss +14 -0
  115. package/packages/theme-chalk/fonts/iconfont.ttf +0 -0
  116. package/packages/theme-chalk/fragment.scss +51 -0
  117. package/packages/theme-chalk/full-table.scss +40 -0
  118. package/packages/theme-chalk/icon.scss +96 -0
  119. package/packages/theme-chalk/image-viewer.scss +94 -0
  120. package/packages/theme-chalk/images/company-logo--default.png +0 -0
  121. package/packages/theme-chalk/images/nodata.png +0 -0
  122. package/packages/theme-chalk/images/user-logo--default.png +0 -0
  123. package/packages/theme-chalk/index.scss +21 -0
  124. package/packages/theme-chalk/nav-menu.scss +205 -0
  125. package/packages/theme-chalk/organize-dialog.scss +170 -0
  126. package/packages/theme-chalk/pagination.scss +91 -0
  127. package/packages/theme-chalk/select.scss +8 -0
  128. package/packages/theme-chalk/table.scss +102 -0
  129. package/packages/theme-chalk/tool-group.scss +105 -0
  130. package/packages/theme-chalk/top-bar.scss +195 -0
  131. package/packages/tool-group/index.js +13 -0
  132. package/packages/tool-group/src/config.js +40 -0
  133. package/packages/tool-group/src/main.vue +93 -0
  134. package/packages/top-bar/index.js +7 -0
  135. package/packages/top-bar/src/main.vue +280 -0
  136. package/public/index.html +20 -0
  137. package/vue.config.js +6 -0
@@ -0,0 +1,96 @@
1
+ @font-face {
2
+ font-family: "hbte-ui-font"; /* Project id 2073824 */
3
+ src: url("./fonts/iconfont.ttf?t=1653967282797") format("truetype");
4
+ }
5
+
6
+ [class*="hbui-"] {
7
+ font-family: "hbte-ui-font" !important;
8
+ font-size: 16px;
9
+ font-style: normal;
10
+ -webkit-font-smoothing: antialiased;
11
+ -moz-osx-font-smoothing: grayscale;
12
+ }
13
+
14
+ .hbui-bianji:before {
15
+ content: "\e6fd";
16
+ }
17
+
18
+ .hbui-bianji1:before {
19
+ content: "\e6e1";
20
+ }
21
+
22
+ .hbui-gaojichaxun:before {
23
+ content: "\e657";
24
+ }
25
+
26
+ .hbui-jianshao:before {
27
+ content: "\e6cb";
28
+ }
29
+
30
+ .hbui-zengjia:before {
31
+ content: "\e6cc";
32
+ }
33
+
34
+ .hbui-shanchu:before {
35
+ content: "\e6d5";
36
+ }
37
+
38
+ .hbui-shangchuan:before {
39
+ content: "\e6d6";
40
+ }
41
+
42
+ .hbui-daochu:before {
43
+ content: "\e6d8";
44
+ }
45
+
46
+ .hbui-daoru:before {
47
+ content: "\e6da";
48
+ }
49
+
50
+ .hbui-xiazai:before {
51
+ content: "\e6d7";
52
+ }
53
+
54
+ .hbui-piliangdaochu:before {
55
+ content: "\e6d9";
56
+ }
57
+
58
+ .hbui-chakan:before {
59
+ content: "\e6dc";
60
+ }
61
+
62
+ .hbui-sousuo:before {
63
+ content: "\e6dd";
64
+ }
65
+
66
+ .hbui-zhuxiao:before {
67
+ content: "\e6de";
68
+ }
69
+
70
+ .hbui-gengduo:before {
71
+ content: "\e6e3";
72
+ }
73
+
74
+ .hbui-dayin:before {
75
+ content: "\e6e4";
76
+ }
77
+
78
+ .hbui-shuaxin:before {
79
+ content: "\e6e5";
80
+ }
81
+
82
+ .hbui-shouqi:before {
83
+ content: "\e6ef";
84
+ }
85
+
86
+ .hbui-zhankai:before {
87
+ content: "\e6f0";
88
+ }
89
+
90
+ .hbui-quxiao:before {
91
+ content: "\e6c3";
92
+ }
93
+
94
+ .hbui-gengduo2:before {
95
+ content: "\e6e9";
96
+ }
@@ -0,0 +1,94 @@
1
+ @import "common/var.scss";
2
+ .hb-image-viewer {
3
+ position: absolute;
4
+ overflow: hidden;
5
+ top: 0;
6
+ padding: 0;
7
+ background: rgba($color: #000000, $alpha: 0.95);
8
+ width: 100vw;
9
+ height: 100vh;
10
+ z-index: 10000;
11
+ img {
12
+ object-fit: contain;
13
+ width: 100%;
14
+ height: 100%;
15
+ position: relative;
16
+ transition: transform 0.3s;
17
+ }
18
+ .tool {
19
+ position: absolute;
20
+ &.close {
21
+ width: 40px;
22
+ height: 40px;
23
+ top: 20px;
24
+ right: 20px;
25
+ font-size: 17px;
26
+ color: #fff;
27
+ line-height: 40px;
28
+ &:hover {
29
+ background: rgba($color: #ffffff, $alpha: 0.1);
30
+ }
31
+ }
32
+ &.size {
33
+ width: 70px;
34
+ height: 34px;
35
+ border-radius: 17px;
36
+ background: rgba($color: #000000, $alpha: 0.6);
37
+ color: #fff;
38
+ text-align: center;
39
+ line-height: 34px;
40
+ top: calc(50vh - 17px);
41
+ left: calc(50vw - 35px);
42
+ }
43
+ &.prev,
44
+ &.next {
45
+ width: 48px;
46
+ height: 48px;
47
+ background: rgba($color: #ffffff, $alpha: 0.2);
48
+ font-size: 18px;
49
+ color: #fff;
50
+ line-height: 48px;
51
+ top: calc(50vh - 24px);
52
+ &:hover {
53
+ background: rgba($color: #ffffff, $alpha: 0.4);
54
+ }
55
+ }
56
+ &.prev {
57
+ left: 26px;
58
+ }
59
+ &.next {
60
+ right: 26px;
61
+ }
62
+ }
63
+ .btn {
64
+ text-align: center;
65
+ border-radius: 50%;
66
+ color: #fff;
67
+ cursor: pointer;
68
+ }
69
+ .btn-wrapper {
70
+ width: 100vw;
71
+ height: 60px;
72
+ line-height: 60px;
73
+ background: linear-gradient(
74
+ 0deg,
75
+ rgba(28, 28, 28, 0.4) 0%,
76
+ rgba(28, 28, 28, 0) 100%
77
+ );
78
+ bottom: 0;
79
+ left: 0;
80
+ color: #fff;
81
+ display: flex;
82
+ justify-content: center;
83
+ .btn {
84
+ width: 36px;
85
+ height: 36px;
86
+ margin: 14px;
87
+ font-size: 22px;
88
+ &:hover {
89
+ background: #666666;
90
+ }
91
+ line-height: 36px;
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,21 @@
1
+ @import "./common/reset.scss";
2
+ @import "./common/elementCover.scss";
3
+ // @import "./common/global.scss";
4
+ @import "adv-query.scss";
5
+ @import "custom-query.scss";
6
+ @import "dialog.scss";
7
+ @import "fragment.scss";
8
+ @import "full-table.scss";
9
+ @import "filter-drop.scss";
10
+ @import "pagination.scss";
11
+ @import "icon.scss";
12
+ @import "edit-area.scss";
13
+ @import "nav-menu.scss";
14
+ @import "table.scss";
15
+ @import "tool-group.scss";
16
+ @import "top-bar.scss";
17
+ @import "organize-dialog.scss";
18
+ @import "authority.scss";
19
+ @import "float-footer.scss";
20
+ @import "select.scss";
21
+ @import "image-viewer.scss";
@@ -0,0 +1,205 @@
1
+ @import "common/var.scss";
2
+ .hb-navmenu {
3
+ height: calc(100vh - 60px);
4
+ width: 70px;
5
+ background-color: #2878ff;
6
+ position: relative;
7
+ &--open {
8
+ width: calc(70px + 179px);
9
+ }
10
+ &--transition {
11
+ transition: 0.2s width ease-out;
12
+ }
13
+ &--collapse {
14
+ animation: collapseOpen 0.2s;
15
+ }
16
+ &--collapse-closed {
17
+ transition: all 0 ease;
18
+ animation: collapseOpen 0.2s;
19
+ }
20
+ &-main {
21
+ // 没用上
22
+ // &-logo {
23
+ // width: 40px;
24
+ // height: 40px;
25
+ // opacity: 0.8;
26
+ // margin: 12px 0 14px 15px;
27
+ // }
28
+ height: 100%;
29
+ overflow-y: auto;
30
+ box-sizing: border-box;
31
+ &::-webkit-scrollbar {
32
+ display: none;
33
+ }
34
+ &__explain {
35
+ color: #fff;
36
+ max-width: 50px;
37
+ font-size: 12px;
38
+ opacity: 1;
39
+ }
40
+ &__item {
41
+ width: 60px;
42
+ height: 72px;
43
+ margin-bottom: 10px;
44
+ margin-left: 5px;
45
+ text-align: center;
46
+ border-radius: 6px;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ flex-direction: column;
51
+ cursor: pointer;
52
+ &:hover {
53
+ background: rgba(255, 255, 255, 0.2);
54
+ .hb-navmenu-main__explain {
55
+ opacity: 1;
56
+ }
57
+ }
58
+ .hb-navmenu-main__explain {
59
+ opacity: 0.8;
60
+ }
61
+ // transition: all 0.1 ease;
62
+ > i {
63
+ font-size: 20px;
64
+ color: #fff;
65
+ margin-bottom: 8px;
66
+ transition: all 0.4s ease-out;
67
+ }
68
+ > p {
69
+ transition: opacity 0.4s ease-out;
70
+ }
71
+ &--isactive {
72
+ background: rgba(255, 255, 255, 0.2);
73
+ .hb-navmenu-main__explain {
74
+ transition: opacity 0.4s ease-out;
75
+ opacity: 1;
76
+ }
77
+ }
78
+ &--isactive > &__explain {
79
+ opacity: 1;
80
+ }
81
+ }
82
+ }
83
+
84
+ &-sub {
85
+ width: 179px;
86
+ height: 100%;
87
+ position: absolute;
88
+ z-index: 100;
89
+ left: 70px;
90
+ top: 0;
91
+ background-color: #ffffff;
92
+ border-right: 1px solid #f3f3f3;
93
+ border-top: 10px solid transparent;
94
+ box-sizing: border-box;
95
+ &-bar {
96
+ background-color: #f7f8fb;
97
+ width: 179px;
98
+ height: 10px;
99
+ }
100
+ &--closed {
101
+ width: 0;
102
+ }
103
+
104
+ &--transition {
105
+ transition: 0.2s width ease-out;
106
+ }
107
+
108
+ &-hide {
109
+ width: 100%;
110
+ height: 100%;
111
+ overflow-y: auto;
112
+ box-sizing: border-box;
113
+ &::-webkit-scrollbar {
114
+ display: none;
115
+ }
116
+ }
117
+
118
+ &-item {
119
+ cursor: pointer;
120
+ white-space: nowrap;
121
+ overflow: hidden;
122
+ text-overflow: ellipsis;
123
+ padding: 14px 16px 14px 0;
124
+ font-size: 13px;
125
+ font-weight: 400;
126
+ color: #444444;
127
+
128
+ i {
129
+ margin-left: 16px;
130
+ margin-right: 10px;
131
+ }
132
+
133
+ &:hover {
134
+ background: #eef4ff;
135
+ color: #488af8;
136
+ }
137
+ }
138
+ &-content {
139
+ width: 179px;
140
+
141
+ &--active {
142
+ background: #eef4ff;
143
+ color: #488af8;
144
+ }
145
+
146
+ &__title {
147
+ white-space: nowrap;
148
+ overflow: hidden;
149
+ text-overflow: ellipsis;
150
+ font-size: 14px;
151
+ font-weight: 400;
152
+ color: #222;
153
+ margin-left: 16px;
154
+ // padding: 22px 16px 14px;
155
+ background: #fff;
156
+ padding: 14px 16px 14px 0;
157
+
158
+ &:hover {
159
+ background: #fff;
160
+ color: #444444;
161
+ }
162
+ }
163
+ }
164
+ }
165
+ &-sub > &--collapse {
166
+ color: #dcdcdc;
167
+ font-size: 63px;
168
+ position: absolute;
169
+ top: 50%;
170
+ transform: translateY(-50%);
171
+ right: -1px;
172
+ width: 20px;
173
+ height: 64px;
174
+ cursor: pointer;
175
+ display: flex;
176
+ justify-content: center;
177
+ align-items: center;
178
+ overflow: hidden;
179
+ }
180
+ &-sub > &--collapse-closed {
181
+ color: #dcdcdc;
182
+ font-size: 63px;
183
+ position: absolute;
184
+ top: 50%;
185
+ transform: translateY(-50%);
186
+ left: -1px;
187
+ width: 20px;
188
+ height: 64px;
189
+ cursor: pointer;
190
+ display: flex;
191
+ justify-content: center;
192
+ align-items: center;
193
+ overflow: hidden;
194
+ }
195
+ }
196
+
197
+ @keyframes collapseOpen {
198
+ 0% {
199
+ opacity: 0;
200
+ }
201
+
202
+ 100% {
203
+ opacity: 1;
204
+ }
205
+ }
@@ -0,0 +1,170 @@
1
+ @import "common/var.scss";
2
+ .hb-organizedialog__loading {
3
+ height: 536px;
4
+ }
5
+ .hb-organizedialog {
6
+ &__wrapper {
7
+ height: 536px;
8
+ overflow: hidden;
9
+ display: flex;
10
+ .hb-organizedialog__part {
11
+ width: 50%;
12
+ }
13
+ .hb-organizedialog__choosed {
14
+ border-right: 1px solid #f2f2f2;
15
+ padding-right: 10px;
16
+ position: relative;
17
+ &-wrapper {
18
+ max-height: 300px;
19
+ overflow-y: auto;
20
+ .hb-organizedialog__choosed-list {
21
+ display: flex;
22
+ flex-wrap: wrap;
23
+ .item {
24
+ box-sizing: border-box;
25
+ height: 26px;
26
+ line-height: 26px;
27
+ border-radius: 4px;
28
+ background: #f1f1f2;
29
+ margin-right: 6px;
30
+ margin-bottom: 6px;
31
+ font-size: $listFontSize;
32
+ color: $subColor;
33
+ padding: 0 8px;
34
+ i {
35
+ margin-left: 10px;
36
+ padding: 8px 10px;
37
+ padding-right: 0px;
38
+ cursor: pointer;
39
+ }
40
+ }
41
+ &--origin.item {
42
+ background: none;
43
+ border: 1px dashed #ccc;
44
+ cursor: not-allowed;
45
+ &.allowed {
46
+ cursor: auto;
47
+ }
48
+ }
49
+ }
50
+ }
51
+ .hb-organizedialog__search {
52
+ margin: 10px 0;
53
+ margin-right: 10px;
54
+ .el-input {
55
+ display: block;
56
+ }
57
+ .el-dropdown {
58
+ display: block;
59
+ }
60
+ }
61
+ .hb-organizedialog__foot {
62
+ width: calc(100% - 20px);
63
+ text-align: center;
64
+ position: absolute;
65
+ bottom: 0;
66
+ left: 0;
67
+ }
68
+ }
69
+ .hb-organizedialog__tree {
70
+ padding-left: 20px;
71
+ &-company {
72
+ color: $mainColor;
73
+ font-size: $articleFontSize;
74
+ margin-bottom: 16px;
75
+ }
76
+ }
77
+ .hb-organizedialog__nav {
78
+ display: flex;
79
+ flex-wrap: wrap;
80
+ color: $subColor2;
81
+ font-size: $articleFontSize;
82
+ line-height: 18px;
83
+ margin-bottom: 15px;
84
+ &-item {
85
+ cursor: pointer;
86
+ &:not(:last-child):after {
87
+ content: " / ";
88
+ display: inline-block;
89
+ padding: 0 5px;
90
+ }
91
+ &.not-allow {
92
+ color: $subColor3;
93
+ cursor: not-allowed;
94
+ pointer-events: none;
95
+ }
96
+ }
97
+ }
98
+ .hb-organizedialog__tree-wrapper {
99
+ overflow-y: auto;
100
+ height: 465px;
101
+ .hb-organizedialog__tree-item {
102
+ display: flex;
103
+ justify-content: space-between;
104
+ line-height: 24px;
105
+ margin-top: 16px;
106
+ padding-right: 20px;
107
+ .avatar {
108
+ width: 23px;
109
+ height: 23px;
110
+ margin-right: 10px;
111
+ border-radius: 50%;
112
+ }
113
+ .subordinate-btn {
114
+ cursor: pointer;
115
+ border: none;
116
+ background: none;
117
+ color: $subColor2;
118
+ font-size: $articleFontSize;
119
+ &.not-allow {
120
+ color: $disableColor;
121
+ cursor: not-allowed;
122
+ &:hover {
123
+ color: $disableColor;
124
+ }
125
+ }
126
+ &:hover {
127
+ color: $subColor2;
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+
135
+ //非全局dropdown下拉框样式
136
+ body .hb-organizedialog__organization {
137
+ width: 305px;
138
+ max-height: 180px;
139
+ overflow-y: auto;
140
+ li {
141
+ height: 36px;
142
+ i {
143
+ color: #488af8;
144
+ font-style: normal;
145
+ margin: 0;
146
+ }
147
+ img.avatar {
148
+ margin-right: 10px;
149
+ width: 23px;
150
+ height: 23px;
151
+ border-radius: 50%;
152
+ }
153
+ span {
154
+ color: $subColor2;
155
+ font-size: $articleFontSize;
156
+ display: inline-block;
157
+ max-width: 224px;
158
+ overflow: hidden;
159
+ text-overflow: ellipsis;
160
+ white-space: nowrap;
161
+ }
162
+ &.is-disabled {
163
+ cursor: not-allowed;
164
+ span,
165
+ span > i {
166
+ color: $disableColor;
167
+ }
168
+ }
169
+ }
170
+ }
@@ -0,0 +1,91 @@
1
+ .hb-pagination {
2
+ height: 40px;
3
+ display: flex;
4
+ align-items: center;
5
+ padding: 0 5px;
6
+ justify-content: flex-end;
7
+ position: relative;
8
+ // 针对下拉icon进行控制
9
+ &__dropdown-icon {
10
+ display: block !important;
11
+ line-height: 22px !important;
12
+ }
13
+
14
+ // 调整elementUI样式
15
+ .el-pagination {
16
+ padding: 5px 0;
17
+
18
+ &.is-background {
19
+ .btn-prev,
20
+ .btn-next,
21
+ .btn-dropdown,
22
+ .el-pager li {
23
+ cursor: pointer;
24
+ width: 24px;
25
+ height: 22px;
26
+ line-height: 22px;
27
+ min-width: 22px;
28
+ border: 1px solid #dbdbdb;
29
+ border-radius: 2px;
30
+ background-color: #f4f4f5;
31
+ }
32
+ .el-pagination__total {
33
+ position: absolute;
34
+ left: 18px;
35
+ color: #222222;
36
+ top: 8px;
37
+ }
38
+ }
39
+ }
40
+
41
+ .el-pagination__total {
42
+ height: 24px !important;
43
+ line-height: 24px !important;
44
+ }
45
+
46
+ .el-pagination__sizes {
47
+ height: 24px !important;
48
+ line-height: 24px !important;
49
+
50
+ .el-input--suffix {
51
+ width: 80px !important;
52
+
53
+ .el-input__inner {
54
+ width: 80px !important;
55
+ height: 24px !important;
56
+ line-height: 24px !important;
57
+ border-radius: 2px;
58
+ }
59
+ }
60
+ }
61
+ // slot
62
+ &-slot {
63
+ display: inline-block;
64
+ height: 24px;
65
+
66
+ &_text {
67
+ height: 24px !important;
68
+ line-height: 24px !important;
69
+ text-align: center;
70
+ min-width: 24px !important;
71
+ }
72
+ &_input {
73
+ width: 45px !important;
74
+
75
+ .el-input__inner {
76
+ width: 40px !important;
77
+ height: 24px !important;
78
+ border-radius: 2px;
79
+ }
80
+ }
81
+
82
+ &_text {
83
+ font-weight: 400;
84
+ font-size: 12px;
85
+ color: #222222;
86
+ min-width: 20px;
87
+ height: 24px;
88
+ line-height: 24px;
89
+ }
90
+ }
91
+ }
@@ -0,0 +1,8 @@
1
+ @import "common/var.scss";
2
+
3
+ .hb-select {
4
+ }
5
+
6
+ .high-light {
7
+ color: $primaryBg;
8
+ }