d***@126.com
d***@126.com
  • 发布:2025-07-01 11:21
  • 更新:2025-07-03 16:50
  • 阅读:36

#插件讨论# 【 零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙移动组件库。 - UviewPlus 】border边框在微信小程序里无效果

分类:uni-app

<u-table2 fixedHeader :data="list" :columns="col" border> border边框在微信小程序里无效果,我看示例也没有表格竖线,
本来这样还是在微信小程序里用需设置什么
lcol: [{
title: '配件1',
key: 'che1',
width: '200px',
align: 'right',
fontSize: '9px',
} {
title: '操作',
key: 'edt',
width: '80px',
fixed: 'left',
align: 'center',
}],这里的align,fontSize,fixed也无效这样设置不对吗

2025-07-01 11:21 负责人:无 分享
已邀请:
UviewPlus

UviewPlus - mind.lingyun.net

样式不是这样设置,在二级参数style里面。文档示例里面有的。

columnsStyle: [  
    { title: '姓名', key: 'name', width: '50px' },  
    { title: '年龄', key: 'age', width: '50px', style: {  
        background: 'red', color: '#fff', 'justify-content': 'center'},  
    },  
    { title: '年龄', key: 'age', width: '50px' }  
],

要回复问题请先登录注册