UNPKG

quick-admin-vue3-core

Version:

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

39 lines (38 loc) 1.32 kB
import { defineComponent as a, reactive as l, resolveComponent as d, createBlock as r, openBlock as n, withCtx as p, createElementVNode as c, normalizeClass as i, toDisplayString as b } from "vue"; import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js"; const j = /* @__PURE__ */ a({ __name: "CoinList", props: { data: { default: () => ({}) } }, setup(m) { const t = [ { prop: "lx", label: "类型", width: 200 }, { prop: "bdsj", label: "变动时间", width: 120 }, { prop: "bdje", label: "变动金额", width: 100, type: "slot" }, { prop: "ye", label: "余额", width: 100 } ], o = l([ { lx: "完善资料", bdsj: "2023-07-26", bdje: "+100", ye: 400 }, { lx: "邀请注册", bdsj: "2023-07-26", bdje: "+100", ye: 400 }, { lx: "解锁更多嘉宾", bdsj: "2023-07-26", bdje: "-100", ye: 400 } ]); return (x, f) => { const s = d("BaseTable"); return n(), r(s, { cols: t, data: o, class: "coin-list" }, { bdje: p(({ row: e }) => [ c("div", { class: i(e.bdje.startsWith("-") ? "green" : "red") }, b(e.bdje), 3) ]), _: 1 }, 8, ["data"]); }; } }), C = /* @__PURE__ */ _(j, [["__scopeId", "data-v-99c7e82a"]]); export { C as default };