Showing
1 changed file
with
6 additions
and
6 deletions
| @@ -16,7 +16,7 @@ export default struct MinePagePersonFunctionUI { | @@ -16,7 +16,7 @@ export default struct MinePagePersonFunctionUI { | ||
| 16 | Grid(){ | 16 | Grid(){ |
| 17 | ForEach(this.personalData,(item:MinePagePersonalFunctionsItem,index:number)=>{ | 17 | ForEach(this.personalData,(item:MinePagePersonalFunctionsItem,index:number)=>{ |
| 18 | GridItem(){ | 18 | GridItem(){ |
| 19 | - PagePersonFunction({ item: item, noDivider : (index % 4 < 3 && index != this.personalData.length-1) ? false : true}) | 19 | + PagePersonFunction({ item: item, noDivider : (index % 5 < 4 && index != this.personalData.length-1) ? false : true}) |
| 20 | }.onClick(()=>{ | 20 | }.onClick(()=>{ |
| 21 | console.log(index+"") | 21 | console.log(index+"") |
| 22 | switch (item.msg){ | 22 | switch (item.msg){ |
| @@ -77,14 +77,14 @@ export default struct MinePagePersonFunctionUI { | @@ -77,14 +77,14 @@ export default struct MinePagePersonFunctionUI { | ||
| 77 | break; | 77 | break; |
| 78 | } | 78 | } |
| 79 | } | 79 | } |
| 80 | - }).width('169lpx') | 80 | + }).width('142lpx') |
| 81 | .height('117lpx') | 81 | .height('117lpx') |
| 82 | }) | 82 | }) |
| 83 | } | 83 | } |
| 84 | - .rowsTemplate('1fr 1fr') | ||
| 85 | - .columnsTemplate('1fr 1fr 1fr 1fr') | ||
| 86 | - .height('234lpx') | ||
| 87 | - .margin({top:'31lpx',left:'23lpx',right:'23lpx' }) | 84 | + .rowsTemplate('1fr') |
| 85 | + .columnsTemplate('1fr 1fr 1fr 1fr 1fr') | ||
| 86 | + .height('117lpx') | ||
| 87 | + .margin({top:'31lpx'}) | ||
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | messageClick(){ | 90 | messageClick(){ |
-
Please register or login to post a comment