refactor: 将page-container重命名为root-page-layout

将page-container组件重命名为root-page-layout,并更新所有文档中的引用,以更好地反映其作为页面根布局的角色。已更新AGENTS.md、README.md中的引用,并相应重命名了组件使用指南。
This commit is contained in:
熊熊熊子路 committed 2026-07-31 11:59:34 +08:00
1 parent 3f75ab4ef6
commit 11c6fb21cd
11 files changed
+46 -46

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{
"usingComponents": {
"page-container": "../../components/page-container/page-container"
"root-page-layout": "../../components/root-page-layout/root-page-layout"
}
}
+2 -2
View File
@@ -1,5 +1,5 @@
<!--pages/date/date.wxml-->
<page-container navBarTitle="日期时间格式化示例" navBarBackgroundColor="#123321" navBarTextColor="#ffffff">
<root-page-layout navBarTitle="日期时间格式化示例" navBarBackgroundColor="#123321" navBarTextColor="#ffffff">
<view class="container">
<!-- formatTime 函数示例 -->
<view class="section">
@@ -69,4 +69,4 @@
</view>
</view>
</view>
</page-container>
</root-page-layout>