resolver-egretimp-plus 0.0.250 → 0.0.252

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.250",
3
+ "version": "0.0.252",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -67,7 +67,7 @@ const calcProps = computed(() => {
67
67
  islink: props.config?.islink === '1',
68
68
  icon: props.config?.icon,
69
69
  selfadaption: hasOwn(props.config, 'selfadaption') ? props.config.selfadaption === '1' : true,
70
- noborder: props.config?.noborder === '1',
70
+ noborder: props.config?.noborder === '1' || props.config?.borderHidden === '1',
71
71
  }
72
72
  })
73
73
  const attrs = useAttrs()
@@ -34,6 +34,10 @@ const showPageMeteList = computed(() => {
34
34
  return pmPageMetaList.value.filter(item => item.displayType != DISPLAY_HIDDEN && item.hidden != '1')
35
35
  })
36
36
 
37
+ const lastShowPageMeteItem = computed(() => {
38
+ return showPageMeteList.value?.length ? showPageMeteList.value[showPageMeteList.value.length - 1] : null
39
+ })
40
+
37
41
  const showCollapseBtn = computed(() => {
38
42
  return showPageMeteList.value?.length > collapseLimt.value
39
43
  })
@@ -48,10 +52,25 @@ const lasetLimitIdx = computed(() => {
48
52
  watch(lasetLimitIdx, (val) => {
49
53
  pmPageMetaList.value?.forEach((item, index) => {
50
54
  item.collapseHidden = '0'
51
- if (val > -1 && index > val) {
52
- item.collapseHidden = '1'
55
+ if (item.metaType === 'cmi-cell') {
56
+ item.borderHidden = '0'
57
+ }
58
+ if (val > -1) {
59
+ if (index > val) {
60
+ item.collapseHidden = '1'
61
+ }
62
+ if (index === val) {
63
+ if (item.metaType === 'cmi-cell') {
64
+ item.borderHidden = '1'
65
+ }
66
+ }
53
67
  }
54
68
  })
69
+ if (val === -1) {
70
+ if (lastShowPageMeteItem.value?.metaType === 'cmi-cell') {
71
+ lastShowPageMeteItem.value.borderHidden = '1'
72
+ }
73
+ }
55
74
  }, {
56
75
  immediate: true
57
76
  })
@@ -111,4 +130,9 @@ function toCollapse() {
111
130
  .CustomComponentCollapseH5.CustomComponentCollapseH5.CustomComponentCollapseH5:last-child {
112
131
  margin-bottom: 0;
113
132
  }
133
+ .CustomComponentTabsH5 {
134
+ .CustomComponentCollapseH5 {
135
+ margin-bottom: 0;
136
+ }
137
+ }
114
138
  </style>
@@ -475,7 +475,9 @@ export default {
475
475
  },
476
476
  ...tableExpose
477
477
  })
478
-
478
+ const dataList = computed(() => {
479
+ return totalRow.value?.length ? [...tableData.value, ...totalRow.value] : tableData.value
480
+ })
479
481
  // console.log('dynamicMapComp===:', inject('dynamicMapComp'))
480
482
  return () => {
481
483
  return (
@@ -484,7 +486,7 @@ export default {
484
486
  ref={(e) => {tableRef.value = e}}
485
487
  highlight-current-row={selectable.value || tableProps.value?.highlightCurrentRow ? true : false}
486
488
  onCurrentChange={selectable.value || tableProps.value?.highlightCurrentRow ? currentChange : () => {}}
487
- data={[...tableData.value, ...totalRow.value]}
489
+ data={dataList.value}
488
490
  onSelectionChange={handleSelectionChange}
489
491
  onSortChange={onSortChange}
490
492
  >
@@ -85,13 +85,16 @@
85
85
  padding: 0 8px;
86
86
  }
87
87
  }
88
+ .el-input {
89
+ display: flex;
90
+ }
88
91
  .el-select__wrapper, .el-input__wrapper {
89
92
  box-shadow: none;
90
93
  border-bottom: 1px solid var(--el-border-color);
91
94
  padding: 0;
92
95
  border-radius: 0;
93
96
  background-color: transparent;
94
- min-height: 26px;
97
+ min-height: 32px;
95
98
  &.is-focused {
96
99
  border-color: var(--el-color-primary);
97
100
  }