UNPKG

quick-admin-vue3-core

Version:

以快(计算机执行效率、开发效率)为核心的后台管理系统开发模板

35 lines (34 loc) 1.3 kB
import { defineComponent as m, createElementBlock as e, openBlock as t, normalizeStyle as _, Fragment as r, renderList as a, createElementVNode as d, toDisplayString as s, createCommentVNode as f, unref as p, createTextVNode as y } from "vue"; import { t as l } from "./platform-DsTwHxm6.js"; import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js"; const v = { class: "head" }, k = { class: "body" }, C = /* @__PURE__ */ m({ __name: "CustomPopover", props: { sections: { default: () => [] }, width: { default: "200px" } }, setup(g) { return (c, w) => (t(), e("div", { class: "custom-popover", style: _({ width: c.width }) }, [ (t(!0), e(r, null, a(c.sections, (o, i) => (t(), e("section", { class: "section", key: i }, [ d("header", v, s(o.name), 1), d("div", k, [ p(l)(o.desc) === "String" ? (t(), e(r, { key: 0 }, [ y(s(o.desc), 1) ], 64)) : p(l)(o.desc) === "Array" ? (t(!0), e(r, { key: 1 }, a(o.desc, (u, n) => (t(), e("div", { class: "li", key: n }, s(n + 1) + ". " + s(u), 1))), 128)) : f("", !0) ]) ]))), 128)) ], 4)); } }), V = /* @__PURE__ */ h(C, [["__scopeId", "data-v-cc61d4e7"]]); export { V as default };