|
@@ -3194,6 +3194,7 @@ func (this *ActivityCoAntroller) LabelTypeListV5() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ var lenList int
|
|
|
//按照像素进行排序
|
|
|
rowHeight := 83 //每一行的行高
|
|
|
basicsHeight := 178 // 基础高度
|
|
@@ -3206,10 +3207,14 @@ func (this *ActivityCoAntroller) LabelTypeListV5() {
|
|
|
position = 2
|
|
|
}
|
|
|
itemsNew[k].Position = position
|
|
|
+ lenList = len(v.List)
|
|
|
+ if lenList > 8 {
|
|
|
+ lenList = 8
|
|
|
+ }
|
|
|
if position == 1 {
|
|
|
- leftPx += basicsHeight + rowHeight*len(v.List)
|
|
|
+ leftPx += basicsHeight + rowHeight*lenList
|
|
|
} else {
|
|
|
- rightPx += basicsHeight + rowHeight*len(v.List)
|
|
|
+ rightPx += basicsHeight + rowHeight*lenList
|
|
|
}
|
|
|
}
|
|
|
//记录用户搜索的筛选条件
|