bmui
Version:
Bluemoon Moon Components
46 lines (42 loc) • 1.05 kB
JavaScript
var __render = function __render() {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
return _c('div', {
staticClass: "bmui-cell_paragraph"
}, [_c('p', {
staticClass: "bmui-cell_paragraph-title"
}, [_vm._v(_vm._s(_vm.title || 'TITLE')), _c('span', {
directives: [{
name: "show",
rawName: "v-show",
value: _vm.isNeed,
expression: "isNeed"
}],
staticClass: "bmui-cell_paragraph-isNeed"
}, [_vm._v("*")])]), _vm._v(" "), _vm.$slots["default"] ? _c('div', {
staticClass: "bmui-cell_paragraph-content"
}, [_vm._t("default")], 2) : _c('p', {
staticClass: "bmui-cell_paragraph-content"
}, [_vm._v(_vm._s(_vm.content))])]);
};
var __staticRender = [];
export default {
render: __render,
staticRenderFns: __staticRender,
name: 'BmuiCellParagraph',
props: {
title: {
type: String,
"default": ''
},
content: {
type: String,
"default": ''
},
isNeed: {
type: Boolean,
"default": false
}
}
};