tianheng-ui 0.0.56 → 0.0.58

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 (239) hide show
  1. package/lib/039af9192b9bb277966ceb4e4ce29c41.js +16 -0
  2. package/lib/{c755e7fc08446566ee8dd3a8aa8fe43f.js → 2d84c80112a372bc149cad3464e90fa3.js} +404 -502
  3. package/lib/5977b934a4c6b480790864ea01303173.js +10834 -0
  4. package/lib/7745f3e776488705a38e62f85adad54d.js +16 -0
  5. package/lib/de8dee841ffdaaede3a2254deef30376.js +15395 -0
  6. package/lib/e78eab250e7f8ccac3d918dfdb06ca10.js +8904 -0
  7. package/lib/index.js +4 -2
  8. package/lib/theme-chalk/fonts/PingFang.ttf +0 -0
  9. package/lib/theme-chalk/fonts/bpmn.eot +0 -0
  10. package/lib/theme-chalk/fonts/bpmn.svg +224 -0
  11. package/lib/theme-chalk/fonts/bpmn.ttf +0 -0
  12. package/lib/theme-chalk/fonts/bpmn.woff +0 -0
  13. package/lib/theme-chalk/fonts/bpmn.woff2 +0 -0
  14. package/lib/theme-chalk/fonts/fontawesome-webfont.eot +0 -0
  15. package/lib/theme-chalk/fonts/fontawesome-webfont.svg +2671 -0
  16. package/lib/theme-chalk/fonts/fontawesome-webfont.ttf +0 -0
  17. package/lib/theme-chalk/fonts/fontawesome-webfont.woff +0 -0
  18. package/lib/theme-chalk/fonts/fontawesome-webfont.woff2 +0 -0
  19. package/lib/{iconfont.eot → theme-chalk/fonts/iconfont.eot} +0 -0
  20. package/lib/{iconfont.svg → theme-chalk/fonts/iconfont.svg} +0 -0
  21. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  22. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  23. package/lib/theme-chalk/images/notData.png +0 -0
  24. package/lib/theme-chalk/index.scss +30 -0
  25. package/lib/theme-chalk/styles/button.scss +501 -0
  26. package/lib/theme-chalk/styles/card.scss +29 -0
  27. package/lib/theme-chalk/styles/cell.scss +54 -0
  28. package/lib/theme-chalk/styles/codeEditor.scss +9 -0
  29. package/lib/theme-chalk/styles/col.scss +151 -0
  30. package/lib/theme-chalk/styles/dialog.scss +59 -0
  31. package/lib/theme-chalk/styles/empty.scss +22 -0
  32. package/lib/theme-chalk/styles/feature.scss +42 -0
  33. package/lib/theme-chalk/styles/font.css +7 -0
  34. package/lib/theme-chalk/{icon.css → styles/icon.css} +3 -3
  35. package/lib/theme-chalk/styles/imagePreview.scss +113 -0
  36. package/lib/theme-chalk/styles/img.scss +35 -0
  37. package/lib/theme-chalk/styles/reset.scss +8 -0
  38. package/lib/theme-chalk/{root.css → styles/root.css} +2 -35
  39. package/lib/theme-chalk/styles/row.scss +23 -0
  40. package/lib/theme-chalk/styles/upload.scss +598 -0
  41. package/lib/theme-chalk/styles/variable.scss +80 -0
  42. package/lib/tianheng-ui.js +71 -9
  43. package/package.json +24 -4
  44. package/packages/Button/index.js +8 -0
  45. package/packages/Button/index.vue +80 -0
  46. package/packages/Card/index.js +8 -0
  47. package/packages/Card/index.vue +37 -0
  48. package/packages/{cell → Cell}/index.js +0 -0
  49. package/packages/Cell/index.vue +68 -0
  50. package/packages/{codeEditor → CodeEditor}/index.js +0 -0
  51. package/packages/{codeEditor → CodeEditor}/index.vue +73 -108
  52. package/packages/Col/index.js +8 -0
  53. package/packages/Col/index.vue +41 -0
  54. package/packages/{dialog → Dialog}/index.js +0 -0
  55. package/packages/{dialog → Dialog}/index.vue +19 -10
  56. package/packages/Empty/images/notData.png +0 -0
  57. package/packages/{empty → Empty}/index.js +0 -0
  58. package/packages/Empty/index.vue +35 -0
  59. package/packages/FormMaking/Container.vue +755 -0
  60. package/packages/{formMaking → FormMaking}/FormConfig.vue +22 -6
  61. package/packages/FormMaking/GenerateForm.vue +247 -0
  62. package/packages/{formMaking → FormMaking}/GenerateFormItem.vue +340 -172
  63. package/packages/FormMaking/GenerateFormItemH5.vue +828 -0
  64. package/packages/{formMaking → FormMaking}/Upload/index.vue +0 -0
  65. package/packages/FormMaking/WidgetConfig.vue +473 -0
  66. package/packages/{formMaking → FormMaking}/WidgetForm.vue +49 -31
  67. package/packages/FormMaking/WidgetFormItem.vue +157 -0
  68. package/packages/{formMaking/componentsConfig.js → FormMaking/custom/config.js} +379 -163
  69. package/packages/FormMaking/custom/configs/alliance.vue +0 -0
  70. package/packages/FormMaking/custom/configs/blank.vue +54 -0
  71. package/packages/FormMaking/custom/configs/button.vue +144 -0
  72. package/packages/FormMaking/custom/configs/cascader.vue +182 -0
  73. package/packages/FormMaking/custom/configs/cell.vue +81 -0
  74. package/packages/FormMaking/custom/configs/checkbox.vue +237 -0
  75. package/packages/FormMaking/custom/configs/color.vue +137 -0
  76. package/packages/FormMaking/custom/configs/date.vue +158 -0
  77. package/packages/FormMaking/custom/configs/divider.vue +61 -0
  78. package/packages/FormMaking/custom/configs/editor.vue +71 -0
  79. package/packages/FormMaking/custom/configs/filler.vue +52 -0
  80. package/packages/FormMaking/custom/configs/grid.vue +103 -0
  81. package/packages/FormMaking/custom/configs/image.vue +148 -0
  82. package/packages/FormMaking/custom/configs/input.vue +176 -0
  83. package/packages/FormMaking/custom/configs/number.vue +140 -0
  84. package/packages/FormMaking/custom/configs/radio.vue +215 -0
  85. package/packages/FormMaking/custom/configs/rate.vue +109 -0
  86. package/packages/FormMaking/custom/configs/select.vue +308 -0
  87. package/packages/FormMaking/custom/configs/slider.vue +142 -0
  88. package/packages/FormMaking/custom/configs/switch.vue +130 -0
  89. package/packages/FormMaking/custom/configs/table.vue +105 -0
  90. package/packages/FormMaking/custom/configs/table_h5.vue +102 -0
  91. package/packages/FormMaking/custom/configs/tabs.vue +175 -0
  92. package/packages/FormMaking/custom/configs/text.vue +71 -0
  93. package/packages/FormMaking/custom/configs/textarea.vue +167 -0
  94. package/packages/FormMaking/custom/configs/time.vue +153 -0
  95. package/packages/FormMaking/custom/configs/upload.vue +150 -0
  96. package/packages/FormMaking/custom/index.js +33 -0
  97. package/packages/FormMaking/custom/items/alliance.vue +132 -0
  98. package/packages/FormMaking/custom/items/blank.vue +16 -0
  99. package/packages/FormMaking/custom/items/button.vue +27 -0
  100. package/packages/FormMaking/custom/items/cascader.vue +29 -0
  101. package/packages/FormMaking/custom/items/cell.vue +18 -0
  102. package/packages/FormMaking/custom/items/checkbox.vue +46 -0
  103. package/packages/FormMaking/custom/items/color.vue +19 -0
  104. package/packages/FormMaking/custom/items/date.vue +29 -0
  105. package/packages/FormMaking/custom/items/divider.vue +14 -0
  106. package/packages/FormMaking/custom/items/editor.vue +22 -0
  107. package/packages/FormMaking/custom/items/filler.vue +17 -0
  108. package/packages/FormMaking/custom/items/grid.vue +129 -0
  109. package/packages/FormMaking/custom/items/image.vue +42 -0
  110. package/packages/FormMaking/custom/items/input.vue +36 -0
  111. package/packages/FormMaking/custom/items/login.vue +13 -0
  112. package/packages/FormMaking/custom/items/number.vue +24 -0
  113. package/packages/FormMaking/custom/items/radio.vue +44 -0
  114. package/packages/FormMaking/custom/items/rate.vue +20 -0
  115. package/packages/FormMaking/custom/items/select.vue +32 -0
  116. package/packages/FormMaking/custom/items/slider.vue +34 -0
  117. package/packages/FormMaking/custom/items/switch.vue +22 -0
  118. package/packages/FormMaking/custom/items/table.vue +106 -0
  119. package/packages/FormMaking/custom/items/table_h5.vue +126 -0
  120. package/packages/FormMaking/custom/items/tabs.vue +145 -0
  121. package/packages/FormMaking/custom/items/text.vue +18 -0
  122. package/packages/FormMaking/custom/items/textarea.vue +37 -0
  123. package/packages/FormMaking/custom/items/time.vue +32 -0
  124. package/packages/FormMaking/custom/items/upload.vue +83 -0
  125. package/packages/FormMaking/custom/mixins/index.js +61 -0
  126. package/packages/FormMaking/custom/register.js +18 -0
  127. package/packages/{formMaking → FormMaking}/iconfont/demo.css +0 -0
  128. package/packages/{formMaking → FormMaking}/iconfont/demo_index.html +0 -0
  129. package/packages/{formMaking → FormMaking}/iconfont/iconfont.css +0 -0
  130. package/packages/{formMaking → FormMaking}/iconfont/iconfont.eot +0 -0
  131. package/packages/{formMaking → FormMaking}/iconfont/iconfont.js +0 -0
  132. package/packages/{formMaking → FormMaking}/iconfont/iconfont.svg +0 -0
  133. package/{lib → packages/FormMaking/iconfont}/iconfont.ttf +0 -0
  134. package/{lib → packages/FormMaking/iconfont}/iconfont.woff +0 -0
  135. package/packages/{formMaking → FormMaking}/iconfont/iconfont.woff2 +0 -0
  136. package/packages/FormMaking/index.js +35 -0
  137. package/packages/{formMaking → FormMaking}/lang/en-US.js +1 -1
  138. package/packages/{formMaking → FormMaking}/lang/zh-CN.js +1 -1
  139. package/packages/{formMaking → FormMaking}/styles/cover.scss +1 -1
  140. package/packages/{formMaking → FormMaking}/styles/index.scss +445 -429
  141. package/packages/{formMaking → FormMaking/util}/generateCode.js +5 -5
  142. package/packages/{formMaking → FormMaking}/util/index.js +0 -0
  143. package/packages/{formMaking → FormMaking}/util/request.js +0 -0
  144. package/packages/{icons → Icons}/index.js +0 -0
  145. package/packages/{icons → Icons}/index.vue +26 -9
  146. package/packages/Image/index.js +8 -0
  147. package/packages/Image/index.vue +146 -0
  148. package/packages/ImagePreview/index.js +8 -0
  149. package/packages/ImagePreview/index.vue +386 -0
  150. package/packages/Row/index.js +8 -0
  151. package/packages/Row/index.vue +35 -0
  152. package/packages/{table → Table}/action.js +0 -0
  153. package/packages/{table → Table}/action.vue +1 -1
  154. package/packages/Table/column.vue +63 -0
  155. package/packages/{table → Table}/index.js +0 -0
  156. package/packages/{table → Table}/index.vue +25 -23
  157. package/packages/{table → Table}/search.js +0 -0
  158. package/packages/{table → Table}/search.vue +2 -2
  159. package/packages/{table → Table}/tools.js +0 -0
  160. package/packages/{table → Table}/tools.vue +0 -0
  161. package/packages/Workflow/Log.js +99 -0
  162. package/packages/Workflow/designer/ProcessDesigner.vue +628 -0
  163. package/packages/Workflow/designer/index.js +7 -0
  164. package/packages/Workflow/designer/plugins/content-pad/contentPadProvider.js +390 -0
  165. package/packages/Workflow/designer/plugins/content-pad/index.js +6 -0
  166. package/packages/Workflow/designer/plugins/defaultEmpty.js +24 -0
  167. package/packages/Workflow/designer/plugins/descriptor/activitiDescriptor.json +1071 -0
  168. package/packages/Workflow/designer/plugins/descriptor/camundaDescriptor.json +1087 -0
  169. package/packages/Workflow/designer/plugins/descriptor/flowableDescriptor.json +1215 -0
  170. package/packages/Workflow/designer/plugins/extension-moddle/activiti/activitiExtension.js +74 -0
  171. package/packages/Workflow/designer/plugins/extension-moddle/activiti/index.js +9 -0
  172. package/packages/Workflow/designer/plugins/extension-moddle/camunda/extension.js +148 -0
  173. package/packages/Workflow/designer/plugins/extension-moddle/camunda/index.js +6 -0
  174. package/packages/Workflow/designer/plugins/extension-moddle/flowable/flowableExtension.js +74 -0
  175. package/packages/Workflow/designer/plugins/extension-moddle/flowable/index.js +9 -0
  176. package/packages/Workflow/designer/plugins/palette/CustomPalette.js +156 -0
  177. package/packages/Workflow/designer/plugins/palette/index.js +6 -0
  178. package/packages/Workflow/designer/plugins/palette/paletteProvider.js +160 -0
  179. package/packages/Workflow/designer/plugins/translate/customTranslate.js +41 -0
  180. package/packages/Workflow/designer/plugins/translate/zh.js +238 -0
  181. package/packages/Workflow/highlight/index.js +5 -0
  182. package/packages/Workflow/index.js +26 -0
  183. package/packages/Workflow/index.vue +395 -0
  184. package/packages/Workflow/modules/auto-place/CustomAutoPlace.js +81 -0
  185. package/packages/Workflow/modules/auto-place/index.js +6 -0
  186. package/packages/Workflow/modules/custom-renderer/CustomRenderer.js +17 -0
  187. package/packages/Workflow/modules/custom-renderer/index.js +6 -0
  188. package/packages/Workflow/modules/rules/CustomRules.js +16 -0
  189. package/packages/Workflow/modules/rules/index.js +6 -0
  190. package/packages/Workflow/palette/ProcessPalette.vue +106 -0
  191. package/packages/Workflow/palette/index.js +7 -0
  192. package/packages/Workflow/penal/PropertiesPanel.vue +247 -0
  193. package/packages/Workflow/penal/base/ElementBaseInfo.vue +80 -0
  194. package/packages/Workflow/penal/flow-condition/FlowCondition.vue +142 -0
  195. package/packages/Workflow/penal/form/ElementForm.vue +367 -0
  196. package/packages/Workflow/penal/index.js +7 -0
  197. package/packages/Workflow/penal/listeners/ElementListeners.vue +299 -0
  198. package/packages/Workflow/penal/listeners/UserTaskListeners.vue +322 -0
  199. package/packages/Workflow/penal/listeners/template.js +178 -0
  200. package/packages/Workflow/penal/listeners/utilSelf.js +62 -0
  201. package/packages/Workflow/penal/multi-instance/ElementMultiInstance.vue +200 -0
  202. package/packages/Workflow/penal/other/ElementOtherConfig.vue +59 -0
  203. package/packages/Workflow/penal/properties/ElementProperties.vue +135 -0
  204. package/packages/Workflow/penal/signal-message/SignalAndMessage.vue +104 -0
  205. package/packages/Workflow/penal/task/ElementTask.vue +73 -0
  206. package/packages/Workflow/penal/task/task-components/ReceiveTask.vue +97 -0
  207. package/packages/Workflow/penal/task/task-components/ScriptTask.vue +85 -0
  208. package/packages/Workflow/penal/task/task-components/UserTask.vue +535 -0
  209. package/packages/Workflow/theme/element-variables.scss +70 -0
  210. package/packages/Workflow/theme/index.scss +2 -0
  211. package/packages/Workflow/theme/process-designer.scss +157 -0
  212. package/packages/Workflow/theme/process-panel.scss +107 -0
  213. package/packages/Workflow/translations.js +25 -0
  214. package/packages/Workflow/utils.js +71 -0
  215. package/packages/upload/ajax.js +85 -0
  216. package/packages/upload/index.js +8 -0
  217. package/packages/upload/index.vue +325 -0
  218. package/packages/upload/locale.js +9 -0
  219. package/packages/upload/upload-dragger.vue +70 -0
  220. package/packages/upload/upload-list.vue +123 -0
  221. package/packages/upload/upload.vue +211 -0
  222. package/lib/03250ed25fc1b305e9980cf7cf0dfb09.js +0 -1
  223. package/lib/theme-chalk/cell.css +0 -53
  224. package/lib/theme-chalk/dialog.css +0 -41
  225. package/lib/theme-chalk/empty.css +0 -27
  226. package/lib/theme-chalk/index.css +0 -6
  227. package/lib/theme-chalk/reset.css +0 -4
  228. package/lib/tianheng-ui.js.map +0 -1
  229. package/packages/cell/index.vue +0 -116
  230. package/packages/empty/index.vue +0 -33
  231. package/packages/formMaking/Container.vue +0 -591
  232. package/packages/formMaking/CusDialog.vue +0 -134
  233. package/packages/formMaking/GenerateForm.vue +0 -174
  234. package/packages/formMaking/WidgetConfig.vue +0 -1539
  235. package/packages/formMaking/WidgetFormItem.vue +0 -817
  236. package/packages/formMaking/iconfont/iconfont.ttf +0 -0
  237. package/packages/formMaking/iconfont/iconfont.woff +0 -0
  238. package/packages/formMaking/index.js +0 -77
  239. package/packages/table/column.vue +0 -111
