陈剑华

feat: 17279 号主页-稿件之间、稿件与底部提示语之间缺少分割线

... ... @@ -78,9 +78,12 @@ export struct PeopleShipHomeArticleListComponent {
List({scroller: this.scroller}) {
// 下拉刷新
ForEach(this.arr, (item: ContentDTO) => {
ForEach(this.arr, (item: ContentDTO, index: number) => {
ListItem() {
CardParser({compDTO:new CompDTO, contentDTO: item })
Column() {
CardParser({compDTO:new CompDTO, contentDTO: item })
Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 })
}
}.width("100%")
.backgroundColor(Color.Transparent)
}, (item: ContentDTO, index: number) => item.objectId + index.toString())
... ...