|
|
@@ -197,11 +197,22 @@ struct NewIndex {
|
|
|
console.info('onecold 返回键处理逻辑:发送音频广播通知更新列表');
|
|
|
const eventData: emitter.EventData = {};
|
|
|
emitter.emit({ eventId: EventConstants.EVENT_SWIPE_BACK_UPDATE }, eventData); // 发送音频广播通知更新doSwipBack
|
|
|
- } else if(this.mType === 7&&this.isDetailView) {
|
|
|
- // RemoteMusicPage(流媒体) 页面,发送手势返回事件
|
|
|
- console.info('onecold RemoteMusicPage 返回键处理:发送手势返回事件');
|
|
|
- const eventData: emitter.EventData = {};
|
|
|
- emitter.emit({ eventId: EventConstants.EVENT_SWIPE_BACK_NAVID}, eventData);
|
|
|
+ } else if(this.mType === 7) {
|
|
|
+ if(this.isDetailView){
|
|
|
+ console.info('onecold RemoteMusicPage 返回键处理:发送手势返回事件');
|
|
|
+ const eventData: emitter.EventData = {};
|
|
|
+ emitter.emit({ eventId: EventConstants.EVENT_SWIPE_BACK_NAVID}, eventData);
|
|
|
+ }else{
|
|
|
+ if (this.isShowDrawer) {
|
|
|
+ // 如果抽屉菜单打开,先关闭抽屉
|
|
|
+ this.getUIContext()?.animateTo({ duration: 555 }, () => {
|
|
|
+ this.isShowDrawer = false
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
} else if(this.mType === 6) {
|
|
|
console.info('onecold 网盘 返回键处理:发送手势返回事件');
|
|
|
const eventData: emitter.EventData = {};
|