tianheng-ui 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/README.md +9 -18
  2. package/lib/039af9192b9bb277966ceb4e4ce29c41.js +16 -0
  3. package/lib/2d84c80112a372bc149cad3464e90fa3.js +1617 -0
  4. package/lib/5977b934a4c6b480790864ea01303173.js +10834 -0
  5. package/lib/7745f3e776488705a38e62f85adad54d.js +16 -0
  6. package/lib/de8dee841ffdaaede3a2254deef30376.js +15395 -0
  7. package/lib/e78eab250e7f8ccac3d918dfdb06ca10.js +8904 -0
  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/theme-chalk/fonts/iconfont.eot +0 -0
  20. package/lib/theme-chalk/fonts/iconfont.svg +155 -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/fonts/iconfont.woff2 +0 -0
  24. package/lib/theme-chalk/images/notData.png +0 -0
  25. package/lib/theme-chalk/index.scss +31 -0
  26. package/lib/theme-chalk/js/Log.js +99 -0
  27. package/lib/theme-chalk/js/axios.js +86 -0
  28. package/lib/theme-chalk/js/store/getters.js +5 -0
  29. package/lib/theme-chalk/js/store/modules/makingForm.js +21 -0
  30. package/lib/theme-chalk/js/store/store.js +26 -0
  31. package/lib/theme-chalk/styles/button.scss +501 -0
  32. package/lib/theme-chalk/styles/card.scss +29 -0
  33. package/lib/theme-chalk/styles/cell.scss +54 -0
  34. package/lib/theme-chalk/styles/codeEditor.scss +9 -0
  35. package/lib/theme-chalk/styles/col.scss +151 -0
  36. package/lib/theme-chalk/styles/dialog.scss +56 -0
  37. package/lib/theme-chalk/styles/empty.scss +22 -0
  38. package/lib/theme-chalk/styles/feature.scss +46 -0
  39. package/lib/theme-chalk/styles/font.css +7 -0
  40. package/lib/theme-chalk/styles/grid.scss +41 -0
  41. package/lib/theme-chalk/styles/icon.css +1944 -0
  42. package/lib/theme-chalk/styles/imagePreview.scss +113 -0
  43. package/lib/theme-chalk/styles/img.scss +35 -0
  44. package/lib/theme-chalk/styles/reset.scss +17 -0
  45. package/lib/theme-chalk/styles/root.css +64 -0
  46. package/lib/theme-chalk/styles/row.scss +23 -0
  47. package/lib/theme-chalk/styles/upload.scss +744 -0
  48. package/lib/theme-chalk/styles/variable.scss +80 -0
  49. package/lib/tianheng-ui.js +116 -0
  50. package/package.json +86 -48
  51. package/packages/Button/index.js +8 -0
  52. package/packages/Button/index.vue +80 -0
  53. package/packages/Card/index.js +8 -0
  54. package/packages/Card/index.vue +37 -0
  55. package/packages/Cell/index.js +8 -0
  56. package/packages/Cell/index.vue +68 -0
  57. package/packages/CodeEditor/index.js +8 -0
  58. package/packages/CodeEditor/index.vue +177 -0
  59. package/packages/Col/index.js +8 -0
  60. package/packages/Col/index.vue +43 -0
  61. package/packages/Dialog/index.js +8 -0
  62. package/packages/Dialog/index.vue +129 -0
  63. package/packages/Empty/index.js +8 -0
  64. package/packages/Empty/index.vue +35 -0
  65. package/packages/FormMaking/FormConfig.vue +60 -0
  66. package/packages/FormMaking/GenerateForm.vue +308 -0
  67. package/packages/FormMaking/GenerateFormItem.vue +887 -0
  68. package/packages/FormMaking/GenerateFormItemH5.vue +825 -0
  69. package/packages/FormMaking/Upload/index.vue +572 -0
  70. package/packages/FormMaking/WidgetConfig.vue +472 -0
  71. package/packages/FormMaking/WidgetForm.vue +159 -0
  72. package/packages/FormMaking/WidgetFormItem.vue +187 -0
  73. package/packages/FormMaking/custom/config.js +762 -0
  74. package/packages/FormMaking/custom/configs/alliance.vue +0 -0
  75. package/packages/FormMaking/custom/configs/blank.vue +54 -0
  76. package/packages/FormMaking/custom/configs/button.vue +172 -0
  77. package/packages/FormMaking/custom/configs/cascader.vue +175 -0
  78. package/packages/FormMaking/custom/configs/cell.vue +81 -0
  79. package/packages/FormMaking/custom/configs/checkbox.vue +234 -0
  80. package/packages/FormMaking/custom/configs/color.vue +137 -0
  81. package/packages/FormMaking/custom/configs/date.vue +158 -0
  82. package/packages/FormMaking/custom/configs/divider.vue +61 -0
  83. package/packages/FormMaking/custom/configs/editor.vue +71 -0
  84. package/packages/FormMaking/custom/configs/filler.vue +57 -0
  85. package/packages/FormMaking/custom/configs/grid.vue +103 -0
  86. package/packages/FormMaking/custom/configs/image.vue +138 -0
  87. package/packages/FormMaking/custom/configs/input.vue +176 -0
  88. package/packages/FormMaking/custom/configs/number.vue +140 -0
  89. package/packages/FormMaking/custom/configs/radio.vue +211 -0
  90. package/packages/FormMaking/custom/configs/rate.vue +109 -0
  91. package/packages/FormMaking/custom/configs/select.vue +305 -0
  92. package/packages/FormMaking/custom/configs/slider.vue +142 -0
  93. package/packages/FormMaking/custom/configs/switch.vue +130 -0
  94. package/packages/FormMaking/custom/configs/table.vue +105 -0
  95. package/packages/FormMaking/custom/configs/table_h5.vue +102 -0
  96. package/packages/FormMaking/custom/configs/tabs.vue +175 -0
  97. package/packages/FormMaking/custom/configs/text.vue +71 -0
  98. package/packages/FormMaking/custom/configs/textarea.vue +167 -0
  99. package/packages/FormMaking/custom/configs/time.vue +153 -0
  100. package/packages/FormMaking/custom/configs/upload.vue +155 -0
  101. package/packages/FormMaking/custom/index.js +32 -0
  102. package/packages/FormMaking/custom/items/alliance.vue +132 -0
  103. package/packages/FormMaking/custom/items/blank.vue +16 -0
  104. package/packages/FormMaking/custom/items/button.vue +27 -0
  105. package/packages/FormMaking/custom/items/cascader.vue +29 -0
  106. package/packages/FormMaking/custom/items/cell.vue +18 -0
  107. package/packages/FormMaking/custom/items/checkbox.vue +46 -0
  108. package/packages/FormMaking/custom/items/color.vue +19 -0
  109. package/packages/FormMaking/custom/items/date.vue +29 -0
  110. package/packages/FormMaking/custom/items/divider.vue +14 -0
  111. package/packages/FormMaking/custom/items/editor.vue +22 -0
  112. package/packages/FormMaking/custom/items/filler.vue +17 -0
  113. package/packages/FormMaking/custom/items/grid.vue +130 -0
  114. package/packages/FormMaking/custom/items/image.vue +70 -0
  115. package/packages/FormMaking/custom/items/input.vue +33 -0
  116. package/packages/FormMaking/custom/items/login.vue +13 -0
  117. package/packages/FormMaking/custom/items/number.vue +24 -0
  118. package/packages/FormMaking/custom/items/radio.vue +44 -0
  119. package/packages/FormMaking/custom/items/rate.vue +20 -0
  120. package/packages/FormMaking/custom/items/select.vue +32 -0
  121. package/packages/FormMaking/custom/items/slider.vue +34 -0
  122. package/packages/FormMaking/custom/items/switch.vue +22 -0
  123. package/packages/FormMaking/custom/items/table.vue +106 -0
  124. package/packages/FormMaking/custom/items/table_h5.vue +126 -0
  125. package/packages/FormMaking/custom/items/tabs.vue +145 -0
  126. package/packages/FormMaking/custom/items/text.vue +18 -0
  127. package/packages/FormMaking/custom/items/textarea.vue +37 -0
  128. package/packages/FormMaking/custom/items/time.vue +32 -0
  129. package/packages/FormMaking/custom/items/upload.vue +102 -0
  130. package/packages/FormMaking/custom/mixins/index.js +61 -0
  131. package/packages/FormMaking/custom/register.js +18 -0
  132. package/packages/FormMaking/generate.js +5 -0
  133. package/packages/FormMaking/iconfont/demo.css +539 -0
  134. package/packages/FormMaking/iconfont/demo_index.html +1159 -0
  135. package/packages/FormMaking/iconfont/iconfont.css +189 -0
  136. package/packages/FormMaking/iconfont/iconfont.eot +0 -0
  137. package/packages/FormMaking/iconfont/iconfont.js +1 -0
  138. package/packages/FormMaking/iconfont/iconfont.svg +155 -0
  139. package/packages/FormMaking/iconfont/iconfont.ttf +0 -0
  140. package/packages/FormMaking/iconfont/iconfont.woff +0 -0
  141. package/packages/FormMaking/iconfont/iconfont.woff2 +0 -0
  142. package/packages/FormMaking/index.js +33 -0
  143. package/packages/FormMaking/index.vue +807 -0
  144. package/packages/FormMaking/lang/en-US.js +187 -0
  145. package/packages/FormMaking/lang/zh-CN.js +187 -0
  146. package/packages/FormMaking/making.js +9 -0
  147. package/packages/FormMaking/styles/cover.scss +41 -0
  148. package/packages/FormMaking/styles/index.scss +785 -0
  149. package/packages/FormMaking/util/generateCode.js +163 -0
  150. package/packages/FormMaking/util/index.js +33 -0
  151. package/packages/FormMaking/util/request.js +28 -0
  152. package/packages/Grid/index.js +8 -0
  153. package/packages/Grid/index.vue +21 -0
  154. package/packages/GridItem/index.js +8 -0
  155. package/packages/GridItem/index.vue +69 -0
  156. package/packages/Icons/index.js +8 -0
  157. package/packages/Icons/index.vue +377 -0
  158. package/packages/Image/index.js +8 -0
  159. package/packages/Image/index.vue +146 -0
  160. package/packages/ImagePreview/index.js +8 -0
  161. package/packages/ImagePreview/index.vue +386 -0
  162. package/packages/Row/index.js +8 -0
  163. package/packages/Row/index.vue +33 -0
  164. package/packages/Table/action.js +8 -0
  165. package/packages/Table/action.vue +168 -0
  166. package/packages/Table/column.vue +63 -0
  167. package/packages/Table/index.js +8 -0
  168. package/packages/Table/index.vue +327 -0
  169. package/packages/Table/search.js +8 -0
  170. package/packages/Table/search.vue +163 -0
  171. package/packages/Table/tools.js +8 -0
  172. package/packages/Table/tools.vue +49 -0
  173. package/packages/TableMaking/custom/configs/fieldSearch.vue +17 -0
  174. package/packages/TableMaking/custom/configs/fieldTable.vue +15 -0
  175. package/packages/TableMaking/custom/items/search/index.vue +158 -0
  176. package/packages/TableMaking/custom/items/tools/index.vue +49 -0
  177. package/packages/TableMaking/generate.js +5 -0
  178. package/packages/TableMaking/generateTable.vue +560 -0
  179. package/packages/TableMaking/index.vue +234 -0
  180. package/packages/TableMaking/making.js +5 -0
  181. package/packages/TableMaking/util/index.js +433 -0
  182. package/packages/TableMaking/widgetConfig.vue +390 -0
  183. package/packages/TableMaking/widgetTable.vue +305 -0
  184. package/packages/Upload/ajax.js +85 -0
  185. package/packages/Upload/index.js +8 -0
  186. package/packages/Upload/index.vue +325 -0
  187. package/packages/Upload/upload-dragger.vue +70 -0
  188. package/packages/Upload/upload-list.vue +121 -0
  189. package/packages/Upload/upload.vue +193 -0
  190. package/packages/VueEditor/index.js +8 -0
  191. package/packages/VueEditor/index.vue +38 -0
  192. package/packages/Workflow/Log.js +99 -0
  193. package/packages/Workflow/designer/ProcessDesigner.vue +628 -0
  194. package/packages/Workflow/designer/index.js +7 -0
  195. package/packages/Workflow/designer/plugins/content-pad/contentPadProvider.js +390 -0
  196. package/packages/Workflow/designer/plugins/content-pad/index.js +6 -0
  197. package/packages/Workflow/designer/plugins/defaultEmpty.js +24 -0
  198. package/packages/Workflow/designer/plugins/descriptor/activitiDescriptor.json +1071 -0
  199. package/packages/Workflow/designer/plugins/descriptor/camundaDescriptor.json +1087 -0
  200. package/packages/Workflow/designer/plugins/descriptor/flowableDescriptor.json +1215 -0
  201. package/packages/Workflow/designer/plugins/extension-moddle/activiti/activitiExtension.js +74 -0
  202. package/packages/Workflow/designer/plugins/extension-moddle/activiti/index.js +9 -0
  203. package/packages/Workflow/designer/plugins/extension-moddle/camunda/extension.js +148 -0
  204. package/packages/Workflow/designer/plugins/extension-moddle/camunda/index.js +6 -0
  205. package/packages/Workflow/designer/plugins/extension-moddle/flowable/flowableExtension.js +74 -0
  206. package/packages/Workflow/designer/plugins/extension-moddle/flowable/index.js +9 -0
  207. package/packages/Workflow/designer/plugins/palette/CustomPalette.js +156 -0
  208. package/packages/Workflow/designer/plugins/palette/index.js +6 -0
  209. package/packages/Workflow/designer/plugins/palette/paletteProvider.js +160 -0
  210. package/packages/Workflow/designer/plugins/translate/customTranslate.js +41 -0
  211. package/packages/Workflow/designer/plugins/translate/zh.js +238 -0
  212. package/packages/Workflow/highlight/index.js +5 -0
  213. package/packages/Workflow/index.js +34 -0
  214. package/packages/Workflow/index.vue +399 -0
  215. package/packages/Workflow/modules/auto-place/CustomAutoPlace.js +81 -0
  216. package/packages/Workflow/modules/auto-place/index.js +6 -0
  217. package/packages/Workflow/modules/custom-renderer/CustomRenderer.js +17 -0
  218. package/packages/Workflow/modules/custom-renderer/index.js +6 -0
  219. package/packages/Workflow/modules/rules/CustomRules.js +16 -0
  220. package/packages/Workflow/modules/rules/index.js +6 -0
  221. package/packages/Workflow/palette/ProcessPalette.vue +106 -0
  222. package/packages/Workflow/palette/index.js +7 -0
  223. package/packages/Workflow/penal/PropertiesPanel.vue +245 -0
  224. package/packages/Workflow/penal/base/ElementBaseInfo.vue +80 -0
  225. package/packages/Workflow/penal/flow-condition/FlowCondition.vue +142 -0
  226. package/packages/Workflow/penal/form/ElementForm.vue +367 -0
  227. package/packages/Workflow/penal/index.js +7 -0
  228. package/packages/Workflow/penal/listeners/ElementListeners.vue +299 -0
  229. package/packages/Workflow/penal/listeners/UserTaskListeners.vue +322 -0
  230. package/packages/Workflow/penal/listeners/template.js +178 -0
  231. package/packages/Workflow/penal/listeners/utilSelf.js +64 -0
  232. package/packages/Workflow/penal/multi-instance/ElementMultiInstance.vue +200 -0
  233. package/packages/Workflow/penal/other/ElementOtherConfig.vue +59 -0
  234. package/packages/Workflow/penal/properties/ElementProperties.vue +135 -0
  235. package/packages/Workflow/penal/signal-message/SignalAndMessage.vue +104 -0
  236. package/packages/Workflow/penal/task/ElementTask.vue +73 -0
  237. package/packages/Workflow/penal/task/task-components/ReceiveTask.vue +97 -0
  238. package/packages/Workflow/penal/task/task-components/ScriptTask.vue +85 -0
  239. package/packages/Workflow/penal/task/task-components/UserTask.vue +535 -0
  240. package/packages/Workflow/theme/element-variables.scss +70 -0
  241. package/packages/Workflow/theme/index.scss +2 -0
  242. package/packages/Workflow/theme/process-designer.scss +157 -0
  243. package/packages/Workflow/theme/process-panel.scss +107 -0
  244. package/packages/Workflow/translations.js +25 -0
  245. package/packages/Workflow/utils.js +71 -0
  246. package/packages/index.js +160 -0
  247. package/babel.config.js +0 -15
  248. package/index.js +0 -11
  249. package/public/favicon.ico +0 -0
  250. package/public/index.html +0 -17
  251. package/src/App.vue +0 -28
  252. package/src/assets/logo.png +0 -0
  253. package/src/components/HelloWorld.vue +0 -58
  254. package/src/main.js +0 -8
