drip-ui
Version:
Lightweight Mobile UI Components built on Vue
1 lines • 1.01 kB
JavaScript
(this.webpackJsonpdrip=this.webpackJsonpdrip||[]).push([[3],{23:function(t,s,e){"use strict";e.r(s),s.default={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"form-desc"},[e("tooltip",{attrs:{visible:t.options.visible},on:{"update:visible":function(s){t.$set(t.options,"visible",s)},change:t.riskDescChange}},[e("div",{staticClass:"form-desc-wrap",attrs:{slot:"container"},slot:"container"},t._l(t.options.riskDesc,function(s,i){var n=s.name,o=s.value;return e("div",{key:i,staticClass:"form-desc-text"},[t.options.riskDesc.length>1?e("span",{staticClass:"form-desc-text-title"},[t._v("\n "+t._s(n)+":\n ")]):t._e(),e("span",{staticClass:"form-desc-text-desc",domProps:{innerHTML:t._s(o)}})])}))])],1)},components:{tooltip:function(){return Promise.resolve().then(e.bind(null,14))}},props:{options:{type:Object,default:function(){return{title:"",riskDesc:[],visible:!1}}}},methods:{riskDescChange:function(){this.$emit("change",this.options)}}}}}]);