resolver-egretimp-plus 0.0.46 → 0.0.48

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 (32) hide show
  1. package/dist/h5/index.js +1 -1
  2. package/dist/theme/element/index.css +1 -1
  3. package/dist/theme/element/src/components/collapse.scss +98 -10
  4. package/dist/theme/element/src/components/common.scss +12 -0
  5. package/dist/theme/element/src/components/dialog.scss +42 -0
  6. package/dist/theme/element/src/components/index.scss +1 -0
  7. package/dist/theme/element/src/components/tabs.scss +10 -0
  8. package/dist/theme/element/src/index.scss +0 -63
  9. package/dist/web/index.js +1 -1
  10. package/package.json +1 -1
  11. package/scripts/webpack.config.js +3 -1
  12. package/src/components/childDialog/src/index.vue +25 -18
  13. package/src/components/helper/eventOrchestration.js +7 -1
  14. package/src/components/helper/resolver.js +2 -2
  15. package/src/components/packages-web/CustomComponentCol.vue +0 -1
  16. package/src/components/packages-web/CustomComponentCollapse.vue +2 -70
  17. package/src/components/packages-web/CustomComponentRow.vue +1 -3
  18. package/src/components/packages-web/CustomComponentTable.jsx +1 -1
  19. package/src/components/packages-web/ElCheckbox.vue +26 -5
  20. package/src/components/styles/CustomComponenTable.scss +1 -1
  21. package/src/resolver-H5.vue +23 -1
  22. package/src/resolver-common.vue +24 -2
  23. package/src/resolver-web.vue +23 -1
  24. package/src/theme/element/components/collapse.scss +98 -10
  25. package/src/theme/element/components/common.scss +12 -0
  26. package/src/theme/element/components/dialog.scss +42 -0
  27. package/src/theme/element/components/index.scss +1 -0
  28. package/src/theme/element/components/tabs.scss +10 -0
  29. package/src/theme/element/index.scss +0 -63
  30. package/src/utils/const.js +5 -1
  31. package/src/utils/render.jsx +2 -2
  32. package/src/utils/respone.js +10 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.46",
3
+ "version": "0.0.48",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -80,7 +80,9 @@ module.exports = {
80
80
  '@element-plus/icons-vue': '@element-plus/icons-vue',
81
81
  'element-plus/es/components/icon/index.mjs': 'element-plus/es/components/icon/index.mjs',
82
82
  'element-plus/es/constants/index.mjs': 'element-plus/es/constants/index.mjs',
83
- 'element-plus/es/utils/index.mjs': 'element-plus/es/utils/index.mjs'
83
+ 'element-plus/es/utils/index.mjs': 'element-plus/es/utils/index.mjs',
84
+ 'element-plus/es/locale/lang/zh-cn': 'element-plus/es/locale/lang/zh-cn',
85
+ 'element-plus/es/locale/lang/en': 'element-plus/es/locale/lang/en'
84
86
  },
85
87
  externalsType: 'module',
