tianheng-ui 0.1.0 → 0.1.2
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/README.md +9 -18
- package/lib/039af9192b9bb277966ceb4e4ce29c41.js +16 -0
- package/lib/2d84c80112a372bc149cad3464e90fa3.js +1617 -0
- 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/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/theme-chalk/fonts/iconfont.eot +0 -0
- package/lib/theme-chalk/fonts/iconfont.svg +155 -0
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff2 +0 -0
- package/lib/theme-chalk/images/notData.png +0 -0
- package/lib/theme-chalk/index.scss +31 -0
- package/lib/theme-chalk/js/Log.js +99 -0
- package/lib/theme-chalk/js/axios.js +86 -0
- package/lib/theme-chalk/js/store/getters.js +5 -0
- package/lib/theme-chalk/js/store/modules/makingForm.js +21 -0
- package/lib/theme-chalk/js/store/store.js +26 -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 +56 -0
- package/lib/theme-chalk/styles/empty.scss +22 -0
- package/lib/theme-chalk/styles/feature.scss +46 -0
- package/lib/theme-chalk/styles/font.css +7 -0
- package/lib/theme-chalk/styles/grid.scss +41 -0
- package/lib/theme-chalk/styles/icon.css +1944 -0
- 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 +17 -0
- package/lib/theme-chalk/styles/root.css +64 -0
- package/lib/theme-chalk/styles/row.scss +23 -0
- package/lib/theme-chalk/styles/upload.scss +744 -0
- package/lib/theme-chalk/styles/variable.scss +80 -0
- package/lib/tianheng-ui.js +116 -0
- package/package.json +86 -48
- 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/index.js +8 -0
- package/packages/Cell/index.vue +68 -0
- package/packages/CodeEditor/index.js +8 -0
- package/packages/CodeEditor/index.vue +177 -0
- package/packages/Col/index.js +8 -0
- package/packages/Col/index.vue +43 -0
- package/packages/Dialog/index.js +8 -0
- package/packages/Dialog/index.vue +129 -0
- package/packages/Empty/index.js +8 -0
- package/packages/Empty/index.vue +35 -0
- package/packages/FormMaking/FormConfig.vue +60 -0
- package/packages/FormMaking/GenerateForm.vue +308 -0
- package/packages/FormMaking/GenerateFormItem.vue +887 -0
- package/packages/FormMaking/GenerateFormItemH5.vue +825 -0
- package/packages/FormMaking/Upload/index.vue +572 -0
- package/packages/FormMaking/WidgetConfig.vue +472 -0
- package/packages/FormMaking/WidgetForm.vue +159 -0
- package/packages/FormMaking/WidgetFormItem.vue +187 -0
- package/packages/FormMaking/custom/config.js +762 -0
- 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 +172 -0
- package/packages/FormMaking/custom/configs/cascader.vue +175 -0
- package/packages/FormMaking/custom/configs/cell.vue +81 -0
- package/packages/FormMaking/custom/configs/checkbox.vue +234 -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 +57 -0
- package/packages/FormMaking/custom/configs/grid.vue +103 -0
- package/packages/FormMaking/custom/configs/image.vue +138 -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 +211 -0
- package/packages/FormMaking/custom/configs/rate.vue +109 -0
- package/packages/FormMaking/custom/configs/select.vue +305 -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 +155 -0
- package/packages/FormMaking/custom/index.js +32 -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 +130 -0
- package/packages/FormMaking/custom/items/image.vue +70 -0
- package/packages/FormMaking/custom/items/input.vue +33 -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 +102 -0
- package/packages/FormMaking/custom/mixins/index.js +61 -0
- package/packages/FormMaking/custom/register.js +18 -0
- package/packages/FormMaking/generate.js +5 -0
- package/packages/FormMaking/iconfont/demo.css +539 -0
- package/packages/FormMaking/iconfont/demo_index.html +1159 -0
- package/packages/FormMaking/iconfont/iconfont.css +189 -0
- package/packages/FormMaking/iconfont/iconfont.eot +0 -0
- package/packages/FormMaking/iconfont/iconfont.js +1 -0
- package/packages/FormMaking/iconfont/iconfont.svg +155 -0
- package/packages/FormMaking/iconfont/iconfont.ttf +0 -0
- package/packages/FormMaking/iconfont/iconfont.woff +0 -0
- package/packages/FormMaking/iconfont/iconfont.woff2 +0 -0
- package/packages/FormMaking/index.js +33 -0
- package/packages/FormMaking/index.vue +807 -0
- package/packages/FormMaking/lang/en-US.js +187 -0
- package/packages/FormMaking/lang/zh-CN.js +187 -0
- package/packages/FormMaking/making.js +9 -0
- package/packages/FormMaking/styles/cover.scss +41 -0
- package/packages/FormMaking/styles/index.scss +785 -0
- package/packages/FormMaking/util/generateCode.js +163 -0
- package/packages/FormMaking/util/index.js +33 -0
- package/packages/FormMaking/util/request.js +28 -0
- package/packages/Grid/index.js +8 -0
- package/packages/Grid/index.vue +21 -0
- package/packages/GridItem/index.js +8 -0
- package/packages/GridItem/index.vue +69 -0
- package/packages/Icons/index.js +8 -0
- package/packages/Icons/index.vue +377 -0
- 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 +33 -0
- package/packages/Table/action.js +8 -0
- package/packages/Table/action.vue +168 -0
- package/packages/Table/column.vue +63 -0
- package/packages/Table/index.js +8 -0
- package/packages/Table/index.vue +327 -0
- package/packages/Table/search.js +8 -0
- package/packages/Table/search.vue +163 -0
- package/packages/Table/tools.js +8 -0
- package/packages/Table/tools.vue +49 -0
- package/packages/TableMaking/custom/configs/fieldSearch.vue +17 -0
- package/packages/TableMaking/custom/configs/fieldTable.vue +15 -0
- package/packages/TableMaking/custom/items/search/index.vue +158 -0
- package/packages/TableMaking/custom/items/tools/index.vue +49 -0
- package/packages/TableMaking/generate.js +5 -0
- package/packages/TableMaking/generateTable.vue +560 -0
- package/packages/TableMaking/index.vue +229 -0
- package/packages/TableMaking/making.js +5 -0
- package/packages/TableMaking/util/index.js +433 -0
- package/packages/TableMaking/widgetConfig.vue +390 -0
- package/packages/TableMaking/widgetTable.vue +305 -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/upload-dragger.vue +70 -0
- package/packages/Upload/upload-list.vue +121 -0
- package/packages/Upload/upload.vue +193 -0
- package/packages/VueEditor/index.js +8 -0
- package/packages/VueEditor/index.vue +38 -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 +34 -0
- package/packages/Workflow/index.vue +399 -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 +245 -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 +64 -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/index.js +160 -0
- package/babel.config.js +0 -15
- package/index.js +0 -11
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -17
- package/src/App.vue +0 -28
- package/src/assets/logo.png +0 -0
- package/src/components/HelloWorld.vue +0 -58
- package/src/main.js +0 -8
@@ -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
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
:root {
|
2
|
+
--th-black: #000;
|
3
|
+
--th-white: #fff;
|
4
|
+
--th-gray-1: #f5f7f9;
|
5
|
+
--th-gray-2: #f2f3f5;
|
6
|
+
--th-gray-3: #ebedf0;
|
7
|
+
--th-gray-4: #dcdee0;
|
8
|
+
--th-gray-5: #c8c9cc;
|
9
|
+
--th-gray-6: #969799;
|
10
|
+
--th-gray-7: #646566;
|
11
|
+
--th-gray-8: #323233;
|
12
|
+
--th-red: #ee0a24;
|
13
|
+
--th-blue: #1989fa;
|
14
|
+
--th-orange: #ff976a;
|
15
|
+
--th-orange-dark: #ed6a0c;
|
16
|
+
--th-orange-light: #fffbe8;
|
17
|
+
--th-green: #67c23a;
|
18
|
+
--th-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);
|
19
|
+
--th-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);
|
20
|
+
--th-primary-color: var(--th-blue);
|
21
|
+
--th-success-color: var(--th-green);
|
22
|
+
--th-danger-color: var(--th-red);
|
23
|
+
--th-warning-color: var(--th-orange);
|
24
|
+
--th-text-color: var(--th-gray-8);
|
25
|
+
--th-text-color-2: var(--th-gray-6);
|
26
|
+
--th-text-color-3: var(--th-gray-5);
|
27
|
+
--th-text-link-color: #576b95;
|
28
|
+
--th-active-color: var(--th-gray-2);
|
29
|
+
--th-active-opacity: 0.6;
|
30
|
+
--th-disabled-opacity: 0.5;
|
31
|
+
--th-background-color: var(--th-gray-1);
|
32
|
+
--th-background-color-light: var(--th-white);
|
33
|
+
--th-padding-base: 4px;
|
34
|
+
--th-padding-xs: 8px;
|
35
|
+
--th-padding-sm: 12px;
|
36
|
+
--th-padding-md: 16px;
|
37
|
+
--th-padding-lg: 24px;
|
38
|
+
--th-padding-xl: 32px;
|
39
|
+
--th-font-size-xs: 10px;
|
40
|
+
--th-font-size-sm: 12px;
|
41
|
+
--th-font-size-md: 14px;
|
42
|
+
--th-font-size-lg: 16px;
|
43
|
+
--th-font-weight-bold: 500;
|
44
|
+
--th-line-height-xs: 14px;
|
45
|
+
--th-line-height-sm: 18px;
|
46
|
+
--th-line-height-md: 20px;
|
47
|
+
--th-line-height-lg: 22px;
|
48
|
+
--th-base-font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
|
49
|
+
Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui",
|
50
|
+
"Hiragino Sans GB", "Microsoft Yahei", sans-serif;
|
51
|
+
--th-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue,
|
52
|
+
Arial, sans-serif;
|
53
|
+
--th-animation-duration-base: 0.3s;
|
54
|
+
--th-animation-duration-fast: 0.2s;
|
55
|
+
--th-animation-timing-function-enter: ease-out;
|
56
|
+
--th-animation-timing-function-leave: ease-in;
|
57
|
+
--th-border-color: var(--th-gray-3);
|
58
|
+
--th-border-width-base: 1px;
|
59
|
+
--th-border-radius-sm: 2px;
|
60
|
+
--th-border-radius-md: 4px;
|
61
|
+
--th-border-radius-lg: 8px;
|
62
|
+
--th-border-radius-max: 999px;
|
63
|
+
--th-box-shadow: 0 2px 12px 0 rgb(0, 0, 0, 0.1);
|
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
|
+
}
|