shishuangxi

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

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