wui-components-v2 1.2.15 → 1.2.16
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.
|
@@ -100,10 +100,9 @@ onMounted(() => {
|
|
|
100
100
|
<slot name="top" :style="{ background: currentThemeColor.primary }" />
|
|
101
101
|
<view v-if="props.menuTopType === '自定义'" class="p-2" />
|
|
102
102
|
</template>
|
|
103
|
-
<template #topImg>
|
|
104
|
-
<slot name="topImg" />
|
|
105
|
-
</template>
|
|
106
103
|
<view class="px-3 pb-4">
|
|
104
|
+
<!-- 自定义顶部图片插槽:直接渲染在可滚动内容区顶部,避免被当作 z-paging 不存在的 topImg 插槽而丢弃 -->
|
|
105
|
+
<slot name="topImg" />
|
|
107
106
|
<!-- 菜单搜索 -->
|
|
108
107
|
<searchBar v-if="themeConfig?.showHomePage" />
|
|
109
108
|
<!-- 轮播图 -->
|