wui-components-v2 1.2.13 → 1.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -88,6 +88,9 @@ onMounted(() => {
|
|
|
88
88
|
<slot name="top" :style="{ background: currentThemeColor.primary }" />
|
|
89
89
|
<view v-if="props.menuTopType === '自定义'" class="p-2" />
|
|
90
90
|
</template>
|
|
91
|
+
<template #topImg>
|
|
92
|
+
<slot name="topImg" />
|
|
93
|
+
</template>
|
|
91
94
|
<view class="px-3 pb-4">
|
|
92
95
|
<!-- 菜单搜索 -->
|
|
93
96
|
<searchBar v-if="themeConfig?.showHomePage" />
|
|
@@ -112,7 +115,10 @@ onMounted(() => {
|
|
|
112
115
|
</text>
|
|
113
116
|
</view>
|
|
114
117
|
<view class="section-tag">
|
|
115
|
-
<text class="tag-text">
|
|
118
|
+
<text class="tag-text">
|
|
119
|
+
{{ props.tile ? tileItems.length : filtermenu.length }}
|
|
120
|
+
{{ props.tile ? languageStore.t('个功能') : languageStore.t('个分类') }}
|
|
121
|
+
</text>
|
|
116
122
|
</view>
|
|
117
123
|
</view>
|
|
118
124
|
<view v-else class="py-3"></view>
|
|
@@ -176,12 +182,7 @@ onMounted(() => {
|
|
|
176
182
|
</template>
|
|
177
183
|
|
|
178
184
|
<template v-else>
|
|
179
|
-
<slot
|
|
180
|
-
name="tile"
|
|
181
|
-
:items="tileItems"
|
|
182
|
-
:goto="gotoPage"
|
|
183
|
-
:t="languageStore.t"
|
|
184
|
-
/>
|
|
185
|
+
<slot name="tile" :items="tileItems" :goto="gotoPage" :t="languageStore.t" />
|
|
185
186
|
</template>
|
|
186
187
|
</view>
|
|
187
188
|
|