- Vue 3 + TypeScript + Element Plus 前端界面 - Pinia 状态管理 - Vue Router 4 路由管理 - Axios HTTP 客户端 - MSW (Mock Service Worker) 开发环境模拟 - 账户管理界面 (列表、详情、三科目余额展示) - 交易管理界面 (列表、详情) - 对账管理界面 (三账校验) - 完善的 API 客户端封装 - Docker 容器化配置 - Nginx 配置用于生产环境
104 lines
3.5 KiB
JavaScript
104 lines
3.5 KiB
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
var vue = require('vue');
|
|
var descriptionsCell = require('./descriptions-cell.js');
|
|
var token = require('./token.js');
|
|
var descriptionsRow = require('./descriptions-row.js');
|
|
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
|
|
const _hoisted_1 = { key: 1 };
|
|
const _sfc_main = vue.defineComponent({
|
|
...{
|
|
name: "ElDescriptionsRow"
|
|
},
|
|
__name: "descriptions-row",
|
|
props: descriptionsRow.descriptionsRowProps,
|
|
setup(__props) {
|
|
const descriptions = vue.inject(token.descriptionsKey, {});
|
|
return (_ctx, _cache) => {
|
|
return vue.unref(descriptions).direction === "vertical" ? (vue.openBlock(), vue.createElementBlock(
|
|
vue.Fragment,
|
|
{ key: 0 },
|
|
[
|
|
vue.createElementVNode("tr", null, [
|
|
(vue.openBlock(true), vue.createElementBlock(
|
|
vue.Fragment,
|
|
null,
|
|
vue.renderList(_ctx.row, (cell, _index) => {
|
|
return vue.openBlock(), vue.createBlock(vue.unref(descriptionsCell["default"]), {
|
|
key: `tr1-${_index}`,
|
|
cell,
|
|
tag: "th",
|
|
type: "label"
|
|
}, null, 8, ["cell"]);
|
|
}),
|
|
128
|
|
))
|
|
]),
|
|
vue.createElementVNode("tr", null, [
|
|
(vue.openBlock(true), vue.createElementBlock(
|
|
vue.Fragment,
|
|
null,
|
|
vue.renderList(_ctx.row, (cell, _index) => {
|
|
return vue.openBlock(), vue.createBlock(vue.unref(descriptionsCell["default"]), {
|
|
key: `tr2-${_index}`,
|
|
cell,
|
|
tag: "td",
|
|
type: "content"
|
|
}, null, 8, ["cell"]);
|
|
}),
|
|
128
|
|
))
|
|
])
|
|
],
|
|
64
|
|
)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1, [
|
|
(vue.openBlock(true), vue.createElementBlock(
|
|
vue.Fragment,
|
|
null,
|
|
vue.renderList(_ctx.row, (cell, _index) => {
|
|
return vue.openBlock(), vue.createElementBlock(
|
|
vue.Fragment,
|
|
{
|
|
key: `tr3-${_index}`
|
|
},
|
|
[
|
|
vue.unref(descriptions).border ? (vue.openBlock(), vue.createElementBlock(
|
|
vue.Fragment,
|
|
{ key: 0 },
|
|
[
|
|
vue.createVNode(vue.unref(descriptionsCell["default"]), {
|
|
cell,
|
|
tag: "td",
|
|
type: "label"
|
|
}, null, 8, ["cell"]),
|
|
vue.createVNode(vue.unref(descriptionsCell["default"]), {
|
|
cell,
|
|
tag: "td",
|
|
type: "content"
|
|
}, null, 8, ["cell"])
|
|
],
|
|
64
|
|
)) : (vue.openBlock(), vue.createBlock(vue.unref(descriptionsCell["default"]), {
|
|
key: 1,
|
|
cell,
|
|
tag: "td",
|
|
type: "both"
|
|
}, null, 8, ["cell"]))
|
|
],
|
|
64
|
|
);
|
|
}),
|
|
128
|
|
))
|
|
]));
|
|
};
|
|
}
|
|
});
|
|
var ElDescriptionsRow = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);
|
|
|
|
exports["default"] = ElDescriptionsRow;
|
|
//# sourceMappingURL=descriptions-row2.js.map
|