liyubing

Merge remote-tracking branch 'origin/main'

@@ -65,16 +65,9 @@ export struct FeedBackActivity { @@ -65,16 +65,9 @@ export struct FeedBackActivity {
65 GridCol({ 65 GridCol({
66 }) { 66 }) {
67 Row(){ 67 Row(){
68 - Toggle({ type: ToggleType.Checkbox, isOn: feedbackTypeBean.isSelect })  
69 - .onChange((select) => {  
70 - feedbackTypeBean.isSelect = select  
71 - this.canSubmit = this.checkSubmit()  
72 -  
73 - TrackingButton.click('submit_feedback',TrackConstants.PageName.FeedbackPage,TrackConstants.PageName.FeedbackPage,{  
74 - 'feedback_type':feedbackTypeBean.id+''  
75 - })  
76 -  
77 - }) 68 + Image(feedbackTypeBean.isSelect ? $r('app.media.checkbox_true') : $r('app.media.checkbox_false'))
  69 + .width(17)
  70 + .height(17)
78 Text(feedbackTypeBean.classifyName) 71 Text(feedbackTypeBean.classifyName)
79 .fontColor($r('app.color.color_222222')) 72 .fontColor($r('app.color.color_222222'))
80 .fontSize($r('app.float.font_size_14')) 73 .fontSize($r('app.float.font_size_14'))
@@ -84,6 +77,21 @@ export struct FeedBackActivity { @@ -84,6 +77,21 @@ export struct FeedBackActivity {
84 .height($r('app.float.vp_22')) 77 .height($r('app.float.vp_22'))
85 .margin({bottom:$r('app.float.margin_16')}) 78 .margin({bottom:$r('app.float.margin_16')})
86 .backgroundColor($r('app.color.color_fff')) 79 .backgroundColor($r('app.color.color_fff'))
  80 + .onClick(() => {
  81 + let temp = {} as FeedbackTypeBean
  82 + temp.id = feedbackTypeBean.id
  83 + temp.classifyName = feedbackTypeBean.classifyName
  84 + if(feedbackTypeBean.isSelect){
  85 + temp.isSelect = false
  86 + }else{
  87 + temp.isSelect = true
  88 + }
  89 + this.feedbackTypeBeans[index] = temp
  90 + this.canSubmit = this.checkSubmit()
  91 + TrackingButton.click('submit_feedback',TrackConstants.PageName.FeedbackPage,TrackConstants.PageName.FeedbackPage,{
  92 + 'feedback_type':feedbackTypeBean.id+''
  93 + })
  94 + })
87 } 95 }
88 }) 96 })
89 } 97 }
@@ -292,12 +292,15 @@ export struct DetailPlayShortVideoPage { @@ -292,12 +292,15 @@ export struct DetailPlayShortVideoPage {
292 playerCoverBuilder() { 292 playerCoverBuilder() {
293 // 问题:画面会闪一下 293 // 问题:画面会闪一下
294 Image(this.contentDetailData?.firstFrameImageUri) 294 Image(this.contentDetailData?.firstFrameImageUri)
295 - .width('100%')  
296 - .height(this.windowWidth / this.ratio + 'px')  
297 - .opacity(this.imageVisible ? 0.8 : 0)  
298 - .animation({  
299 - duration: 350, curve: Curve.EaseInOut  
300 - }) 295 + .width(this.playerWidth)
  296 + .height(this.playerHeight)// .opacity(this.imageVisible ? 0.7 : 0)
  297 + // .animation({
  298 + // // duration: 350,
  299 + // curve: Curve.EaseInOut,
  300 + // expectedFrameRateRange: { min: 30, max: 120, expected: 60 }
  301 + // })
  302 + .visibility(this.imageVisible ? Visibility.Visible : Visibility.None)
  303 +
301 } 304 }
302 305
303 @Builder 306 @Builder
@@ -130,14 +130,14 @@ export struct VideoChannelPage { @@ -130,14 +130,14 @@ export struct VideoChannelPage {
130 .onClick(() => { 130 .onClick(() => {
131 TrackingButton.searchClick(TrackConstants.PageName.Search, "VIDEOS") 131 TrackingButton.searchClick(TrackConstants.PageName.Search, "VIDEOS")
132 let params = { 'tabName': "VIDEOS" } as Record<string, string> 132 let params = { 'tabName': "VIDEOS" } as Record<string, string>
133 - WDRouterRule.jumpWithPage(WDRouterPage.searchPage,params) 133 + WDRouterRule.jumpWithPage(WDRouterPage.searchPage, params)
134 }) 134 })
135 .backgroundColor(Color.Transparent) 135 .backgroundColor(Color.Transparent)
136 136
137 } 137 }
138 .zIndex(20) 138 .zIndex(20)
139 .height($r('app.float.top_tab_bar_height_common')) 139 .height($r('app.float.top_tab_bar_height_common'))
140 - .margin({top:10}) 140 + .margin({ top: 10 })
141 .visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None) 141 .visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None)
142 142
143 } 143 }
@@ -169,6 +169,7 @@ export struct VideoChannelPage { @@ -169,6 +169,7 @@ export struct VideoChannelPage {
169 }, (item: TopNavDTO) => item.channelId + '') 169 }, (item: TopNavDTO) => item.channelId + '')
170 } 170 }
171 .indicator(false) 171 .indicator(false)
  172 + .disableSwipe(true)
172 .loop(false) 173 .loop(false)
173 .width('100%') 174 .width('100%')
174 .height('100%') 175 .height('100%')