(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/app-announcement/app-announcement"],{"7bd8":function(t,n,i){},8607:function(t,n,i){"use strict";i.r(n);var e=i("bf8a"),a=i.n(e);for(var o in e)"default"!==o&&function(t){i.d(n,t,(function(){return e[t]}))}(o);n["default"]=a.a},aea3:function(t,n,i){"use strict";var e=i("7bd8"),a=i.n(e);a.a},bf8a:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"app-announcement",props:{background:{type:String,default:function(){return"#f67f79"}},btnColor:{type:String,default:function(){return"#ff4544"}},btnHeight:{type:Number,default:function(){return 80}},btnRadius:{type:String,default:function(){return"40rpx"}},btnText:{type:String,default:function(){return"我知道了"}},btnTextColor:{type:String,default:function(){return"#ffffff"}},btnWidth:{type:Number,default:function(){return 500}},content:{type:String,default:function(){return""}},headerUrl:{type:String,default:function(){return""}},icon:{type:String,default:function(){return""}},name:{type:String,default:function(){return"公告"}},textColor:{type:String,default:function(){return"#ffffff"}}},data:function(){return{showHidden:!1,speed:2e3,animationData:null,animationTime:null,againTime:null,over:!1,animation:{},duration:0}},methods:{show:function(){this.showHidden=!0},initAnimation:function(){var n=this.content.length>10?this.speed:2e3+700*(10-this.content.length);this.duration=26*this.content.length/40*n,this.animation=t.createAnimation({transformOrigin:"50% 50%",duration:this.duration,timingFunction:"linear",delay:0})},startAnimation:function(){var t=this;if(0!==this.animation.option.transition.duration){this.animation.option.transition.duration=0;var n=this.animation.translateX(this.content.length).step();this.animationData=n.export()}this.animation.option.transition.duration=this.duration,this.animation.translateX(26*-this.content.length).step(),setTimeout((function(){t.animationData=t.animation.export()}),1e3);var i=this.duration>=52e3?this.duration/2.5:this.duration/1.5;this.againTime=setTimeout((function(){t.startAnimation()}),i)}},watch:{content:{handler:function(t){t&&!this.over&&(this.initAnimation(),this.startAnimation(),this.over=!0)},immediate:!0,deep:!0}},destroyed:function(){clearTimeout(this.animationTime),clearTimeout(this.againTime)}};n.default=i}).call(this,i("543d")["default"])},bfe2:function(t,n,i){"use strict";var e,a=function(){var t=this,n=t.$createElement;t._self._c;t._isMounted||(t.e0=function(n){t.showHidden=!1})},o=[];i.d(n,"b",(function(){return a})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){return e}))},da3f:function(t,n,i){"use strict";i.r(n);var e=i("bfe2"),a=i("8607");for(var o in a)"default"!==o&&function(t){i.d(n,t,(function(){return a[t]}))}(o);i("aea3");var r,u=i("f0c5"),f=Object(u["a"])(a["default"],e["b"],e["c"],!1,null,"5a9fcf13",null,!1,e["a"],r);n["default"]=f.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/app-announcement/app-announcement-create-component',
    {
        'components/page-component/app-announcement/app-announcement-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("da3f"))
        })
    },
    [['components/page-component/app-announcement/app-announcement-create-component']]
]);
