UNPKG

mine-h5-ui

Version:

一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍

34 lines (33 loc) 927 B
import { defineComponent as s, openBlock as n, createBlock as a, Transition as i, withCtx as l, createElementBlock as r, createElementVNode as e, toDisplayString as c, createCommentVNode as m } from "vue"; import d from "./loading-turn.svg.js"; const _ = { key: 0, class: "me-show-loading" }, p = { class: "content" }, u = { class: "text" }, x = /* @__PURE__ */ s({ name: "MeShowLoading", __name: "index", props: { visible: { type: Boolean }, message: {} }, setup(t) { return (f, o) => (n(), a(i, { name: "fade" }, { default: l(() => [ t.visible ? (n(), r("div", _, [ e("div", p, [ o[0] || (o[0] = e("img", { src: d, alt: "loading-turn", class: "icon" }, null, -1)), e("span", u, c(t.message), 1) ]) ])) : m("", !0) ]), _: 1 })); } }); export { x as default };