Showing
1 changed file
with
10 additions
and
10 deletions
| @@ -100,11 +100,11 @@ export struct OperRowListView { | @@ -100,11 +100,11 @@ export struct OperRowListView { | ||
| 100 | private shareOpen = 0; | 100 | private shareOpen = 0; |
| 101 | 101 | ||
| 102 | async aboutToAppear() { | 102 | async aboutToAppear() { |
| 103 | - console.info(TAG, 'this.needLike', this.needLike) | 103 | + // console.info(TAG, 'this.needLike', this.needLike) |
| 104 | this.handleStyle() | 104 | this.handleStyle() |
| 105 | this.onDetailUpdated() | 105 | this.onDetailUpdated() |
| 106 | EmitterUtils.receiveEvent(EmitterEventId.AUDIO_CHANGE_STATUS, (val: number | string | undefined) => { | 106 | EmitterUtils.receiveEvent(EmitterEventId.AUDIO_CHANGE_STATUS, (val: number | string | undefined) => { |
| 107 | - console.log(TAG, 'this.currentStatus', val) | 107 | + // console.log(TAG, 'this.currentStatus', val) |
| 108 | this.currentStatus = val | 108 | this.currentStatus = val |
| 109 | }) | 109 | }) |
| 110 | //注册通知,来自别的组件的评论成功通知 | 110 | //注册通知,来自别的组件的评论成功通知 |
| @@ -134,7 +134,7 @@ export struct OperRowListView { | @@ -134,7 +134,7 @@ export struct OperRowListView { | ||
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | async onDetailUpdated() { | 136 | async onDetailUpdated() { |
| 137 | - console.info(TAG, 'this.styleType', this.styleType) | 137 | + // console.info(TAG, 'this.styleType', this.styleType) |
| 138 | this.handleStyle() | 138 | this.handleStyle() |
| 139 | if (!this.contentDetailData) { | 139 | if (!this.contentDetailData) { |
| 140 | return | 140 | return |
| @@ -168,10 +168,10 @@ export struct OperRowListView { | @@ -168,10 +168,10 @@ export struct OperRowListView { | ||
| 168 | 168 | ||
| 169 | this.likeBean['contentType'] = this.contentDetailData.newsType + '' | 169 | this.likeBean['contentType'] = this.contentDetailData.newsType + '' |
| 170 | 170 | ||
| 171 | - console.info(TAG, 'contentDetailData----', JSON.stringify(this.contentDetailData)) | ||
| 172 | - console.info(TAG, 'this.contentDetailData.shareInfo.shareOpen', JSON.stringify(this.contentDetailData.shareInfo.shareOpen)) | ||
| 173 | - console.info(TAG, 'likeBean----', JSON.stringify(this.likeBean)) | ||
| 174 | - console.info(TAG, 'this.operationButtonList', JSON.stringify(this.operationButtonList)) | 171 | + // console.info(TAG, 'contentDetailData----', JSON.stringify(this.contentDetailData)) |
| 172 | + // console.info(TAG, 'this.contentDetailData.shareInfo.shareOpen', JSON.stringify(this.contentDetailData.shareInfo.shareOpen)) | ||
| 173 | + // console.info(TAG, 'likeBean----', JSON.stringify(this.likeBean)) | ||
| 174 | + // console.info(TAG, 'this.operationButtonList', JSON.stringify(this.operationButtonList)) | ||
| 175 | 175 | ||
| 176 | // 评论需要数据 | 176 | // 评论需要数据 |
| 177 | /* this.publishCommentModel.targetId = this.contentDetailData.newsId + '' | 177 | /* this.publishCommentModel.targetId = this.contentDetailData.newsId + '' |
| @@ -185,8 +185,8 @@ export struct OperRowListView { | @@ -185,8 +185,8 @@ export struct OperRowListView { | ||
| 185 | if (this.operationButtonList?.includes('listen')) { | 185 | if (this.operationButtonList?.includes('listen')) { |
| 186 | this.audioUrl = this.contentDetailData.audioList[0]?.audioUrl || '' | 186 | this.audioUrl = this.contentDetailData.audioList[0]?.audioUrl || '' |
| 187 | this.audioTitle = this.contentDetailData.newsTitle || '' | 187 | this.audioTitle = this.contentDetailData.newsTitle || '' |
| 188 | - console.log(TAG, 'this.audioUrl+++', this.audioUrl) | ||
| 189 | - console.log(TAG, 'this.audioTitle+++', this.audioTitle) | 188 | + // console.log(TAG, 'this.audioUrl+++', this.audioUrl) |
| 189 | + // console.log(TAG, 'this.audioTitle+++', this.audioTitle) | ||
| 190 | } | 190 | } |
| 191 | // 2:竖屏直播页 3:图集 4:横屏直播页 | 191 | // 2:竖屏直播页 3:图集 4:横屏直播页 |
| 192 | if(this.pageComponentType == 2 || this.pageComponentType == 4) { | 192 | if(this.pageComponentType == 2 || this.pageComponentType == 4) { |
| @@ -289,7 +289,7 @@ export struct OperRowListView { | @@ -289,7 +289,7 @@ export struct OperRowListView { | ||
| 289 | } | 289 | } |
| 290 | .layoutWeight(1) | 290 | .layoutWeight(1) |
| 291 | .margin({ | 291 | .margin({ |
| 292 | - right: this.pageComponentType === 1 ? 20 : 0, | 292 | + right: 10, |
| 293 | left: 0 | 293 | left: 0 |
| 294 | }) | 294 | }) |
| 295 | 295 |
-
Please register or login to post a comment