Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool
Showing
8 changed files
with
13 additions
and
13 deletions
| @@ -68,9 +68,9 @@ export struct Card10Component { | @@ -68,9 +68,9 @@ export struct Card10Component { | ||
| 68 | 68 | ||
| 69 | initHideDetail() { | 69 | initHideDetail() { |
| 70 | const curRouter = router.getState().name; | 70 | const curRouter = router.getState().name; |
| 71 | - if (curRouter === 'MyCollectionListPage') { | ||
| 72 | - this.hideDetail = true; | ||
| 73 | - } | 71 | + // if (curRouter === 'MyCollectionListPage') { |
| 72 | + // this.hideDetail = true; | ||
| 73 | + // } | ||
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | titleInit() { | 76 | titleInit() { |
| @@ -154,7 +154,6 @@ export struct Card10Component { | @@ -154,7 +154,6 @@ export struct Card10Component { | ||
| 154 | .height(40) | 154 | .height(40) |
| 155 | .borderRadius($r('app.float.button_border_radius')) | 155 | .borderRadius($r('app.float.button_border_radius')) |
| 156 | .justifyContent(FlexAlign.Center) | 156 | .justifyContent(FlexAlign.Center) |
| 157 | - .margin({ top: 5 }) | ||
| 158 | .onClick((event: ClickEvent) => { | 157 | .onClick((event: ClickEvent) => { |
| 159 | InfomationCardClick.track(this.compDTO, this.contentDTO, this.pageId, this.pageName) | 158 | InfomationCardClick.track(this.compDTO, this.contentDTO, this.pageId, this.pageName) |
| 160 | ProcessUtils.processPage(this.contentDTO) | 159 | ProcessUtils.processPage(this.contentDTO) |
| @@ -35,9 +35,9 @@ export struct Card9Component { | @@ -35,9 +35,9 @@ export struct Card9Component { | ||
| 35 | 35 | ||
| 36 | initHideDetail() { | 36 | initHideDetail() { |
| 37 | const curRouter = router.getState().name; | 37 | const curRouter = router.getState().name; |
| 38 | - if (curRouter === 'MyCollectionListPage') { | ||
| 39 | - this.hideDetail = true; | ||
| 40 | - } | 38 | + // if (curRouter === 'MyCollectionListPage') { |
| 39 | + // this.hideDetail = true; | ||
| 40 | + // } | ||
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | //内容浏览Tracking | 43 | //内容浏览Tracking |
| @@ -37,6 +37,6 @@ struct FollowListPage { | @@ -37,6 +37,6 @@ struct FollowListPage { | ||
| 37 | .width('100%') | 37 | .width('100%') |
| 38 | }.width("100%") | 38 | }.width("100%") |
| 39 | .height("100%") | 39 | .height("100%") |
| 40 | - .padding({top:px2vp(this.topSafeHeight),bottom:px2vp(this.bottomSafeHeight)}) | 40 | + .padding({top:px2vp(this.topSafeHeight),bottom:px2vp(this.bottomSafeHeight)+10}) |
| 41 | } | 41 | } |
| 42 | } | 42 | } |
| @@ -475,7 +475,7 @@ export struct SearchResultContentComponent { | @@ -475,7 +475,7 @@ export struct SearchResultContentComponent { | ||
| 475 | contentDTO.coverSize = "" | 475 | contentDTO.coverSize = "" |
| 476 | contentDTO.coverType = value.data.type == "5" ? 1 : -1 | 476 | contentDTO.coverType = value.data.type == "5" ? 1 : -1 |
| 477 | contentDTO.coverUrl = | 477 | contentDTO.coverUrl = |
| 478 | - this.searchType == "activity" ? value.data.zhChannelPageImg : value.data.appStyleImages.split("&&")[0]; | 478 | + this.searchType == "activity" ? value.data.zhChannelPageImg : value.data.appStyleImages.split("&&")[0].split('?')[0]; |
| 479 | contentDTO.description = value.data.description | 479 | contentDTO.description = value.data.description |
| 480 | contentDTO.districtCode = value.data.districtCode | 480 | contentDTO.districtCode = value.data.districtCode |
| 481 | contentDTO.endTime = value.data.endTime | 481 | contentDTO.endTime = value.data.endTime |
| @@ -515,7 +515,7 @@ export struct SearchResultContentComponent { | @@ -515,7 +515,7 @@ export struct SearchResultContentComponent { | ||
| 515 | contentDTO.visitorComment = -1 | 515 | contentDTO.visitorComment = -1 |
| 516 | contentDTO.fullColumnImgUrls = photos | 516 | contentDTO.fullColumnImgUrls = photos |
| 517 | contentDTO.newsSummary = "" | 517 | contentDTO.newsSummary = "" |
| 518 | - contentDTO.hasMore = -1 | 518 | + contentDTO.hasMore = this.hasMore ? 1 : -1 |
| 519 | contentDTO.slideShows = [] | 519 | contentDTO.slideShows = [] |
| 520 | contentDTO.voiceInfo = {} as VoiceInfoDTO | 520 | contentDTO.voiceInfo = {} as VoiceInfoDTO |
| 521 | contentDTO.tagWord = -1 | 521 | contentDTO.tagWord = -1 |
| @@ -815,6 +815,7 @@ class MinePageDatasModel{ | @@ -815,6 +815,7 @@ class MinePageDatasModel{ | ||
| 815 | contentDTO.source = StringUtils.isEmpty(value.creatorName) ? value.sourceName : value.creatorName | 815 | contentDTO.source = StringUtils.isEmpty(value.creatorName) ? value.sourceName : value.creatorName |
| 816 | contentDTO.objectId = value.id | 816 | contentDTO.objectId = value.id |
| 817 | contentDTO.objectType = value.type | 817 | contentDTO.objectType = value.type |
| 818 | + contentDTO.objectLevel = value.topicType | ||
| 818 | contentDTO.channelId = value.channelId | 819 | contentDTO.channelId = value.channelId |
| 819 | contentDTO.relId = value.relId | 820 | contentDTO.relId = value.relId |
| 820 | contentDTO.relType = value.relType | 821 | contentDTO.relType = value.relType |
| @@ -124,7 +124,6 @@ export struct TabLiveItemComponent { | @@ -124,7 +124,6 @@ export struct TabLiveItemComponent { | ||
| 124 | RelativeContainer() { | 124 | RelativeContainer() { |
| 125 | Image(this.item.transcodeImageUrl) | 125 | Image(this.item.transcodeImageUrl) |
| 126 | .width('100%') | 126 | .width('100%') |
| 127 | - .height(174) | ||
| 128 | .objectFit(ImageFit.Cover) | 127 | .objectFit(ImageFit.Cover) |
| 129 | .borderRadius(4) | 128 | .borderRadius(4) |
| 130 | .id('iv_id') | 129 | .id('iv_id') |
| @@ -160,7 +159,7 @@ export struct TabLiveItemComponent { | @@ -160,7 +159,7 @@ export struct TabLiveItemComponent { | ||
| 160 | .margin({ | 159 | .margin({ |
| 161 | top: 8, | 160 | top: 8, |
| 162 | }) | 161 | }) |
| 163 | - .height(174) | 162 | + .height('auto') |
| 164 | .onClick(() => { | 163 | .onClick(() => { |
| 165 | this.gotoVideoPlayPage() | 164 | this.gotoVideoPlayPage() |
| 166 | }) | 165 | }) |
| @@ -276,7 +276,7 @@ export struct MultiPictureDetailPageComponent { | @@ -276,7 +276,7 @@ export struct MultiPictureDetailPageComponent { | ||
| 276 | }.alignItems(VerticalAlign.Center) | 276 | }.alignItems(VerticalAlign.Center) |
| 277 | } | 277 | } |
| 278 | .borderRadius(4) | 278 | .borderRadius(4) |
| 279 | - .backgroundColor('#333333') | 279 | + .backgroundColor('#33FFFFFF') |
| 280 | .width(54) | 280 | .width(54) |
| 281 | .height(24) | 281 | .height(24) |
| 282 | .onClick(() => { | 282 | .onClick(() => { |
| @@ -141,6 +141,7 @@ export class StartupManager { | @@ -141,6 +141,7 @@ export class StartupManager { | ||
| 141 | 141 | ||
| 142 | GetuiPush.sharedInstance().requestEnableNotifications(this.context!).then((enabled) => { | 142 | GetuiPush.sharedInstance().requestEnableNotifications(this.context!).then((enabled) => { |
| 143 | HWLocationUtils.startLocationService() | 143 | HWLocationUtils.startLocationService() |
| 144 | + SPHelper.default.save(SpConstants.SETTING_PUSH_SWITCH,enabled) | ||
| 144 | }) | 145 | }) |
| 145 | 146 | ||
| 146 | GetuiPush.sharedInstance().onReachMainPage() | 147 | GetuiPush.sharedInstance().onReachMainPage() |
-
Please register or login to post a comment