|
@@ -42,7 +42,7 @@ import { Verify } from './Verify';
|
|
|
import { DrawerOptions } from '../dialog/DrawerOptions';
|
|
import { DrawerOptions } from '../dialog/DrawerOptions';
|
|
|
import { RotatingCover } from './RotatingCover';
|
|
import { RotatingCover } from './RotatingCover';
|
|
|
import { PlayConstants } from '../common/constants/PlayConstants';
|
|
import { PlayConstants } from '../common/constants/PlayConstants';
|
|
|
-import { displaySync, effectKit } from '@kit.ArkGraphics2D';
|
|
|
|
|
|
|
+import { effectKit } from '@kit.ArkGraphics2D';
|
|
|
import { ColorConversion } from '../common/util/ColorConversion';
|
|
import { ColorConversion } from '../common/util/ColorConversion';
|
|
|
import { LyricController, LyricParser, LyricView2 } from '@seagazer/cclyric';
|
|
import { LyricController, LyricParser, LyricView2 } from '@seagazer/cclyric';
|
|
|
import { AvSessionController } from '../controller/AvSessionController';
|
|
import { AvSessionController } from '../controller/AvSessionController';
|
|
@@ -82,7 +82,6 @@ import { deviceInfo } from '@kit.BasicServicesKit';
|
|
|
import { HSBColorPicker, HSBColorPickerLayout } from '@keke/color-picker'
|
|
import { HSBColorPicker, HSBColorPickerLayout } from '@keke/color-picker'
|
|
|
import { DEBUG } from 'BuildProfile';
|
|
import { DEBUG } from 'BuildProfile';
|
|
|
import { LrcParser } from '@sgaolei/lrc_parser';
|
|
import { LrcParser } from '@sgaolei/lrc_parser';
|
|
|
-import { IBestIcon } from "@ibestservices/ibest-ui";
|
|
|
|
|
import app, { AppResponse } from '@system.app';
|
|
import app, { AppResponse } from '@system.app';
|
|
|
import { Log } from '@tencent/wechat_open_sdk';
|
|
import { Log } from '@tencent/wechat_open_sdk';
|
|
|
import { TextNodeController } from './PipLyricTextBuilder';
|
|
import { TextNodeController } from './PipLyricTextBuilder';
|
|
@@ -2594,11 +2593,10 @@ export struct LocalMusic {
|
|
|
|
|
|
|
|
Row({ space: 8 }) {
|
|
Row({ space: 8 }) {
|
|
|
Row({ space: 8 }) {
|
|
Row({ space: 8 }) {
|
|
|
- // Image($r("app.media.hm_play"))
|
|
|
|
|
- IBestIcon({name:'play-circle-o',iconSize:25,color:this.themeColor})
|
|
|
|
|
|
|
+ Image($r("app.media.hm_play"))
|
|
|
.width(25)
|
|
.width(25)
|
|
|
.margin({ left: 8 })
|
|
.margin({ left: 8 })
|
|
|
- // .fillColor(this.themeColor)
|
|
|
|
|
|
|
+ .fillColor(this.themeColor)
|
|
|
Text(`播放全部`)
|
|
Text(`播放全部`)
|
|
|
.fontColor($r('app.color.text_color'))
|
|
.fontColor($r('app.color.text_color'))
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
@@ -2681,15 +2679,14 @@ export struct LocalMusic {
|
|
|
this.isSearchMode = true
|
|
this.isSearchMode = true
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
- // Image($r("app.media.refresh"))
|
|
|
|
|
- IBestIcon({ name: 'replay',iconSize:25,color:this.themeColor })
|
|
|
|
|
- // .width(25)
|
|
|
|
|
|
|
+ Image($r("app.media.refresh"))
|
|
|
|
|
+ .fillColor(this.themeColor)
|
|
|
|
|
+ .width(25)
|
|
|
.visibility(this.isHistory || this.isCanBack || this.isSearchMode ? Visibility.None : Visibility.Visible)
|
|
.visibility(this.isHistory || this.isCanBack || this.isSearchMode ? Visibility.None : Visibility.Visible)
|
|
|
.animation({
|
|
.animation({
|
|
|
duration: 666,
|
|
duration: 666,
|
|
|
curve: 'ease-in-out' // 可选动画曲线
|
|
curve: 'ease-in-out' // 可选动画曲线
|
|
|
- })// .opacity(this.opacityItem)
|
|
|
|
|
- // .fillColor(this.themeColor)
|
|
|
|
|
|
|
+ })
|
|
|
.clickEffect({ level: ClickEffectLevel.MIDDLE })
|
|
.clickEffect({ level: ClickEffectLevel.MIDDLE })
|
|
|
.onClick(() => {
|
|
.onClick(() => {
|
|
|
if(this.isFavMusic){
|
|
if(this.isFavMusic){
|
|
@@ -2717,7 +2714,6 @@ export struct LocalMusic {
|
|
|
|
|
|
|
|
Image(this.isMultiSelect ? $r("app.media.cancel_multi") : $r("app.media.top_flower"))
|
|
Image(this.isMultiSelect ? $r("app.media.cancel_multi") : $r("app.media.top_flower"))
|
|
|
.width(24)
|
|
.width(24)
|
|
|
- // .fillColor('#ff5186')// .opacity(this.opacityItem)
|
|
|
|
|
.visibility(this.isHistory || this.isSearchMode ? Visibility.None : Visibility.Visible)
|
|
.visibility(this.isHistory || this.isSearchMode ? Visibility.None : Visibility.Visible)
|
|
|
.animation({
|
|
.animation({
|
|
|
duration: 666,
|
|
duration: 666,
|
|
@@ -6261,9 +6257,7 @@ export struct LocalMusic {
|
|
|
.bindPopup(this.isShowPipBgSelectColor, {
|
|
.bindPopup(this.isShowPipBgSelectColor, {
|
|
|
builder: this.SelectColor(false,isPip,true),
|
|
builder: this.SelectColor(false,isPip,true),
|
|
|
placement: Placement.Top,
|
|
placement: Placement.Top,
|
|
|
- // autoCancel: true,
|
|
|
|
|
mask: {color:'#33000000'},
|
|
mask: {color:'#33000000'},
|
|
|
- // popupColor: Color.Yellow,
|
|
|
|
|
enableArrow: false,//是否显示箭头
|
|
enableArrow: false,//是否显示箭头
|
|
|
showInSubWindow: false,
|
|
showInSubWindow: false,
|
|
|
onStateChange: (e) => {
|
|
onStateChange: (e) => {
|