你好,要去除单元格上下的边框,可以在样式中添加以下代码:

.u-cell-group .u-cell:first-child .u-cell-wrapper {
  border-top: none;
}
.u-cell-group .u-cell:last-child .u-cell-wrapper {
  border-bottom: none;
}

这样可以去除第一个单元格的上边框和最后一个单元格的下边框。希望能帮到你!

你好 uniapp遇到如下问题 cell单元格上下均有边框 请帮我去除u-cell-group u-cell center size=large view slot=title class=u-slot-title text class=u-cell-text余额text view

原文地址: https://www.cveoy.top/t/topic/iEWl 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录