drip-ui
Version:
Lightweight Mobile UI Components built on Vue
76 lines (69 loc) • 1.87 kB
JavaScript
(this["webpackJsonpdrip"] = this["webpackJsonpdrip"] || []).push([[3],{
/***/ 23:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ({
render: function render() {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
return _c('div', {
staticClass: "form-desc"
}, [_c('tooltip', {
attrs: {
"visible": _vm.options.visible
},
on: {
"update:visible": function updateVisible($event) {
_vm.$set(_vm.options, "visible", $event);
},
"change": _vm.riskDescChange
}
}, [_c('div', {
staticClass: "form-desc-wrap",
attrs: {
"slot": "container"
},
slot: "container"
}, _vm._l(_vm.options.riskDesc, function (ref, index) {
var name = ref.name;
var value = ref.value;
return _c('div', {
key: index,
staticClass: "form-desc-text"
}, [_vm.options.riskDesc.length > 1 ? _c('span', {
staticClass: "form-desc-text-title"
}, [_vm._v("\n " + _vm._s(name) + ":\n ")]) : _vm._e(), _c('span', {
staticClass: "form-desc-text-desc",
domProps: {
"innerHTML": _vm._s(value)
}
})]);
}))])], 1);
},
components: {
tooltip: function tooltip() {
return Promise.resolve(/* import() */).then(__webpack_require__.bind(null, 14));
}
},
props: {
options: {
type: Object,
"default": function _default() {
return {
title: '',
riskDesc: [],
visible: false
};
}
}
},
methods: {
riskDescChange: function riskDescChange() {
this.$emit('change', this.options);
}
}
});
/***/ })
}]);