Showing
5 changed files
with
5 additions
and
1 deletions
| @@ -206,6 +206,7 @@ export struct PeopleShipHomeArticleListComponent { | @@ -206,6 +206,7 @@ export struct PeopleShipHomeArticleListComponent { | ||
| 206 | } | 206 | } |
| 207 | for (const element of listData.list) { | 207 | for (const element of listData.list) { |
| 208 | let contentDTO = new ContentDTO() | 208 | let contentDTO = new ContentDTO() |
| 209 | + console.info(TAG, 'element.appStyle'+`${element.appStyle}`) | ||
| 209 | contentDTO.appStyle = this.changeCommon(element.appStyle) | 210 | contentDTO.appStyle = this.changeCommon(element.appStyle) |
| 210 | contentDTO.newsTitle = element.title; | 211 | contentDTO.newsTitle = element.title; |
| 211 | contentDTO.newsSummary = element.description; | 212 | contentDTO.newsSummary = element.description; |
| @@ -158,6 +158,7 @@ export struct OperRowListView { | @@ -158,6 +158,7 @@ export struct OperRowListView { | ||
| 158 | console.info(TAG, 'contentDetailData----', JSON.stringify(this.contentDetailData)) | 158 | console.info(TAG, 'contentDetailData----', JSON.stringify(this.contentDetailData)) |
| 159 | console.info(TAG, 'likeBean----', JSON.stringify(this.likeBean)) | 159 | console.info(TAG, 'likeBean----', JSON.stringify(this.likeBean)) |
| 160 | console.info(TAG, 'this.operationButtonList', JSON.stringify(this.operationButtonList)) | 160 | console.info(TAG, 'this.operationButtonList', JSON.stringify(this.operationButtonList)) |
| 161 | + | ||
| 161 | // 评论需要数据 | 162 | // 评论需要数据 |
| 162 | /* this.publishCommentModel.targetId = this.contentDetailData.newsId + '' | 163 | /* this.publishCommentModel.targetId = this.contentDetailData.newsId + '' |
| 163 | this.publishCommentModel.targetRelId = this.contentDetailData.reLInfo?.relId + '' | 164 | this.publishCommentModel.targetRelId = this.contentDetailData.reLInfo?.relId + '' |
| @@ -172,6 +172,7 @@ export struct DetailPlayShortVideoPage { | @@ -172,6 +172,7 @@ export struct DetailPlayShortVideoPage { | ||
| 172 | this.queryNewsInfoOfUser() | 172 | this.queryNewsInfoOfUser() |
| 173 | 173 | ||
| 174 | this.contentTrackingDict() | 174 | this.contentTrackingDict() |
| 175 | + this.publishCommentModel.targetId = String(this.contentDetailData?.newsId || '') | ||
| 175 | } | 176 | } |
| 176 | 177 | ||
| 177 | contentTrackingDict() { | 178 | contentTrackingDict() { |
| @@ -45,7 +45,7 @@ export struct VideoChannelDetail { | @@ -45,7 +45,7 @@ export struct VideoChannelDetail { | ||
| 45 | @Prop @Watch('autoRefreshChange') autoRefresh: number = 0 | 45 | @Prop @Watch('autoRefreshChange') autoRefresh: number = 0 |
| 46 | @Consume barBackgroundColor: Color | 46 | @Consume barBackgroundColor: Color |
| 47 | private swiperController: SwiperController = new SwiperController() | 47 | private swiperController: SwiperController = new SwiperController() |
| 48 | - @Provide showComment: boolean = false | 48 | + @Consume showComment: boolean |
| 49 | @Provide windowWidth: number = AppStorage.get<number>('windowWidth') || 0 | 49 | @Provide windowWidth: number = AppStorage.get<number>('windowWidth') || 0 |
| 50 | @Provide windowHeight: number = AppStorage.get<number>('windowHeight') || 0 | 50 | @Provide windowHeight: number = AppStorage.get<number>('windowHeight') || 0 |
| 51 | @Provide bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0 | 51 | @Provide bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0 |
| @@ -32,6 +32,7 @@ export struct VideoChannelPage { | @@ -32,6 +32,7 @@ export struct VideoChannelPage { | ||
| 32 | @State indicatorWidth: number = 0 | 32 | @State indicatorWidth: number = 0 |
| 33 | // 传递给page的自动刷新通知 | 33 | // 传递给page的自动刷新通知 |
| 34 | @State autoRefresh2Page: number = 0 | 34 | @State autoRefresh2Page: number = 0 |
| 35 | + @Provide showComment: boolean = false | ||
| 35 | aboutToAppear(): void { | 36 | aboutToAppear(): void { |
| 36 | this.setBarBackgroundColor() | 37 | this.setBarBackgroundColor() |
| 37 | console.log(TAG, 'aboutToAppear') | 38 | console.log(TAG, 'aboutToAppear') |
-
Please register or login to post a comment