From 974128d91850cef3b78160bd283968ed0acd74ab Mon Sep 17 00:00:00 2001 From: sfchu Date: Tue, 1 Apr 2025 13:42:19 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=9E=E7=8E=B0=E7=94=BB=E4=B8=AD?= =?UTF-8?q?=E7=94=BB=E6=95=88=E6=9E=9C=E3=80=91=E4=BB=A3=E7=A0=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/constants/Constants.ets | 60 ---------------------- entry/src/main/ets/pages/VideoPlay.ets | 1 - 2 files changed, 61 deletions(-) diff --git a/entry/src/main/ets/constants/Constants.ets b/entry/src/main/ets/constants/Constants.ets index 3f26582..4606755 100644 --- a/entry/src/main/ets/constants/Constants.ets +++ b/entry/src/main/ets/constants/Constants.ets @@ -39,26 +39,11 @@ export class Constants { */ public static readonly FULL_PERCENT: string = '100%'; - /** - * Video1 button width. - */ - public static readonly VIDEO1_BUTTON_WIDTH: string = '95%'; - - /** - * Video button width. - */ - public static readonly VIDEO_BUTTON_WIDTH: string = '45%'; - /** * XComponent width. */ public static readonly X_COMPONENT_WIDTH: string = '100%'; - /** - * PIP width. - */ - public static readonly AUTO_PIP_WIDTH: string = '95%'; - /** * Scroll layout width. */ @@ -74,56 +59,11 @@ export class Constants { */ public static readonly SPACE: number = 24; - /** - * HomePage Element Spacing. - */ - public static readonly HOME_SPACE: number = 10; - /** * Error type. */ public static readonly AVPLAYER_TYPE: number = 1; - /** - * GridRow columns sm. - */ - public static readonly GRID_COLUMNS_SM: number = 2; - - /** - * GridRow columns md. - */ - public static readonly GRID_COLUMNS_MD: number = 3; - - /** - * GridRow columns lg. - */ - public static readonly GRID_COLUMNS_LG: number = 4; - - /** - * GridRow gutter sm. - */ - public static readonly GRID_ROW_SM: number = 8; - - /** - * GridRow gutter md. - */ - public static readonly GRID_ROW_MD: number = 12; - - /** - * GridRow gutter lg. - */ - public static readonly GRID_ROW_LG: number = 16; - - /** - * GridRow gutter y. - */ - public static readonly GRID_ROW_Y: number = 20; - - /** - * Column padding. - */ - public static readonly COLUMNS_PADDING: number = 20; - /** * Idle state. */ diff --git a/entry/src/main/ets/pages/VideoPlay.ets b/entry/src/main/ets/pages/VideoPlay.ets index 92a1268..51c6484 100644 --- a/entry/src/main/ets/pages/VideoPlay.ets +++ b/entry/src/main/ets/pages/VideoPlay.ets @@ -16,7 +16,6 @@ import { ConfigurationConstant } from '@kit.AbilityKit'; import { BusinessError } from '@kit.BasicServicesKit'; import { PiPWindow, window } from '@kit.ArkUI'; -import { JSON } from '@kit.ArkTS'; import { Constants } from '../constants/Constants'; import { AVPlayer } from './AVPlayer'; import Logger from '../utils/Logger'; -- Gitee