86
88
  experiments: {
@@ -1,6 +1,8 @@
1
1
  <script setup>
2
2
  import { computed, defineAsyncComponent, ref } from 'vue';
3
3
  import { ElDialog } from 'element-plus';
4
+ import zhCn from 'element-plus/es/locale/lang/zh-cn'
5
+ import en from 'element-plus/es/locale/lang/en'
4
6
  const Resolver = defineAsyncComponent(() => import('../../../resolver-web.vue'))
5
7
 
6
8
  const props = defineProps({
@@ -38,6 +40,9 @@ const rootOptionComp = ref({})
38
40
  const dialogHeight = computed(() => {
39
41
  return rootOptionComp.value?.widgetHeight
40
42
  })
43
+ const locale = computed(() => {
44
+ return props.lang?.indexOf('zh') > -1 ? zhCn : en
45
+ })
41
46
  const dialogWidth = computed(() => {
42
47
  return rootOptionComp.value?.widgetWidth
43
48
  })
@@ -58,24 +63,26 @@ defineExpose({
58
63
  })
59
64
  </script>
60
65
  <template>
61
- <ElDialog class="open-child-frame" v-model="dialogVisible"
62
- :style="dialogStyle"
63
- :close-on-click-modal="false" :width="dialogWidth"
64
- >
65
- <div>
66
- </div>
67
- <Resolver v-if="dialogVisible" ref="resolverRef"
68
- @loadedConfigCompeted="loadedConfigCompeted"
69
- @rootStoreChange="rootStoreChange"
70
- v-model="formData"
71
- :busiIdentityId="busiIdentityId"
72
- :lang="props.lang"
73
- :loadEvnetsReq="props.loadEvnetsReq"
74
- :polyfillConfigs="props.polyfillConfigs"
75
- :axiosInstance="props.axiosInstance"
76
- :axiosConfig="props.axiosConfig"
77
- ></Resolver>
78
- </ElDialog>
66
+ <ElConfigProvider :locale="locale">
67
+ <ElDialog class="open-child-frame" v-model="dialogVisible"
68
+ :style="dialogStyle"
69
+ :close-on-click-modal="false" :width="dialogWidth"
70
+ >
71
+ <div>
72
+ </div>
73
+ <Resolver v-if="dialogVisible" ref="resolverRef"
74
+ @loadedConfigCompeted="loadedConfigCompeted"
75
+ @rootStoreChange="rootStoreChange"
76
+ v-model="formData"
77
+ :busiIdentityId="busiIdentityId"
78
+ :lang="props.lang"
79
+ :loadEvnetsReq="props.loadEvnetsReq"
80
+ :polyfillConfigs="props.polyfillConfigs"
81
+ :axiosInstance="props.axiosInstance"
82
+ :axiosConfig="props.axiosConfig"
83
+ ></Resolver>
84
+ </ElDialog>
85
+ </ElConfigProvider>
79
86
  </template>
80
87
 
81
88
  <style lang="scss">
@@ -128,9 +128,10 @@ export function openDailg({
128
128
  const reqData = getReqData(pagePopupMap.inParamMappingList || [], {dynamicMapComp, dynamicMapCompKeys, dynamicHireRelat})
129
129
 
130
130
  const outParamMappingList = pagePopupMap?.outParamMappingList?.map(item => {
131
+ const orignParamArr = item.orignParam ? item.orignParam.split('->') : []
131
132
  return {
132
133
  ...item,
133
- orignParam: item.orignParam ? item.orignParam.split('->')[0] : ''
134
+ orignParam: item.orignParam ? orignParamArr[orignParamArr.length - 1] : ''
134
135
  }
135
136
  }) || []
136
137
 
@@ -231,6 +232,11 @@ export async function executeDataValid(validConfig, { dynamicMapComp, mixinServi
231
232
  })
232
233
  }
233
234
 
235
+ function closePage() {
236
+ // window?.close()
237
+ // window?.history?.back()
238
+ }
239
+
234
240
  export async function executeEventOrchestration({props, axiosInstance, rootValue, confirmInstance, dynamicMapComp, messageInstance, openChildDialog, messageCb, lang, appContext } = {}) {
235
241
  const lcpPageRuleVOLis = props.config?.lcpPageRuleVOList || []
236
242
  const PageServiceMapVOList = props.config.lcpPageServiceMapVOList || []
@@ -1,6 +1,6 @@
1
1
  export async function executeLoadServices(services = [], { axiosInstance, messageInstance, reqData, respCb }) {
2
2
  const loadServices = services.filter(ser => ser.eventType == '1')
3
- // const mixinServiceConfig = services.find(service => service.serviceType === '1')
3
+ const mixinServiceConfig = services.find(service => service.serviceType === '1')
4
4
 
5
5
  for (let i = 0; i < loadServices.length; i++) {
6
6
  const service = loadServices[i]
@@ -13,7 +13,7 @@ export async function executeLoadServices(services = [], { axiosInstance, messag
13
13
  busiIdentityId: service.busiIdentityId,
14
14
  pageMetaId: service.pageMetaId,
15
15
  tenantId: service.tenantId,
16
- // mainServiceCode: mixinServiceConfig?.mainServiceCode, // 提交按钮绑定上绑定的融合服务编码
16
+ mainServiceCode: mixinServiceConfig?.mainServiceCode, // 提交按钮绑定上绑定的融合服务编码
17
17
  },
18
18
  ...(reqData || {})
19
19
  }
@@ -46,7 +46,6 @@ const reserveBottomMargin = computed(() => {
46
46
  </script>
47
47
  <style lang="scss">
48
48
  .custom-component-row {
49
- width: 100%;
50
49
  .el-col {
51
50
  & > .el-form-item {
52
51
  }
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <component :is="component" :class="[component === ElCard ? 'is-card' : '']" class="standard-wrap custom-component-collapse" v-bind="{...componentProps, ...attrs}">
2
+ <component :is="component" class="standard-wrap" v-bind="{...componentProps, ...attrs}">
3
3
  <ElCollapse v-bind="{...collapseProps}" :class="collapseClass" v-model="activeNames">
4
4
  <ElCollapseItem v-bind="collapseItemProps" >
5
5
  <template #title>
@@ -93,7 +93,7 @@ const activeNames = computed({
93
93
  })
94
94
 
95
95
  </script>
96
- <style lang="scss">
96
+ <style lang="scss" scoped>
97
97
  .collapge-slot-title {
98
98
  display: flex;
99
99
  justify-content: space-between;
@@ -112,72 +112,4 @@ const activeNames = computed({
112
112
  }
113
113
  }
114
114
  }
115
- .not-wrap-border {
116
- &.el-collapse {
117
- border-top: none;
118
- border-bottom: none;
119
- }
120
- }
121
- </style>
122
- <style lang="scss">
123
- // 配置被包裹的一层样式
124
- .standard-wrap {
125
- box-sizing: border-box;
126
- }
127
- .custom-component-collapse {
128
- .el-collapse-item__wrap, .el-collapse-item__header {
129
- border-bottom: none;
130
- &::before {
131
- display: none;
132
- }
133
- }
134
- .el-collapse-item__wrap {
135
- overflow: none;
136
- }
137
- .el-collapse-item {
138
- position: relative;
139
- &::after {
140
- content: "";
141
- display: block;
142
- position: absolute;
143
- width: 100%;
144
- bottom: 0;
145
- left: 0;
146
- height: 1px;
147
- background-color: #d0d3d6;
148
- // margin-bottom: var(--prmary-marign);
149
- }
150
- .el-collapse-item__content {
151
- & > .el-row {
152
- > .el-col {
153
- &:last-child {
154
- & > .el-form-item {
155
- margin-bottom: 24px;
156
- }
157
- }
158
- }
159
- }
160
- }
161
- }
162
- .el-collapse-item__arrow {
163
- font-size: 16px;
164
- color: #646A73;
165
- svg path {
166
- d: path("M 338.752 104.704 a 64 64 0 0 0 0 90.496 l 316.8 316.8 l -316.8 316.8 a 64 64 0 0 0 90.496 90.496 l 362.048 -362.048 a 64 64 0 0 0 0 -90.496 L 429.248 104.704 a 64 64 0 0 0 -90.496 0 Z");
167
- }
168
- }
169
- .el-collapse-item__content {
170
- .el-tabs {
171
- margin-right: 16px;
172
- margin-bottom: 16px;
173
- }
174
- }
175
- }
176
- .underline-hidden {
177
- .el-collapse-item {
178
- &::after {
179
- display: none;
180
- }
181
- }
182
- }
183
115
  </style>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <ElRow class="custom-component-row" :class="classRef" v-bind="{...elRowProps, ...attrs}">
2
+ <ElRow class="custom-component-row" :class="classRef" v-bind="{...attrs, ...elRowProps}">
3
3
  <Renderer :config="pmPageMetaList" v-model="props.refValue.value"></Renderer>
4
4
  </ElRow>
5
5
  </template>
@@ -22,7 +22,6 @@ const elRowProps = computed(() => {
22
22
  }, {})
23
23
  })
24
24
  const attrs = useAttrs()
25
-
26
25
  const classRef = computed(() => {
27
26
  return {
28
27
  'clear-right-margin': !reserveRightMargin.value,
@@ -44,7 +43,6 @@ const reserveBottomMargin = computed(() => {
44
43
  </script>
45
44
  <style lang="scss">
46
45
  .custom-component-row {
47
- width: 100%;
48
46
  .el-col {
49
47
  & > .el-form-item {
50
48
  }
@@ -360,7 +360,7 @@ export default {
360
360
  <ElTable {...tableProps.value} {...tableEvents}
361
361
  ref={(e) => {tableRef.value = e}}
362
362
  highlight-current-row={selectable.value || tableProps.value?.highlightCurrentRow ? true : false}
363
- onCurrentChange={selectable.value ? currentChange : () => {}}
363
+ onCurrentChange={selectable.value || tableProps.value?.highlightCurrentRow ? currentChange : () => {}}
364
364
  data={[...(props.refValue.value || []), ...totalRow.value]}
365
365
  onSelectionChange={handleSelectionChange}
366
366
  >
@@ -1,7 +1,6 @@
1
1
  <template>
2
- <ElCheckboxGroup v-model="modeValue" v-if="props.options && props.options.length" v-bind="{...checkboxGroupProps, ...attrs}">
2
+ <ElCheckboxGroup v-if="isMutiple" v-bind="{...checkboxGroupProps, ...attrs}" v-model="proxyValue" >
3
3
  <ElCheckbox
4
- v-bind="{...checkboxProps }"
5
4
  v-for="option in props.options"
6
5
  :key="option.columnValue"
7
6
  :value="option.columnValue"
@@ -9,13 +8,13 @@
9
8
  {{lang.indexOf('zh') > -1 ? option.columnDesc_zh : option.columnDesc}}
10
9
  </ElCheckbox>
11
10
  </ElCheckboxGroup>
12
- <ElCheckbox v-else v-bind="{...checkboxProps, ...attrs}" v-model="modeValue">
11
+ <ElCheckbox v-else v-bind="{...checkboxProps, ...attrs}" v-model="proxyValue">
13
12
  {{ label }}
14
13
  </ElCheckbox>
15
14
  </template>
16
15
  <script setup>
17
16
  import { ElCheckbox, ElCheckboxGroup } from 'element-plus'
18
- import { useAttrs, computed, inject } from 'vue'
17
+ import { useAttrs, computed, inject, ref } from 'vue'
19
18
  import { commonPropsType, hasOwn } from '../../utils/index.js'
20
19
 
21
20
  const props = defineProps({
@@ -51,5 +50,27 @@ const checkboxProps = computed(() => {
51
50
  return ret
52
51
  })
53
52
  const attrs = useAttrs()
54
- const modeValue = defineModel()
53
+ // 是否为多选
54
+ const isMutiple = computed(() => {
55
+ return props.options && props.options.length
56
+ })
57
+ const modelValue = defineModel()
58
+
59
+ const proxyValue = computed({
60
+ get() {
61
+ if (isMutiple.value) {
62
+ const val = modelValue.value || ''
63
+ return val ? val.split(',') : []
64
+ } else {
65
+ return modelValue.value
66
+ }
67
+ },
68
+ set(val) {
69
+ if (isMutiple.value) {
70
+ modelValue.value = val.join(',')
71
+ } else {
72
+ modelValue.value = val
73
+ }
74
+ }
75
+ })
55
76
  </script>
@@ -6,7 +6,7 @@
6
6
  .custom-component-table {
7
7
  --boder-radius: 4px;
8
8
  border-radius: var(--boder-radius);
9
- width: 100%;
9
+ // width: 100%;
10
10
  .el-table, &.el-table {
11
11
  --el-table-header-bg-color: #f5f6f7;
12
12
  --el-table-header-text-color: #646a73;
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import getNativeComps from './components/patchComponents-H5.js'
3
- import { useAttrs } from 'vue';
3
+ import { computed, ref, useAttrs } from 'vue';
4
4
  import Resolver from './resolver-common.vue'
5
5
  import CmiToast from "cmid/lib/toast"
6
6
  import CmiFullLoading from "cmid/lib/fullloading"
@@ -36,9 +36,31 @@ defineOptions({
36
36
  })
37
37
  const attrs = useAttrs()
38
38
 
39
+ const resolverRef = ref(null)
40
+ defineExpose({
41
+ dynamicMapComp: computed({
42
+ get() {
43
+ return resolverRef.value?.dynamicMapComp
44
+ }
45
+ }),
46
+ validate(...arg) {
47
+ return resolverRef.value?.validate(...arg)
48
+ },
49
+ pageConfig: computed({
50
+ get() {
51
+ return resolverRef.value?.pageConfig
52
+ }
53
+ }),
54
+ rootForm: computed({
55
+ get() {
56
+ return resolverRef.value?.rootForm
57
+ }
58
+ }),
59
+ })
39
60
  </script>
40
61
  <template>
41
62
  <Resolver
63
+ ref="resolverRef"
42
64
  v-bind="attrs"
43
65
  :isH5="true" :getNativeComps="getNativeComps"
44
66
  :messageInstance="props.messageInstance"
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { computed, useAttrs } from 'vue';
2
+ import { computed, ref, useAttrs } from 'vue';
3
3
  import Resolver from './index.jsx'
4
4
  import { useBuildInData } from './hooks/pageConfig';
5
5
  import { initInterceptors } from './utils/request.js';
@@ -43,7 +43,29 @@ const allSelects = computed(() => {
43
43
  ...selects.value
44
44
  }
45
45
  })
46
+
47
+ const resolverRef = ref(null)
48
+ defineExpose({
49
+ dynamicMapComp: computed({
50
+ get() {
51
+ return resolverRef.value?.dynamicMapComp
52
+ }
53
+ }),
54
+ validate(...arg) {
55
+ return resolverRef.value?.validate(...arg)
56
+ },
57
+ pageConfig: computed({
58
+ get() {
59
+ return resolverRef.value?.pageConfig
60
+ }
61
+ }),
62
+ rootForm: computed({
63
+ get() {
64
+ return resolverRef.value?.rootForm
65
+ }
66
+ }),
67
+ })
46
68
  </script>
47
69
  <template>
48
- <Resolver v-bind="attrs" :loadingInstance="props.loadingInstance" :messageInstance="props.messageInstance" :getNativeComps="props.getNativeComps" :config="pageConfig || null" :selects="allSelects"></Resolver>
70
+ <Resolver ref="resolverRef" v-bind="attrs" :loadingInstance="props.loadingInstance" :messageInstance="props.messageInstance" :getNativeComps="props.getNativeComps" :config="pageConfig || null" :selects="allSelects"></Resolver>
49
71
  </template>
@@ -2,7 +2,7 @@
2
2
  import getNativeComps from './components/patchComponents-web'
3
3
  import { ElMessage, ElMessageBox } from "element-plus"
4
4
  import { loadingInstance } from './components/loading'
5
- import { useAttrs } from 'vue';
5
+ import { computed, ref, useAttrs } from 'vue';
6
6
  import Resolver from './resolver-common.vue'
7
7
  import { openChildDialog } from './components/childDialog';
8
8
 
@@ -35,9 +35,31 @@ defineOptions({
35
35
  })
36
36
  const attrs = useAttrs()
37
37
 
38
+ const resolverRef = ref(null)
39
+ defineExpose({
40
+ dynamicMapComp: computed({
41
+ get() {
42
+ return resolverRef.value?.dynamicMapComp
43
+ }
44
+ }),
45
+ validate(...arg) {
46
+ return resolverRef.value?.validate(...arg)
47
+ },
48
+ pageConfig: computed({
49
+ get() {
50
+ return resolverRef.value?.pageConfig
51
+ }
52
+ }),
53
+ rootForm: computed({
54
+ get() {
55
+ return resolverRef.value?.rootForm
56
+ }
57
+ }),
58
+ })
38
59
  </script>
39
60
  <template>
40
61
  <Resolver
62
+ ref="resolverRef"
41
63
  v-bind="attrs"
42
64
  :getNativeComps="getNativeComps"
43
65
  :messageInstance="props.messageInstance"
@@ -1,16 +1,104 @@
1
+ @import "./common.scss";not-wrap-border
1
2
 
2
- .el-collapse {
3
- --el-collapse-header-height: 22px;
4
- --el-collapse-header-font-size: 14px;
5
- // margin-bottom: var(--prmary-marign);
6
- .el-collapse-item__header {
7
- padding-bottom: 12px;
8
- box-sizing: content-box;
3
+ // 配置被包裹的一层样式
4
+ .standard-wrap {
5
+ box-sizing: border-box;
6
+ }
7
+ .CustomComponentCollapse {
8
+ .el-collapse {
9
+ --el-collapse-header-height: 22px;
10
+ --el-collapse-header-font-size: 14px;
11
+ // margin-bottom: var(--prmary-marign);
12
+ .el-collapse-item__header {
13
+ padding-bottom: 12px;
14
+ box-sizing: content-box;
15
+ }
16
+ .el-collapse-item__content {
17
+ padding-bottom: 0;
18
+ }
19
+ .el-collapse-item__wrap {
20
+ margin-right: calc(var(--prmary-marign) - var(--prmary-marign) * 2);
21
+ }
9
22
  }
10
- .el-collapse-item__content {
11
- padding-bottom: 0;
23
+
24
+ .el-collapse-item__wrap, .el-collapse-item__header {
25
+ border-bottom: none;
26
+ &::before {
27
+ display: none;
28
+ }
12
29
  }
13
30
  .el-collapse-item__wrap {
14
- margin-right: calc(var(--prmary-marign) - var(--prmary-marign) * 2);
31
+ overflow: none;
32
+ }
33
+ .el-collapse-item {
34
+ position: relative;
35
+ &::after {
36
+ content: "";
37
+ display: block;
38
+ position: absolute;
39
+ width: 100%;
40
+ bottom: 0;
41
+ left: 0;
42
+ height: 1px;
43
+ background-color: #d0d3d6;
44
+ // margin-bottom: var(--prmary-marign);
45
+ }
46
+ .el-collapse-item__content {
47
+ & > .el-row {
48
+ > .el-col {
49
+ &:last-child {
50
+ & > .el-form-item {
51
+ margin-bottom: 24px;
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ .el-collapse-item__arrow {
59
+ font-size: 16px;
60
+ color: #646A73;
61
+ svg path {
62
+ d: path("M 338.752 104.704 a 64 64 0 0 0 0 90.496 l 316.8 316.8 l -316.8 316.8 a 64 64 0 0 0 90.496 90.496 l 362.048 -362.048 a 64 64 0 0 0 0 -90.496 L 429.248 104.704 a 64 64 0 0 0 -90.496 0 Z");
63
+ }
64
+ }
65
+ .el-collapse-item__content {
66
+ @include nestMargin
67
+ }
68
+
69
+ .el-collapse-item__arrow {
70
+ margin-right: 0;
71
+ }
72
+ }
73
+
74
+ .CustomComponentCollapse:first-child {
75
+ margin-bottom: 12px;
76
+ }
77
+ .CustomComponentCollapse + .CustomComponentCollapse {
78
+ margin-bottom: 12px;
79
+ }
80
+
81
+ .CustomComponentCollapse.is-card:first-child {
82
+ margin-bottom: 16px;
83
+ }
84
+ .CustomComponentCollapse.is-card + .CustomComponentCollapse.is-card {
85
+ margin-bottom: 16px;
86
+ }
87
+
88
+ // 加权
89
+ .CustomComponentCollapse.CustomComponentCollapse.CustomComponentCollapse:last-child {
90
+ margin-bottom: 0;
91
+ }
92
+ .underline-hidden {
93
+ .el-collapse-item {
94
+ &::after {
95
+ display: none;
96
+ }
97
+ }
98
+ }
99
+ .not-wrap-border {
100
+ &.el-collapse {
101
+ border-top: none;
102
+ border-bottom: none;
15
103
  }
16
104
  }
@@ -0,0 +1,12 @@
1
+ @mixin nestMargin {
2
+ & > div {
3
+ & > .CustomComponentTable,
4
+ & > .CustomComponentCollapse,
5
+ & > .CustomComponentRow {
6
+ & > div {
7
+ margin-right: 16px;
8
+ margin-bottom: 16px;
9
+ }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,42 @@
1
+
2
+ // 组件弹框样式定义调整
3
+ .custom-component-dialog {
4
+ padding-top: 0px;
5
+ padding-bottom: 0;
6
+
7
+ .el-dialog__header {
8
+ display: none;
9
+ }
10
+ .el-dialog__body {
11
+ height: 100%;
12
+ .header {
13
+ line-height: 46px;
14
+ font-size: 14px;
15
+ font-weight: 500;
16
+ color: #1F2329;
17
+ }
18
+ .content {
19
+ height: 100%;
20
+ box-sizing: border-box;
21
+ // .el-scrollbar__wrap {
22
+ // overflow-x: hidden;
23
+ // }
24
+ // .is-horizontal {
25
+ // display: none;
26
+ // }
27
+ }
28
+ .footer {
29
+ height: 68px;
30
+ text-align: right;
31
+ overflow: hidden;
32
+ .dialog-footer {
33
+ margin-top: 16px;
34
+ }
35
+ }
36
+ }
37
+ &.el-dialog footer {
38
+ position: initial;
39
+ transform: none;
40
+ padding: 0;
41
+ }
42
+ }
@@ -40,3 +40,4 @@
40
40
  @import './tabs.scss';
41
41
  @import './tree.scss';
42
42
  @import './steps.scss';
43
+ @import './dialog.scss'
@@ -1,4 +1,6 @@
1
1
 
2
+ @import "./common.scss";
3
+
2
4
  .resolver-tabs {
3
5
  // 这个是渲染器里面tabs
4
6
  display: block;
@@ -69,4 +71,12 @@
69
71
  border: none;
70
72
  }
71
73
  }
74
+ }
75
+ .CustomComponentTabs {
76
+ .el-tabs__content {
77
+ margin-right: -16px;
78
+ .el-tab-pane {
79
+ @include nestMargin
80
+ }
81
+ }
72
82
  }