@@ -0,0 +1,598 @@
1
+ // .th-upload {
2
+ // display: inline-block;
3
+ // text-align: center;
4
+ // cursor: pointer;
5
+ // outline: none;
6
+ // .th-upload-list__input {
7
+ // display: none;
8
+ // }
9
+
10
+ // .th-upload-list__tip {
11
+ // font-size: 12px;
12
+ // color: $color-text-regular;
13
+ // margin-top: 7px;
14
+ // }
15
+
16
+ // iframe {
17
+ // position: absolute;
18
+ // z-index: -1;
19
+ // top: 0;
20
+ // left: 0;
21
+ // opacity: 0;
22
+ // filter: alpha(opacity=0);
23
+ // }
24
+
25
+ // /* 照片墙模式 */
26
+ // .th-upload--picture-card {
27
+ // background-color: #fbfdff;
28
+ // border: 1px dashed #c0ccda;
29
+ // border-radius: 6px;
30
+ // box-sizing: border-box;
31
+ // width: 148px;
32
+ // height: 148px;
33
+ // cursor: pointer;
34
+ // line-height: 146px;
35
+ // vertical-align: top;
36
+
37
+ // i {
38
+ // font-size: 28px;
39
+ // color: #8c939d;
40
+ // }
41
+
42
+ // &:hover {
43
+ // border-color: $color-parimary;
44
+ // color: $color-parimary;
45
+ // }
46
+ // }
47
+ // &:focus {
48
+ // border-color: $color-parimary;
49
+ // color: $color-parimary;
50
+
51
+ // .th-upload-dragger {
52
+ // border-color: $color-parimary;
53
+ // }
54
+ // }
55
+ // }
56
+
57
+ // .th-upload-dragger {
58
+ // background-color: #fff;
59
+ // border: 1px dashed #d9d9d9;
60
+ // border-radius: 6px;
61
+ // box-sizing: border-box;
62
+ // width: 360px;
63
+ // height: 180px;
64
+ // text-align: center;
65
+ // cursor: pointer;
66
+ // position: relative;
67
+ // overflow: hidden;
68
+
69
+ // .th-icon-upload {
70
+ // font-size: 67px;
71
+ // color: $color-text-placeholder;
72
+ // margin: 40px 0 16px;
73
+ // line-height: 50px;
74
+ // }
75
+
76
+ // + .th-upload__tip {
77
+ // text-align: center;
78
+ // }
79
+
80
+ // ~ .th-upload__files {
81
+ // border-top: $border-color-base;
82
+ // margin-top: 7px;
83
+ // padding-top: 5px;
84
+ // }
85
+
86
+ // .th-upload__text {
87
+ // color: $color-text-regular;
88
+ // font-size: 14px;
89
+ // text-align: center;
90
+
91
+ // em {
92
+ // color: $color-parimary;
93
+ // font-style: normal;
94
+ // }
95
+ // }
96
+
97
+ // &:hover {
98
+ // border-color: $color-parimary;
99
+ // }
100
+
101
+ // .is-dragover {
102
+ // background-color: rgba(32, 159, 255, .06);
103
+ // border: 2px dashed $color-parimary;
104
+ // }
105
+ // }
106
+
107
+ // .th-upload-list {
108
+ // margin: 0;
109
+ // padding: 0;
110
+ // list-style: none;
111
+
112
+ // .th-upload-list__item {
113
+ // transition: all .5s cubic-bezier(.55,0,.1,1);
114
+ // font-size: 14px;
115
+ // color: $color-text-regular;
116
+ // line-height: 1.8;
117
+ // margin-top: 5px;
118
+ // position: relative;
119
+ // box-sizing: border-box;
120
+ // border-radius: 4px;
121
+ // width: 100%;
122
+
123
+ // .th-progress {
124
+ // position: absolute;
125
+ // top: 20px;
126
+ // width: 100%;
127
+ // }
128
+
129
+ // .th-progress__text {
130
+ // position: absolute;
131
+ // right: 0;
132
+ // top: -13px;
133
+ // }
134
+
135
+ // .th-progress-bar {
136
+ // margin-right: 0;
137
+ // padding-right: 0;
138
+ // }
139
+
140
+ // &:first-child {
141
+ // margin-top: 10px;
142
+ // }
143
+
144
+ // & .th-icon-upload-success {
145
+ // color: $color-success;
146
+ // }
147
+
148
+ // .th-icon-close {
149
+ // display: none;
150
+ // position: absolute;
151
+ // top: 5px;
152
+ // right: 5px;
153
+ // cursor: pointer;
154
+ // opacity: .75;
155
+ // color: $color-text-regular;
156
+ // //transform: scale(.7);
157
+
158
+ // &:hover {
159
+ // opacity: 1;
160
+ // }
161
+ // }
162
+
163
+ // & .th-icon-close-tip {
164
+ // display: none;
165
+ // position: absolute;
166
+ // top: 5px;
167
+ // right: 5px;
168
+ // font-size: 12px;
169
+ // cursor: pointer;
170
+ // opacity: 1;
171
+ // color: $color-parimary;
172
+ // }
173
+
174
+ // &:hover {
175
+ // background-color: $background-color-base;
176
+
177
+ // .th-icon-close {
178
+ // display: inline-block;
179
+ // }
180
+
181
+ // .th-progress__text {
182
+ // display: none;
183
+ // }
184
+ // }
185
+
186
+ // .is-success {
187
+ // .th-upload-list__item-status-label {
188
+ // display: block;
189
+ // }
190
+
191
+ // .th-upload-list__item-name:hover, .th-upload-list__item-name:focus {
192
+ // color: $color-parimary;
193
+ // cursor: pointer;
194
+ // }
195
+
196
+ // &:focus:not(:hover) { /* 键盘focus */
197
+ // .th-icon-close-tip {
198
+ // display: inline-block;
199
+ // }
200
+ // }
201
+
202
+ // &:not(.focusing):focus, &:active { /* click时 */
203
+ // outline-width: 0;
204
+ // .th-icon-close-tip {
205
+ // display: none;
206
+ // }
207
+ // }
208
+
209
+ // &:hover, &:focus {
210
+ // .th-upload-list__item-status-label {
211
+ // display: none;
212
+ // }
213
+ // }
214
+ // }
215
+ // }
216
+
217
+ // .is-disabled {
218
+ // .th-upload-list__item:hover .th-upload-list__item-status-label {
219
+ // display: block;
220
+ // }
221
+ // }
222
+
223
+ // .th-upload-list__item-name {
224
+ // color: $color-text-regular;
225
+ // display: block;
226
+ // margin-right: 40px;
227
+ // overflow: hidden;
228
+ // padding-left: 4px;
229
+ // text-overflow: ellipsis;
230
+ // transition: color .3s;
231
+ // white-space: nowrap;
232
+
233
+ // [class^="th-icon"] {
234
+ // height: 100%;
235
+ // margin-right: 7px;
236
+ // color: $color-text-secondary;
237
+ // line-height: inherit;
238
+ // }
239
+ // }
240
+
241
+ // .th-upload-list__item-status-label {
242
+ // position: absolute;
243
+ // right: 5px;
244
+ // top: 0;
245
+ // line-height: inherit;
246
+ // display: none;
247
+ // }
248
+
249
+ // .th-upload-list__item-delete {
250
+ // position: absolute;
251
+ // right: 10px;
252
+ // top: 0;
253
+ // font-size: 12px;
254
+ // color: $color-text-regular;
255
+ // display: none;
256
+
257
+ // &:hover {
258
+ // color: $color-parimary;
259
+ // }
260
+ // }
261
+
262
+ // .th-upload-list--picture-card {
263
+ // margin: 0;
264
+ // display: inline;
265
+ // vertical-align: top;
266
+
267
+ // .th-upload-list__item {
268
+ // overflow: hidden;
269
+ // background-color: #fff;
270
+ // border: 1px solid #c0ccda;
271
+ // border-radius: 6px;
272
+ // box-sizing: border-box;
273
+ // width: 148px;
274
+ // height: 148px;
275
+ // margin: 0 8px 8px 0;
276
+ // display: inline-block;
277
+
278
+ // .th-icon-check,
279
+ // .th-icon-circle-check {
280
+ // color: $background-color-white;
281
+ // }
282
+
283
+ // .th-icon-close {
284
+ // display: none;
285
+ // }
286
+ // &:hover {
287
+ // .th-upload-list__item-status-label {
288
+ // display: none;
289
+ // }
290
+
291
+ // .th-progress__text {
292
+ // display: block;
293
+ // }
294
+ // }
295
+ // }
296
+
297
+ // .th-upload-list__item-name {
298
+ // display: none;
299
+ // }
300
+
301
+ // .th-upload-list__item-thumbnail {
302
+ // width: 100%;
303
+ // height: 100%;
304
+ // }
305
+
306
+ // .th-upload-list__item-status-label {
307
+ // position: absolute;
308
+ // right: -15px;
309
+ // top: -6px;
310
+ // width: 40px;
311
+ // height: 24px;
312
+ // background: #13ce66;
313
+ // text-align: center;
314
+ // transform: rotate(45deg);
315
+ // box-shadow: 0 0 1pc 1px rgba(0,0,0,0.2);
316
+
317
+ // i {
318
+ // font-size: 12px;
319
+ // margin-top: 11px;
320
+ // transform: rotate(-45deg);
321
+ // }
322
+ // }
323
+
324
+ // .th-upload-list__item-actions {
325
+ // position: absolute;
326
+ // width: 100%;
327
+ // height: 100%;
328
+ // left: 0;
329
+ // top: 0;
330
+ // cursor: default;
331
+ // text-align: center;
332
+ // color: #fff;
333
+ // opacity: 0;
334
+ // font-size: 20px;
335
+ // background-color: rgba(0, 0, 0, .5);
336
+ // transition: opacity .3s;
337
+ // &::after {
338
+ // display: inline-block;
339
+ // content: "";
340
+ // height: 100%;
341
+ // vertical-align: middle
342
+ // }
343
+
344
+ // span {
345
+ // display: none;
346
+ // cursor: pointer;
347
+ // }
348
+
349
+ // span + span {
350
+ // margin-left: 15px;
351
+ // }
352
+
353
+ // .th-upload-list__item-delete {
354
+ // position: static;
355
+ // font-size: inherit;
356
+ // color: inherit;
357
+ // }
358
+
359
+ // &:hover {
360
+ // opacity: 1;
361
+ // span {
362
+ // display: inline-block;
363
+ // }
364
+ // }
365
+ // }
366
+
367
+ // .th-progress {
368
+ // top: 50%;
369
+ // left: 50%;
370
+ // transform: translate(-50%, -50%);
371
+ // bottom: auto;
372
+ // width: 126px;
373
+
374
+ // .th-progress__text {
375
+ // top: 50%;
376
+ // }
377
+ // }
378
+ // }
379
+
380
+ // .th-upload--picture {
381
+ // .th-upload-list__item {
382
+ // overflow: hidden;
383
+ // z-index: 0;
384
+ // background-color: #fff;
385
+ // border: 1px solid #c0ccda;
386
+ // border-radius: 6px;
387
+ // box-sizing: border-box;
388
+ // margin-top: 10px;
389
+ // padding: 10px 10px 10px 90px;
390
+ // height: 92px;
391
+
392
+ // .th-icon-check,
393
+ // .th-icon-circle-check {
394
+ // color: $background-color-white;
395
+ // }
396
+
397
+ // &:hover {
398
+ // .th-upload-list__item-status-label {
399
+ // background: transparent;
400
+ // box-shadow: none;
401
+ // top: -2px;
402
+ // right: -12px;
403
+ // }
404
+
405
+ // .th-progress__text {
406
+ // display: block;
407
+ // }
408
+ // }
409
+
410
+ // &.is-success {
411
+ // .th-upload-list__item-name {
412
+ // line-height: 70px;
413
+ // margin-top: 0;
414
+ // i {
415
+ // display: none;
416
+ // }
417
+ // }
418
+ // }
419
+ // }
420
+
421
+ // .th-upload-list__item-thumbnail {
422
+ // vertical-align: middle;
423
+ // display: inline-block;
424
+ // width: 70px;
425
+ // height: 70px;
426
+ // float: left;
427
+ // position: relative;
428
+ // z-index: 1;
429
+ // margin-left: -80px;
430
+ // background-color: $background-color-white
431
+ // }
432
+
433
+ // .th-upload-list__item-name {
434
+ // display: block;
435
+ // margin-top: 20px;
436
+
437
+ // i {
438
+ // font-size: 70px;
439
+ // line-height: 1;
440
+ // position: absolute;
441
+ // left: 9px;
442
+ // top: 10px;
443
+ // }
444
+ // }
445
+
446
+ // .th-upload-list__item-status-label {
447
+ // position: absolute;
448
+ // right: -17px;
449
+ // top: -7px;
450
+ // width: 46px;
451
+ // height: 26px;
452
+ // background: #13ce66;
453
+ // text-align: center;
454
+ // transform: rotate(45deg);
455
+ // box-shadow: 0 1px 1px #ccc;
456
+
457
+ // i {
458
+ // font-size: 12px;
459
+ // margin-top: 12px;
460
+ // transform: rotate(-45deg);
461
+ // }
462
+ // }
463
+
464
+ // .th-progress {
465
+ // position: relative;
466
+ // top: -7px;
467
+ // }
468
+ // }
469
+ // }
470
+
471
+ // .th-upload-cover {
472
+ // position: absolute;
473
+ // left: 0;
474
+ // top: 0;
475
+ // width: 100%;
476
+ // height: 100%;
477
+ // overflow: hidden;
478
+ // z-index: 10;
479
+ // cursor: default;
480
+ // // @include utils-vertical-center;
481
+
482
+ // img {
483
+ // display: block;
484
+ // width: 100%;
485
+ // height: 100%;
486
+ // }
487
+
488
+ // .th-upload-list__label {
489
+ // position: absolute;
490
+ // right: -15px;
491
+ // top: -6px;
492
+ // width: 40px;
493
+ // height: 24px;
494
+ // background: #13ce66;
495
+ // text-align: center;
496
+ // transform: rotate(45deg);
497
+ // box-shadow: 0 0 1pc 1px rgba(0,0,0,0.2);
498
+
499
+ // i {
500
+ // font-size: 12px;
501
+ // margin-top: 11px;
502
+ // transform: rotate(-45deg);
503
+ // color: #fff;
504
+ // }
505
+ // }
506
+
507
+ // .th-upload-list__progress {
508
+ // display: inline-block;
509
+ // vertical-align: middle;
510
+ // position: static;
511
+ // width: 243px;
512
+
513
+ // + .th-upload__inner {
514
+ // opacity: 0;
515
+ // }
516
+ // }
517
+
518
+ // .th-upload-list__content {
519
+ // position: absolute;
520
+ // top: 0;
521
+ // left: 0;
522
+ // width: 100%;
523
+ // height: 100%;
524
+ // }
525
+
526
+ // .th-upload-list__interact {
527
+ // position: absolute;
528
+ // bottom: 0;
529
+ // left: 0;
530
+ // width: 100%;
531
+ // height: 100%;
532
+ // background-color: rgba(#000, .72);
533
+ // text-align: center;
534
+
535
+ // .btn {
536
+ // display: inline-block;
537
+ // color: $background-color-white;
538
+ // font-size: 14px;
539
+ // cursor: pointer;
540
+ // vertical-align: middle;
541
+ // transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1) !important;
542
+ // margin-top: 60px;
543
+ // i{
544
+ // margin-top: 0;
545
+ // }
546
+
547
+ // span {
548
+ // opacity: 0;
549
+ // transition: opacity .15s linear;
550
+ // }
551
+
552
+ // &:not(:first-child) {
553
+ // margin-left: 35px;
554
+ // }
555
+
556
+ // &:hover {
557
+ // transform: translateY(-13px);
558
+
559
+ // span {
560
+ // opacity: 1;
561
+ // }
562
+ // }
563
+
564
+ // i {
565
+ // color: $background-color-white;
566
+ // display: block;
567
+ // font-size: 24px;
568
+ // line-height: inherit;
569
+ // margin: 0 auto 5px;
570
+ // }
571
+ // }
572
+ // }
573
+
574
+ // .th-upload-list__title {
575
+ // position: absolute;
576
+ // bottom: 0;
577
+ // left: 0;
578
+ // background-color: $background-color-white;
579
+ // height: 36px;
580
+ // width: 100%;
581
+ // overflow: hidden;
582
+ // text-overflow: ellipsis;
583
+ // white-space: nowrap;
584
+ // font-weight: normal;
585
+ // text-align: left;
586
+ // padding: 0 10px;
587
+ // margin: 0;
588
+ // line-height: 36px;
589
+ // font-size: 14px;
590
+ // color: $color-text-primary;
591
+ // }
592
+
593
+ // + .th-upload__inner {
594
+ // opacity: 0;
595
+ // position: relative;
596
+ // z-index: 1;
597
+ // }
598
+ // }
@@ -0,0 +1,80 @@
1
+ // 主体色
2
+ $color-parimary: #1890ff;
3
+ $color-parimary-active: #257fe2;
4
+ $color-parimary-hover: #66b1ff;
5
+ $color-parimary-disabled: #a0cfff;
6
+ $color-parimary-light: #a3d3ff;
7
+ $color-parimary-lighter: #e8f4ff;
8
+
9
+ // 成功色
10
+ $color-success: #13ce66;
11
+ $color-success-active: #5daf34;
12
+ $color-success-hover: #85ce61;
13
+ $color-success-disabled: #b3e19d;
14
+ $color-success-light: #a1ebc2;
15
+ $color-success-lighter: #e7faf0;
16
+
17
+ // 警告色
18
+ $color-warning: #ffba00;
19
+ $color-warning-active: #cf9236;
20
+ $color-warning-hover: #ebb563;
21
+ $color-warning-disabled: #f3d19e;
22
+ $color-warning-light: #ffe399;
23
+ $color-warning-lighter: #fff8e6;
24
+
25
+ // 危险色
26
+ $color-danger: #ff4949;
27
+ $color-danger-active: #dd6161;
28
+ $color-danger-hover: #f78989;
29
+ $color-danger-disabled: #fab6b6;
30
+ $color-danger-light: #ffb6b6;
31
+ $color-danger-lighter: #ffeded;
32
+
33
+ // 信息色
34
+ $color-info: #909399;
35
+ $color-info-active: #82848a;
36
+ $color-info-hover: #a6a9ad;
37
+ $color-info-disabled: #c8c9cc;
38
+ $color-info-light: #d3d4d6;
39
+ $color-info-lighter: #f4f4f5;
40
+
41
+ // 暗黑色
42
+ $color-darkly: #304156;
43
+
44
+ // 文字颜色
45
+ $color-text-primary: #222d46;
46
+ $color-text-regular: #535d70;
47
+ $color-text-secondary: #858a96;
48
+ $color-text-placeholder: #caced7;
49
+
50
+ // 文字大小
51
+ $font-size-xs: 12px;
52
+ $font-size-sm: 14px;
53
+ $font-size-md: 16px;
54
+ $font-size-lg: 18px;
55
+ $font-size-xl: 20px;
56
+ $font-size-xxl: 22px;
57
+
58
+ // 边框颜色
59
+ $border-color-base: #dcdfe6;
60
+ $border-color-light: #e4e7ed;
61
+ $border-color-lighter: #ebeef5;
62
+ $border-color-extra-light: #f2f6fc;
63
+
64
+ // 边框弧度
65
+ $border-radius-xs: 4px;
66
+ $border-radius-sm: 8px;
67
+ $border-radius-md: 12px;
68
+ $border-radius-lg: 16px;
69
+ $border-radius-xl: 20px;
70
+
71
+ // 背景颜色
72
+ $background-color-base: #f5f7f9;
73
+ $background-color-white: #ffffff;
74
+ $background-color-black: #000000;
75
+
76
+ // 阴影效果
77
+ $box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
78
+
79
+ // 过场时长
80
+ $transition: 0.3s;