From 0b44aec804b6fdd5d6f106fc3269b795c4347bb0 Mon Sep 17 00:00:00 2001 From: fangxiang Date: Thu, 10 Feb 2022 15:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AA=97=E5=8F=A3=E6=8C=89=E5=AE=9E=E9=99=85?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/common/ClientConnection.ts | 5 +- src/common/EventBus.ts | 1 - src/components/Window.vue | 44 +----- src/entities/MultimediaWindowEntity.ts | 2 + src/entities/WSProtocol.ts | 27 +++- .../WindowOtherStateChangeNotifyEntity.ts | 1 - src/pages/WallPage.vue | 139 ++++++++++-------- src/store/index.ts | 70 +++++++++ src/store/window_color_list.js | 66 +++++++++ 10 files changed, 254 insertions(+), 103 deletions(-) create mode 100644 src/store/window_color_list.js diff --git a/package.json b/package.json index 53cbe2d..fa68487 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "media_player_client", - "version": "1.2.0", + "version": "1.2.1", "description": "A Quasar Framework app", "productName": "MediaPlayerClient", "author": "fangxiang ", diff --git a/src/common/ClientConnection.ts b/src/common/ClientConnection.ts index a354ef7..6052220 100644 --- a/src/common/ClientConnection.ts +++ b/src/common/ClientConnection.ts @@ -506,10 +506,7 @@ export default class ClientConnection { public focusIn(window_id: number) { this.ws?.send( JSON.stringify( - new NormalWindowRequestEntity( - Protocol.Commands.kFocuseWindow, - window_id - ) + new NormalWindowRequestEntity(Protocol.Commands.kFocusWindow, window_id) ) ); } diff --git a/src/common/EventBus.ts b/src/common/EventBus.ts index 46c3b98..2a64a7d 100644 --- a/src/common/EventBus.ts +++ b/src/common/EventBus.ts @@ -19,7 +19,6 @@ export default class EventBus extends EventEmitter { export namespace EventNamesDefine { export const UnKnow = "onUnKnow"; export const UnSelectAllWindows = "onUnSelectAllWindows"; - export const UnFocusAllWindows = "onUnFocusAllWindows"; export const WindowResize = "onWindowResize"; export const WindowMouseDown = "onWindowMouseDown"; export const WindowMouseMove = "onWindowMouseMove"; diff --git a/src/components/Window.vue b/src/components/Window.vue index a65b694..a83493a 100644 --- a/src/components/Window.vue +++ b/src/components/Window.vue @@ -1,16 +1,15 @@