n20-common-lib 3.0.88 → 3.0.90
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 +1 -1
- package/src/assets/css/table.scss +2 -1
- package/src/assets/css/v3/table.scss +2 -2
- package/src/components/v3/TablePro/index.vue +4 -2
- package/style/index.css +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
package/package.json
CHANGED
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
.vxe-sort--asc-btn,
|
|
141
141
|
.vxe-sort--desc-btn {
|
|
142
142
|
width: 6px;
|
|
143
|
-
height:
|
|
143
|
+
height: 12px !important;
|
|
144
144
|
color: #333;
|
|
145
145
|
border: none;
|
|
146
146
|
font-style: normal;
|
|
@@ -242,6 +242,7 @@ th.vxe-header--column {
|
|
|
242
242
|
text-overflow: ellipsis;
|
|
243
243
|
white-space: nowrap;
|
|
244
244
|
}
|
|
245
|
+
|
|
245
246
|
// badge图章样式
|
|
246
247
|
.table-operate-btns__wrapper {
|
|
247
248
|
.el-badge__content {
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
.n20-table-pro__row-checked {
|
|
217
|
+
.v3-n20-table-pro__row-checked {
|
|
218
218
|
background-color: #e8f7ff !important;
|
|
219
219
|
}
|
|
220
220
|
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
content: '--';
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
-
.n20-table-pro.vxe-table--render-default {
|
|
409
|
+
.v3-n20-table-pro.vxe-table--render-default {
|
|
410
410
|
color: var(--text-1, #1d2129);
|
|
411
411
|
font-family: 'PingFang SC';
|
|
412
412
|
font-size: 14px;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
:align="'center'"
|
|
15
15
|
:data="data"
|
|
16
16
|
:height="height"
|
|
17
|
-
:class="[{ 'cell-default-set--': cellDefault }, 'n20-table-pro']"
|
|
17
|
+
:class="[{ 'cell-default-set--': cellDefault }, 'v3-n20-table-pro']"
|
|
18
18
|
:checkbox-config="{
|
|
19
19
|
checkField: 'checked',
|
|
20
20
|
checkMethod: forbidSelect,
|
|
@@ -764,6 +764,8 @@ export default {
|
|
|
764
764
|
// 处理固定操作列的按钮事件
|
|
765
765
|
handleOperateCommand(command, row, rowIndex) {
|
|
766
766
|
this.$emit(command, row, rowIndex)
|
|
767
|
+
//
|
|
768
|
+
const btn = this.btnList.find((item) => item.command === command || item.label === command) || { command }
|
|
767
769
|
this.$emit('hover-btn-click', { btn, row, rowIndex })
|
|
768
770
|
},
|
|
769
771
|
// 处理 tableOperate 固定/取消固定切换
|
|
@@ -1221,7 +1223,7 @@ export default {
|
|
|
1221
1223
|
getRowClassName({ row }) {
|
|
1222
1224
|
const checkedRows = this.$refs.vxeTable?.getCheckboxRecords(false) || []
|
|
1223
1225
|
const checkedSet = new Set(checkedRows)
|
|
1224
|
-
return checkedSet.has(row) ? 'n20-table-pro__row-checked' : ''
|
|
1226
|
+
return checkedSet.has(row) ? 'v3-n20-table-pro__row-checked' : ''
|
|
1225
1227
|
},
|
|
1226
1228
|
calcColumnWidth(columns) {
|
|
1227
1229
|
// 常量配置
|