Showing
20 changed files
with
20 additions
and
20 deletions
| @@ -51,7 +51,7 @@ export struct Card10Component { | @@ -51,7 +51,7 @@ export struct Card10Component { | ||
| 51 | } | 51 | } |
| 52 | } | 52 | } |
| 53 | .width(CommonConstants.FULL_WIDTH) | 53 | .width(CommonConstants.FULL_WIDTH) |
| 54 | - .fontSize($r('app.float.font_size_17')) | 54 | + .fontSize($r('app.float.font_size_18')) |
| 55 | .fontWeight(600) | 55 | .fontWeight(600) |
| 56 | .maxLines(2) | 56 | .maxLines(2) |
| 57 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 57 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| @@ -52,7 +52,7 @@ export struct Card11Component { | @@ -52,7 +52,7 @@ export struct Card11Component { | ||
| 52 | Span(this.contentDTO.newsTitle) | 52 | Span(this.contentDTO.newsTitle) |
| 53 | } | 53 | } |
| 54 | } | 54 | } |
| 55 | - .fontSize($r("app.float.font_size_16")) | 55 | + .fontSize($r("app.float.font_size_18")) |
| 56 | .fontColor(this.clicked ? 0x848484 : $r("app.color.color_222222")) | 56 | .fontColor(this.clicked ? 0x848484 : $r("app.color.color_222222")) |
| 57 | .maxLines(3) | 57 | .maxLines(3) |
| 58 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 58 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| @@ -50,7 +50,7 @@ export struct Card12Component { | @@ -50,7 +50,7 @@ export struct Card12Component { | ||
| 50 | Span(this.contentDTO.newsTitle) | 50 | Span(this.contentDTO.newsTitle) |
| 51 | } | 51 | } |
| 52 | } | 52 | } |
| 53 | - .fontSize($r('app.float.font_size_17')) | 53 | + .fontSize($r('app.float.font_size_18')) |
| 54 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 54 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 55 | .width(CommonConstants.FULL_WIDTH) | 55 | .width(CommonConstants.FULL_WIDTH) |
| 56 | .textOverflowStyle(3) | 56 | .textOverflowStyle(3) |
| @@ -54,7 +54,7 @@ export struct Card14Component { | @@ -54,7 +54,7 @@ export struct Card14Component { | ||
| 54 | Span(this.contentDTO.newsTitle) | 54 | Span(this.contentDTO.newsTitle) |
| 55 | } | 55 | } |
| 56 | } | 56 | } |
| 57 | - .fontSize($r('app.float.font_size_17')) | 57 | + .fontSize($r('app.float.font_size_18')) |
| 58 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 58 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 59 | .textOverflowStyle(3) | 59 | .textOverflowStyle(3) |
| 60 | .lineHeight(25) | 60 | .lineHeight(25) |
| @@ -55,7 +55,7 @@ export struct Card15Component { | @@ -55,7 +55,7 @@ export struct Card15Component { | ||
| 55 | Span(this.contentDTO.newsTitle) | 55 | Span(this.contentDTO.newsTitle) |
| 56 | } | 56 | } |
| 57 | } | 57 | } |
| 58 | - .fontSize($r('app.float.font_size_17')) | 58 | + .fontSize($r('app.float.font_size_18')) |
| 59 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 59 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 60 | .width(CommonConstants.FULL_WIDTH) | 60 | .width(CommonConstants.FULL_WIDTH) |
| 61 | .textOverflowStyle(2) | 61 | .textOverflowStyle(2) |
| @@ -58,7 +58,7 @@ export struct Card16Component { | @@ -58,7 +58,7 @@ export struct Card16Component { | ||
| 58 | Span(this.contentDTO.newsTitle) | 58 | Span(this.contentDTO.newsTitle) |
| 59 | } | 59 | } |
| 60 | } | 60 | } |
| 61 | - .fontSize($r('app.float.font_size_17')) | 61 | + .fontSize($r('app.float.font_size_18')) |
| 62 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 62 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 63 | .width(CommonConstants.FULL_WIDTH) | 63 | .width(CommonConstants.FULL_WIDTH) |
| 64 | .textOverflowStyle(2) | 64 | .textOverflowStyle(2) |
| @@ -49,7 +49,7 @@ export struct Card17Component { | @@ -49,7 +49,7 @@ export struct Card17Component { | ||
| 49 | } | 49 | } |
| 50 | } | 50 | } |
| 51 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 51 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 52 | - .fontSize($r('app.float.font_size_17')) | 52 | + .fontSize($r('app.float.font_size_18')) |
| 53 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 53 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 54 | .lineHeight(25) | 54 | .lineHeight(25) |
| 55 | .maxLines(3) | 55 | .maxLines(3) |
| @@ -49,7 +49,7 @@ export struct Card19Component { | @@ -49,7 +49,7 @@ export struct Card19Component { | ||
| 49 | Span(this.contentDTO.newsTitle) | 49 | Span(this.contentDTO.newsTitle) |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | - .fontSize($r('app.float.font_size_17')) | 52 | + .fontSize($r('app.float.font_size_18')) |
| 53 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 53 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 54 | .textOverflowStyle(3) | 54 | .textOverflowStyle(3) |
| 55 | .margin({ bottom: 8 }) | 55 | .margin({ bottom: 8 }) |
| @@ -50,7 +50,7 @@ export struct Card20Component { | @@ -50,7 +50,7 @@ export struct Card20Component { | ||
| 50 | Span(this.contentDTO.newsTitle) | 50 | Span(this.contentDTO.newsTitle) |
| 51 | } | 51 | } |
| 52 | } | 52 | } |
| 53 | - .fontSize($r('app.float.font_size_17')) | 53 | + .fontSize($r('app.float.font_size_18')) |
| 54 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 54 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 55 | .width(CommonConstants.FULL_WIDTH) | 55 | .width(CommonConstants.FULL_WIDTH) |
| 56 | .textOverflowStyle(3) | 56 | .textOverflowStyle(3) |
| @@ -52,7 +52,7 @@ export struct Card21Component { | @@ -52,7 +52,7 @@ export struct Card21Component { | ||
| 52 | Span(this.contentDTO.newsTitle) | 52 | Span(this.contentDTO.newsTitle) |
| 53 | } | 53 | } |
| 54 | } | 54 | } |
| 55 | - .fontSize($r('app.float.selected_text_size')) | 55 | + .fontSize(18) |
| 56 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 56 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 57 | .width(CommonConstants.FULL_WIDTH) | 57 | .width(CommonConstants.FULL_WIDTH) |
| 58 | .maxLines(4) | 58 | .maxLines(4) |
| @@ -63,7 +63,7 @@ export struct Card2Component { | @@ -63,7 +63,7 @@ export struct Card2Component { | ||
| 63 | Span(this.contentDTO.newsTitle) | 63 | Span(this.contentDTO.newsTitle) |
| 64 | } | 64 | } |
| 65 | } | 65 | } |
| 66 | - .fontSize($r('app.float.font_size_17')) | 66 | + .fontSize($r('app.float.font_size_18')) |
| 67 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 67 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 68 | .maxLines(2) | 68 | .maxLines(2) |
| 69 | .textOverflow({ overflow: TextOverflow.Ellipsis })// 超出的部分显示省略号。 | 69 | .textOverflow({ overflow: TextOverflow.Ellipsis })// 超出的部分显示省略号。 |
| @@ -50,7 +50,7 @@ export struct Card3Component { | @@ -50,7 +50,7 @@ export struct Card3Component { | ||
| 50 | Span(this.contentDTO.newsTitle) | 50 | Span(this.contentDTO.newsTitle) |
| 51 | } | 51 | } |
| 52 | } | 52 | } |
| 53 | - .fontSize($r("app.float.font_size_16")) | 53 | + .fontSize($r("app.float.font_size_18")) |
| 54 | .fontColor(this.clicked ? 0x848484 : $r("app.color.color_222222")) | 54 | .fontColor(this.clicked ? 0x848484 : $r("app.color.color_222222")) |
| 55 | .width(CommonConstants.FULL_WIDTH) | 55 | .width(CommonConstants.FULL_WIDTH) |
| 56 | .textIndent(this.contentDTO.newTags?.length < 5 && this.contentDTO.newTags?.length > 2 ? 58 : | 56 | .textIndent(this.contentDTO.newTags?.length < 5 && this.contentDTO.newTags?.length > 2 ? 58 : |
| @@ -54,7 +54,7 @@ export struct Card4Component { | @@ -54,7 +54,7 @@ export struct Card4Component { | ||
| 54 | Span(this.contentDTO.newsTitle) | 54 | Span(this.contentDTO.newsTitle) |
| 55 | } | 55 | } |
| 56 | } | 56 | } |
| 57 | - .fontSize($r('app.float.font_size_17')) | 57 | + .fontSize($r('app.float.font_size_18')) |
| 58 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 58 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 59 | .maxLines(3) | 59 | .maxLines(3) |
| 60 | .textOverflow({ overflow: TextOverflow.Ellipsis }) // 超出的部分显示省略号。 | 60 | .textOverflow({ overflow: TextOverflow.Ellipsis }) // 超出的部分显示省略号。 |
| @@ -71,7 +71,7 @@ export struct Card5Component { | @@ -71,7 +71,7 @@ export struct Card5Component { | ||
| 71 | } | 71 | } |
| 72 | .width(CommonConstants.FULL_WIDTH) | 72 | .width(CommonConstants.FULL_WIDTH) |
| 73 | .fontColor(Color.White) | 73 | .fontColor(Color.White) |
| 74 | - .fontSize($r('app.float.font_size_17')) | 74 | + .fontSize($r('app.float.font_size_18')) |
| 75 | .fontWeight(FontWeight.Bold) | 75 | .fontWeight(FontWeight.Bold) |
| 76 | .maxLines(2) | 76 | .maxLines(2) |
| 77 | .align(Alignment.TopStart) | 77 | .align(Alignment.TopStart) |
| @@ -70,7 +70,7 @@ export struct Card6Component { | @@ -70,7 +70,7 @@ export struct Card6Component { | ||
| 70 | } | 70 | } |
| 71 | } | 71 | } |
| 72 | .fontColor(this.clicked ? 0x848484 : 0x222222) | 72 | .fontColor(this.clicked ? 0x848484 : 0x222222) |
| 73 | - .fontSize(16) | 73 | + .fontSize(18) |
| 74 | .lineHeight(24) | 74 | .lineHeight(24) |
| 75 | .fontWeight(FontWeight.Normal) | 75 | .fontWeight(FontWeight.Normal) |
| 76 | .maxLines(3) | 76 | .maxLines(3) |
| @@ -50,7 +50,7 @@ export struct Card9Component { | @@ -50,7 +50,7 @@ export struct Card9Component { | ||
| 50 | } | 50 | } |
| 51 | .fontColor(this.clicked ? 0x848484 : 0x222222) | 51 | .fontColor(this.clicked ? 0x848484 : 0x222222) |
| 52 | .width(CommonConstants.FULL_WIDTH) | 52 | .width(CommonConstants.FULL_WIDTH) |
| 53 | - .fontSize($r('app.float.font_size_17')) | 53 | + .fontSize($r('app.float.font_size_18')) |
| 54 | .fontWeight(600) | 54 | .fontWeight(600) |
| 55 | .maxLines(2) | 55 | .maxLines(2) |
| 56 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 56 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| @@ -36,7 +36,7 @@ export struct SearchContentComponent { | @@ -36,7 +36,7 @@ export struct SearchContentComponent { | ||
| 36 | Column() { | 36 | Column() { |
| 37 | //新闻标题 | 37 | //新闻标题 |
| 38 | Text(this.contentDTO.newsTitle) | 38 | Text(this.contentDTO.newsTitle) |
| 39 | - .fontSize($r('app.float.font_size_17')) | 39 | + .fontSize($r('app.float.font_size_18')) |
| 40 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) | 40 | .fontColor(this.clicked ? 0x848484 : $r('app.color.color_222222')) |
| 41 | .maxLines(3) | 41 | .maxLines(3) |
| 42 | .textOverflow({ overflow: TextOverflow.Ellipsis }) // 超出的部分显示省略号。 | 42 | .textOverflow({ overflow: TextOverflow.Ellipsis }) // 超出的部分显示省略号。 |
| @@ -208,7 +208,7 @@ struct CarouselLayout01CardView { | @@ -208,7 +208,7 @@ struct CarouselLayout01CardView { | ||
| 208 | Text(`${this.item.corner}${this.item.newsTitle}`) | 208 | Text(`${this.item.corner}${this.item.newsTitle}`) |
| 209 | .width(CommonConstants.FULL_PARENT) | 209 | .width(CommonConstants.FULL_PARENT) |
| 210 | .fontColor(Color.White) | 210 | .fontColor(Color.White) |
| 211 | - .fontSize($r('app.float.font_size_16')) | 211 | + .fontSize($r('app.float.font_size_18')) |
| 212 | .fontWeight(FontWeight.Medium) | 212 | .fontWeight(FontWeight.Medium) |
| 213 | .textAlign(TextAlign.Start) | 213 | .textAlign(TextAlign.Start) |
| 214 | .align(Alignment.Bottom) | 214 | .align(Alignment.Bottom) |
| @@ -57,7 +57,7 @@ export struct ZhSingleColumn04 { | @@ -57,7 +57,7 @@ export struct ZhSingleColumn04 { | ||
| 57 | .width(12) | 57 | .width(12) |
| 58 | .margin({ left: 12, right: 8 }) | 58 | .margin({ left: 12, right: 8 }) |
| 59 | Text(item.newsTitle) | 59 | Text(item.newsTitle) |
| 60 | - .fontSizeColorWeight($r('app.float.font_size_17'), $r('app.color.color_222222'), 400) | 60 | + .fontSizeColorWeight($r('app.float.font_size_18'), $r('app.color.color_222222'), 400) |
| 61 | .maxLines(1) | 61 | .maxLines(1) |
| 62 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 62 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 63 | .layoutWeight(1) | 63 | .layoutWeight(1) |
| @@ -101,7 +101,7 @@ struct localCard { | @@ -101,7 +101,7 @@ struct localCard { | ||
| 101 | Text(this.operDataListItem.newsTitle) | 101 | Text(this.operDataListItem.newsTitle) |
| 102 | .width(CommonConstants.FULL_PARENT) | 102 | .width(CommonConstants.FULL_PARENT) |
| 103 | .height(CommonConstants.FULL_PARENT) | 103 | .height(CommonConstants.FULL_PARENT) |
| 104 | - .fontSize($r('app.float.font_size_16')) | 104 | + .fontSize($r('app.float.font_size_18')) |
| 105 | .fontColor('#000000') | 105 | .fontColor('#000000') |
| 106 | .align(Alignment.TopStart) | 106 | .align(Alignment.TopStart) |
| 107 | .maxLines(3) | 107 | .maxLines(3) |
-
Please register or login to post a comment