Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
shishuangxi
2024-02-02 09:36:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
edca3b077c1c5539bac0d71e6c76f339a9090b09
edca3b07
1 parent
12bd3bc1
新增无图标题类型解析字段
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
PeopleDaily_Harmony/wdComponent/src/main/ets/components/view/TitleAbbrComponent.ets
PeopleDaily_Harmony/wdComponent/src/main/ets/components/view/TitleAllComponent.ets
PeopleDaily_Harmony/wdComponent/src/main/ets/repository/bean/ContentDTO.ets
PeopleDaily_Harmony/wdComponent/src/main/ets/components/view/TitleAbbrComponent.ets
View file @
edca3b0
...
...
@@ -10,13 +10,13 @@ export struct TitleAbbrComponent {
build() {
Column() {
Text(this.compDTO.operDataList[0].newsTitle)
.fontSize($r("app.float.font_size_1
6
"))
.fontSize($r("app.float.font_size_1
7
"))
.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)
...
...
PeopleDaily_Harmony/wdComponent/src/main/ets/components/view/TitleAllComponent.ets
View file @
edca3b0
...
...
@@ -11,11 +11,11 @@ export struct TitleAllComponent {
build() {
Column() {
Text(this.compDTO.operDataList[0].newsTitle)
.fontSize($r("app.float.font_size_1
6
"))
.fontSize($r("app.float.font_size_1
7
"))
.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)
...
...
PeopleDaily_Harmony/wdComponent/src/main/ets/repository/bean/ContentDTO.ets
View file @
edca3b0
...
...
@@ -48,4 +48,5 @@ export interface ContentDTO {
fullColumnImgUrls:FullColumnImgUrlsDTO[];
liveInfo?: LiveInfo; // 直播新闻信息【BFF聚合】
videoInfo?: VideoInfo; // 视频新闻信息【BFF聚合】,视频非原片+清晰度最高的
corner:string;
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment