UNPKG

st-common-ui-vue3

Version:

小尾巴通用 Vue3 UI 组件库

23 lines (22 loc) 792 B
import { defineComponent as a, inject as e, openBlock as c, createElementBlock as S, createElementVNode as I, renderSlot as x, unref as i } from "vue"; const _ = { class: "swiper-slide" }, p = { class: "st-swiper-slide" }, h = /* @__PURE__ */ a({ __name: "StSwiperSlide", setup(u) { const d = e("isInitial"), t = e("initialSlideIdx"), l = e("isSlideChange"), n = e("enterSlideIdx"), s = e("leaveSlideIdx"), o = e("nowSlideIdx"); return (r, m) => (c(), S("div", _, [ I("div", p, [ x(r.$slots, "default", { isInitial: i(d), initialSlideIdx: i(t), isSlideChange: i(l), enterSlideIdx: i(n), leaveSlideIdx: i(s), currentSlideIdx: i(o) }, void 0, !0) ]) ])); } }); export { h as default };