UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

47 lines (42 loc) 2.06 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var index_vue_vue_type_script_lang = require('./index.vue_vue_type_script_lang.js'); var vue = require('vue'); var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js'); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tagName), vue.mergeProps({ class: _ctx.wrapperClasses, style: _ctx.wrapperStyles }, _ctx.tagProps, { onClick: _ctx.handleLink }), { default: vue.withCtx(() => [ vue.createCommentVNode(" \u6807\u9898 "), _ctx.showTitle ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, class: vue.normalizeClass(`${_ctx.prefixCls}-title`), style: vue.normalizeStyle(_ctx.titleStyles) }, [ vue.renderSlot(_ctx.$slots, "title", {}, () => [ vue.createTextVNode(vue.toDisplayString(_ctx.title), 1) ]) ], 6)) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" \u989D\u5916\u663E\u793A\u7684\u5185\u5BB9\uFF0C\u9ED8\u8BA4\u4F4D\u7F6E\u5728\u53F3\u4E0A\u89D2 "), _ctx.showExtra ? (vue.openBlock(), vue.createElementBlock("div", { key: 1, class: vue.normalizeClass(`${_ctx.prefixCls}-extra`) }, [ vue.renderSlot(_ctx.$slots, "extra") ], 2)) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" \u5185\u5BB9 "), vue.createElementVNode("div", { class: vue.normalizeClass(`${_ctx.prefixCls}-body`), style: vue.normalizeStyle(_ctx.bodyStyles) }, [ vue.renderSlot(_ctx.$slots, "default") ], 6) ]), _: 3 }, 16, ["class", "style", "onClick"]); } var Card = /* @__PURE__ */ _pluginVue_exportHelper["default"](index_vue_vue_type_script_lang["default"], [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-card\\index.vue"]]); exports["default"] = Card; //# sourceMappingURL=index2.js.map