(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/u-announcement/u-announcement"],{"0b56":function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return i}));var o=function(){var t=this,n=t.$createElement;t._self._c},a=[]},"12c6":function(t,n,e){},6529:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=function(){e.e("components/basic-component/u-popup/u-popup").then(function(){return resolve(e("62f5"))}.bind(null,e)).catch(e.oe)},o={data:function(){return{animationDuration:"10s",animationPlayState:"paused",showText:"",visibleSync:!1,showDrawer:!1,timer:null}},components:{uPopup:i},props:{content:String,bgColor:{type:String,default:"#f67f79"},icon:{type:String,default:""},name:{type:String,default:"公告"},textColor:{type:String,default:"#ffffff"},headerUrl:{type:String,default:""},btnText:{type:String,default:"我知道了"},btnTextColor:{type:String,default:"#ffffff"},btnColor:{type:String,default:"#ff4544"},btnRadius:{type:String,default:"40rpx"},btnWidth:{type:Number,default:500}},watch:{content:{immediate:!0,handler:function(t){var n=this;this.showText=t.replace(/[\r\n]/g,""),this.$nextTick((function(){n.initSize()}))}}},methods:{initSize:function(){var n=this,e=[],i=new Promise((function(e){t.createSelectorQuery().in(n).select("#u-notice-content").boundingClientRect().exec((function(t){n.textWidth=t[0].width,e()}))}));e.push(i),Promise.all(e).then((function(){n.animationDuration="".concat(n.textWidth/t.upx2px(100),"s"),n.animationPlayState="paused",setTimeout((function(){n.animationPlayState="running"}),10)}))},take:function(t){this.visibleSync=t}},computed:{btnStyle:function(){return"width: ".concat(this.btnWidth,"rpx;color:").concat(this.btnTextColor,";background-color:").concat(this.btnColor,";border-radius: ").concat(this.btnRadius,";")}},mounted:function(){var t=this;this.$nextTick((function(){t.initSize()}))}};n.default=o}).call(this,e("543d")["default"])},"906e":function(t,n,e){"use strict";e.r(n);var i=e("0b56"),o=e("a4aa");for(var a in o)"default"!==a&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("bf88");var u,c=e("f0c5"),r=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"7113ba38",null,!1,i["a"],u);n["default"]=r.exports},a4aa:function(t,n,e){"use strict";e.r(n);var i=e("6529"),o=e.n(i);for(var a in i)"default"!==a&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a},bf88:function(t,n,e){"use strict";var i=e("12c6"),o=e.n(i);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/u-announcement/u-announcement-create-component',
    {
        'components/page-component/u-announcement/u-announcement-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("906e"))
        })
    },
    [['components/page-component/u-announcement/u-announcement-create-component']]
]);
