chenjun

沉浸式底部遮罩渐变

@@ -29,7 +29,7 @@ export struct PlayerBottomView { @@ -29,7 +29,7 @@ export struct PlayerBottomView {
29 .markAnchor({ y: '100%' }) 29 .markAnchor({ y: '100%' })
30 .linearGradient({ 30 .linearGradient({
31 colors: [ 31 colors: [
32 - ['rgba(0, 0, 0, 0.0)', 0.0], ['rgba(0, 0, 0, 0.4)', 1.0] 32 + ['rgba(0, 0, 0, 0.0)', 0.0], ['rgba(0, 0, 0, 0.5)', 1.0]
33 ] 33 ]
34 }) 34 })
35 .visibility(this.displayDirection === DisplayDirection.VERTICAL ? 35 .visibility(this.displayDirection === DisplayDirection.VERTICAL ?