feat(core): 增强核心事件通讯总线,增强跨组件交互能力

This commit is contained in:
2025-10-30 16:57:33 +08:00
parent 66bf2504e0
commit 0fabacd71c
8 changed files with 1191 additions and 750 deletions

View File

@@ -127,6 +127,7 @@
<privacy-popup ref="privacyPopup"></privacy-popup>
<!-- #endif -->
<to-top v-if="showTop" @toTop="scrollToTopNative()"></to-top>
<ns-login ref="login"></ns-login>
</view>
</template>
@@ -140,17 +141,12 @@
export default {
data() {
return {
minScrollTop: 100, // 设置回到顶端按钮显示要求,最小滚动距离
}
},
components: {
uniPopup,
nsNavbar,
toTop
},
mixins: [diyJs, indexJs, scroll]
mixins: [diyJs, scroll, indexJs]
};
</script>