@@ -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,56 @@
1
+ .th-dialog {
2
+ .el-dialog__header {
3
+ padding: 0 !important;
4
+ }
5
+ .el-dialog__body {
6
+ padding: 15px 50px !important;
7
+ height: 470px;
8
+ overflow-y: overlay;
9
+ box-sizing: border-box;
10
+ }
11
+ .el-dialog__footer {
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: flex-end;
15
+ padding: 0 15px !important;
16
+ height: 60px;
17
+ line-height: 60px;
18
+ border-top: 1px solid $border-color-base;
19
+ }
20
+
21
+ .th-dialog__header {
22
+ display: flex;
23
+ align-items: center;
24
+ height: 50px;
25
+ line-height: 50px;
26
+ background-color: $background-color-base;
27
+ border-bottom: 1px solid $border-color-base;
28
+ box-sizing: border-box;
29
+ .th-dialog__title {
30
+ flex: 1;
31
+ padding: 0 15px;
32
+ font-size: $font-size-md;
33
+ }
34
+ .th-dialog__action {
35
+ display: flex;
36
+ .th-dialog__action_item {
37
+ width: 40px;
38
+ height: 50px;
39
+ line-height: 50px;
40
+ text-align: center;
41
+ transition: $transition;
42
+ cursor: pointer;
43
+ }
44
+ .th-dialog__action_item:hover {
45
+ color: $color-parimary;
46
+ }
47
+ }
48
+ }
49
+
50
+ .is-fullscreen {
51
+ width: 100%;
52
+ .el-dialog__body {
53
+ height: calc(100% - 110px);
54
+ }
55
+ }
56
+ }
@@ -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,46 @@
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
+ }
43
+
44
+ [v-cloak] {
45
+ display: none;
46
+ }
@@ -0,0 +1,7 @@
1
+ /*
2
+ 中文字体:苹方简体
3
+ */
4
+ @font-face {
5
+ font-family: "PingFang";
6
+ src: url(../fonts/PingFang.ttf) format("truetype");
7
+ }
@@ -0,0 +1,41 @@
1
+ .th-grid {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ .th-grid-item {
8
+ flex: 1;
9
+ position: relative;
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ .th-grid-item-content {
14
+ padding: 16px 8px;
15
+ text-align: center;
16
+ }
17
+
18
+ .th-grid-item-title {
19
+ padding-top: 8px;
20
+ font-size: 16px;
21
+ }
22
+
23
+ .th-grid-item-content_inline {
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+
28
+ .th-grid-item-title {
29
+ padding-top: 0px;
30
+ padding-left: 10px;
31
+ }
32
+ }
33
+
34
+ .th-grid__border {
35
+ border-top: 1px solid $border-color-base;
36
+ border-left: 1px solid $border-color-base;
37
+ }
38
+ .th-grid-item__border {
39
+ border-right: 1px solid $border-color-base;
40
+ border-bottom: 1px solid $border-color-base;
41
+ }