Showing
3 changed files
with
3 additions
and
2 deletions
| @@ -28,9 +28,9 @@ export struct Card2Component { | @@ -28,9 +28,9 @@ export struct Card2Component { | ||
| 28 | @State str03: string = ''; | 28 | @State str03: string = ''; |
| 29 | 29 | ||
| 30 | async aboutToAppear(): Promise<void> { | 30 | async aboutToAppear(): Promise<void> { |
| 31 | + this.titleInit(); | ||
| 31 | this.loadImg = await onlyWifiLoadImg(); | 32 | this.loadImg = await onlyWifiLoadImg(); |
| 32 | // this.clicked = hasClicked(this.contentDTO.objectId) | 33 | // this.clicked = hasClicked(this.contentDTO.objectId) |
| 33 | - this.titleInit(); | ||
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | titleInit() { | 36 | titleInit() { |
| @@ -25,8 +25,8 @@ export struct Card4Component { | @@ -25,8 +25,8 @@ export struct Card4Component { | ||
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | async aboutToAppear(): Promise<void> { | 27 | async aboutToAppear(): Promise<void> { |
| 28 | - this.loadImg = await onlyWifiLoadImg(); | ||
| 29 | this.titleInit(); | 28 | this.titleInit(); |
| 29 | + this.loadImg = await onlyWifiLoadImg(); | ||
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | titleInit() { | 32 | titleInit() { |
| @@ -453,6 +453,7 @@ export struct SearchResultContentComponent { | @@ -453,6 +453,7 @@ export struct SearchResultContentComponent { | ||
| 453 | contentDTO.openType = ''; | 453 | contentDTO.openType = ''; |
| 454 | contentDTO.extra = ''; | 454 | contentDTO.extra = ''; |
| 455 | contentDTO.titleShow = value.data.type == "5" ? 1 : 0; | 455 | contentDTO.titleShow = value.data.type == "5" ? 1 : 0; |
| 456 | + contentDTO.contentText = value.data.contentText; | ||
| 456 | 457 | ||
| 457 | return contentDTO; | 458 | return contentDTO; |
| 458 | } | 459 | } |
-
Please register or login to post a comment