star-horse-lowcode 2.7.65 → 2.7.67

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 (221) hide show
  1. package/README.md +3 -0
  2. package/dist/assets/index.css +1 -1
  3. package/dist/index.es.js +597 -188
  4. package/dist/types/index.d.ts +30 -0
  5. package/package.json +3 -3
  6. package/.env.development +0 -3
  7. package/.env.production +0 -3
  8. package/.eslintrc-auto-import.json +0 -77
  9. package/.gitignore +0 -27
  10. package/.idea/.gitignore +0 -5
  11. package/.idea/MarsCodeWorkspaceAppSettings.xml +0 -6
  12. package/.idea/inspectionProfiles/Project_Default.xml +0 -7
  13. package/.idea/modules.xml +0 -8
  14. package/.idea/testcode.iml +0 -12
  15. package/.idea/vcs.xml +0 -6
  16. package/.idea/watcherTasks.xml +0 -4
  17. package/.idea/workspace.xml +0 -207
  18. package/.npmignore +0 -21
  19. package/.prettierignore +0 -26
  20. package/auto-imports.d.ts +0 -137
  21. package/components.d.ts +0 -189
  22. package/eslint.config.js +0 -37
  23. package/index.html +0 -14
  24. package/package-lock.json +0 -8276
  25. package/prettier.config.js +0 -20
  26. package/public/logo.svg +0 -660
  27. package/src/App.vue +0 -11
  28. package/src/api/date_utils.ts +0 -219
  29. package/src/api/finger_utils.ts +0 -71
  30. package/src/api/form_utils.ts +0 -281
  31. package/src/api/jquery.min.js +0 -2
  32. package/src/api/pcas-code.json +0 -1
  33. package/src/api/settings.ts +0 -81
  34. package/src/api/star_horse_apis.ts +0 -196
  35. package/src/api/star_horse_utils.ts +0 -797
  36. package/src/api/system.ts +0 -351
  37. package/src/api/user_func.ts +0 -147
  38. package/src/api/valid_utils.ts +0 -165
  39. package/src/assets/css/index.scss +0 -908
  40. package/src/assets/icons.css +0 -574
  41. package/src/assets/star-horse-icons.woff +0 -0
  42. package/src/components/comp/ShDynamicForm.vue +0 -160
  43. package/src/components/comp/ShForm.vue +0 -30
  44. package/src/components/comp/ShTableListColumn.vue +0 -61
  45. package/src/components/comp/StarHorseDataSelector.vue +0 -139
  46. package/src/components/comp/StarHorseDataView.vue +0 -110
  47. package/src/components/comp/StarHorseDataViewItems.vue +0 -61
  48. package/src/components/comp/StarHorseDataViewTable.vue +0 -102
  49. package/src/components/comp/StarHorseDialog.vue +0 -383
  50. package/src/components/comp/StarHorseDraggable.vue +0 -401
  51. package/src/components/comp/StarHorseForm.vue +0 -458
  52. package/src/components/comp/StarHorseFormItem.vue +0 -82
  53. package/src/components/comp/StarHorseFormList.vue +0 -516
  54. package/src/components/comp/StarHorseFormTable.vue +0 -56
  55. package/src/components/comp/StarHorseIcon.vue +0 -76
  56. package/src/components/comp/StarHorseItem.vue +0 -302
  57. package/src/components/comp/StarHorseJsonEditor.vue +0 -115
  58. package/src/components/comp/StarHorsePopover.vue +0 -66
  59. package/src/components/comp/StarHorseSearchComp.vue +0 -253
  60. package/src/components/comp/StarHorseStaticTable.vue +0 -395
  61. package/src/components/comp/StarHorseTableColumn.vue +0 -249
  62. package/src/components/comp/StarHorseTableComp.vue +0 -1193
  63. package/src/components/comp/StarHorseTableViewColumn.vue +0 -61
  64. package/src/components/comp/StarHorseTree.vue +0 -494
  65. package/src/components/comp/index.ts +0 -22
  66. package/src/components/comp/items/UTableColumn.vue +0 -65
  67. package/src/components/comp/items/boxItem.vue +0 -98
  68. package/src/components/comp/items/callitem.ts +0 -9
  69. package/src/components/comp/items/cardItem.vue +0 -152
  70. package/src/components/comp/items/collapseItem.vue +0 -134
  71. package/src/components/comp/items/dytableItem.vue +0 -135
  72. package/src/components/comp/items/otherItem.vue +0 -65
  73. package/src/components/comp/items/tabItem.vue +0 -155
  74. package/src/components/comp/items/tabPanelItem.vue +0 -110
  75. package/src/components/comp/items/tableColumn.vue +0 -129
  76. package/src/components/comp/items/tableItem.vue +0 -97
  77. package/src/components/comp/items/tablebtn.vue +0 -158
  78. package/src/components/comp/items/viewBoxItem.vue +0 -55
  79. package/src/components/comp/items/viewCardItem.vue +0 -47
  80. package/src/components/comp/items/viewCollapseItem.vue +0 -71
  81. package/src/components/comp/items/viewDytableItem.vue +0 -77
  82. package/src/components/comp/items/viewOtherItem.vue +0 -55
  83. package/src/components/comp/items/viewTabItem.vue +0 -77
  84. package/src/components/comp/items/viewTabPanelItem.vue +0 -54
  85. package/src/components/comp/items/viewTableItem.vue +0 -74
  86. package/src/components/comp/selfcomp.ts +0 -9
  87. package/src/components/comp/utils/DataPicker.vue +0 -302
  88. package/src/components/comp/utils/DataTag.vue +0 -51
  89. package/src/components/cron/Crontab-Day.vue +0 -230
  90. package/src/components/cron/Crontab-Hour.vue +0 -165
  91. package/src/components/cron/Crontab-Min.vue +0 -166
  92. package/src/components/cron/Crontab-Month.vue +0 -166
  93. package/src/components/cron/Crontab-Result.vue +0 -615
  94. package/src/components/cron/Crontab-Second.vue +0 -185
  95. package/src/components/cron/Crontab-Week.vue +0 -208
  96. package/src/components/cron/Crontab-Year.vue +0 -183
  97. package/src/components/cron/Crontab.vue +0 -474
  98. package/src/components/enums/ModuleEnums.ts +0 -10
  99. package/src/components/enums/ServiceEnums.ts +0 -18
  100. package/src/components/formcomp/container/box-container.vue +0 -162
  101. package/src/components/formcomp/container/callitem.ts +0 -9
  102. package/src/components/formcomp/container/card-container.vue +0 -170
  103. package/src/components/formcomp/container/collapse-container.vue +0 -133
  104. package/src/components/formcomp/container/dytable-col.vue +0 -448
  105. package/src/components/formcomp/container/dytable-container.vue +0 -57
  106. package/src/components/formcomp/container/dytableUtils.ts +0 -358
  107. package/src/components/formcomp/container/group-box-container.vue +0 -331
  108. package/src/components/formcomp/container/index.ts +0 -6
  109. package/src/components/formcomp/container/tab-container.vue +0 -153
  110. package/src/components/formcomp/container/table-container.vue +0 -249
  111. package/src/components/formcomp/items/allitem.ts +0 -9
  112. package/src/components/formcomp/items/area-item.vue +0 -116
  113. package/src/components/formcomp/items/audio-item.vue +0 -163
  114. package/src/components/formcomp/items/autocomplete-item.vue +0 -118
  115. package/src/components/formcomp/items/barcode-item.vue +0 -87
  116. package/src/components/formcomp/items/base-json-item.vue +0 -207
  117. package/src/components/formcomp/items/button-item.vue +0 -228
  118. package/src/components/formcomp/items/cascade-item.vue +0 -113
  119. package/src/components/formcomp/items/checkbox-item.vue +0 -97
  120. package/src/components/formcomp/items/color-item.vue +0 -70
  121. package/src/components/formcomp/items/cron-item.vue +0 -115
  122. package/src/components/formcomp/items/datetime-item.vue +0 -99
  123. package/src/components/formcomp/items/depart-item.vue +0 -51
  124. package/src/components/formcomp/items/dialog-input-item.vue +0 -207
  125. package/src/components/formcomp/items/divider-item.vue +0 -66
  126. package/src/components/formcomp/items/html-item.vue +0 -65
  127. package/src/components/formcomp/items/htmleditor-item.vue +0 -104
  128. package/src/components/formcomp/items/icon-item.vue +0 -195
  129. package/src/components/formcomp/items/image-item.vue +0 -247
  130. package/src/components/formcomp/items/index.ts +0 -44
  131. package/src/components/formcomp/items/input-item.vue +0 -150
  132. package/src/components/formcomp/items/json-array-item.vue +0 -67
  133. package/src/components/formcomp/items/json-item.vue +0 -66
  134. package/src/components/formcomp/items/markdown-item.vue +0 -77
  135. package/src/components/formcomp/items/number-item.vue +0 -94
  136. package/src/components/formcomp/items/number-range-item.vue +0 -278
  137. package/src/components/formcomp/items/page-select-item.vue +0 -407
  138. package/src/components/formcomp/items/password-item.vue +0 -71
  139. package/src/components/formcomp/items/qrcode-item.vue +0 -84
  140. package/src/components/formcomp/items/radio-item.vue +0 -112
  141. package/src/components/formcomp/items/rate-item.vue +0 -68
  142. package/src/components/formcomp/items/select-item.vue +0 -133
  143. package/src/components/formcomp/items/signature-item.vue +0 -216
  144. package/src/components/formcomp/items/slider-item.vue +0 -68
  145. package/src/components/formcomp/items/starhorse-form-item.vue +0 -334
  146. package/src/components/formcomp/items/switch-item.vue +0 -77
  147. package/src/components/formcomp/items/tag-item.vue +0 -77
  148. package/src/components/formcomp/items/text-item.vue +0 -75
  149. package/src/components/formcomp/items/textarea-item.vue +0 -85
  150. package/src/components/formcomp/items/time-item.vue +0 -77
  151. package/src/components/formcomp/items/time-picker-item.vue +0 -74
  152. package/src/components/formcomp/items/transfer-item.vue +0 -93
  153. package/src/components/formcomp/items/tselect-item.vue +0 -121
  154. package/src/components/formcomp/items/unknown-item.vue +0 -51
  155. package/src/components/formcomp/items/upload-item.vue +0 -189
  156. package/src/components/formcomp/items/user-item.vue +0 -177
  157. package/src/components/formcomp/items/usercomp-item.vue +0 -85
  158. package/src/components/formcomp/items/view-markdown-item.vue +0 -77
  159. package/src/components/formcomp/utils/EditDataDialog.vue +0 -67
  160. package/src/components/formcomp/utils/FieldList.vue +0 -125
  161. package/src/components/formcomp/utils/ItemRelationEventUtils.ts +0 -284
  162. package/src/components/help.vue +0 -31
  163. package/src/components/menu/MenuItem.vue +0 -95
  164. package/src/components/menu/SubMenu.vue +0 -68
  165. package/src/components/menu/SubSystemMenu.vue +0 -142
  166. package/src/components/register.ts +0 -24
  167. package/src/components/system/ContentMenu.vue +0 -260
  168. package/src/components/system/StarHorseButtonList.vue +0 -344
  169. package/src/components/system/StarHorseMenu.vue +0 -97
  170. package/src/components/system/StarHorseSvg.vue +0 -62
  171. package/src/components/system/SystemComp.ts +0 -9
  172. package/src/components/system/index.ts +0 -4
  173. package/src/components/types/ApiUrls.ts +0 -168
  174. package/src/components/types/BtnAction.ts +0 -51
  175. package/src/components/types/BtnAuth.ts +0 -43
  176. package/src/components/types/CompInfo.ts +0 -81
  177. package/src/components/types/DialogProps.ts +0 -55
  178. package/src/components/types/DyCompField.ts +0 -23
  179. package/src/components/types/DynamicNode.ts +0 -42
  180. package/src/components/types/MenusInfo.ts +0 -45
  181. package/src/components/types/PageFieldInfo.ts +0 -530
  182. package/src/components/types/PageProps.ts +0 -25
  183. package/src/components/types/Params.ts +0 -93
  184. package/src/components/types/RuleType.ts +0 -10
  185. package/src/components/types/SearchProps.ts +0 -42
  186. package/src/components/types/ShortKey.ts +0 -30
  187. package/src/components/types/StarHorseType.ts +0 -18
  188. package/src/components/types/index.ts +0 -15
  189. package/src/config/element.ts +0 -15
  190. package/src/config/styles.ts +0 -4
  191. package/src/index.ts +0 -98
  192. package/src/install.ts +0 -33
  193. package/src/lang/en_US.ts +0 -81
  194. package/src/lang/index.ts +0 -35
  195. package/src/lang/zh_CN.ts +0 -84
  196. package/src/main.ts +0 -57
  197. package/src/plugins/AblesPlugin.ts +0 -618
  198. package/src/plugins/registerCompPlugin.ts +0 -15
  199. package/src/sample/test.vue +0 -9
  200. package/src/store/ButtonPermission.ts +0 -101
  201. package/src/store/ConsumerView.ts +0 -52
  202. package/src/store/ContinusConfig.ts +0 -78
  203. package/src/store/CopyerOperation.ts +0 -74
  204. package/src/store/DesignForm.ts +0 -481
  205. package/src/store/DesignPage.ts +0 -59
  206. package/src/store/DynamicForm.ts +0 -241
  207. package/src/store/GlobalConfig.ts +0 -90
  208. package/src/store/SelfOperation.ts +0 -95
  209. package/src/store/UserInfo.ts +0 -88
  210. package/src/store/index.ts +0 -6
  211. package/src/theme/localStorge.ts +0 -16
  212. package/src/theme/theme.ts +0 -27
  213. package/src/utils/FieldOperationUtils.ts +0 -91
  214. package/src/utils/auth.ts +0 -83
  215. package/src/utils/message.ts +0 -69
  216. package/src/utils/preview.ts +0 -125
  217. package/tsconfig.json +0 -39
  218. package/tsconfig.node.json +0 -10
  219. package/vite-env.d.ts +0 -16
  220. package/vite.config.ts +0 -162
  221. package/yarn.lock +0 -4627
@@ -1,383 +0,0 @@
1
- <script setup lang="ts" name="StarHorseDialog">
2
- import {
3
- computed,
4
- onMounted,
5
- PropType,
6
- provide,
7
- reactive,
8
- ref,
9
- watch,
10
- } from "vue";
11
- import { DialogProps } from "@/components/types/DialogProps";
12
- import { i18n } from "@/lang";
13
- import { UserFuncInfo } from "@/components/types/PageFieldInfo";
14
- import { Config } from "@/api/settings";
15
- import { compKey } from "@/api/system";
16
-
17
- const emits = defineEmits([
18
- "merge",
19
- "mergeDraft",
20
- "resetForm",
21
- "open",
22
- "closeAction",
23
- ]);
24
- const props = defineProps({
25
- dialogVisible: { type: Boolean, default: false },
26
- dialogProps: { type: Object as PropType<DialogProps>, default: {} },
27
- isShowReset: { type: Boolean, default: true },
28
- isShowSave: { type: Boolean, default: false },
29
- isShowBtnContinue: { type: Boolean, default: false },
30
- source: { type: Number, default: 1 },
31
- draggable: { type: Boolean, default: true },
32
- boxHeight: { type: String, default: "60%" },
33
- boxWidth: { type: String, default: "60%" },
34
- isBatch: { type: Boolean, default: false },
35
- fullScreen: { type: Boolean, default: false },
36
- hideFullScreenIcon: { type: Boolean, default: false },
37
- //自定义提交
38
- selfFunc: { type: Boolean, default: false },
39
- //自定义关闭
40
- selfClose: { type: Boolean, default: false },
41
- btnText: { type: String },
42
- userBtn: { type: Array<UserFuncInfo>, default: [] },
43
- btnTextContinue: { type: String, default: "提交并继续" },
44
- title: { type: String, default: "" },
45
- compSize: { type: String, default: Config.compSize },
46
- });
47
- let windowsType = ref<boolean>(false);
48
- const _compKey = compKey;
49
- watch(
50
- () => props.dialogVisible,
51
- (val: boolean) => {
52
- windowsType.value = val;
53
- },
54
- {
55
- immediate: true,
56
- deep: true,
57
- },
58
- );
59
- let isFullScreen = ref(props.fullScreen);
60
- const dialogStyle = computed(() => {
61
- return { "max-height": isFullScreen.value ? "100%" : props.boxHeight };
62
- });
63
- const beforeClose = () => {
64
- emits("closeAction");
65
- windowsType.value = false;
66
- if (props.selfClose) {
67
- return;
68
- }
69
- if (props.dialogProps?.batchEditVisible || props.isBatch) {
70
- props.dialogProps.batchEditVisible = false;
71
- }
72
- if (props.dialogProps!.viewVisible || props.source == 3) {
73
- props.dialogProps!.viewVisible = false;
74
- }
75
- if (props.dialogProps!.editVisible) {
76
- props.dialogProps!.editVisible = false;
77
- }
78
- if (props.dialogProps!.bakeVisible1) {
79
- props.dialogProps!.bakeVisible1 = false;
80
- }
81
- if (props.dialogProps!.bakeVisible2) {
82
- props.dialogProps!.bakeVisible2 = false;
83
- }
84
- if (props.dialogProps!.bakeVisible3) {
85
- props.dialogProps!.bakeVisible3 = false;
86
- }
87
- };
88
- // 新增:安全调用函数的方法
89
- const callFunc = (func: any) => {
90
- if (typeof func === "function") {
91
- func(); // 仅当 func 是函数时调用
92
- } else if (typeof func === "string") {
93
- // 如果 func 是字符串(方法名),可根据需要映射到实际函数(示例)
94
- // const method = getCurrentInstance()?.proxy?.[func];
95
- // if (method) method();
96
- }
97
- };
98
- const open = () => {
99
- emits("open");
100
- };
101
- onMounted(() => {});
102
- provide("closeDialog", beforeClose);
103
- const fullScreen = () => {
104
- if (props.hideFullScreenIcon) return;
105
- isFullScreen.value = !isFullScreen.value;
106
- };
107
- let clickFunction = reactive<any>({});
108
- const operation = (funcName: any, type: string) => {
109
- if (props.selfFunc) {
110
- emits(funcName, type);
111
- } else {
112
- clickFunction["funcName"] = funcName;
113
- clickFunction["type"] = type;
114
- }
115
- };
116
- provide("dialogOperation", clickFunction);
117
- </script>
118
- <template>
119
- <Teleport to="body">
120
- <div class="di animated animate__fadeIn">
121
- <el-dialog
122
- :append-to-body="false"
123
- :center="false"
124
- :destroy-on-close="true"
125
- :close-on-click-modal="false"
126
- :close-on-press-escape="false"
127
- :lock-scroll="true"
128
- class="dialog-settings"
129
- :fullscreen="isFullScreen"
130
- :show-close="false"
131
- :draggable="draggable"
132
- :align-center="true"
133
- v-model="windowsType"
134
- @close="beforeClose"
135
- @open="open"
136
- :width="boxWidth"
137
- :style="dialogStyle"
138
- >
139
- <template #header="{ close }">
140
- <h3 @dblclick="fullScreen">
141
- {{
142
- title ||
143
- (source == 3
144
- ? i18n("dialog.viewTitle")
145
- : i18n("dialog.editTitle"))
146
- }}
147
- </h3>
148
- <div class="my-header">
149
- <template v-if="!hideFullScreenIcon">
150
- <el-button
151
- style="
152
- background: var(--star-horse-style);
153
- color: var(--star-horse-white);
154
- "
155
- :size="compSize"
156
- @click="fullScreen"
157
- link
158
- v-if="!!isFullScreen && draggable"
159
- :title="i18n('dialog.resize')"
160
- >
161
- <star-horse-icon
162
- icon-class="fullscreen-shrink"
163
- color="var(--star-horse-white)"
164
- cursor="pointer"
165
- />
166
- </el-button>
167
- <el-button
168
- style="
169
- background: var(--star-horse-style);
170
- color: var(--star-horse-white);
171
- "
172
- :size="compSize"
173
- @click="fullScreen"
174
- link
175
- v-if="!isFullScreen && draggable"
176
- :title="i18n('dialog.fullScreen')"
177
- >
178
- <star-horse-icon
179
- icon-class="fullscreen-expand"
180
- color="var(--star-horse-white)"
181
- cursor="pointer"
182
- />
183
- </el-button>
184
- </template>
185
- <el-button
186
- style="
187
- background: var(--star-horse-style);
188
- color: var(--star-horse-white);
189
- "
190
- :size="compSize"
191
- @click="close"
192
- link
193
- :title="i18n('dialog.close')"
194
- >
195
- <star-horse-icon
196
- icon-class="close"
197
- color="var(--star-horse-white)"
198
- cursor="pointer"
199
- />
200
- </el-button>
201
- </div>
202
- </template>
203
- <slot name="header"></slot>
204
- <div class="shdialog">
205
- <div class="dialog-body">
206
- <slot></slot>
207
- </div>
208
- </div>
209
- <template #footer>
210
- <span class="dialog-footer" v-if="source != 3">
211
- <slot name="extend"></slot>
212
- <el-button
213
- @click="operation('merge', 'close')"
214
- style="
215
- background: var(--star-horse-style);
216
- color: var(--star-horse-white);
217
- "
218
- :size="compSize"
219
- >
220
- <star-horse-icon
221
- icon-class="save"
222
- cursor="pointer"
223
- style="color: var(--star-horse-white)"
224
- />
225
- {{ btnText ?? i18n("dialog.submit") }}
226
- </el-button>
227
- <el-button
228
- @click="operation('merge', 'continue')"
229
- style="
230
- background: var(--star-horse-style);
231
- color: var(--star-horse-white);
232
- "
233
- :size="compSize"
234
- v-if="isShowBtnContinue"
235
- >
236
- <star-horse-icon
237
- icon-class="save_continue"
238
- cursor="pointer"
239
- style="color: var(--star-horse-white)"
240
- />
241
- {{ i18n("dialog.submitContinue") }}</el-button
242
- >
243
- <el-button
244
- @click="operation('mergeDraft', 'close')"
245
- :size="compSize"
246
- link
247
- style="
248
- background: var(--star-horse-style);
249
- color: var(--star-horse-white);
250
- "
251
- v-if="isShowSave"
252
- >
253
- <star-horse-icon icon-class="short_save" cursor="pointer" />{{
254
- i18n("dialog.save")
255
- }}</el-button
256
- >
257
- <el-button
258
- @click="operation('mergeDraft', 'continue')"
259
- :size="compSize"
260
- link
261
- style="
262
- background: var(--star-horse-style);
263
- color: var(--star-horse-white);
264
- "
265
- v-if="isShowSave && isShowBtnContinue"
266
- >
267
- <star-horse-icon icon-class="save" cursor="pointer" />{{
268
- i18n("dialog.saveContinue")
269
- }}</el-button
270
- >
271
- <el-button
272
- v-for="item in userBtn"
273
- :key="_compKey(item, item.authority)"
274
- @click="callFunc(item.funcName)"
275
- :disabled="item.disabled ?? false"
276
- :style="{
277
- background: item.disabled
278
- ? 'var(--star-horse-disable)'
279
- : 'var(--star-horse-style)',
280
- color: 'var(--star-horse-white)',
281
- }"
282
- :size="compSize"
283
- >
284
- <star-horse-icon
285
- :icon-class="item.icon"
286
- cursor="pointer"
287
- style="color: var(--star-horse-white)"
288
- />
289
- {{ item.btnName }}
290
- </el-button>
291
- <el-button
292
- @click="operation('resetForm', 'reset')"
293
- :size="compSize"
294
- link
295
- v-if="isShowReset"
296
- >
297
- <star-horse-icon
298
- icon-class="undo"
299
- cursor="pointer"
300
- style="color: var(--star-horse-style)"
301
- />
302
- {{ i18n("dialog.reset") }}</el-button
303
- >
304
- </span>
305
- <slot name="footer"></slot>
306
- </template>
307
- </el-dialog>
308
- </div>
309
- </Teleport>
310
- </template>
311
- <style lang="scss" scoped>
312
- :deep(.el-dialog__footer) {
313
- text-align: center;
314
- }
315
-
316
- .di {
317
- :deep(.el-dialog) {
318
- display: flex;
319
- flex-direction: column;
320
- padding: unset;
321
-
322
- .el-dialog__header {
323
- flex-shrink: 0;
324
- height: 40px;
325
- box-sizing: border-box;
326
- padding: 10px;
327
- background-color: var(--star-horse-style);
328
- margin: 0;
329
- border-bottom: var(--star-horse-shadow) 4px solid;
330
- display: flex;
331
- flex-direction: row;
332
- color: var(--star-horse-white);
333
-
334
- h3 {
335
- flex: 1;
336
- }
337
-
338
- .my-header {
339
- width: 100px;
340
- display: flex;
341
- justify-content: right;
342
- flex-direction: row;
343
- right: 10px;
344
- }
345
- }
346
-
347
- .el-dialog__body {
348
- flex: 1;
349
- display: flex;
350
- flex-direction: column;
351
- }
352
- }
353
- }
354
-
355
- .shdialog {
356
- flex: 1;
357
- display: inline-flex;
358
- overflow-y: auto;
359
- padding: 0 10px;
360
- box-sizing: border-box;
361
-
362
- &::-webkit-scrollbar {
363
- width: 6px;
364
- }
365
-
366
- &::-webkit-scrollbar-track {
367
- background: transparent;
368
- border-radius: 10px;
369
- }
370
-
371
- &::-webkit-scrollbar-thumb {
372
- background: #f2f2f2 !important;
373
- z-index: 222;
374
- border-radius: 8px;
375
- }
376
- }
377
-
378
- .dialog-footer {
379
- display: flex;
380
- justify-content: center;
381
- margin-top: 10px;
382
- }
383
- </style>