tianheng-ui 0.0.56 → 0.0.57
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/lib/039af9192b9bb277966ceb4e4ce29c41.js +16 -0
- package/lib/{c755e7fc08446566ee8dd3a8aa8fe43f.js → 2d84c80112a372bc149cad3464e90fa3.js} +404 -502
- package/lib/5977b934a4c6b480790864ea01303173.js +10834 -0
- package/lib/7745f3e776488705a38e62f85adad54d.js +16 -0
- package/lib/de8dee841ffdaaede3a2254deef30376.js +15395 -0
- package/lib/e78eab250e7f8ccac3d918dfdb06ca10.js +8904 -0
- package/lib/index.js +4 -2
- package/lib/theme-chalk/fonts/PingFang.ttf +0 -0
- package/lib/theme-chalk/fonts/bpmn.eot +0 -0
- package/lib/theme-chalk/fonts/bpmn.svg +224 -0
- package/lib/theme-chalk/fonts/bpmn.ttf +0 -0
- package/lib/theme-chalk/fonts/bpmn.woff +0 -0
- package/lib/theme-chalk/fonts/bpmn.woff2 +0 -0
- package/lib/theme-chalk/fonts/fontawesome-webfont.eot +0 -0
- package/lib/theme-chalk/fonts/fontawesome-webfont.svg +2671 -0
- package/lib/theme-chalk/fonts/fontawesome-webfont.ttf +0 -0
- package/lib/theme-chalk/fonts/fontawesome-webfont.woff +0 -0
- package/lib/theme-chalk/fonts/fontawesome-webfont.woff2 +0 -0
- package/lib/{iconfont.eot → theme-chalk/fonts/iconfont.eot} +0 -0
- package/lib/{iconfont.svg → theme-chalk/fonts/iconfont.svg} +0 -0
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/images/notData.png +0 -0
- package/lib/theme-chalk/index.scss +29 -0
- package/lib/theme-chalk/styles/button.scss +501 -0
- package/lib/theme-chalk/styles/card.scss +29 -0
- package/lib/theme-chalk/styles/cell.scss +54 -0
- package/lib/theme-chalk/styles/codeEditor.scss +9 -0
- package/lib/theme-chalk/styles/col.scss +151 -0
- package/lib/theme-chalk/styles/dialog.scss +59 -0
- package/lib/theme-chalk/styles/empty.scss +22 -0
- package/lib/theme-chalk/styles/feature.scss +42 -0
- package/lib/theme-chalk/styles/font.css +7 -0
- package/lib/theme-chalk/{icon.css → styles/icon.css} +3 -3
- package/lib/theme-chalk/styles/imagePreview.scss +113 -0
- package/lib/theme-chalk/styles/img.scss +35 -0
- package/lib/theme-chalk/styles/reset.scss +8 -0
- package/lib/theme-chalk/{root.css → styles/root.css} +2 -35
- package/lib/theme-chalk/styles/row.scss +23 -0
- package/lib/theme-chalk/styles/variable.scss +80 -0
- package/lib/tianheng-ui.js +71 -9
- package/package.json +24 -4
- package/packages/Button/index.js +8 -0
- package/packages/Button/index.vue +80 -0
- package/packages/Card/index.js +8 -0
- package/packages/Card/index.vue +37 -0
- package/packages/{cell → Cell}/index.js +0 -0
- package/packages/Cell/index.vue +68 -0
- package/packages/{codeEditor → CodeEditor}/index.js +0 -0
- package/packages/{codeEditor → CodeEditor}/index.vue +73 -108
- package/packages/Col/index.js +8 -0
- package/packages/Col/index.vue +41 -0
- package/packages/{dialog → Dialog}/index.js +0 -0
- package/packages/{dialog → Dialog}/index.vue +19 -10
- package/packages/Empty/images/notData.png +0 -0
- package/packages/{empty → Empty}/index.js +0 -0
- package/packages/Empty/index.vue +35 -0
- package/packages/FormMaking/Container.vue +1907 -0
- package/packages/{formMaking → FormMaking}/FormConfig.vue +22 -6
- package/packages/FormMaking/GenerateForm.vue +246 -0
- package/packages/{formMaking → FormMaking}/GenerateFormItem.vue +340 -172
- package/packages/FormMaking/GenerateFormItemH5.vue +828 -0
- package/packages/{formMaking → FormMaking}/Upload/index.vue +0 -0
- package/packages/FormMaking/WidgetConfig.vue +473 -0
- package/packages/{formMaking → FormMaking}/WidgetForm.vue +49 -31
- package/packages/FormMaking/WidgetFormItem.vue +157 -0
- package/packages/{formMaking/componentsConfig.js → FormMaking/custom/config.js} +379 -163
- package/packages/FormMaking/custom/configs/alliance.vue +0 -0
- package/packages/FormMaking/custom/configs/blank.vue +54 -0
- package/packages/FormMaking/custom/configs/button.vue +144 -0
- package/packages/FormMaking/custom/configs/cascader.vue +182 -0
- package/packages/FormMaking/custom/configs/cell.vue +81 -0
- package/packages/FormMaking/custom/configs/checkbox.vue +237 -0
- package/packages/FormMaking/custom/configs/color.vue +137 -0
- package/packages/FormMaking/custom/configs/date.vue +158 -0
- package/packages/FormMaking/custom/configs/divider.vue +61 -0
- package/packages/FormMaking/custom/configs/editor.vue +71 -0
- package/packages/FormMaking/custom/configs/filler.vue +52 -0
- package/packages/FormMaking/custom/configs/grid.vue +103 -0
- package/packages/FormMaking/custom/configs/image.vue +148 -0
- package/packages/FormMaking/custom/configs/input.vue +176 -0
- package/packages/FormMaking/custom/configs/number.vue +140 -0
- package/packages/FormMaking/custom/configs/radio.vue +215 -0
- package/packages/FormMaking/custom/configs/rate.vue +109 -0
- package/packages/FormMaking/custom/configs/select.vue +308 -0
- package/packages/FormMaking/custom/configs/slider.vue +142 -0
- package/packages/FormMaking/custom/configs/switch.vue +130 -0
- package/packages/FormMaking/custom/configs/table.vue +105 -0
- package/packages/FormMaking/custom/configs/table_h5.vue +102 -0
- package/packages/FormMaking/custom/configs/tabs.vue +175 -0
- package/packages/FormMaking/custom/configs/text.vue +71 -0
- package/packages/FormMaking/custom/configs/textarea.vue +167 -0
- package/packages/FormMaking/custom/configs/time.vue +153 -0
- package/packages/FormMaking/custom/configs/upload.vue +150 -0
- package/packages/FormMaking/custom/index.js +33 -0
- package/packages/FormMaking/custom/items/alliance.vue +132 -0
- package/packages/FormMaking/custom/items/blank.vue +16 -0
- package/packages/FormMaking/custom/items/button.vue +27 -0
- package/packages/FormMaking/custom/items/cascader.vue +29 -0
- package/packages/FormMaking/custom/items/cell.vue +18 -0
- package/packages/FormMaking/custom/items/checkbox.vue +46 -0
- package/packages/FormMaking/custom/items/color.vue +19 -0
- package/packages/FormMaking/custom/items/date.vue +29 -0
- package/packages/FormMaking/custom/items/divider.vue +14 -0
- package/packages/FormMaking/custom/items/editor.vue +22 -0
- package/packages/FormMaking/custom/items/filler.vue +17 -0
- package/packages/FormMaking/custom/items/grid.vue +129 -0
- package/packages/FormMaking/custom/items/image.vue +42 -0
- package/packages/FormMaking/custom/items/input.vue +36 -0
- package/packages/FormMaking/custom/items/login.vue +13 -0
- package/packages/FormMaking/custom/items/number.vue +24 -0
- package/packages/FormMaking/custom/items/radio.vue +44 -0
- package/packages/FormMaking/custom/items/rate.vue +20 -0
- package/packages/FormMaking/custom/items/select.vue +32 -0
- package/packages/FormMaking/custom/items/slider.vue +34 -0
- package/packages/FormMaking/custom/items/switch.vue +22 -0
- package/packages/FormMaking/custom/items/table.vue +106 -0
- package/packages/FormMaking/custom/items/table_h5.vue +126 -0
- package/packages/FormMaking/custom/items/tabs.vue +145 -0
- package/packages/FormMaking/custom/items/text.vue +18 -0
- package/packages/FormMaking/custom/items/textarea.vue +37 -0
- package/packages/FormMaking/custom/items/time.vue +32 -0
- package/packages/FormMaking/custom/items/upload.vue +83 -0
- package/packages/FormMaking/custom/mixins/index.js +61 -0
- package/packages/FormMaking/custom/register.js +18 -0
- package/packages/{formMaking → FormMaking}/iconfont/demo.css +0 -0
- package/packages/{formMaking → FormMaking}/iconfont/demo_index.html +0 -0
- package/packages/{formMaking → FormMaking}/iconfont/iconfont.css +0 -0
- package/packages/{formMaking → FormMaking}/iconfont/iconfont.eot +0 -0
- package/packages/{formMaking → FormMaking}/iconfont/iconfont.js +0 -0
- package/packages/{formMaking → FormMaking}/iconfont/iconfont.svg +0 -0
- package/{lib → packages/FormMaking/iconfont}/iconfont.ttf +0 -0
- package/{lib → packages/FormMaking/iconfont}/iconfont.woff +0 -0
- package/packages/{formMaking → FormMaking}/iconfont/iconfont.woff2 +0 -0
- package/packages/FormMaking/index.js +35 -0
- package/packages/{formMaking → FormMaking}/lang/en-US.js +1 -1
- package/packages/{formMaking → FormMaking}/lang/zh-CN.js +1 -1
- package/packages/{formMaking → FormMaking}/styles/cover.scss +1 -1
- package/packages/{formMaking → FormMaking}/styles/index.scss +445 -429
- package/packages/{formMaking → FormMaking/util}/generateCode.js +5 -5
- package/packages/{formMaking → FormMaking}/util/index.js +0 -0
- package/packages/{formMaking → FormMaking}/util/request.js +0 -0
- package/packages/{icons → Icons}/index.js +0 -0
- package/packages/{icons → Icons}/index.vue +26 -9
- package/packages/Image/index.js +8 -0
- package/packages/Image/index.vue +146 -0
- package/packages/ImagePreview/index.js +8 -0
- package/packages/ImagePreview/index.vue +386 -0
- package/packages/Row/index.js +8 -0
- package/packages/Row/index.vue +35 -0
- package/packages/{table → Table}/action.js +0 -0
- package/packages/{table → Table}/action.vue +1 -1
- package/packages/Table/column.vue +63 -0
- package/packages/{table → Table}/index.js +0 -0
- package/packages/{table → Table}/index.vue +25 -23
- package/packages/{table → Table}/search.js +0 -0
- package/packages/{table → Table}/search.vue +2 -2
- package/packages/{table → Table}/tools.js +0 -0
- package/packages/{table → Table}/tools.vue +0 -0
- package/packages/Workflow/Log.js +99 -0
- package/packages/Workflow/designer/ProcessDesigner.vue +628 -0
- package/packages/Workflow/designer/index.js +7 -0
- package/packages/Workflow/designer/plugins/content-pad/contentPadProvider.js +390 -0
- package/packages/Workflow/designer/plugins/content-pad/index.js +6 -0
- package/packages/Workflow/designer/plugins/defaultEmpty.js +24 -0
- package/packages/Workflow/designer/plugins/descriptor/activitiDescriptor.json +1071 -0
- package/packages/Workflow/designer/plugins/descriptor/camundaDescriptor.json +1087 -0
- package/packages/Workflow/designer/plugins/descriptor/flowableDescriptor.json +1215 -0
- package/packages/Workflow/designer/plugins/extension-moddle/activiti/activitiExtension.js +74 -0
- package/packages/Workflow/designer/plugins/extension-moddle/activiti/index.js +9 -0
- package/packages/Workflow/designer/plugins/extension-moddle/camunda/extension.js +148 -0
- package/packages/Workflow/designer/plugins/extension-moddle/camunda/index.js +6 -0
- package/packages/Workflow/designer/plugins/extension-moddle/flowable/flowableExtension.js +74 -0
- package/packages/Workflow/designer/plugins/extension-moddle/flowable/index.js +9 -0
- package/packages/Workflow/designer/plugins/palette/CustomPalette.js +156 -0
- package/packages/Workflow/designer/plugins/palette/index.js +6 -0
- package/packages/Workflow/designer/plugins/palette/paletteProvider.js +160 -0
- package/packages/Workflow/designer/plugins/translate/customTranslate.js +41 -0
- package/packages/Workflow/designer/plugins/translate/zh.js +238 -0
- package/packages/Workflow/highlight/index.js +5 -0
- package/packages/Workflow/index.js +26 -0
- package/packages/Workflow/index.vue +394 -0
- package/packages/Workflow/modules/auto-place/CustomAutoPlace.js +81 -0
- package/packages/Workflow/modules/auto-place/index.js +6 -0
- package/packages/Workflow/modules/custom-renderer/CustomRenderer.js +17 -0
- package/packages/Workflow/modules/custom-renderer/index.js +6 -0
- package/packages/Workflow/modules/rules/CustomRules.js +16 -0
- package/packages/Workflow/modules/rules/index.js +6 -0
- package/packages/Workflow/palette/ProcessPalette.vue +106 -0
- package/packages/Workflow/palette/index.js +7 -0
- package/packages/Workflow/penal/PropertiesPanel.vue +247 -0
- package/packages/Workflow/penal/base/ElementBaseInfo.vue +80 -0
- package/packages/Workflow/penal/flow-condition/FlowCondition.vue +142 -0
- package/packages/Workflow/penal/form/ElementForm.vue +367 -0
- package/packages/Workflow/penal/index.js +7 -0
- package/packages/Workflow/penal/listeners/ElementListeners.vue +299 -0
- package/packages/Workflow/penal/listeners/UserTaskListeners.vue +322 -0
- package/packages/Workflow/penal/listeners/template.js +178 -0
- package/packages/Workflow/penal/listeners/utilSelf.js +62 -0
- package/packages/Workflow/penal/multi-instance/ElementMultiInstance.vue +200 -0
- package/packages/Workflow/penal/other/ElementOtherConfig.vue +59 -0
- package/packages/Workflow/penal/properties/ElementProperties.vue +135 -0
- package/packages/Workflow/penal/signal-message/SignalAndMessage.vue +104 -0
- package/packages/Workflow/penal/task/ElementTask.vue +73 -0
- package/packages/Workflow/penal/task/task-components/ReceiveTask.vue +97 -0
- package/packages/Workflow/penal/task/task-components/ScriptTask.vue +85 -0
- package/packages/Workflow/penal/task/task-components/UserTask.vue +535 -0
- package/packages/Workflow/theme/element-variables.scss +70 -0
- package/packages/Workflow/theme/index.scss +2 -0
- package/packages/Workflow/theme/process-designer.scss +157 -0
- package/packages/Workflow/theme/process-panel.scss +107 -0
- package/packages/Workflow/translations.js +25 -0
- package/packages/Workflow/utils.js +71 -0
- package/packages/upload/ajax.js +85 -0
- package/packages/upload/index.js +8 -0
- package/packages/upload/index.vue +325 -0
- package/packages/upload/locale.js +9 -0
- package/packages/upload/upload-dragger.vue +70 -0
- package/packages/upload/upload-list.vue +101 -0
- package/packages/upload/upload.vue +211 -0
- package/lib/03250ed25fc1b305e9980cf7cf0dfb09.js +0 -1
- package/lib/theme-chalk/cell.css +0 -53
- package/lib/theme-chalk/dialog.css +0 -41
- package/lib/theme-chalk/empty.css +0 -27
- package/lib/theme-chalk/index.css +0 -6
- package/lib/theme-chalk/reset.css +0 -4
- package/lib/tianheng-ui.js.map +0 -1
- package/packages/cell/index.vue +0 -116
- package/packages/empty/index.vue +0 -33
- package/packages/formMaking/Container.vue +0 -591
- package/packages/formMaking/CusDialog.vue +0 -134
- package/packages/formMaking/GenerateForm.vue +0 -174
- package/packages/formMaking/WidgetConfig.vue +0 -1539
- package/packages/formMaking/WidgetFormItem.vue +0 -817
- package/packages/formMaking/iconfont/iconfont.ttf +0 -0
- package/packages/formMaking/iconfont/iconfont.woff +0 -0
- package/packages/formMaking/index.js +0 -77
- package/packages/table/column.vue +0 -111
@@ -0,0 +1,151 @@
|
|
1
|
+
|
2
|
+
[class*="th-col-"] {
|
3
|
+
float: left;
|
4
|
+
box-sizing: border-box;
|
5
|
+
}
|
6
|
+
|
7
|
+
.th-col-1 {
|
8
|
+
width: 4.16667%;
|
9
|
+
}
|
10
|
+
.th-col-2 {
|
11
|
+
width: 8.33333%;
|
12
|
+
}
|
13
|
+
.th-col-3 {
|
14
|
+
width: 12.5%;
|
15
|
+
}
|
16
|
+
.th-col-4 {
|
17
|
+
width: 16.66667%;
|
18
|
+
}
|
19
|
+
.th-col-5 {
|
20
|
+
width: 20.83333%;
|
21
|
+
}
|
22
|
+
.th-col-6 {
|
23
|
+
width: 25%;
|
24
|
+
}
|
25
|
+
.th-col-7 {
|
26
|
+
width: 29.16667%;
|
27
|
+
}
|
28
|
+
.th-col-8 {
|
29
|
+
width: 33.33333%;
|
30
|
+
}
|
31
|
+
.th-col-9 {
|
32
|
+
width: 37.5%;
|
33
|
+
}
|
34
|
+
.th-col-10 {
|
35
|
+
width: 41.66667%;
|
36
|
+
}
|
37
|
+
.th-col-11 {
|
38
|
+
width: 45.83333%;
|
39
|
+
}
|
40
|
+
.th-col-12 {
|
41
|
+
width: 50%;
|
42
|
+
}
|
43
|
+
.th-col-13 {
|
44
|
+
width: 54.166667%;
|
45
|
+
}
|
46
|
+
.th-col-14 {
|
47
|
+
width: 58.33333%;
|
48
|
+
}
|
49
|
+
.th-col-15 {
|
50
|
+
width: 62.5%;
|
51
|
+
}
|
52
|
+
.th-col-16 {
|
53
|
+
width: 66.66667%;
|
54
|
+
}
|
55
|
+
.th-col-17 {
|
56
|
+
width: 70.83333%;
|
57
|
+
}
|
58
|
+
.th-col-18 {
|
59
|
+
width: 75%;
|
60
|
+
}
|
61
|
+
.th-col-19 {
|
62
|
+
width: 79.166667%;
|
63
|
+
}
|
64
|
+
.th-col-20 {
|
65
|
+
width: 83.33333%;
|
66
|
+
}
|
67
|
+
.th-col-21 {
|
68
|
+
width: 87.5%;
|
69
|
+
}
|
70
|
+
.th-col-22 {
|
71
|
+
width: 91.66667%;
|
72
|
+
}
|
73
|
+
.th-col-23 {
|
74
|
+
width: 95.83333%;
|
75
|
+
}
|
76
|
+
.th-col-24 {
|
77
|
+
width: 100%;
|
78
|
+
}
|
79
|
+
|
80
|
+
.th-col-offset-1 {
|
81
|
+
margin-left: 4.16667%;
|
82
|
+
}
|
83
|
+
.th-col-offset-2 {
|
84
|
+
margin-left: 8.33333%;
|
85
|
+
}
|
86
|
+
.th-col-offset-3 {
|
87
|
+
margin-left: 12.5%;
|
88
|
+
}
|
89
|
+
.th-col-offset-4 {
|
90
|
+
margin-left: 16.66667%;
|
91
|
+
}
|
92
|
+
.th-col-offset-5 {
|
93
|
+
margin-left: 20.83333%;
|
94
|
+
}
|
95
|
+
.th-col-offset-6 {
|
96
|
+
margin-left: 25%;
|
97
|
+
}
|
98
|
+
.th-col-offset-7 {
|
99
|
+
margin-left: 29.16667%;
|
100
|
+
}
|
101
|
+
.th-col-offset-8 {
|
102
|
+
margin-left: 33.33333%;
|
103
|
+
}
|
104
|
+
.th-col-offset-9 {
|
105
|
+
margin-left: 37.5%;
|
106
|
+
}
|
107
|
+
.th-col-offset-10 {
|
108
|
+
margin-left: 41.66667%;
|
109
|
+
}
|
110
|
+
.th-col-offset-11 {
|
111
|
+
margin-left: 45.83333%;
|
112
|
+
}
|
113
|
+
.th-col-offset-12 {
|
114
|
+
margin-left: 50%;
|
115
|
+
}
|
116
|
+
.th-col-offset-13 {
|
117
|
+
margin-left: 54.166667%;
|
118
|
+
}
|
119
|
+
.th-col-offset-14 {
|
120
|
+
margin-left: 58.33333%;
|
121
|
+
}
|
122
|
+
.th-col-offset-15 {
|
123
|
+
margin-left: 62.5%;
|
124
|
+
}
|
125
|
+
.th-col-offset-16 {
|
126
|
+
margin-left: 66.66667%;
|
127
|
+
}
|
128
|
+
.th-col-offset-17 {
|
129
|
+
margin-left: 70.83333%;
|
130
|
+
}
|
131
|
+
.th-col-offset-18 {
|
132
|
+
margin-left: 75%;
|
133
|
+
}
|
134
|
+
.th-col-offset-19 {
|
135
|
+
margin-left: 79.166667%;
|
136
|
+
}
|
137
|
+
.th-col-offset-20 {
|
138
|
+
margin-left: 83.33333%;
|
139
|
+
}
|
140
|
+
.th-col-offset-21 {
|
141
|
+
margin-left: 87.5%;
|
142
|
+
}
|
143
|
+
.th-col-offset-22 {
|
144
|
+
margin-left: 91.66667%;
|
145
|
+
}
|
146
|
+
.th-col-offset-23 {
|
147
|
+
margin-left: 95.83333%;
|
148
|
+
}
|
149
|
+
.th-col-offset-24 {
|
150
|
+
margin-left: 100%;
|
151
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
.th-dialog .el-dialog {
|
2
|
+
width: 800px;
|
3
|
+
}
|
4
|
+
.th-dialog .el-dialog__header {
|
5
|
+
padding: 0 !important;
|
6
|
+
height: 50px;
|
7
|
+
line-height: 50px;
|
8
|
+
background-color: $background-color-base;
|
9
|
+
border-bottom: 1px solid $border-color-base;
|
10
|
+
}
|
11
|
+
.th-dialog .el-dialog__title {
|
12
|
+
font-size: $font-size-md !important;
|
13
|
+
}
|
14
|
+
.th-dialog .el-dialog__body {
|
15
|
+
padding: 15px 50px !important;
|
16
|
+
height: 470px;
|
17
|
+
overflow-y: overlay;
|
18
|
+
}
|
19
|
+
|
20
|
+
.th-dialog .el-dialog__footer {
|
21
|
+
padding: 15px !important;
|
22
|
+
border-top: 1px solid $border-color-base;
|
23
|
+
}
|
24
|
+
|
25
|
+
.th-dialog .is-fullscreen {
|
26
|
+
width: 100%;
|
27
|
+
}
|
28
|
+
.th-dialog .is-fullscreen .el-dialog__body {
|
29
|
+
height: calc(100% - 150px);
|
30
|
+
}
|
31
|
+
|
32
|
+
.th-dialog .th-dialog__header {
|
33
|
+
display: flex;
|
34
|
+
align-items: center;
|
35
|
+
}
|
36
|
+
.th-dialog .th-dialog__title {
|
37
|
+
flex: 1;
|
38
|
+
padding: 0 15px;
|
39
|
+
font-size: $font-size-md;
|
40
|
+
}
|
41
|
+
.th-dialog .th-dialog__action {
|
42
|
+
display: flex;
|
43
|
+
}
|
44
|
+
.th-dialog .th-dialog__action_item {
|
45
|
+
width: 40px;
|
46
|
+
height: 50px;
|
47
|
+
line-height: 50px;
|
48
|
+
text-align: center;
|
49
|
+
transition: $transition;
|
50
|
+
cursor: pointer;
|
51
|
+
}
|
52
|
+
.th-dialog .th-dialog__action_item:hover {
|
53
|
+
color: $color-parimary;
|
54
|
+
}
|
55
|
+
.th-dialog .th-dialog__footer {
|
56
|
+
text-align: right;
|
57
|
+
-webkit-box-sizing: border-box;
|
58
|
+
box-sizing: border-box;
|
59
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
.th-empty {
|
2
|
+
padding: 32px 0;
|
3
|
+
display: flex;
|
4
|
+
justify-content: center;
|
5
|
+
align-items: center;
|
6
|
+
flex-direction: column;
|
7
|
+
text-align: center;
|
8
|
+
box-sizing: border-box;
|
9
|
+
}
|
10
|
+
.th-empty-img {
|
11
|
+
vertical-align: top;
|
12
|
+
}
|
13
|
+
.th-empty-description {
|
14
|
+
margin-top: 16px;
|
15
|
+
padding: 0 60px;
|
16
|
+
color: $color-text-secondary;
|
17
|
+
font-size: 14px;
|
18
|
+
line-height: 20px;
|
19
|
+
}
|
20
|
+
.th-empty-bottom {
|
21
|
+
margin-top: 24px;
|
22
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
.th-is_border {
|
2
|
+
border: 1px solid $border-color-base;
|
3
|
+
}
|
4
|
+
|
5
|
+
.th-is_active {
|
6
|
+
background-color: $background-color-base;
|
7
|
+
}
|
8
|
+
|
9
|
+
.th-is_hover:hover {
|
10
|
+
background-color: $background-color-base;
|
11
|
+
}
|
12
|
+
|
13
|
+
.th-is_alignItemsCenter {
|
14
|
+
align-items: center;
|
15
|
+
}
|
16
|
+
|
17
|
+
.th-is_disabled {
|
18
|
+
color: #c0c4cc;
|
19
|
+
cursor: not-allowed;
|
20
|
+
background-image: none;
|
21
|
+
background-color: #fff;
|
22
|
+
border-color: #ebeef5;
|
23
|
+
}
|
24
|
+
|
25
|
+
.th-is_loading {
|
26
|
+
position: relative;
|
27
|
+
pointer-events: none;
|
28
|
+
}
|
29
|
+
|
30
|
+
.th-is_plain {
|
31
|
+
background: $background-color-white;
|
32
|
+
border-color: $color-parimary;
|
33
|
+
color: $color-parimary;
|
34
|
+
}
|
35
|
+
|
36
|
+
.th-is_round {
|
37
|
+
border-radius: $border-radius-xl;
|
38
|
+
}
|
39
|
+
|
40
|
+
.th-is_circle {
|
41
|
+
border-radius: 50%;
|
42
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: "th-icons"; /* Project id 3124411 */
|
3
|
-
src: url(
|
4
|
-
url(
|
5
|
-
url(
|
3
|
+
src: url(../fonts/iconfont.woff2) format("woff2"),
|
4
|
+
url(../fonts/iconfont.woff) format("woff"),
|
5
|
+
url(../fonts/iconfont.ttf) format("truetype");
|
6
6
|
}
|
7
7
|
|
8
8
|
[class*="th-icon-"],
|
@@ -0,0 +1,113 @@
|
|
1
|
+
.th-image-preview {
|
2
|
+
display: flex;
|
3
|
+
}
|
4
|
+
.th-preview-item-out {
|
5
|
+
margin-right: 10px;
|
6
|
+
display: inline-block;
|
7
|
+
}
|
8
|
+
.th-preview-item-image-out {
|
9
|
+
width: 90px;
|
10
|
+
height: 100px;
|
11
|
+
object-fit: cover;
|
12
|
+
}
|
13
|
+
.th-preview-item-image-ins {
|
14
|
+
width: 90px;
|
15
|
+
height: 100px;
|
16
|
+
object-fit: cover;
|
17
|
+
}
|
18
|
+
.th-image-viewer__wrapper {
|
19
|
+
position: fixed;
|
20
|
+
top: 0;
|
21
|
+
right: 0;
|
22
|
+
bottom: 0;
|
23
|
+
left: 0;
|
24
|
+
z-index: 2014;
|
25
|
+
}
|
26
|
+
.th-image-viewer__mask {
|
27
|
+
position: absolute;
|
28
|
+
width: 100%;
|
29
|
+
height: 100%;
|
30
|
+
top: 0;
|
31
|
+
left: 0;
|
32
|
+
opacity: 0.8;
|
33
|
+
background: #000;
|
34
|
+
}
|
35
|
+
.th-image-viewer__item {
|
36
|
+
position: absolute;
|
37
|
+
display: flex;
|
38
|
+
top: 10px;
|
39
|
+
left: 10px;
|
40
|
+
}
|
41
|
+
.th-preview-item-ins {
|
42
|
+
margin-right: 10px;
|
43
|
+
display: inline-block;
|
44
|
+
transition: $transition;
|
45
|
+
}
|
46
|
+
.th-preview-item-ins:hover {
|
47
|
+
transform: scale(1.1);
|
48
|
+
}
|
49
|
+
.th-image-viewer__btn {
|
50
|
+
position: absolute;
|
51
|
+
z-index: 1;
|
52
|
+
display: flex;
|
53
|
+
align-items: center;
|
54
|
+
justify-content: center;
|
55
|
+
border-radius: 50%;
|
56
|
+
opacity: 0.8;
|
57
|
+
cursor: pointer;
|
58
|
+
box-sizing: border-box;
|
59
|
+
user-select: none;
|
60
|
+
}
|
61
|
+
.th-image-viewer__prev {
|
62
|
+
top: 50%;
|
63
|
+
transform: translateY(-50%);
|
64
|
+
width: 44px;
|
65
|
+
height: 44px;
|
66
|
+
font-size: 24px;
|
67
|
+
color: #fff;
|
68
|
+
background-color: #606266;
|
69
|
+
border-color: #fff;
|
70
|
+
left: 40px;
|
71
|
+
}
|
72
|
+
.th-image-viewer__next {
|
73
|
+
top: 50%;
|
74
|
+
transform: translateY(-50%);
|
75
|
+
width: 44px;
|
76
|
+
height: 44px;
|
77
|
+
font-size: 24px;
|
78
|
+
color: #fff;
|
79
|
+
background-color: #606266;
|
80
|
+
border-color: #fff;
|
81
|
+
right: 40px;
|
82
|
+
}
|
83
|
+
.th-image-viewer__actions {
|
84
|
+
left: 50%;
|
85
|
+
bottom: 30px;
|
86
|
+
transform: translateX(-50%);
|
87
|
+
width: 282px;
|
88
|
+
height: 44px;
|
89
|
+
padding: 0 23px;
|
90
|
+
background-color: #606266;
|
91
|
+
border-color: #fff;
|
92
|
+
border-radius: 22px;
|
93
|
+
z-index: 2016;
|
94
|
+
}
|
95
|
+
.th-image-viewer__canvas {
|
96
|
+
width: 100%;
|
97
|
+
height: 100%;
|
98
|
+
display: flex;
|
99
|
+
justify-content: center;
|
100
|
+
align-items: center;
|
101
|
+
}
|
102
|
+
.th-image-viewer__close {
|
103
|
+
top: 40px;
|
104
|
+
right: 40px;
|
105
|
+
width: 40px;
|
106
|
+
height: 40px;
|
107
|
+
font-size: 24px;
|
108
|
+
color: #fff;
|
109
|
+
background-color: #606266;
|
110
|
+
}
|
111
|
+
.zindex {
|
112
|
+
z-index: 2016;
|
113
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
.th-img {
|
2
|
+
vertical-align: middle;
|
3
|
+
display: inline-block;
|
4
|
+
position: relative;
|
5
|
+
width: 100%;
|
6
|
+
height: 100%;
|
7
|
+
}
|
8
|
+
.th-image__placeholder {
|
9
|
+
position: absolute;
|
10
|
+
display: flex;
|
11
|
+
align-items: center;
|
12
|
+
justify-content: center;
|
13
|
+
width: 100%;
|
14
|
+
height: 100%;
|
15
|
+
background: #f5f7fa;
|
16
|
+
color: #909399;
|
17
|
+
font-size: 14px;
|
18
|
+
}
|
19
|
+
.th-image__error {
|
20
|
+
position: absolute;
|
21
|
+
width: 100%;
|
22
|
+
height: 100%;
|
23
|
+
display: flex;
|
24
|
+
justify-content: center;
|
25
|
+
align-items: center;
|
26
|
+
font-size: 14px;
|
27
|
+
color: #c0c4cc;
|
28
|
+
vertical-align: middle;
|
29
|
+
}
|
30
|
+
.th-image--inline-block {
|
31
|
+
display: inline-block;
|
32
|
+
}
|
33
|
+
.th-image--block {
|
34
|
+
display: block;
|
35
|
+
}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
--th-orange: #ff976a;
|
15
15
|
--th-orange-dark: #ed6a0c;
|
16
16
|
--th-orange-light: #fffbe8;
|
17
|
-
--th-green: #
|
17
|
+
--th-green: #67c23a;
|
18
18
|
--th-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);
|
19
19
|
--th-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);
|
20
20
|
--th-primary-color: var(--th-blue);
|
@@ -60,38 +60,5 @@
|
|
60
60
|
--th-border-radius-md: 4px;
|
61
61
|
--th-border-radius-lg: 8px;
|
62
62
|
--th-border-radius-max: 999px;
|
63
|
-
|
64
|
-
|
65
|
-
:root {
|
66
|
-
--th-cell-line-height: 24px;
|
67
|
-
--th-cell-vertical-padding: 10px;
|
68
|
-
--th-cell-horizontal-padding: var(--th-padding-md);
|
69
|
-
--th-cell-background-color: var(--th-background-color-light);
|
70
|
-
--th-cell-text-color: var(--th-text-color);
|
71
|
-
--th-cell-font-size: var(--th-font-size-md);
|
72
|
-
|
73
|
-
--th-cell-label-margin-top: var(--th-padding-base);
|
74
|
-
--th-cell-label-color: var(--th-text-color-2);
|
75
|
-
--th-cell-label-font-size: var(--th-font-size-sm);
|
76
|
-
--th-cell-label-line-height: var(--th-line-height-sm);
|
77
|
-
|
78
|
-
--th-cell-value-color: var(--th-text-color-2);
|
79
|
-
--th-cell-value-margin-left: var(--th-padding-xs);
|
80
|
-
|
81
|
-
--th-cell-icon-margin-right: var(--th-padding-xs);
|
82
|
-
--th-cell-icon-size: 16px;
|
83
|
-
}
|
84
|
-
|
85
|
-
:root {
|
86
|
-
--th-empty-padding: var(--th-padding-xl) 0;
|
87
|
-
|
88
|
-
--th-empty-image-size: 300px;
|
89
|
-
|
90
|
-
--th-empty-description-margin-top: var(--th-padding-md);
|
91
|
-
--th-empty-description-padding: 0 60px;
|
92
|
-
--th-empty-description-color: var(--th-text-color-2);
|
93
|
-
--th-empty-description-font-size: var(--th-font-size-md);
|
94
|
-
--th-empty-description-line-height: var(--th-line-height-md);
|
95
|
-
|
96
|
-
--th-empty-bottom-margin-top: 24px;
|
63
|
+
--th-box-shadow: 0 2px 12px 0 rgb(0, 0, 0, 0.1);
|
97
64
|
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.th-row {
|
2
|
+
position: relative;
|
3
|
+
box-sizing: border-box;
|
4
|
+
}
|
5
|
+
.th-row::after {
|
6
|
+
content: " ";
|
7
|
+
display: table;
|
8
|
+
clear: both;
|
9
|
+
}
|
10
|
+
.th-row::before {
|
11
|
+
content: " ";
|
12
|
+
display: table;
|
13
|
+
}
|
14
|
+
|
15
|
+
.th-row-flex {
|
16
|
+
display: flex;
|
17
|
+
}
|
18
|
+
.th-row-flex::after {
|
19
|
+
display: none;
|
20
|
+
}
|
21
|
+
.th-row-flex::before {
|
22
|
+
display: none;
|
23
|
+
}
|
@@ -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;
|