stellar-ui-plus
Advanced tools
Comparing version 1.17.11 to 1.17.12
@@ -31,2 +31,3 @@ #### Props | ||
| `selectionIconColor` | 配置选择项图标色 | `object` | - | - | - | | ||
| `isPopover` | 是否为超出单元格时气泡显示内容 | `boolean` | - | - | - | | ||
@@ -33,0 +34,0 @@ |
@@ -48,2 +48,3 @@ import type { ExtractPropTypes, PropType } from 'vue'; | ||
}, | ||
isPopover: [Boolean, null], | ||
}; | ||
@@ -50,0 +51,0 @@ |
@@ -51,4 +51,4 @@ # Table 表格 | ||
- 通过`table`中的`emptyText`属性来指定单元格中数据为空时显示的值,否则显示`-` | ||
- 也可以通过插槽来自定义空数据时显示 | ||
- 通过`table`中的`emptyText`属性来指定单元格中数据为空时显示的值,否则显示`-` | ||
- 也可以通过插槽来自定义空数据时显示 | ||
@@ -153,4 +153,4 @@ ```html | ||
- 通过`showSummary`控制是否显示合计,`sumText`控制合计行第一列的文本 | ||
- `summaryMethod`来指定合计的方法,需要返回一个数组来确定每一列合计显示的内容 | ||
- 通过`showSummary`控制是否显示合计,`sumText`控制合计行第一列的文本 | ||
- `summaryMethod`来指定合计的方法,需要返回一个数组来确定每一列合计显示的内容 | ||
@@ -190,4 +190,4 @@ ```html | ||
- 通过`align`指定某列的单元格的对齐方式 | ||
- `headerAlign`指定表头的单元格对齐方式, 没设置时跟随`align`值 | ||
- 通过`align`指定某列的单元格的对齐方式 | ||
- `headerAlign`指定表头的单元格对齐方式, 没设置时跟随`align`值 | ||
@@ -572,2 +572,31 @@ ```html | ||
#### 单元格超出长按显示气泡 | ||
```html | ||
<script lang="ts" setup> | ||
import { ref } from 'vue'; | ||
const rows5 = ref([ | ||
{ t1: '张三', t2: '我是张三我是张三我是张三我是张三', t3: '男男男男男男男男男' }, | ||
{ t1: '李四', t2: '你是李四你是李四你是李四你是李四你是李四', t3: '女' }, | ||
{ t1: '王五王五王五', t2: '王五描述', t3: '女' }, | ||
{ t1: '赵六赵六赵六赵六', t2: '赵六', t3: '女' }, | ||
{ t1: '王七', t2: '他是王七他是王七他是王七他是王七他是王七', t3: '女女女女女女女' }, | ||
]); | ||
</script> | ||
<template> | ||
<view class="title">单元格文字超出时气泡显示内容</view> | ||
<view class="item-block"> | ||
<view style="width: 100%"> | ||
<ste-table :data="rows5" isPopover> | ||
<template v-slot="{ row }"> | ||
<ste-table-column label="文字1" prop="t1"></ste-table-column> | ||
<ste-table-column label="文字2" prop="t2"></ste-table-column> | ||
<ste-table-column label="文字3" prop="t3"></ste-table-column> | ||
</template> | ||
</ste-table> | ||
</view> | ||
</view> | ||
</template> | ||
``` | ||
---$ | ||
@@ -574,0 +603,0 @@ |
@@ -157,2 +157,7 @@ { | ||
{ | ||
"name": "isPopover", | ||
"description": "是否为超出单元格时气泡显示内容", | ||
"type": "boolean" | ||
}, | ||
{ | ||
"name": "[event]select", | ||
@@ -159,0 +164,0 @@ "description": "当用户手动勾选数据行的 Checkbox 时触发的事件", |
{ | ||
"name": "stellar-ui-plus", | ||
"version": "1.17.11", | ||
"version": "1.17.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1152238
382
12379