yahee-components 0.0.18 → 0.0.20

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 (212) hide show
  1. package/es/_virtual/dayjs.min.js +4 -0
  2. package/es/annex-upload/annex-upload.vue.js +158 -0
  3. package/es/annex-upload/annex-upload.vue2.js +4 -0
  4. package/es/annex-upload/index.js +7 -0
  5. package/es/annex-upload/mimeType.js +822 -0
  6. package/es/annex-upload/style/index.css +7 -0
  7. package/es/api/server.js +29 -0
  8. package/es/api/tool.js +68 -0
  9. package/es/comprehensive-search/comprehensive-search.vue.js +165 -122
  10. package/es/copy/copy.vue.js +1 -1
  11. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +218 -0
  12. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +4 -0
  13. package/es/country-platform-shop-condition/index.js +7 -0
  14. package/es/country-platform-shop-condition/style/index.css +48 -0
  15. package/es/drop-down-condition/drop-down-condition.vue.js +216 -0
  16. package/es/drop-down-condition/drop-down-condition.vue2.js +4 -0
  17. package/es/drop-down-condition/index.js +7 -0
  18. package/es/drop-down-condition/style/index.css +45 -0
  19. package/es/image-upload/image-upload.vue.js +177 -0
  20. package/es/image-upload/image-upload.vue2.js +4 -0
  21. package/es/image-upload/index.js +7 -0
  22. package/es/image-upload/style/index.css +33 -0
  23. package/es/index.js +26 -7
  24. package/es/installs.js +22 -4
  25. package/es/left-condition/index.js +7 -0
  26. package/es/left-condition/left-condition-sub.vue.js +95 -0
  27. package/es/left-condition/left-condition-sub.vue2.js +4 -0
  28. package/es/left-condition/left-condition.vue.js +216 -0
  29. package/es/left-condition/left-condition.vue2.js +4 -0
  30. package/es/left-condition/style/index.css +10 -0
  31. package/es/left-condition-enum/index.js +7 -0
  32. package/es/left-condition-enum/left-condition-enum.vue.js +80 -0
  33. package/es/left-condition-enum/left-condition-enum.vue2.js +4 -0
  34. package/es/left-condition-enum/style/index.css +10 -0
  35. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +38 -0
  36. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +53 -0
  37. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +141 -0
  38. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +71 -0
  39. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +46 -0
  40. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +77 -0
  41. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +11 -0
  42. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +6 -0
  43. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +133 -0
  44. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +54 -0
  45. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +173 -0
  46. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +58 -0
  47. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +8 -0
  48. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +31 -0
  49. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +70 -0
  50. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +14 -0
  51. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +13 -0
  52. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +89 -0
  53. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +8 -0
  54. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +4 -0
  55. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  56. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
  57. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +8 -0
  58. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +19 -0
  59. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +6 -0
  60. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +30 -0
  61. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +32 -0
  62. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +31 -0
  63. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
  64. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
  65. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
  66. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +4 -0
  67. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
  68. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  69. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +35 -0
  70. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +33 -0
  71. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +19 -0
  72. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +8 -0
  73. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +15 -0
  74. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +83 -0
  75. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  76. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +63 -0
  77. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +51 -0
  78. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  79. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  80. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  81. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +15 -0
  82. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +9 -0
  83. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +9 -0
  84. package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +233 -0
  85. package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +282 -0
  86. package/es/node_modules/{lodash → .pnpm/lodash@4.17.21/node_modules/lodash}/lodash.js +2 -2
  87. package/es/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +120 -0
  88. package/es/operation-log/index.js +7 -0
  89. package/es/operation-log/operation-log-content.vue.js +100 -0
  90. package/es/operation-log/operation-log-content.vue2.js +4 -0
  91. package/es/operation-log/operation-log-dialog.vue.js +70 -0
  92. package/es/operation-log/operation-log-dialog.vue2.js +4 -0
  93. package/es/operation-log/operation-log-form.vue.js +181 -0
  94. package/es/operation-log/operation-log-form.vue2.js +4 -0
  95. package/es/operation-log/operation-log.vue.js +232 -0
  96. package/es/operation-log/operation-log.vue2.js +4 -0
  97. package/es/operation-log/style/index.css +220 -0
  98. package/es/packages/components/api/log/index.js +15 -0
  99. package/es/packages/components/api/log-server.js +50 -0
  100. package/es/packages/components/api/server.js +32 -0
  101. package/es/packages/components/api/tool.js +56 -0
  102. package/es/packages/components/api/upload-server.js +65 -0
  103. package/es/packages/components/assets/images/errorimg.png.js +4 -0
  104. package/es/packages/components/assets/images/excel.png.js +4 -0
  105. package/es/packages/components/assets/images/file-word.png.js +4 -0
  106. package/es/packages/components/assets/images/pdf.png.js +4 -0
  107. package/es/packages/components/assets/images/ppt.png.js +4 -0
  108. package/es/packages/components/assets/images/vue.svg.js +4 -0
  109. package/es/packages/components/hooks/useClipboard.js +30 -0
  110. package/es/packages/components/hooks/useImg.js +15 -0
  111. package/es/packages/components/hooks/useImgPath.js +14 -0
  112. package/es/packages/components/hooks/useImport.js +33 -0
  113. package/es/packages/components/hooks/useUpload.js +24 -0
  114. package/es/static/CommonObject.js +4 -0
  115. package/es/style.css +946 -0
  116. package/es/styles/custom.css +83 -0
  117. package/es/styles/globals.css +697 -0
  118. package/es/styles/index.css +787 -0
  119. package/es/styles/variables.css +32 -0
  120. package/es/utils/config.js +19 -0
  121. package/es/utils/const.js +19 -0
  122. package/es/utils/storage.js +52 -0
  123. package/es/utils/style.js +28 -0
  124. package/es/utils/translate.js +57 -0
  125. package/lib/annex-upload/style/index.css +7 -0
  126. package/lib/country-platform-shop-condition/style/index.css +48 -0
  127. package/lib/drop-down-condition/style/index.css +45 -0
  128. package/lib/image-upload/style/index.css +33 -0
  129. package/lib/left-condition/style/index.css +10 -0
  130. package/lib/left-condition-enum/style/index.css +10 -0
  131. package/lib/operation-log/style/index.css +220 -0
  132. package/lib/style.css +946 -0
  133. package/lib/styles/custom.css +83 -0
  134. package/lib/styles/globals.css +697 -0
  135. package/lib/styles/index.css +787 -0
  136. package/lib/styles/variables.css +32 -0
  137. package/package.json +10 -4
  138. package/types/hooks/useClipboard.d.ts +7 -0
  139. package/types/hooks/useImg.d.ts +10 -0
  140. package/types/hooks/useImgPath.d.ts +5 -0
  141. package/types/hooks/useImport.d.ts +11 -0
  142. package/types/hooks/useUpload.d.ts +12 -0
  143. package/types/index.d.ts +6 -204
  144. package/types/src/annex-upload/annex-upload.d.ts +30 -0
  145. package/types/src/annex-upload/annex-upload.vue.d.ts +443 -0
  146. package/types/src/annex-upload/index.d.ts +123 -0
  147. package/types/src/annex-upload/mimeType.d.ts +2 -0
  148. package/types/src/api/server.d.ts +6 -0
  149. package/types/src/api/tool.d.ts +6 -0
  150. package/types/src/api/types.d.ts +17 -0
  151. package/types/src/components.d.ts +10 -0
  152. package/types/src/comprehensive-search/comprehensive-search.d.ts +12 -0
  153. package/types/src/comprehensive-search/comprehensive-search.vue.d.ts +52 -0
  154. package/types/src/copy/copy.d.ts +12 -0
  155. package/types/src/copy/copy.vue.d.ts +21 -0
  156. package/types/src/copy/index.d.ts +32 -0
  157. package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +17 -0
  158. package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +14 -0
  159. package/types/src/country-platform-shop-condition/index.d.ts +16 -0
  160. package/types/src/drop-down-condition/drop-down-condition.d.ts +6 -0
  161. package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +40 -0
  162. package/types/src/drop-down-condition/index.d.ts +42 -0
  163. package/types/src/image-upload/image-upload.d.ts +26 -0
  164. package/types/src/image-upload/image-upload.vue.d.ts +43 -0
  165. package/types/src/image-upload/index.d.ts +94 -0
  166. package/types/src/index.d.ts +7 -0
  167. package/types/src/input/index.d.ts +16 -0
  168. package/types/src/input/input.d.ts +18 -0
  169. package/types/src/input/input.vue.d.ts +14 -0
  170. package/types/src/left-condition/index.d.ts +69 -0
  171. package/types/src/left-condition/left-condition-sub.vue.d.ts +47 -0
  172. package/types/src/left-condition/left-condition.d.ts +5 -0
  173. package/types/src/left-condition/left-condition.vue.d.ts +68 -0
  174. package/types/src/left-condition-enum/index.d.ts +162 -0
  175. package/types/src/left-condition-enum/left-condition-enum.d.ts +5 -0
  176. package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +160 -0
  177. package/types/src/operation-log/index.d.ts +9 -0
  178. package/types/src/operation-log/operation-log-content.vue.d.ts +24 -0
  179. package/types/src/operation-log/operation-log-dialog.vue.d.ts +39 -0
  180. package/types/src/operation-log/operation-log-form.vue.d.ts +19 -0
  181. package/types/src/operation-log/operation-log.d.ts +11 -0
  182. package/types/src/operation-log/operation-log.vue.d.ts +6 -0
  183. package/types/src/static/CommonObject.d.ts +18 -0
  184. package/types/src/static/CommonVariables.d.ts +4 -0
  185. package/types/src/utils/config.d.ts +8 -0
  186. package/types/src/utils/const.d.ts +19 -0
  187. package/types/src/utils/functions.d.ts +1 -0
  188. package/types/src/utils/install.d.ts +8 -0
  189. package/types/src/utils/storage.d.ts +18 -0
  190. package/types/src/utils/style.d.ts +19 -0
  191. package/types/src/utils/to-kebab-case.d.ts +1 -0
  192. package/types/src/utils/translate.d.ts +5 -0
  193. package/types/src/utils/typescript.d.ts +5 -0
  194. package/es/hooks/useClipboard.js +0 -28
  195. package/lib/_virtual/_commonjsHelpers.js +0 -1
  196. package/lib/_virtual/lodash.js +0 -1
  197. package/lib/comprehensive-search/comprehensive-search.vue.js +0 -1
  198. package/lib/comprehensive-search/comprehensive-search.vue2.js +0 -1
  199. package/lib/comprehensive-search/index.js +0 -1
  200. package/lib/copy/copy.vue.js +0 -1
  201. package/lib/copy/copy.vue2.js +0 -1
  202. package/lib/copy/index.js +0 -1
  203. package/lib/hooks/useClipboard.js +0 -1
  204. package/lib/index.js +0 -1
  205. package/lib/input/index.js +0 -1
  206. package/lib/input/input.vue.js +0 -1
  207. package/lib/input/input.vue2.js +0 -1
  208. package/lib/installs.js +0 -1
  209. package/lib/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -1
  210. package/lib/node_modules/lodash/lodash.js +0 -27
  211. package/lib/utils/install.js +0 -1
  212. /package/es/node_modules/{element-plus → .pnpm/element-plus@2.8.3_vue@3.5.12_typescript@5.6.2_/node_modules/element-plus}/es/locale/lang/zh-cn.js +0 -0
