From 4d9a18ff31b05e1c09d1231519c4c41bc1fbe377 Mon Sep 17 00:00:00 2001 From: "DESKTOP-9FJNTIC\\gyb" <121287102@qq.com> Date: Fri, 18 Jul 2025 15:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=94=AF=E4=BF=AE=E6=94=B9=E5=90=88?= =?UTF-8?q?=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 41 ++++++++++++++++++++++------------------- README.md | 7 ++++--- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/README.en.md b/README.en.md index 8bbe43e..0439f3f 100644 --- a/README.en.md +++ b/README.en.md @@ -14,30 +14,33 @@ This sample describes how to use component stacking to build multi-layer stack v ### Project Directory +Here is the English translation of your directory structure while maintaining the original format and spacing: + ``` component-stack ├──componentstacklibrary/src/main/ets -│ ├──component -│ │ └──ComponentStackComponent.ets // Component stacking component class -│ ├──constant -│ │ └──CommonConstants.ets // Constants class -│ ├──model -│ │ └──IconModel.ets // Local data source -│ ├──utils -│ │ ├───BreakpointSystem.ets // Responsive layout class (for multi-device adaptation) -│ │ └───WindowUtil.ets // General window utility class -│ ├──view -│ │ ├──IconView.ets // Quick access button custom component -│ │ └──ProductList.ets // Product list custom component -│ └──viewmodel -│ ├──DataSource.ets // List data model -│ └──IconModel.ets // Data type definition +│ ├──component +│ │ └──ComponentStackComponent.ets // Component stacking component class +│ ├──constant +│ │ └──CommonConstants.ets // Constants class +│ ├──model +│ │ └──IconModel.ets // Local data source +│ ├──utils +│ │ ├───BreakpointSystem.ets // Multi-device adaptation class +│ │ └───WindowUtil.ets // General window utility class +│ ├──view +│ │ ├──IconView.ets // Button quick entry custom component +│ │ └──ProductList.ets // Product list custom component +│ ├──viewmodel +│ │ ├──DataSource.ets // List data model +│ │ └──IconModel.ets // Data type definition +│ └───ComponentStackController.ets // Controller class, window control └────componentstacklibrary/src/main/resources ├──componentstacksample/src/main/ets -│ ├──entryability -│ │ └──EntryAbility.ets // Application lifecycle class -│ ├──pages -│ │ └──Index.ets // Main page for component stacking +│ ├──entryability +│ │ └──EntryAbility.ets // Application lifecycle class +│ ├──pages +│ │ └──Index.ets // Component stacking main page └────componentstacksample/src/main/resources ``` diff --git a/README.md b/README.md index c91059d..cf77c99 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,10 @@ component-stack │ ├──view │ │ ├──IconView.ets // 按钮快捷入口自定义组件 │ │ └──ProductList.ets // 商品列表自定义组件 -│ └──viewmodel -│ ├──DataSource.ets // 列表数据模型 -│ └──IconModel.ets // 数据类型定义 +│ ├──viewmodel +│ │ ├──DataSource.ets // 列表数据模型 +│ │ └──IconModel.ets // 数据类型定义 +│ └───ComponentStackController.ets // 控制器类,窗口控制 └────componentstacklibrary/src/main/resources ├──componentstacksample/src/main/ets │ ├──entryability -- Gitee