(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-badge/u-badge"],{315:function(e,t,n){"use strict";n.r(t);var u=n(316),r=n(318);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n(321);var o,a=n(11),s=Object(a["default"])(r["default"],u["render"],u["staticRenderFns"],!1,null,"13728ffe",null,!1,u["components"],o);s.options.__file="uni_modules/uview-ui/components/u-badge/u-badge.vue",t["default"]=s.exports},316:function(e,t,n){"use strict";n.r(t);var u=n(317);n.d(t,"render",(function(){return u["render"]})),n.d(t,"staticRenderFns",(function(){return u["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return u["recyclableRender"]})),n.d(t,"components",(function(){return u["components"]}))},317:function(e,t,n){"use strict";var u;n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return o})),n.d(t,"recyclableRender",(function(){return i})),n.d(t,"components",(function(){return u}));var r=function(){var e=this,t=e.$createElement,n=(e._self._c,0!==Number(e.value)||e.showZero||e.isDot),u=e.show&&n?e.__get_style([e.$u.addStyle(e.customStyle),e.badgeStyle]):null;e.$mp.data=Object.assign({},{$root:{m0:n,s0:u}})},i=!1,o=[];r._withStripped=!0},318:function(e,t,n){"use strict";n.r(t);var u=n(319),r=n.n(u);for(var i in u)"default"!==i&&function(e){n.d(t,e,(function(){return u[e]}))}(i);t["default"]=r.a},319:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(n(320));function r(e){return e&&e.__esModule?e:{default:e}}var i={name:"u-badge",mixins:[e.$u.mpMixin,u.default,e.$u.mixin],computed:{boxStyle:function(){var e={};return e},badgeStyle:function(){var t={};if(this.color&&(t.color=this.color),this.bgColor&&!this.inverted&&(t.backgroundColor=this.bgColor),this.absolute&&(t.position="absolute",this.offset.length)){var n=this.offset[0],u=this.offset[1]||n;t.top=e.$u.addUnit(n),t.right=e.$u.addUnit(u)}return t},showValue:function(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}}};t.default=i}).call(this,n(1)["default"])},321:function(e,t,n){"use strict";n.r(t);var u=n(322),r=n.n(u);for(var i in u)"default"!==i&&function(e){n.d(t,e,(function(){return u[e]}))}(i);t["default"]=r.a},322:function(e,t,n){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-badge/u-badge.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uni_modules/uview-ui/components/u-badge/u-badge-create-component',
    {
        'uni_modules/uview-ui/components/u-badge/u-badge-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('1')['createComponent'](__webpack_require__(315))
        })
    },
    [['uni_modules/uview-ui/components/u-badge/u-badge-create-component']]
]);
