(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-row-notice/u-row-notice"],{"11a3":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uIcon:function(){return n.e("uview-ui/components/u-icon/u-icon").then(n.bind(null,"572e"))}},o=function(){var t=this.$createElement,e=(this._self._c,this.show?this.__get_style([this.textStyle]):null);this.$mp.data=Object.assign({},{$root:{s0:e}})},u=[]},"1e2b":function(t,e,n){"use strict";var i=n("f8fb"),o=n.n(i);o.a},"304a":function(t,e,n){"use strict";n.r(e);var i=n("3a50"),o=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a},"3a50":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{list:{type:Array,default:function(){return[]}},type:{type:String,default:"warning"},volumeIcon:{type:Boolean,default:!0},moreIcon:{type:Boolean,default:!1},closeIcon:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!0},color:{type:String,default:""},bgColor:{type:String,default:""},show:{type:Boolean,default:!0},fontSize:{type:[Number,String],default:26},volumeSize:{type:[Number,String],default:34},speed:{type:[Number,String],default:160},playState:{type:String,default:"play"},padding:{type:[Number,String],default:"18rpx 24rpx"}},data:function(){return{textWidth:0,boxWidth:0,animationDuration:"10s",animationPlayState:"paused",showText:""}},watch:{list:{immediate:!0,handler:function(t){var e=this;this.showText=t.join("，"),this.$nextTick((function(){e.initSize()}))}},playState:function(t){this.animationPlayState="play"==t?"running":"paused"},speed:function(t){this.initSize()}},computed:{computeColor:function(){return this.color?this.color:"none"==this.type?"#606266":this.type},textStyle:function(){var t={};return this.color?t.color=this.color:"none"==this.type&&(t.color="#606266"),t.fontSize=this.fontSize+"rpx",t},computeBgColor:function(){return this.bgColor?this.bgColor:"none"==this.type?"transparent":void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.initSize()}))},methods:{initSize:function(){var e=this,n=[],i=new Promise((function(n,i){t.createSelectorQuery().in(e).select("#u-notice-content").boundingClientRect().exec((function(t){e.textWidth=t[0].width,n()}))}));n.push(i),Promise.all(n).then((function(){e.animationDuration="".concat(e.textWidth/t.upx2px(e.speed),"s"),e.animationPlayState="paused",setTimeout((function(){"play"==e.playState&&e.autoplay&&(e.animationPlayState="running")}),10)}))},click:function(t){this.$emit("click")},close:function(){this.$emit("close")},getMore:function(){this.$emit("getMore")}}};e.default=n}).call(this,n("543d")["default"])},"5bae":function(t,e,n){"use strict";n.r(e);var i=n("11a3"),o=n("304a");for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("1e2b");var a=n("f0c5"),r=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"211715bb",null,!1,i["a"],void 0);e["default"]=r.exports},f8fb:function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uview-ui/components/u-row-notice/u-row-notice-create-component',
    {
        'uview-ui/components/u-row-notice/u-row-notice-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("5bae"))
        })
    },
    [['uview-ui/components/u-row-notice/u-row-notice-create-component']]
]);
