修改一些bug

This commit is contained in:
zouzhibing
2022-03-23 16:20:21 +08:00
parent 95db5be586
commit 987533974a
24 changed files with 648 additions and 389 deletions

View File

@@ -141,6 +141,19 @@
</view>
</uni-card>
<uni-card title="支持设置单元格样式" >
<view style="height: 300px">
<zb-table
:cell-style="cellStyle"
:show-header="true"
:columns="column1"
@currentChange="currentChange"
:highlight="true"
:border="true"
:data="data"></zb-table>
</view>
</uni-card>
</view>
</template>
@@ -340,6 +353,13 @@ img:"https://img.pddpic.com/mms-material-img/2020-11-27/84c7fad3-d945-4e71-ab09-
// },3000)
},
methods:{
cellStyle({row, column, rowIndex, columnIndex}){
if(columnIndex === 2 || columnIndex === 4) {
return{
color:'red'
}
}
},
pullUpLoading(done){
if(!this.flag1){
return