agriculture-ui
Version:
农业开发组件库
1 lines • 2.35 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.mui=e():t.mui=e()}(self,(function(){return function(){"use strict";var t={486:function(t,e,r){function n(t,e,r,n,o,i,a,s){var u,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=r,d._compiled=!0),n&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=u):o&&(u=s?function(){o.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(d.functional){d._injectStyles=u;var c=d.render;d.render=function(t,e){return u.call(e),c(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:d}}r.d(e,{A:function(){return n}})}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){r.r(n),r.d(n,{default:function(){return i}});var t=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ag-card",style:t.width?{width:t.width+"px"}:{}},[e("div",{staticClass:"ag-card-img",style:t.imgHeight?{height:t.imgHeight+"px"}:{}},[e("img",{attrs:{src:t.imgSrc,alt:"img"}})]),t._v(" "),t.summary?e("div",{staticClass:"ag-card-summary"},[t._v("\r\n "+t._s(t.summary)+"\r\n ")]):e("div",{staticClass:"ag-card-summary"},[t._t("summary")],2),t._v(" "),t._t("footer")],2)};t._withStripped=!0;var e={name:"agCard",data(){return{}},props:{width:{type:Number,default:0},imgSrc:{type:String,default:""},imgHeight:{type:Number,default:0},summary:{type:String,default:""}}},o=(0,r(486).A)(e,t,[],!1,null,"282ddfb4",null).exports;o.install=function(t){t.component(o.name,o)};var i=o}(),n}()}));