添加查看更多组件

This commit is contained in:
icssoa
2025-09-13 20:48:11 +08:00
parent 742e67bd5f
commit b64b5c5b62
7 changed files with 353 additions and 1 deletions

View File

@@ -48,7 +48,7 @@
<view class="group" v-for="item in data" :key="item.label">
<cl-text :pt="{ className: '!text-sm !text-surface-400 mb-2 ml-2' }">{{
item.label
}}</cl-text>
}}{{ item.children?.length ?? 0 }}</cl-text>
<view class="list">
<cl-row :gutter="10">
@@ -275,6 +275,11 @@ const data = computed<Item[]>(() => {
icon: "account-circle-line",
path: "/pages/demo/data/avatar"
},
{
label: t("查看更多"),
icon: "menu-add-line",
path: "/pages/demo/data/read-more"
},
{
label: t("列表"),
icon: "list-check",