Просмотр исходного кода

隐藏人声分离功能 效果不好所以隐藏,

onecold 6 месяцев назад
Родитель
Сommit
1639a4d430
2 измененных файлов с 11 добавлено и 11 удалено
  1. 1 1
      entry/src/main/ets/pages/UserCenter.ets
  2. 10 10
      entry/src/main/ets/view/LocalMusic.ets

+ 1 - 1
entry/src/main/ets/pages/UserCenter.ets

@@ -204,7 +204,7 @@ export struct UserCenter {
       title: '调音均衡器',
       description: '精准定制音效,带来极致听觉体验',
       isVipOnly: true,
-      hasCome: false
+      hasCome: true
     },
   ];
   @State vipPlans: VipPlanApi[] = [];

+ 10 - 10
entry/src/main/ets/view/LocalMusic.ets

@@ -6275,16 +6275,16 @@ export struct LocalMusic {
                 this.isConverter = !this.isConverter
               })
 
-            MenuItem({
-              symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.ai_edit')),
-              content: $r('app.string.vocal_separation')
-            })
-              .bindContentCover($$this.isAIVoiceSeparation, this.AiBuilder(item), {
-                transition: TransitionEffect.translate({ x: 500 }).animation({ curve: curves.springMotion(0.6, 0.8) })
-              })
-              .onClick(() => {
-                this.isAIVoiceSeparation = !this.isAIVoiceSeparation
-              })
+            // MenuItem({
+            //   symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.ai_edit')),
+            //   content: $r('app.string.vocal_separation')
+            // })
+            //   .bindContentCover($$this.isAIVoiceSeparation, this.AiBuilder(item), {
+            //     transition: TransitionEffect.translate({ x: 500 }).animation({ curve: curves.springMotion(0.6, 0.8) })
+            //   })
+            //   .onClick(() => {
+            //     this.isAIVoiceSeparation = !this.isAIVoiceSeparation
+            //   })
             MenuItem({
               symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.arrow_counterclockwise_clock')),
               content: $r('app.string.change_tone')