Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool into main
* 'main' of http://192.168.1.42/developOne/harmonyPool: fix: 19925 3:2横划卡-后台配置2个运营位,客户端无法向右滑动查看完整横划卡 fix: 三图卡视频,标签与稿件名称未对齐 fix: 视频偶发弹网络提示
Showing
3 changed files
with
11 additions
and
7 deletions
| @@ -50,16 +50,16 @@ export struct Card4Component { | @@ -50,16 +50,16 @@ export struct Card4Component { | ||
| 50 | Column() { | 50 | Column() { |
| 51 | Stack() { | 51 | Stack() { |
| 52 | if(this.contentDTO.objectType == '5'){ | 52 | if(this.contentDTO.objectType == '5'){ |
| 53 | - Notes({ objectType: this.contentDTO.objectType,objectLevel:this.contentDTO.objectLevel }).height(19).align(Alignment.Center) | 53 | + Notes({ objectType: this.contentDTO.objectType,objectLevel:this.contentDTO.objectLevel }).height(28).align(Alignment.Center) |
| 54 | } else { | 54 | } else { |
| 55 | if (this.contentDTO.seoTags) { | 55 | if (this.contentDTO.seoTags) { |
| 56 | - Notes({ newTags: this.contentDTO.seoTags }).height(19).align(Alignment.Center) | 56 | + Notes({ newTags: this.contentDTO.seoTags }).height(28).align(Alignment.Center) |
| 57 | } | 57 | } |
| 58 | if (this.contentDTO.newTags) { | 58 | if (this.contentDTO.newTags) { |
| 59 | - Notes({ newTags: this.contentDTO.newTags }).height(19).align(Alignment.Center) | 59 | + Notes({ newTags: this.contentDTO.newTags }).height(28).align(Alignment.Center) |
| 60 | } | 60 | } |
| 61 | if (this.contentDTO.top === 1) { | 61 | if (this.contentDTO.top === 1) { |
| 62 | - Notes({ newTags: '置顶' }).height(20).align(Alignment.Center) | 62 | + Notes({ newTags: '置顶' }).height(28).align(Alignment.Center) |
| 63 | } | 63 | } |
| 64 | } | 64 | } |
| 65 | Text() { | 65 | Text() { |
| @@ -120,9 +120,9 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent { | @@ -120,9 +120,9 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent { | ||
| 120 | .textAlign(TextAlign.Start) | 120 | .textAlign(TextAlign.Start) |
| 121 | .margin({ top: 8 }) | 121 | .margin({ top: 8 }) |
| 122 | .width(this.compDTO.operDataList.length == 2 ? 210 : 150) | 122 | .width(this.compDTO.operDataList.length == 2 ? 210 : 150) |
| 123 | - .lineHeight(21) | 123 | + .lineHeight(19) |
| 124 | } | 124 | } |
| 125 | - .height(this.compDTO.operDataList.length == 2 ? 180 : 148) | 125 | + .height(this.compDTO.operDataList.length == 2 ? 190 : 148) |
| 126 | .padding({ right: 16 }) | 126 | .padding({ right: 16 }) |
| 127 | // .offset({x:16}) | 127 | // .offset({x:16}) |
| 128 | .onClick(() => { | 128 | .onClick(() => { |
| @@ -160,7 +160,7 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent { | @@ -160,7 +160,7 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent { | ||
| 160 | } | 160 | } |
| 161 | } | 161 | } |
| 162 | .align(Alignment.Start) | 162 | .align(Alignment.Start) |
| 163 | - .scrollable(this.compDTO.operDataList.length > 2 ? ScrollDirection.Horizontal : ScrollDirection.None) | 163 | + .scrollable(this.compDTO.operDataList.length >= 2 ? ScrollDirection.Horizontal : ScrollDirection.None) |
| 164 | .scrollBar(BarState.Off) | 164 | .scrollBar(BarState.Off) |
| 165 | .edgeEffect(EdgeEffect.None) | 165 | .edgeEffect(EdgeEffect.None) |
| 166 | .onReachEnd(() => { | 166 | .onReachEnd(() => { |
| @@ -76,6 +76,10 @@ export struct PlayerProgressView { | @@ -76,6 +76,10 @@ export struct PlayerProgressView { | ||
| 76 | // .markAnchor({ x: 0, y: '100%' }) | 76 | // .markAnchor({ x: 0, y: '100%' }) |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | + aboutToDisappear(): void { | ||
| 80 | + clearTimeout(this.timer) | ||
| 81 | + } | ||
| 82 | + | ||
| 79 | build() { | 83 | build() { |
| 80 | Stack() { | 84 | Stack() { |
| 81 | this.playerLoadingBuilder() | 85 | this.playerLoadingBuilder() |
-
Please register or login to post a comment