package/lib/style.css CHANGED
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  .yahee-input .el-input {
2
3
  border: 1px solid red;
3
4
  }
@@ -36,4 +37,949 @@
36
37
  display: flex;
37
38
  justify-content: space-between;
38
39
  width: 83%;
40
+ }
41
+
42
+ .yahee-image-upload .el-upload {
43
+ height: 100%;
44
+ width: 100%;
45
+ border: 1px dashed #d9d9d9;
46
+ border-radius: 6px;
47
+ cursor: pointer;
48
+ position: relative;
49
+ overflow: hidden;
50
+ }
51
+ .yahee-image-upload .el-upload:hover {
52
+ border: 1px dashed blue;
53
+ }
54
+ .yahee-image-upload .picture {
55
+ width: 100%;
56
+ }
57
+ .yahee-image-upload .picture-uploader {
58
+ position: relative;
59
+ }
60
+ .yahee-image-upload .upload-actions {
61
+ position: absolute;
62
+ width: 100%;
63
+ height: 100%;
64
+ left: 0;
65
+ top: 0;
66
+ padding: 2px;
67
+ }
68
+ .yahee-image-upload .picture-uploader-icon {
69
+ height: 100%;
70
+ width: 100%;
71
+ font-size: 28px;
72
+ color: #8c939d;
73
+ text-align: center;
74
+ }
75
+
76
+ .yahee-annex-upload .el-upload .el-button {
77
+ --el-button-size: 24px;
78
+ border-radius: calc(var(--el-border-radius-base) - 1px);
79
+ font-size: 12px;
80
+ height: var(--el-button-size);
81
+ padding: 5px 11px;
82
+ }
83
+
84
+ .yahee-left-condition .custom-button + .custom-button {
85
+ margin-left: 5px;
86
+ margin-bottom: 5px;
87
+ position: relative;
88
+ top: 2px;
89
+ }
90
+ .yahee-left-condition .custom-button {
91
+ padding: 1px 4px;
92
+ height: 22px;
93
+ }
94
+
95
+ .yahee-left-condition :deep(.custom-button + .custom-button) {
96
+ margin-left: 5px;
97
+ margin-bottom: 5px;
98
+ position: relative;
99
+ top: 2px;
100
+ }
101
+ .yahee-left-condition :deep(.custom-button) {
102
+ padding: 1px 4px;
103
+ height: 22px;
104
+ }
105
+
106
+ .yahee-drop-down-condition {
107
+ /* 滚动槽 */
108
+ /* 滚动条滑块 */
109
+ }
110
+ .yahee-drop-down-condition .checkbox-group {
111
+ display: flex;
112
+ flex-direction: column;
113
+ }
114
+ .yahee-drop-down-condition .checkbox {
115
+ margin-top: 5px;
116
+ }
117
+ .yahee-drop-down-condition .custom-total-button {
118
+ margin-right: 0;
119
+ padding: 1px 4px;
120
+ height: 22px;
121
+ }
122
+ .yahee-drop-down-condition .custom-button {
123
+ margin-right: 0;
124
+ padding: 1px 4px;
125
+ min-height: 22px;
126
+ height: 22px;
127
+ margin-left: 5px;
128
+ }
129
+ .yahee-drop-down-condition .custom-button.inner-el-button {
130
+ margin-top: 5px;
131
+ }
132
+ .yahee-drop-down-condition .scrollable-container {
133
+ max-height: 700px;
134
+ overflow-y: auto;
135
+ display: flex;
136
+ flex-direction: column;
137
+ }
138
+ .yahee-drop-down-condition .scrollable-container::-webkit-scrollbar {
139
+ width: 5px;
140
+ }
141
+ .yahee-drop-down-condition .scrollable-container::-webkit-scrollbar-track {
142
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
143
+ border-radius: 10px;
144
+ }
145
+ .yahee-drop-down-condition .scrollable-container::-webkit-scrollbar-thumb {
146
+ border-radius: 10px;
147
+ background: rgba(0, 0, 0, 0.1);
148
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
149
+ }
150
+
151
+ .yahee-country-platform-shop-condition .popover-table {
152
+ width: auto;
153
+ border: 1px solid transparent;
154
+ border-collapse: separate;
155
+ }
156
+ .yahee-country-platform-shop-condition .popover-table tr,
157
+ .yahee-country-platform-shop-condition .popover-table td {
158
+ text-align: left;
159
+ cursor: pointer;
160
+ min-height: 22px;
161
+ }
162
+ .yahee-country-platform-shop-condition .checkbox-group {
163
+ margin: 5px;
164
+ width: 100%;
165
+ }
166
+ .yahee-country-platform-shop-condition .popover-table th {
167
+ text-align: left;
168
+ cursor: pointer;
169
+ min-height: 22px;
170
+ border: 1px solid transparent;
171
+ }
172
+ .yahee-country-platform-shop-condition .popover-table td span {
173
+ display: block;
174
+ margin-bottom: 4px;
175
+ border: 1px solid transparent;
176
+ }
177
+ .yahee-country-platform-shop-condition .hover-trigger {
178
+ cursor: pointer;
179
+ color: blue;
180
+ }
181
+ .yahee-country-platform-shop-condition .custom-total-button {
182
+ margin-right: 0;
183
+ padding: 1px 4px;
184
+ height: 22px;
185
+ }
186
+ .yahee-country-platform-shop-condition .custom-button {
187
+ width: 100%;
188
+ min-height: 22px;
189
+ min-width: 50px;
190
+ height: 22px;
191
+ margin: 3px;
192
+ }
193
+ .yahee-country-platform-shop-condition .custom-button.inner-el-button {
194
+ margin-top: 5px;
195
+ }
196
+ .yahee-country-platform-shop-condition ::v-deep(.el-checkbox-button__inner) {
197
+ width: 100%;
198
+ }
199
+
200
+ :root {
201
+ --el-color-primary: #3366cc;
202
+ --el-text-color-regular: #000;
203
+ --primary-color: #3d7eff;
204
+ --success-color: #28c445;
205
+ --error-color: #ff1e1e;
206
+ --warning-color: #ff8746;
207
+ --white-color: #fff;
208
+ --black-color: #000;
209
+ --text-color-primary: #252628;
210
+ --text-color-regular: #1c1c1c;
211
+ --text-color-secondary: #555;
212
+ --text-color-list: #323233;
213
+ --text-color-a4: #a4a4a4;
214
+ --text-color-tag: #737373;
215
+ --text-color-disabled: #eeeef5;
216
+ --border-color-base: #e8ecf2;
217
+ --border-color-light: #e4e7ed;
218
+ --border-color-lighter: #ebeef5;
219
+ --border-color-extra-light: #f2f6fc;
220
+ --bg-color: #f0f3f9;
221
+ --font-size-large: 18px;
222
+ --font-size-medium: 16px;
223
+ --font-size-base: 14px;
224
+ --font-size-small: 12px;
225
+ --font-size-extra-small: 10px;
226
+ --font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei",Verdana, arial,"Open Sans", sans-serif;
227
+ --integer-font-family: avenir-heavy, pingfang sc, helvetica neue, arial, sans-serif;
228
+ --box-shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
229
+ --el-menu-item-height: 40px;
230
+ --el-card-padding: 10px;
231
+ }
232
+
233
+ /* 文字样式 */
234
+ .fontsize-10 {
235
+ font-size: 10px;
236
+ }
237
+
238
+ .fontsize-12 {
239
+ font-size: 12px;
240
+ }
241
+
242
+ .fontsize-14 {
243
+ font-size: 14px;
244
+ }
245
+
246
+ .fontsize-16 {
247
+ font-size: 16px;
248
+ }
249
+
250
+ .fontsize-15 {
251
+ font-size: 15px;
252
+ }
253
+
254
+ .fontsize-18 {
255
+ font-size: 18px;
256
+ }
257
+
258
+ .fontsize-20 {
259
+ font-size: 20px;
260
+ }
261
+
262
+ .fontsize-24 {
263
+ font-size: 24px;
264
+ }
265
+
266
+ .fontsize-28 {
267
+ font-size: 28px;
268
+ }
269
+
270
+ .fontsize-32 {
271
+ font-size: 32px;
272
+ }
273
+
274
+ .fontBold {
275
+ font-weight: bold;
276
+ }
277
+
278
+ .text-center {
279
+ text-align: center;
280
+ }
281
+
282
+ .text-left {
283
+ text-align: left;
284
+ }
285
+
286
+ .text-right {
287
+ text-align: right;
288
+ }
289
+
290
+ .ellipsis {
291
+ overflow: hidden;
292
+ text-overflow: ellipsis;
293
+ white-space: nowrap;
294
+ }
295
+
296
+ .lineheight-1 {
297
+ line-height: 1;
298
+ }
299
+
300
+ .lineheight-16 {
301
+ line-height: 16px;
302
+ }
303
+
304
+ .lineheight-18 {
305
+ line-height: 18px;
306
+ }
307
+
308
+ .lineheight-24 {
309
+ line-height: 24px;
310
+ }
311
+
312
+ .lineheight-26 {
313
+ line-height: 26px;
314
+ }
315
+
316
+ .lineheight-28 {
317
+ line-height: 28px;
318
+ }
319
+
320
+ .lineheight-36 {
321
+ line-height: 36px;
322
+ }
323
+
324
+ .lineheight-normal {
325
+ line-height: 1.4;
326
+ }
327
+
328
+ .word-wrap {
329
+ word-wrap: break-word;
330
+ }
331
+
332
+ /* 颜色相关 */
333
+ .red {
334
+ color: #e24c4c;
335
+ }
336
+
337
+ .gray {
338
+ color: #999;
339
+ }
340
+
341
+ .blue {
342
+ color: #545dff;
343
+ }
344
+
345
+ .orange {
346
+ color: #f1a153;
347
+ }
348
+
349
+ .green {
350
+ color: #4ce2a7;
351
+ }
352
+
353
+ .white {
354
+ color: var(--white-color);
355
+ }
356
+
357
+ .black {
358
+ color: var(--black-color);
359
+ }
360
+
361
+ .primary {
362
+ color: var(--primary-color);
363
+ }
364
+
365
+ .error {
366
+ color: var(--error-color);
367
+ }
368
+
369
+ .success {
370
+ color: var(--success-color);
371
+ }
372
+
373
+ .bg-color {
374
+ background: var(--bg-color);
375
+ }
376
+
377
+ .bg-none {
378
+ background: none !important;
379
+ }
380
+
381
+ .bg-none * {
382
+ background: none !important;
383
+ }
384
+
385
+ .bg-transparent {
386
+ background: transparent;
387
+ }
388
+
389
+ .link {
390
+ color: var(--primary-color);
391
+ cursor: pointer;
392
+ }
393
+
394
+ /* 布局相关 */
395
+ .none {
396
+ display: none;
397
+ }
398
+
399
+ .inline-block {
400
+ display: inline-block;
401
+ }
402
+
403
+ .block {
404
+ display: block;
405
+ }
406
+
407
+ .table {
408
+ display: table;
409
+ }
410
+
411
+ .table-cell {
412
+ display: table-cell;
413
+ }
414
+
415
+ .vertical-align-middle {
416
+ vertical-align: middle;
417
+ }
418
+
419
+ .hidden {
420
+ overflow: hidden;
421
+ }
422
+
423
+ .clearfix::after {
424
+ content: ".";
425
+ display: block;
426
+ height: 0;
427
+ clear: both;
428
+ visibility: hidden;
429
+ }
430
+
431
+ .pull-left {
432
+ float: left;
433
+ }
434
+
435
+ .pull-right {
436
+ float: right;
437
+ }
438
+
439
+ .text-right {
440
+ text-align: right;
441
+ }
442
+
443
+ .absolute {
444
+ position: absolute;
445
+ }
446
+
447
+ .relative {
448
+ position: relative;
449
+ }
450
+
451
+ .fixed {
452
+ position: fixed;
453
+ }
454
+
455
+ .paddingL0 {
456
+ padding-left: 0;
457
+ }
458
+
459
+ .paddingR0 {
460
+ padding-right: 0;
461
+ }
462
+
463
+ .paddingB0 {
464
+ padding-bottom: 0;
465
+ }
466
+
467
+ .marginT0 {
468
+ margin-top: 0;
469
+ }
470
+
471
+ .marginL0 {
472
+ margin-left: 0;
473
+ }
474
+
475
+ .marginL10 {
476
+ margin-left: 10px;
477
+ }
478
+
479
+ .marginL4 {
480
+ margin-left: 4px;
481
+ }
482
+
483
+ .marginL6 {
484
+ margin-left: 6px;
485
+ }
486
+
487
+ .marginR6 {
488
+ margin-right: 6px;
489
+ }
490
+
491
+ .marginR4 {
492
+ margin-right: 4px;
493
+ }
494
+
495
+ .marginR0 {
496
+ margin-right: 0;
497
+ }
498
+
499
+ .marginB0 {
500
+ margin-bottom: 0;
501
+ }
502
+
503
+ .marginB6 {
504
+ margin-bottom: 6px;
505
+ }
506
+
507
+ .padding0 {
508
+ padding: 0;
509
+ }
510
+
511
+ .no-padding {
512
+ padding: 0 !important;
513
+ }
514
+
515
+ .margin0 {
516
+ margin: 0;
517
+ }
518
+
519
+ .paddingT5 {
520
+ padding-top: 5px;
521
+ }
522
+
523
+ .paddingL5 {
524
+ padding-left: 5px;
525
+ }
526
+
527
+ .paddingR5 {
528
+ padding-right: 5px;
529
+ }
530
+
531
+ .paddingB5 {
532
+ padding-bottom: 5px;
533
+ }
534
+
535
+ .marginT5 {
536
+ margin-top: 5px;
537
+ }
538
+
539
+ .marginL5 {
540
+ margin-left: 5px;
541
+ }
542
+
543
+ .marginR5 {
544
+ margin-right: 5px;
545
+ }
546
+
547
+ .marginB5 {
548
+ margin-bottom: 5px;
549
+ }
550
+
551
+ .padding5 {
552
+ padding: 5px;
553
+ }
554
+
555
+ .margin5 {
556
+ margin: 5px;
557
+ }
558
+
559
+ .paddingT10 {
560
+ padding-top: 10px;
561
+ }
562
+
563
+ .paddingL10 {
564
+ padding-left: 10px;
565
+ }
566
+
567
+ .paddingR10 {
568
+ padding-right: 10px;
569
+ }
570
+
571
+ .paddingB10 {
572
+ padding-bottom: 10px;
573
+ }
574
+
575
+ .marginT10 {
576
+ margin-top: 10px;
577
+ }
578
+
579
+ .marginL10 {
580
+ margin-left: 10px;
581
+ }
582
+
583
+ .marginR10 {
584
+ margin-right: 10px;
585
+ }
586
+
587
+ .marginB10 {
588
+ margin-bottom: 10px;
589
+ }
590
+
591
+ .padding10 {
592
+ padding: 10px;
593
+ }
594
+
595
+ .margin10 {
596
+ margin: 10px;
597
+ }
598
+
599
+ .paddingT15 {
600
+ padding-top: 15px;
601
+ }
602
+
603
+ .paddingL15 {
604
+ padding-left: 15px;
605
+ }
606
+
607
+ .paddingR15 {
608
+ padding-right: 15px;
609
+ }
610
+
611
+ .paddingB15 {
612
+ padding-bottom: 15px;
613
+ }
614
+
615
+ .marginT15 {
616
+ margin-top: 15px;
617
+ }
618
+
619
+ .marginL15 {
620
+ margin-left: 15px;
621
+ }
622
+
623
+ .marginR15 {
624
+ margin-right: 15px;
625
+ }
626
+
627
+ .marginB15 {
628
+ margin-bottom: 15px;
629
+ }
630
+
631
+ .padding15 {
632
+ padding: 15px;
633
+ }
634
+
635
+ .margin15 {
636
+ margin: 15px;
637
+ }
638
+
639
+ .paddingT20 {
640
+ padding-top: 20px;
641
+ }
642
+
643
+ .paddingL20 {
644
+ padding-left: 20px;
645
+ }
646
+
647
+ .paddingR20 {
648
+ padding-right: 20px;
649
+ }
650
+
651
+ .paddingB20 {
652
+ padding-bottom: 20px;
653
+ }
654
+
655
+ .paddingT30 {
656
+ padding-top: 30px;
657
+ }
658
+
659
+ .paddingL30 {
660
+ padding-left: 30px;
661
+ }
662
+
663
+ .paddingR30 {
664
+ padding-right: 30px;
665
+ }
666
+
667
+ .paddingB30 {
668
+ padding-bottom: 30px;
669
+ }
670
+
671
+ .marginT30 {
672
+ margin-top: 30px;
673
+ }
674
+
675
+ .marginL30 {
676
+ margin-left: 30px;
677
+ }
678
+
679
+ .marginR30 {
680
+ margin-right: 30px;
681
+ }
682
+
683
+ .marginB30 {
684
+ margin-bottom: 30px;
685
+ }
686
+
687
+ .marginT20 {
688
+ margin-top: 20px;
689
+ }
690
+
691
+ .marginL20 {
692
+ margin-left: 20px;
693
+ }
694
+
695
+ .marginR20 {
696
+ margin-right: 20px;
697
+ }
698
+
699
+ .marginB20 {
700
+ margin-bottom: 20px;
701
+ }
702
+
703
+ .padding20 {
704
+ padding: 20px;
705
+ }
706
+
707
+ .margin20 {
708
+ margin: 20px;
709
+ }
710
+
711
+ .z-index-10 {
712
+ z-index: 10;
713
+ }
714
+
715
+ .z-index-20 {
716
+ z-index: 20;
717
+ }
718
+
719
+ .z-index-30 {
720
+ z-index: 30;
721
+ }
722
+
723
+ .z-index-40 {
724
+ z-index: 40;
725
+ }
726
+
727
+ .z-index-50 {
728
+ z-index: 50;
729
+ }
730
+
731
+ .z-index-60 {
732
+ z-index: 60;
733
+ }
734
+
735
+ .z-index-70 {
736
+ z-index: 70;
737
+ }
738
+
739
+ .z-index-80 {
740
+ z-index: 80;
741
+ }
742
+
743
+ .z-index-100 {
744
+ z-index: 100;
745
+ }
746
+
747
+ .cursor-pointer {
748
+ cursor: pointer;
749
+ }
750
+
751
+ .flex-1 {
752
+ flex: 1;
753
+ }
754
+
755
+ .gap-10 {
756
+ -moz-column-gap: 10px;
757
+ column-gap: 10px;
758
+ }
759
+
760
+ .gap-20 {
761
+ -moz-column-gap: 10px;
762
+ column-gap: 10px;
763
+ }
764
+
765
+ .gap-40 {
766
+ -moz-column-gap: 40px;
767
+ column-gap: 40px;
768
+ }
769
+
770
+ .d-flex {
771
+ display: flex;
772
+ }
773
+
774
+ .jc-between {
775
+ justify-content: space-between;
776
+ }
777
+
778
+ .jc-end {
779
+ justify-content: flex-end;
780
+ }
781
+
782
+ .ai-center {
783
+ align-items: center;
784
+ }
785
+
786
+ .ai-end {
787
+ align-items: flex-end;
788
+ }
789
+
790
+ .flexlay {
791
+ display: flex;
792
+ justify-content: space-between;
793
+ align-items: center;
794
+ flex-direction: row;
795
+ }
796
+
797
+ .int-font {
798
+ font-family: var(--integer-font-family);
799
+ }
800
+
801
+ .text-color-primary {
802
+ color: var(--text-color-primary);
803
+ }
804
+
805
+ .text-color-regular {
806
+ color: var(--text-color-regular);
807
+ }
808
+
809
+ .text-color-list {
810
+ color: var(--text-color-list);
811
+ }
812
+
813
+ .text-color-secondary {
814
+ color: var(--text-color-secondary);
815
+ }
816
+
817
+ .text-color-disabled {
818
+ color: var(--text-color-disabled);
819
+ }
820
+
821
+ .text-color-a4 {
822
+ color: var(--text-color-a4);
823
+ }
824
+
825
+ .text-color-tag {
826
+ color: var(--text-color-tag);
827
+ }
828
+
829
+ .ellipsis-1 {
830
+ overflow: hidden;
831
+ text-overflow: ellipsis;
832
+ white-space: nowrap;
833
+ }
834
+
835
+ .ellipsis-2 {
836
+ text-overflow: ellipsis;
837
+ display: -webkit-box;
838
+ /* autoprefixer: ignore next */
839
+ -webkit-box-orient: vertical;
840
+ -webkit-line-clamp: 2;
841
+ overflow: hidden;
842
+ }
843
+
844
+ .ellipsis-3 {
845
+ text-overflow: ellipsis;
846
+ display: -webkit-box;
847
+ /* autoprefixer: ignore next */
848
+ -webkit-box-orient: vertical;
849
+ -webkit-line-clamp: 3;
850
+ overflow: hidden;
851
+ }
852
+
853
+ .bold-700 {
854
+ font-weight: 700;
855
+ }
856
+
857
+ .bold-500 {
858
+ font-weight: 500;
859
+ }
860
+
861
+ .fade-enter-active,
862
+ .fade-leave-active {
863
+ transition: opacity 0.5s ease;
864
+ }
865
+
866
+ .fade-enter-from,
867
+ .fade-leave-to {
868
+ opacity: 0;
869
+ }
870
+
871
+ .width50 {
872
+ width: 50%;
873
+ margin-right: 0;
874
+ }
875
+
876
+ .width100 {
877
+ width: 100%;
878
+ }
879
+
880
+ .width55 {
881
+ width: 55%;
882
+ }
883
+
884
+ .width45 {
885
+ width: 45%;
886
+ margin-right: 0;
887
+ }
888
+ .width45.pull-right .pull-right {
889
+ margin-right: 0;
890
+ padding-right: 5px;
891
+ }
892
+
893
+ .marginR45 {
894
+ margin-right: 45px;
895
+ }
896
+
897
+ :root {
898
+ --el-color-primary: #3366cc;
899
+ --el-text-color-regular: #000;
900
+ --primary-color: #3d7eff;
901
+ --success-color: #28c445;
902
+ --error-color: #ff1e1e;
903
+ --warning-color: #ff8746;
904
+ --white-color: #fff;
905
+ --black-color: #000;
906
+ --text-color-primary: #252628;
907
+ --text-color-regular: #1c1c1c;
908
+ --text-color-secondary: #555;
909
+ --text-color-list: #323233;
910
+ --text-color-a4: #a4a4a4;
911
+ --text-color-tag: #737373;
912
+ --text-color-disabled: #eeeef5;
913
+ --border-color-base: #e8ecf2;
914
+ --border-color-light: #e4e7ed;
915
+ --border-color-lighter: #ebeef5;
916
+ --border-color-extra-light: #f2f6fc;
917
+ --bg-color: #f0f3f9;
918
+ --font-size-large: 18px;
919
+ --font-size-medium: 16px;
920
+ --font-size-base: 14px;
921
+ --font-size-small: 12px;
922
+ --font-size-extra-small: 10px;
923
+ --font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei",Verdana, arial,"Open Sans", sans-serif;
924
+ --integer-font-family: avenir-heavy, pingfang sc, helvetica neue, arial, sans-serif;
925
+ --box-shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
926
+ --el-menu-item-height: 40px;
927
+ --el-card-padding: 10px;
928
+ }
929
+
930
+ :root {
931
+ --el-color-primary: var(--primary-color);
932
+ --el-color-primary-light-2: rgba(61, 126, 255, 0.8);
933
+ --el-color-primary-light-3: rgba(61, 126, 255, 0.8);
934
+ --el-color-success: var(--success-color);
935
+ --el-color-warning: var(--warning-color);
936
+ --el-color-error: var(--error-color);
937
+ --el-color-white: var(--white-color);
938
+ --el-color-black: var(--black-color);
939
+ --el-text-color-primary: var(--text-color-primary);
940
+ --el-text-color-regular: var(--text-color-regular);
941
+ --el-text-color-secondary: var(--text-color-secondary);
942
+ --el-text-color-placeholder: var(--text-color-placeholder);
943
+ --el-border-color-base: var(--border-color-base);
944
+ --el-border-color-light: var(--border-color-light);
945
+ --el-border-color-lighter: var(--border-color-lighter);
946
+ --el-border-color-extra-light: var(--border-color-extra-light);
947
+ --el-background-color-base: var(--bg-color);
948
+ --el-box-shadow-light: var(--box-shadow-base);
949
+ --el-font-size-large: var(--font-size-large);
950
+ --el-font-size-medium: var(--font-size-medium);
951
+ --el-font-size-base: var(--font-size-base);
952
+ --el-font-size-small: var(--font-size-small);
953
+ --el-font-size-extra-small: var(--font-size-extra-small);
954
+ }
955
+
956
+ /************* el-card 样式 ******************/
957
+ .el-card {
958
+ --el-card-padding: 10px !important;
959
+ }
960
+
961
+ /************* el-header 样式 ******************/
962
+ .el-header {
963
+ --el-header-padding: 0 4px !important;
964
+ }
965
+
966
+ /************* el-form 样式 ******************/
967
+ .el-form-item {
968
+ margin-bottom: 4px !important;
969
+ }
970
+
971
+ .el-checkbox {
972
+ margin-right: 4px !important;
973
+ }
974
+
975
+ /************* el-table 样式 ******************/
976
+ .el-table__header {
977
+ background-color: var(--el-table-row-hover-bg-color);
978
+ }
979
+
980
+ * {
981
+ -moz-user-select: text;
982
+ user-select: text;
983
+ -webkit-touch-callout: none;
984
+ -webkit-user-select: text !important;
39
985
  }