quick-admin-vue3-core
Version:
以快(计算机执行效率、开发效率)为核心的后台管理系统开发模板
55 lines (54 loc) • 2.11 kB
JavaScript
import { defineComponent as v, resolveComponent as a, createElementBlock as t, openBlock as e, createBlock as C, Fragment as s, createElementVNode as l, createCommentVNode as B, renderList as p, toDisplayString as o, createTextVNode as m, createVNode as N, withCtx as g } from "vue";
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
const E = { class: "produce-compo" }, V = { class: "mb-q" }, x = { class: "title" }, L = {
key: 0,
class: "mt-t"
}, b = /* @__PURE__ */ v({
__name: "ProduceComp",
props: {
funcs: { default: () => [] },
link: { default: "/docs/xxx" }
},
setup(q) {
const k = ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十"];
return (n, r) => {
var u;
const _ = a("RouterLink"), f = a("BaseEmpty");
return e(), t("div", E, [
(u = n.funcs) != null && u.length || n.link ? (e(), t(s, { key: 0 }, [
l("ul", null, [
(e(!0), t(s, null, p(n.funcs, (c, i) => (e(), t("li", V, [
typeof c == "string" ? (e(), t(s, { key: 0 }, [
r[0] || (r[0] = l("div", { class: "title" }, "功能特性", -1)),
l("div", null, o(i + 1) + ". " + o(c), 1)
], 64)) : (e(), t(s, { key: 1 }, [
l("div", x, o(k[i]) + "、" + o(c.text), 1),
l("ul", null, [
(e(!0), t(s, null, p(c.children, (y, d) => (e(), t("li", {
class: "mb-q",
key: d
}, o(d + 1) + ". " + o(y), 1))), 128))
])
], 64))
]))), 256))
]),
n.link ? (e(), t("div", L, [
r[1] || (r[1] = m(" 示例详见:")),
N(_, {
class: "link",
to: n.link
}, {
default: g(() => [
m(o(n.link), 1)
]),
_: 1
}, 8, ["to"])
])) : B("", !0)
], 64)) : (e(), C(f, { key: 1 }))
]);
};
}
}), w = /* @__PURE__ */ h(b, [["__scopeId", "data-v-f33182f1"]]);
export {
w as default
};