app-image.js 1.9 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/basic-component/app-image/app-image"],{"196d":function(t,n,r){"use strict";r.r(n);var i=r("4d61"),e=r.n(i);for(var u in i)"default"!==u&&function(t){r.d(n,t,(function(){return i[t]}))}(u);n["default"]=e.a},"2ee6":function(t,n,r){},"334f":function(t,n,r){"use strict";r.r(n);var i=r("76f1"),e=r("196d");for(var u in e)"default"!==u&&function(t){r.d(n,t,(function(){return e[t]}))}(u);r("fdd7");var a,o=r("f0c5"),c=Object(o["a"])(e["default"],i["b"],i["c"],!1,null,"564ce9c2",null,!1,i["a"],a);n["default"]=c.exports},"4d61":function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"app-image",props:{imgSrc:String,width:String,height:String,mode:{type:String,default:function(){return"aspectFill"}},borderRadius:String},data:function(){return{is_loading:!0,is_error:!1}},computed:{appBackground:function(){return"width: ".concat(this.width,";height: ").concat(this.height,";")},imgStyle:function(){return"border-radius: ".concat(this.borderRadius)}},methods:{imgError:function(){this.is_error=!0},imgLoad:function(){this.is_loading=!1}}};n.default=i},"76f1":function(t,n,r){"use strict";var i;r.d(n,"b",(function(){return e})),r.d(n,"c",(function(){return u})),r.d(n,"a",(function(){return i}));var e=function(){var t=this,n=t.$createElement;t._self._c},u=[]},fdd7:function(t,n,r){"use strict";var i=r("2ee6"),e=r.n(i);e.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/basic-component/app-image/app-image-create-component',
  4. {
  5. 'components/basic-component/app-image/app-image-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("334f"))
  7. })
  8. },
  9. [['components/basic-component/app-image/app-image-create-component']]
  10. ]);