Showing
3 changed files
with
7 additions
and
1 deletions
| @@ -26,6 +26,7 @@ export struct MoreComponent { | @@ -26,6 +26,7 @@ export struct MoreComponent { | ||
| 26 | ForEach(this.contentDTO.sameContentList, (item: ContentDTO, index: number) => { | 26 | ForEach(this.contentDTO.sameContentList, (item: ContentDTO, index: number) => { |
| 27 | if (item.appStyle !== "9") { | 27 | if (item.appStyle !== "9") { |
| 28 | CardParser({compDTO:new CompDTO, contentDTO: item }) | 28 | CardParser({compDTO:new CompDTO, contentDTO: item }) |
| 29 | + .padding({left: 10, right: 10}) | ||
| 29 | } else { | 30 | } else { |
| 30 | Column(){ | 31 | Column(){ |
| 31 | Card9Component({ compDTO: new CompDTO, contentDTO:item, pageId: "", pageName: "" }) | 32 | Card9Component({ compDTO: new CompDTO, contentDTO:item, pageId: "", pageName: "" }) |
| @@ -35,6 +36,7 @@ export struct MoreComponent { | @@ -35,6 +36,7 @@ export struct MoreComponent { | ||
| 35 | .color($r('app.color.color_F5F5F5')) | 36 | .color($r('app.color.color_F5F5F5')) |
| 36 | .strokeWidth(4) | 37 | .strokeWidth(4) |
| 37 | } | 38 | } |
| 39 | + .padding({left: 10, right: 10}) | ||
| 38 | } | 40 | } |
| 39 | }) | 41 | }) |
| 40 | 42 | ||
| @@ -65,6 +67,7 @@ export struct MoreComponent { | @@ -65,6 +67,7 @@ export struct MoreComponent { | ||
| 65 | .strokeWidth(5) | 67 | .strokeWidth(5) |
| 66 | 68 | ||
| 67 | } | 69 | } |
| 70 | + .padding({left: 10, right: 10}) | ||
| 68 | } | 71 | } |
| 69 | 72 | ||
| 70 | 73 |
| @@ -283,7 +283,7 @@ export struct SearchResultContentComponent { | @@ -283,7 +283,7 @@ export struct SearchResultContentComponent { | ||
| 283 | if (this.data_rmh.length === 1) { | 283 | if (this.data_rmh.length === 1) { |
| 284 | ListItem() { | 284 | ListItem() { |
| 285 | FollowChildComponent({ data: this.bean, type: 1 ,searchText: decodeURI(this.keywords)}) | 285 | FollowChildComponent({ data: this.bean, type: 1 ,searchText: decodeURI(this.keywords)}) |
| 286 | - }.padding({ left: "31lpx", right: "31lpx" }) | 286 | + }.padding({ left: 10, right: 10 }) |
| 287 | } else { | 287 | } else { |
| 288 | ListItem() { | 288 | ListItem() { |
| 289 | Column() { | 289 | Column() { |
| @@ -338,6 +338,7 @@ export struct SearchResultContentComponent { | @@ -338,6 +338,7 @@ export struct SearchResultContentComponent { | ||
| 338 | .backgroundColor($r('app.color.white')) | 338 | .backgroundColor($r('app.color.white')) |
| 339 | .height('100%') | 339 | .height('100%') |
| 340 | .width('100%') | 340 | .width('100%') |
| 341 | + .padding({left: 6, right: 6}) | ||
| 341 | } | 342 | } |
| 342 | 343 | ||
| 343 | @Builder | 344 | @Builder |
| @@ -70,6 +70,7 @@ export struct VideoChannelPage { | @@ -70,6 +70,7 @@ export struct VideoChannelPage { | ||
| 70 | return Number(this.assignChannel.channelId) == item.channelId && Number(this.assignChannel.pageId) == item.pageId | 70 | return Number(this.assignChannel.channelId) == item.channelId && Number(this.assignChannel.pageId) == item.pageId |
| 71 | }) || 0 | 71 | }) || 0 |
| 72 | this.clickTopNav(index) | 72 | this.clickTopNav(index) |
| 73 | + this.setBarBackgroundColor() | ||
| 73 | } | 74 | } |
| 74 | 75 | ||
| 75 | /** | 76 | /** |
| @@ -178,6 +179,7 @@ export struct VideoChannelPage { | @@ -178,6 +179,7 @@ export struct VideoChannelPage { | ||
| 178 | } | 179 | } |
| 179 | this.currentTopNavSelectedIndex = index | 180 | this.currentTopNavSelectedIndex = index |
| 180 | this.swiperController.changeIndex(index, true) | 181 | this.swiperController.changeIndex(index, true) |
| 182 | + this.setBarBackgroundColor() | ||
| 181 | } | 183 | } |
| 182 | 184 | ||
| 183 | @Builder | 185 | @Builder |
-
Please register or login to post a comment