Showing
1 changed file
with
4 additions
and
3 deletions
| @@ -195,6 +195,7 @@ export struct ENewspaperPageComponent { | @@ -195,6 +195,7 @@ export struct ENewspaperPageComponent { | ||
| 195 | top: { anchor: "e_newspaper_top", align: VerticalAlign.Bottom }, | 195 | top: { anchor: "e_newspaper_top", align: VerticalAlign.Bottom }, |
| 196 | middle: { anchor: "__container__", align: HorizontalAlign.Center } | 196 | middle: { anchor: "__container__", align: HorizontalAlign.Center } |
| 197 | }) | 197 | }) |
| 198 | + .effectMode(EdgeEffect.None) | ||
| 198 | .onChange((index: number) => { | 199 | .onChange((index: number) => { |
| 199 | this.currentPageNum = this.newspaperListBean?.list[index]?.pageNum | 200 | this.currentPageNum = this.newspaperListBean?.list[index]?.pageNum |
| 200 | this.swiperIndex = index | 201 | this.swiperIndex = index |
| @@ -202,12 +203,12 @@ export struct ENewspaperPageComponent { | @@ -202,12 +203,12 @@ export struct ENewspaperPageComponent { | ||
| 202 | 203 | ||
| 203 | Image($r('app.media.newspaper_shadow')) | 204 | Image($r('app.media.newspaper_shadow')) |
| 204 | .height($r('app.float.vp_12')) | 205 | .height($r('app.float.vp_12')) |
| 205 | - .margin({ left: 20, right: 20, top: -1 }) | 206 | + .margin({ left: 10, right: 10, top: -1 }) |
| 206 | .objectFit(ImageFit.Contain) | 207 | .objectFit(ImageFit.Contain) |
| 207 | .alignRules({ | 208 | .alignRules({ |
| 208 | top: { anchor: "e_newspaper_content", align: VerticalAlign.Bottom }, | 209 | top: { anchor: "e_newspaper_content", align: VerticalAlign.Bottom }, |
| 209 | - left: { anchor: 'e_newspaper_content', align: HorizontalAlign.Start }, | ||
| 210 | - right: { anchor: 'e_newspaper_content', align: HorizontalAlign.End } | 210 | + // left: { anchor: 'e_newspaper_content', align: HorizontalAlign.Start }, |
| 211 | + // right: { anchor: 'e_newspaper_content', align: HorizontalAlign.End } | ||
| 211 | }) | 212 | }) |
| 212 | .id('e_newspaper_shadow') | 213 | .id('e_newspaper_shadow') |
| 213 | 214 |
-
Please register or login to post a comment