(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-image/u-image"],{"308c":function(i,n,t){"use strict";t.r(n);var r=t("f88e"),o=t("eb60");for(var e in o)["default"].indexOf(e)<0&&function(i){t.d(n,i,(function(){return o[i]}))}(e);t("5445");var u=t("828b"),d=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,"d7bd0f22",null,!1,r["a"],void 0);n["default"]=d.exports},5445:function(i,n,t){"use strict";var r=t("971f"),o=t.n(r);o.a},"8c62":function(i,n,t){"use strict";(function(i){var r=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(t("a6e2")),e={name:"u-image",mixins:[i.$u.mpMixin,i.$u.mixin,o.default],data:function(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler:function(i){i?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{wrapStyle:function(){var n={};return n.width=this.$u.addUnit(this.width),n.height=this.$u.addUnit(this.height),n.borderRadius="circle"==this.shape?"10000px":i.$u.addUnit(this.radius),n.overflow=this.borderRadius>0?"hidden":"visible",i.$u.deepMerge(n,i.$u.addStyle(this.customStyle))}},mounted:function(){this.show=!0},methods:{onClick:function(){this.$emit("click")},onErrorHandler:function(i){this.loading=!1,this.isError=!0,this.$emit("error",i)},onLoadHandler:function(i){this.loading=!1,this.isError=!1,this.$emit("load",i),this.removeBgColor()},removeBgColor:function(){this.backgroundStyle={backgroundColor:"transparent"}}}};n.default=e}).call(this,t("df3c")["default"])},"971f":function(i,n,t){},eb60:function(i,n,t){"use strict";t.r(n);var r=t("8c62"),o=t.n(r);for(var e in r)["default"].indexOf(e)<0&&function(i){t.d(n,i,(function(){return r[i]}))}(e);n["default"]=o.a},f88e:function(i,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return e})),t.d(n,"a",(function(){return r}));var r={uTransition:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-transition/u-transition")]).then(t.bind(null,"30d3"))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,"b248"))}},o=function(){var i=this,n=i.$createElement,t=(i._self._c,i.__get_style([i.wrapStyle,i.backgroundStyle])),r=i.isError||"circle"==i.shape?null:i.$u.addUnit(i.radius),o=i.isError?null:i.$u.addUnit(i.width),e=i.isError?null:i.$u.addUnit(i.height),u=i.showLoading&&i.loading&&"circle"!=i.shape?i.$u.addUnit(i.radius):null,d=i.showLoading&&i.loading?i.$u.addUnit(i.width):null,a=i.showLoading&&i.loading?i.$u.addUnit(i.height):null,s=i.showError&&i.isError&&!i.loading&&"circle"!=i.shape?i.$u.addUnit(i.radius):null,l=i.showError&&i.isError&&!i.loading?i.$u.addUnit(i.width):null,c=i.showError&&i.isError&&!i.loading?i.$u.addUnit(i.height):null;i.$mp.data=Object.assign({},{$root:{s0:t,g0:r,g1:o,g2:e,g3:u,g4:d,g5:a,g6:s,g7:l,g8:c}})},e=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uni_modules/uview-ui/components/u-image/u-image-create-component',
    {
        'uni_modules/uview-ui/components/u-image/u-image-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("308c"))
        })
    },
    [['uni_modules/uview-ui/components/u-image/u-image-create-component']]
]);
