shishuangxi

新增无图标题类型解析字段

@@ -10,13 +10,13 @@ export struct TitleAbbrComponent { @@ -10,13 +10,13 @@ export struct TitleAbbrComponent {
10 build() { 10 build() {
11 Column() { 11 Column() {
12 Text(this.compDTO.operDataList[0].newsTitle) 12 Text(this.compDTO.operDataList[0].newsTitle)
13 - .fontSize($r("app.float.font_size_16")) 13 + .fontSize($r("app.float.font_size_17"))
14 .fontColor($r("app.color.color_222222")) 14 .fontColor($r("app.color.color_222222"))
15 .maxLines(3) 15 .maxLines(3)
16 .textOverflow({ overflow: TextOverflow.Ellipsis }) 16 .textOverflow({ overflow: TextOverflow.Ellipsis })
17 .width(CommonConstants.FULL_WIDTH) 17 .width(CommonConstants.FULL_WIDTH)
18 Row() { 18 Row() {
19 - Text("锐评") 19 + Text(this.compDTO.operDataList[0].corner)
20 .fontSize($r("app.float.font_size_12")) 20 .fontSize($r("app.float.font_size_12"))
21 .fontColor($r("app.color.color_ED2800")) 21 .fontColor($r("app.color.color_ED2800"))
22 Text(this.compDTO.operDataList[0].source) 22 Text(this.compDTO.operDataList[0].source)
@@ -11,11 +11,11 @@ export struct TitleAllComponent { @@ -11,11 +11,11 @@ export struct TitleAllComponent {
11 build() { 11 build() {
12 Column() { 12 Column() {
13 Text(this.compDTO.operDataList[0].newsTitle) 13 Text(this.compDTO.operDataList[0].newsTitle)
14 - .fontSize($r("app.float.font_size_16")) 14 + .fontSize($r("app.float.font_size_17"))
15 .fontColor($r("app.color.color_222222")) 15 .fontColor($r("app.color.color_222222"))
16 .width(CommonConstants.FULL_WIDTH) 16 .width(CommonConstants.FULL_WIDTH)
17 Row() { 17 Row() {
18 - Text("锐评") 18 + Text(this.compDTO.operDataList[0].corner)
19 .fontSize($r("app.float.font_size_12")) 19 .fontSize($r("app.float.font_size_12"))
20 .fontColor($r("app.color.color_ED2800")) 20 .fontColor($r("app.color.color_ED2800"))
21 Text(this.compDTO.operDataList[0].source) 21 Text(this.compDTO.operDataList[0].source)
@@ -48,4 +48,5 @@ export interface ContentDTO { @@ -48,4 +48,5 @@ export interface ContentDTO {
48 fullColumnImgUrls:FullColumnImgUrlsDTO[]; 48 fullColumnImgUrls:FullColumnImgUrlsDTO[];
49 liveInfo?: LiveInfo; // 直播新闻信息【BFF聚合】 49 liveInfo?: LiveInfo; // 直播新闻信息【BFF聚合】
50 videoInfo?: VideoInfo; // 视频新闻信息【BFF聚合】,视频非原片+清晰度最高的 50 videoInfo?: VideoInfo; // 视频新闻信息【BFF聚合】,视频非原片+清晰度最高的
  51 + corner:string;
51 } 52 }