UNPKG

@fecp/mobile

Version:

33 lines (32 loc) 1.41 kB
/* empty css */ /* empty css */ /* empty css */ /* empty css */ import { createBlock, openBlock, mergeProps, createSlots, renderList, withCtx, renderSlot } from "vue"; import { NavBar } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/nav-bar/index.mjs"; const _sfc_main = { __name: "NavBar", setup(__props) { const onClickLeft = () => history.back(); return (_ctx, _cache) => { const _component_van_nav_bar = NavBar; return openBlock(), createBlock(_component_van_nav_bar, mergeProps(_ctx.$attrs, { fixed: false, "safe-area-inset-top": "", onClickLeft }), createSlots({ _: 2 }, [ renderList(_ctx.$slots, (item, key) => { return { name: key, fn: withCtx(() => [ renderSlot(_ctx.$slots, key) ]) }; }) ]), 1040); }; } }; export { _sfc_main as default };