Showing
1 changed file
with
30 additions
and
30 deletions
| @@ -8,10 +8,10 @@ export struct SubscribeListChildComponent{ | @@ -8,10 +8,10 @@ export struct SubscribeListChildComponent{ | ||
| 8 | Column(){ | 8 | Column(){ |
| 9 | Row(){ | 9 | Row(){ |
| 10 | Text(`${this.item.dealTime}`) | 10 | Text(`${this.item.dealTime}`) |
| 11 | - .margin({top:"31lpx",bottom:"23lpx"}) | 11 | + .margin({top:16,bottom:12}) |
| 12 | .fontWeight(400) | 12 | .fontWeight(400) |
| 13 | - .fontSize("23lpx") | ||
| 14 | - .lineHeight("33lpx") | 13 | + .fontSize(12) |
| 14 | + .lineHeight(17) | ||
| 15 | .fontColor($r('app.color.color_999999')) | 15 | .fontColor($r('app.color.color_999999')) |
| 16 | }.width('100%') | 16 | }.width('100%') |
| 17 | .backgroundColor($r('app.color.color_F5F5F5')) | 17 | .backgroundColor($r('app.color.color_F5F5F5')) |
| @@ -20,78 +20,78 @@ export struct SubscribeListChildComponent{ | @@ -20,78 +20,78 @@ export struct SubscribeListChildComponent{ | ||
| 20 | Column(){ | 20 | Column(){ |
| 21 | Column(){ | 21 | Column(){ |
| 22 | Text(`${this.item.title}`) | 22 | Text(`${this.item.title}`) |
| 23 | - .fontSize("31lpx") | ||
| 24 | - .lineHeight("46lpx") | 23 | + .fontSize(16) |
| 24 | + .lineHeight(24) | ||
| 25 | .fontWeight(500) | 25 | .fontWeight(500) |
| 26 | .fontColor($r('app.color.color_333333')) | 26 | .fontColor($r('app.color.color_333333')) |
| 27 | - .margin({top:"27lpx",bottom:"25lpx"}) | 27 | + .margin({top:14,bottom:13}) |
| 28 | .maxLines(1) | 28 | .maxLines(1) |
| 29 | 29 | ||
| 30 | Text().backgroundColor($r('app.color.color_F5F5F5')) | 30 | Text().backgroundColor($r('app.color.color_F5F5F5')) |
| 31 | .width('100%') | 31 | .width('100%') |
| 32 | - .height('1lpx') | 32 | + .height(0.5) |
| 33 | }.alignItems(HorizontalAlign.Start) | 33 | }.alignItems(HorizontalAlign.Start) |
| 34 | .width("100%") | 34 | .width("100%") |
| 35 | - .height("98lpx") | 35 | + .height(51) |
| 36 | 36 | ||
| 37 | Row(){ | 37 | Row(){ |
| 38 | Image(`${this.item.imgUrl}`) | 38 | Image(`${this.item.imgUrl}`) |
| 39 | - .width('204lpx') | ||
| 40 | - .height('115lpx') | ||
| 41 | - .borderRadius("6lpx") | 39 | + .width(106) |
| 40 | + .height(60) | ||
| 41 | + .borderRadius(3) | ||
| 42 | .objectFit(ImageFit.Auto) | 42 | .objectFit(ImageFit.Auto) |
| 43 | - .margin({right:"23lpx"}) | 43 | + .margin({right:12}) |
| 44 | 44 | ||
| 45 | Text(`${this.item.desc}`) | 45 | Text(`${this.item.desc}`) |
| 46 | - .fontSize("27lpx") | ||
| 47 | - .lineHeight("38lpx") | 46 | + .fontSize(14) |
| 47 | + .lineHeight(20) | ||
| 48 | .fontWeight(400) | 48 | .fontWeight(400) |
| 49 | .fontColor($r('app.color.color_222222')) | 49 | .fontColor($r('app.color.color_222222')) |
| 50 | .layoutWeight(1) | 50 | .layoutWeight(1) |
| 51 | }.alignItems(VerticalAlign.Center) | 51 | }.alignItems(VerticalAlign.Center) |
| 52 | .width("100%") | 52 | .width("100%") |
| 53 | - .height("160lpx") | 53 | + .height(84) |
| 54 | 54 | ||
| 55 | Text().backgroundColor($r('app.color.color_F5F5F5')) | 55 | Text().backgroundColor($r('app.color.color_F5F5F5')) |
| 56 | .width('100%') | 56 | .width('100%') |
| 57 | - .height('1lpx') | 57 | + .height(0.5) |
| 58 | 58 | ||
| 59 | Row(){ | 59 | Row(){ |
| 60 | Text(`${this.item.time}开始`) | 60 | Text(`${this.item.time}开始`) |
| 61 | - .fontSize("23lpx") | 61 | + .fontSize(12) |
| 62 | .fontWeight(600) | 62 | .fontWeight(600) |
| 63 | - .lineHeight("31lpx") | 63 | + .fontColor($r('app.color.color_222222')) |
| 64 | + .lineHeight(16) | ||
| 64 | 65 | ||
| 65 | Row(){ | 66 | Row(){ |
| 66 | Text("查看详情") | 67 | Text("查看详情") |
| 67 | - .fontSize("23lpx") | ||
| 68 | - .lineHeight("38lpx") | 68 | + .fontSize(12) |
| 69 | + .lineHeight(20) | ||
| 69 | .fontWeight(400) | 70 | .fontWeight(400) |
| 70 | .fontColor($r('app.color.color_666666')) | 71 | .fontColor($r('app.color.color_666666')) |
| 71 | - .margin({right:"8lpx"}) | 72 | + .margin({right:4}) |
| 72 | 73 | ||
| 73 | Image($r('app.media.subscribe_arrow_icon')) | 74 | Image($r('app.media.subscribe_arrow_icon')) |
| 74 | - .width('23lpx') | ||
| 75 | - .height('13lpx') | 75 | + .width(12) |
| 76 | + .height(12) | ||
| 76 | .objectFit(ImageFit.Auto) | 77 | .objectFit(ImageFit.Auto) |
| 77 | .interpolation(ImageInterpolation.High) | 78 | .interpolation(ImageInterpolation.High) |
| 78 | - .margin({right:"4lpx"}) | 79 | + .margin({right:2}) |
| 79 | } | 80 | } |
| 80 | }.alignItems(VerticalAlign.Center) | 81 | }.alignItems(VerticalAlign.Center) |
| 81 | .justifyContent(FlexAlign.SpaceBetween) | 82 | .justifyContent(FlexAlign.SpaceBetween) |
| 82 | .width("100%") | 83 | .width("100%") |
| 83 | - .height("73lpx") | 84 | + .height(38) |
| 84 | 85 | ||
| 85 | }.backgroundColor($r('app.color.white')) | 86 | }.backgroundColor($r('app.color.white')) |
| 86 | - .borderRadius("8lpx") | ||
| 87 | - .height("336lpx") | 87 | + .borderRadius(4) |
| 88 | + .height(175) | ||
| 88 | .width("100%") | 89 | .width("100%") |
| 89 | - .padding({left:"23lpx",right:"23lpx"}) | 90 | + .padding({left:12,right:12}) |
| 90 | } | 91 | } |
| 91 | .backgroundColor($r('app.color.color_F5F5F5')) | 92 | .backgroundColor($r('app.color.color_F5F5F5')) |
| 92 | .width("100%") | 93 | .width("100%") |
| 93 | - .height("423lpx") | ||
| 94 | - .padding({left:"31lpx",right:"31lpx"}) | 94 | + .padding({left:16,right:16}) |
| 95 | .alignItems(HorizontalAlign.Center) | 95 | .alignItems(HorizontalAlign.Center) |
| 96 | } | 96 | } |
| 97 | 97 |
-
Please register or login to post a comment